IRC channel logs
2025-07-05.log
back to list of logs
<damo22>stick around for longer than 6 minutes and maybe someone will answer your question <Pellesco1rs>damo22: I saw your recent changes for rumpnet, what is the status currently? <damo22>status is the driver works, but its slow <damo22>/hurd/devnode -M /dev/rumpnet wm0 <damo22>settrans -fgap /servers/socket/2 /hurd/pfinet -i /dev/wm0 <damo22>* f66b62b9 (zammit/rumpnet) rumpnet: Ignore rcv errors due to not enough bandwidth in software stack <damo22>it seems to work in full smp as well but just as slow <azert>damo22: now that you fixed the debug symbol issue, it’s probably possible to gprof rumpnet <azert>to see where it spends its time <youpi>damo22: what do you mean by "slow" ? is that slower than netdde? <youpi>possibly it's just pfinet's tcp/ip which is not aggressive enough to reach large bandwidth <damo22>youpi: its very slow, like kB/s instead of MB/s <youpi>possibly an issue similar to rumpusbdisk being slow <damo22>but only on external internet, if i scp to the box its MB/s <youpi>but if lan transfer is fine, it can indeed be a tcp/ip tuning issue <damo22>btw my server was down again and its fixed now <damo22>ERROR: ethernet frame has wrong protocol: 0x86dd <damo22>how do i set up ipv4 on /servers/socket/2 ? <youpi>I don't know, I guess it uses the same syntax as pfinet <damo22>-4 wants a parameter to the socket/x <damo22> -4, --ipv4=NAME Put active IPv4 translator on NAME <damo22>settrans -fgap /servers/socket/26 /hurd/lwip -i /dev/wm0 -4 /servers/socket/2 <youpi>I don't think the problem is the way the translator is set up, but most probably merely because nobody tested lwip on a network that has ipv6 packets floating around <damo22>because i told it to print that when it sees wrong protocol <damo22>ok so if it sees ipv6 it should continue <youpi>receiving ipv6 is not unexpected <youpi>you could even receive some stp frames, and whatnot <youpi>it'd be an easy DoS if you crash on any unknown frame type :) <damo22>it doesnt crash, it returns EPROTO on send_packet <damo22>so somehow its trying to send ipv6 <damo22>i dont want an ipv6 stack right now <damo22>ok i will look at lwip source and see what is going on <youpi>it's only normal today that a tcp/ip stack tries to do some ipv6 <damo22>the dhcp client tries to use ipv6 with lwip but not with pfinet <damo22>settrans -fgap /servers/socket/2 /hurd/lwip -i /dev/wm0 <youpi>it's the tcp/ip stack which does some neigbor discovery which is only expected <damo22>ok but the dhcp request fails because it cant send the ipv6 packets, do i just let it send some ipv6? <damo22>DHCPDISCOVER on /dev/wm0 to 255.255.255.255 port 67 interval 5 <damo22>dhclient.c:2600: Failed to send 300 byte long packet over /dev/wm0 interface. <youpi>possibly you *also* have ipv6 frames floating around <youpi>it's just lwip that happens to do some ipv6 <damo22>ok lwip as a dropin replacement for pfinet fails to send packet for dhcp discover <Pellescours>damo22: lwip_S_pfinet_getroutes is not implemented, maybe that can have an impact? <Pellescours>lwip_S_rioctl_siocaddrt and lwip_S_rioctl_siocaddrt (methods to add and delete routes) neither <youpi>lwip can still use the simple classical case: one network and one default route <youpi>here the destionation is 255.255.255.255, that's not related to routes, it's just a broadcast <diegonc>I've broken the system after updating libc :( <diegonc>time to update the base image I guess hehe <diegonc>hmm what happened to /dev/shm? it's no longer a tmpfs (link to /tmp which isn't tmpfs either) <diegonc>(currently running debian-hurd-amd64-20250624) <Pellescours>diegonc: tmpfs has issues (with mmap but deleted files lost), so to keep the system stable we can’t use tmpfs for now <diegonc>Pellescours: thanks for the details :-)