IRC channel logs

2026-03-09.log

back to list of logs

<sam_>hi! I'm currently playing with porting the Hurd to another distribution and it's been going pretty well so far
<sam_>one snag I've hit is that /dev/eth0 doesn't exist on boot (ok, fine), but creating it doesn't seem to help either
<jab>sam_: what distribution ?
<sam_>gentoo
<jab>solid_black ported the Hurd to alpine recently ish...but he hasn't worked on it for a while.
<jab>sam_: definitely report your findings on the bug-hurd@gnu.org and gentoo mailing lists. That's super cool!
<sam_>I will do! I'm hoping to have it in a nicer state soon
<jab>also, you need to set up various translators for /dev/eth0
<sam_>thanks for the enthusiasm
<jab>also did someone fix darnassus ?
<jab>it's super duper fast right now!
<jab>did we just switch it to a Linux host ?
<jab>sam_: you could try setting up rumpnet
<jab> https://hurd.ion.nu/hurd/rump/rumpnet.html
<sam_>I was torn between trying to get "everything basic" working first vs trying the rump* friends
<sam_>let's give it a go :)
<jab>sneek later tell hwpplayer1 you can always help me out with the Hurd wiki! The easiest way to get started is to get an account on https://darnassus.sceen.net/~hurd-web/ (Press the edit button). I read the open_issues a lot and try to find things to fix.
<sneek>Okay.
<jab>I only am pushing you to using rumpnet, because I know how to set it up.
<youpi>sam_: MAKEDEV should already know how to set up /dev/eth0
<sam_>"/hurd/pfinet: device_open on /dev/eth0: (os/device) no such device" when running settrans -fgap /servers/socket/2 /hurd/pfinet -i /dev/eth0 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 (https://www.gnu.org/software/hurd/hurd/running/qemu/networking.html)
<sam_>that's after MAKEDEV /dev/eth0
<youpi>which PCI card do you have for network?
<youpi>jab: rumpnet is not on par with netdde in terms of card support
<youpi>so we don't want to recommend it yet
<sam_>I ran -net nic,model=e1000 w/ qemu, and lspci (after running mkdir -p /servers/pci/bus -- which makes me wonder if I'm missing some setup script I need to port over) says intel 82540em gigabit ethernet controller
<youpi>e1000 should be fine
<youpi>you can try to run "settrans -fga /dev/netdde /hurd/netdde" to check for errors
<sam_>ah, I don't have netdde (I didn't try build dde at all yet), that may do it then
<sam_>do you know if there's some qemu builtin card that works without it?
<sam_>it's fine if not, just it'd give some dopamine
<youpi>you can enable the in-gnumach network drivers
<youpi>ne2k_pci is probably fine with it
<jab>youpi: did you do something to darnassus ? it's zippy fast right now.
<youpi>jab: bots has stopped hammering it I guess
<youpi>but that's probably just temporary
<youpi>sam_: --enable-net-group
<youpi>in the gnumach configuration
<youpi>note that this works only in 32b builds
<sam_>that's fine, I started off with that to make life easier ;)
<sam_>thanks a lot, let me try it
<youpi>sam_: in that case, you need to settrans -fgap /dev/eth0 /hurd/devnode eth0
<youpi>to make /dev/eth0 point to the in-kernel device
<sam_>thank you! that got me in :)
<gnucode>so hurdos.com/wiki appears in higher up on duckduckgo.com than hurd.gnu.org (at least for me).
<sneek>gnucode, you have 1 message!
<sneek>gnucode, nexussfan says: the search works but the paths are wrong, like https://hurd.ion.nu/~hurd-web/open_issues/bcachefs.html should be https://hurd.ion.nu/open_issues/bcachefs.html
<nexussfan>gnucode: really?
<nexussfan>sam_: check out #gentoo-hurd
<gnucode>when I searched on duckduckgo.com for "GNU Hurd wiki" I think is what I searched.
<gnucode>nexussfan: i saw that you might help Damien on hurdsound stuff. That sounds cool! pun intended!
<nexussfan>I wanna try to get OSS/rumpaudio running first. buildrump.sh is a bit slow...
<damo22>nexussfan: /usr/lib/librumpdev_audio*
<damo22>nexussfan: /usr/lib/librump*audio*
<jab>well the X just locked up on me on real hardware...
<jab>I had to hard shutoff. I think that only brings the number of hard shutoffs on real hardware (on the T420) to 2.
<jab>that's not soo bad for one week worth.
<damo22>maybe you could try adding the ctrl-alt-backspace shortcut to kill X
<jab>I did.
<jab>And I pressed that key combo.
<damo22>ok
<jab>that's actually how I end every X session is via C-Alt-Backspace
<jab>again not complaining. Just reporting
<nexussfan>X is always broken on hurd in some way
<gnucode>Samuel is the main person that keeps fixes it. or at least has been the main person that fixes it in the past.
<nexussfan>damo22: not there
<damo22>apt install librump*
<nexussfan>Alright
<nexussfan>"Did you forget to define the subsystem?" weird
<gnucode>night everyone!
<jab>morning friends!
<Alicia>good morning jab
<jab>Alicia: did you see the email that I sent to bug hurd about updating hurd.gnu.org ?
<jab>your website got a mention.
<Alicia>no I missed it. I'll look
<Alicia>btw I fixed the paths in the search, and also the non-search hurd-web links. the edit link now just explicitly says editing is disabled
<jab> https://lists.gnu.org/archive/html/bug-hurd/2026-03/msg00096.html
<jab>Alicia: You can leave the edit to be disabled if you like...but it might be possible to forward that editing request onto darnassus. I know when I press edit on hurd.gnu.org...it forwards the edit request onto darnassus.
<Alicia>yeah I was thinking I would insert a link, but at the moment it's just a TODO
<jab>no worries. Feel free to chime in on the email thread. We'd appreciate your thoughts too.
<gnucode>hmmm, creating a run-hurd.sh script for qemu is rather involved apparently...
<jab>and I really don't know much about sh/bash
<Alicia>are you stuck on anything?
<jab>well, basically I need to learn sh...
<jab>I thought about copying the guix-install.sh script...which we could do it is free software.
<jab>But I would like whatever script we make to be an official part of the GNU Hurd.
<jab>which means we need to assign copyright to the FSF.
<jab>guix-install.sh is written by many contributers, and I don't know if they are willing to assign copyright to the FSF.
<jab>copying parts of the guix-install.sh script.*
<jab>woo hoo! students can work on the Hurd for a Google summer of code!
<jab> https://summerofcode.withgoogle.com/programs/2026/organizations/gnu-project-av
<Alicia>ah
<jab>oh, perhaps the Project Ideas page should be updated on hurd.gnu.org
<Alicia>I think it should be fairly simple. a wget line to download the latest image (I think it has a fixed URL so you don't need to find a version number/date component), and then just the same commands to unpack and run it with qemu as you would run outside of a script
<jab>youpi do you have time to update https://www.gnu.org/software/hurd/community/gsoc/project_ideas.html ? Google summer of code application starts on March 16th.
<jab>I'm also emailing a local C.S. professor here soon. I'll see if he'll let me give a presentation encouraging his students to do a Google summer of code...maybe for the Hurd...
<jab>I should probably email 10+ CS professors.
<Alicia>jab: I think this should work? https://ion.nu/tmp/run-hurd.sh.txt
<jab>It's a good start!
<jab>are you willing to assign copyright to the FSF ?
<jab>also I think you need the -m q35 for the 64 bit version.
<jab> https://hurd.ion.nu/hurd/running/qemu.html
<jab>I think it would be a great idea to put a bit of code like that in $hurd-src/etc/run-hurd.sh
<jab>then we can document on the wiki...on the qemu page, "want to run the Hurd? We encourage you to use our installer script. It just works."
<jab>Alicia: I encourage you to email such a script to bug-hurd@gnu.org . It really would be nice if Samuel (and others) wouldn't have to keep answering the same questions...why doesn't the Hurd run in qemu well? It does run well...but you passed the wrong qemu invocation, or your machine doesn't support --enable-kvm, etc.
<jab>not that there is anything wrong with asking for help.
<Alicia>ah. and yes I'm happy to assign copyright (if it's even applicable for such a short script)
<jab>Well, I think anything over 6 lines is encouraged to be copyrighted.
<jab>well one of the college professors that I know just agreed to let me tell his students about GSOC and encourage them to apply to work on the Hurd.
<Alicia>\o/
<jab>now. I need to put together a 5 minute presentation.
<jab>I suppose that I could borrow from Samuel fosdem talk.
<jab>hmmm, I'm reading in samuel's fosdem presentation...
<jab>apparently the Hurd can have a filesystem node that is a file, a directory, and a CD drive.
<jab>that's pretty wild...
<jab>I don't actually know how that works, but still cool.
<jab>would you look at that...google summer of code has an official presentation!
<jab>that's helpful!
<gnucode>The Hurd's been running the whole day today on my T420. No issues so far.
<gnucode>also if rumpusbdisk supports usb sticks...how does one mount a usb stick on real hard ware?
<gnucode>and does the usb stick need to be inserted before boot ?