IRC channel logs

2021-04-07.log

back to list of logs

***Server sets mode: +nt
<damo22>whats next? apart from fixing the libpciaccess patch
<damo22>will do that now
<gnu_srs>damo22: What is the status? I just wondered why nothing happened after you and youpi commited the latest changes.
<gnu_srs>Has your/upstream commits been tested? On your git you have two branches: smp-apic, smp-mask. What's the difference?
<damo22>those two branches are both broken
<damo22>i was trying to fix APIC
<damo22>wit just master, it boots but i get :
<damo22>Timeout reached while wating for return value
<damo22>/bin/console: Could not receive return value from daemon process: Connection tim
<damo22>ed out
<damo22>it also depends how you compile gnumach
<damo22>the old pathway with PIC and no smp works
<damo22>but if you --enable-ncpus=4 --enable-apic --disable-linux-groups on master you get the above error
<gnu_srs>Did you apply also the patches youpi committed: rtc: Add read/write messages, kd: Do not read the CMOS ram, apic: Also unmask irq 3 and 4 early
<damo22>yes have applied all those
<damo22>master
<gnu_srs>OK, so master is uptream, thanks :)
<damo22>yeah, but apic support doesnt quite work yet
<damo22>not sure what is going on with the console
<damo22>(07/04/21 18:44:55) shm_: damo22: https://github.com/LogicalTrust/fuzzrump.sh Here's rump updated to 9.x era, but you need to figure out which patches are required for you
***Out`Of`Control is now known as Viper
<damo22>from talking to netbsd devs, it seems there isnt much to do to make rump work on latest netbsd-src
<damo22>we just need to merge the build script buildrump.sh into build.sh and try to build it, then apply the fixes from fuzzrump
<damo22>well not all of them, but the ones that are not specific to fuzzing
<damo22>Pellescours: perhaps you can help with this task
<youpi>I believe we want to spend effort on this to spare ourself the maintenance long-term-wise
<damo22>yes we might fix a number of bugs by upgrading from 7.x to latest
<damo22>and maintaining it will be close to a no-op if we get it upstreamed
<Pellescours>damo22: yes I can help with rump part
***davisr_ is now known as davisr
<Pellescours>where is the build.sh script for rump? I downloaded rumpkernel but when trying ./buildrump.sh I got `multiple definition of `debug_file'`
***Emulatorman___ is now known as Emulatorman
<Pellescours>I will need help to build rump
<Pellescours>damo22: on which timezone are you?
<youpi>australia
<youpi>so he's currently at work
<Pellescours>oh I see
<Pellescours>I never built rump and I don’t see so much tutorial nor notes how to build it
<youpi>I'm not aware of anything beyond the debian rumpkernel package
<Pellescours>I tried http://git.zammit.org/rumpkernel-debian.git/ and https://github.com/rumpkernel/buildrump.sh but I get the same error when building tools
<damo22>its 8am now here
<damo22>i start work in an hour
<damo22>the rumpkernel-debian package should build out of the box
<damo22>but you need to use the same commands as in the debian/rules file
<damo22>or just build it with dpkg-buildpackage
<Pellescours>dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/memory-range.diff/ --reject-file=- < rumpkernel-debian/debian/patches/memory-range.diff subprocess returned exit status 1
<damo22>use quilt to apply patches first
<youpi>dh_quilt_patch
<youpi>does it easily
<damo22>once you have a tree with patched sources, you can use dpkg-buildpackage -nc -us -uc
<damo22>but that doesnt teach you how to build rump
<Pellescours>Hunk #1 FAILED at 138.
<Pellescours>1 out of 2 hunks FAILED -- rejects in file pci-userspace/src-gnu/pci_user-gnu.c
<Pellescours>Patch memory-range.diff does not apply (enforce with -f)
<Pellescours>dh_quilt_patch: error: quilt --quiltrc /dev/null push -a || test $? = 2 returned exit code 1
<youpi>how did you get the sources ?
<damo22>err really? use upstream
<Pellescours>I git clone http://git.zammit.org/rumpkernel-debian.git/
<youpi>the main repository is git@salsa.debian.org:hurd-team/rumpkernel.git
<damo22>well thats my local copy i dont know if its in sync with upstream anymore
<damo22>yeah use what youpi said
<Pellescours>havn’t access :H
<damo22>use the https:// link
<youpi>ah, sorry, should have pasted the anonymous url
<youpi> https://salsa.debian.org/hurd-team/rumpkernel.git
<Pellescours>got it