IRC channel logs
2025-04-02.log
back to list of logs
<damo22>rumpnet should be a drop in replacement for netdde <damo22>you still need devnode and pfinet etc <Pellescours>and a translator to my built rumpnet is set on /dev/rumpnet <damo22>since /dev/eth0 is not exposed by rumpnet, you will need to change the invocation of pfinet to point to rumpnet's devnode driver <damo22>eg settrans /dev/wm0 /hurd/devnode /dev/rumpnet wm0 <damo22>and settrans /servers/socket/2 /hurd/pfinet -i /dev/wm0 <Pellescours>Ah that’s the point, ok going to sleep but I’ll test it tommorrow, I’ll change the pfinet invocation <ZhaoM>Wierd, I cannot see the source code of getauth in either glibc or hurd <ZhaoM>I tried to use gdb to track the source but my gdb has some issues may need be to upgraded <ZhaoM>but it seems the debian repo is updating and I cannot complete 'apt update' in this period :/ <Pellescours>the "makphy0: Failed to access EADR. Are you an emulator?" is normal or not? <azert>Pellescours: that message looks like something that netbsd would normally spew out on certain configurations, yes <sneek>Welcome back azert, you have 1 message! <sneek>azert, ZhaoM says: thanks for the documentation <azert>I know that Mach is conceived to implement zero-copy through page-table manipulation, but the hardware is not made for that, that’s why people use circular buffers more and more <azert>A part from caching considerations that most directly affect performances, in principle, a device can even dma in a shared circular buffer, it surely cannot alter the page table. In any case, memory needs to be moved in and out so I’m not so sure that avoiding copying is the “right” optimization <azert>But I can guess that doing what everyone else is doing gets better optimized by the current processors <p4r4D0xum>hello, I asked before some issue with a physical display and I forgot about to check for an aswer, my apologies. <sneek>Welcome back p4r4D0xum, you have 1 message! <sneek>p4r4D0xum, ZhaoM says: try to upgrade 'hurd' and 'gnumach' and report here if there's still out of range error <p4r4D0xum>ZhaoM: I did full upgrade, but I'm going to double check it. <p4r4D0xum>ZhaoM: On the boot just now I got out of range, let me run apt upgrade <p4r4D0xum>ZhaoM: Nope, gnu mach and gnu hurd are the newest. <p4r4D0xum>Could this be do to the fact I have a graphics card on I think agp still and not integrated one? <ZhaoM>you are running on a real machine? <ZhaoM>eh then it's a bit out of my skill :/ <ZhaoM>p4r4D0xum: paste the error here if it's not too long <youpi>0x45080 is in getauth (./hurd/hurdports.c:51). <youpi>warning: 46 ./hurd/hurdports.c: Aucun fichier ou dossier de ce nom <youpi>hurd/fs.defs:routine file_check_access ( <youpi>implemented in S_file_check_access, typically <youpi>yes, and it calls the RPC on the realnode behind it <youpi>of the FS on which the translator was mounted <ZhaoM>p4r4D0xum: so it's an error from the display instead of from hurd? <p4r4D0xum>going to check if I can disable the "new" console and see if that works <p4r4D0xum>it's a hail marry, but it's better than nothing <p4r4D0xum>can't find the config file to disable it, anybody can tell me where is this defined? <crupest>Is there any problem for `getsockname` on Hurd? It seems to return an empty string. And it breaks libuv. I find this mail and the demo code can still reproduce the bug. <youpi>on PF_LOCAL sockets we don't have a sockname <crupest>Ah. I see freebsd does not, either. So I can make it work like freedsb. <gnucode>jack-sparrow: yes, you can run a simple X window manager on the Hurd. <gnucode>I personally choose i3, because it's super light weight. and my T43 only has 1.5 GB. <gnucode>The T60 is probably the best hardware to run the Hurd on at the moment. <gnucode>jack-sparrow: that should work just fine. yeah. <gnucode>the web browser situation is a bit complicated. <gnucode>Some other odd web browsers should work too, but you may have to compile them yourself. <gnucode>Firefox used to work, but the port has not been updated in a long time. <Pellescours>damo22: I think the rumpnet translator dies when it tries to initialize the interface, the last message I have from it (when starting it as active), is "makphy0: 10baseT, 10basT-FDS, ..." and before I have the "Are you an emulator?" messages <Pellescours>and I don’t know how to debug this, it’s really hard with translator to have the printf method <damo22>Pellescours: do you have wm0 in that log <damo22>maybe your translators are not set up right <damo22>rumpnet is probably working itself <Pellescours>In that specific logs, it’s makephy0 that appear but before the makephy0 logs it’s wm0 logs <damo22>what node are you using after /dev/rumpnet <damo22>you have to use devnode on /dev/rumpnet wm0 <Pellescours>I do settrans -ac /dev/rumpnet ~/hurd/build/rumpnet/rumpnet <damo22>see for example how /dev/eth0 is connected to the card <Pellescours>and showtrans /dev/wm0 shows "/hurd/devnode /dev/rumpnet wm0" <Pellescours>it have a -M more and it use /dev/net instead of /dev/rumpnet. I’ll try that <damo22>/dev/net is probably pointing at netdde <damo22>can you show me the showtrans /dev/eth0 <Pellescours>showtrans /dev/eth0: "/hurd/devnode -M /dev/net eth0 <damo22>ahh, yes you need settrans /dev/wm0 /hurd/devnode -M /dev/rumpnet wm0 <damo22>it basically demultiplexes the wm0 device out of rumpnet <Pellescours>I did it but the result is the same, after having run the settrans to start rumpnet, logs stop after that makephy0 log, and the "showtrans /dev/rumpnet" only shows "/hurd/chrdev 0 0" <Pellescours>and when I resetup the translator on wm0 and I restart the translator on rumpnet, I get <damo22>00:02.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3] <Pellescours>it’s 00:03:0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 03) <damo22>you need to stop eth0 from autostarting <damo22>ps -ef |grep -E 'pfinet|netdde|devnode|rumpnet' <Pellescours>oh but the process still live for rumpnet.static and wm0 <damo22>in settrans to kill the old ones <Pellescours>starting rumpnet still dies and it kills translator on /dev/wm0 <damo22># settrans -fga /dev/rumpnet /bin/sh -c "exec >> /root/rumpnet.log 2>&1 && /path/to/rumpnet.static" <damo22>that will give you translator with log <Pellescours>log file was empty (I saw all the rump starting logs in the console) <Pellescours>but doing a ifconfig put a ton of logs on the console <damo22>oh thats probably because it uses mach_print <Pellescours>the showtrans on wm0 and rumpnet still shows no translators but the process are still running <damo22>that p will add a passive translator entry <damo22>but if its dying, it might restart in a loop? <Pellescours>the one in the sh -c and another one (a child of the sh) <damo22>you need to kill everything related to network stack <damo22>then do something like ifup /dev/wm0