IRC channel logs

2026-03-13.log

back to list of logs

<damo22>gnucode: you have to set some translators
<damo22>and enable usb controller in qemu
<gnucode>I tried "settrans /home/joshua /hurd/ext2fs /dev/ud0s1"
<damo22>what about /dev/rumpusb
<gnucode>I'm trying to use /hurd/rumpusbdisk to mount a usb stick.
<damo22>its like rumpdisk
<gnucode>we have a /dev/rumpusb ?
<damo22>should be
<gnucode>I thought we only hade /dev/rumpusbdisk....
<damo22>ok that
<gnucode>I'm just wanting to document the translator invocation so that I can use a usb stick on the Hurd in real hardware.
<gnucode>apparently usb cd disks should work too.
<nexussfan>yeah
<sneek>nexussfan, you have 2 messages!
<sneek>nexussfan, nexussfan says: set up lwip with rumpnet
<sneek>nexussfan, jab says: I've reached out to the guix-hosting.com guy. He's currently migrating my VPS from a commercial provider to his personal machine. It should have better RAM, disk space, etc. It'll be only ipv6 for a few weeks. I'll reach out when I can connect to it.
<gnucode>nexussfan: how's lwip working out for you?
<nexussfan>haven't tried it
<gnucode>slower faster same ?
<nexussfan>gonna do it today
<nexussfan>sneek: later tell jab alright.
<sneek>Got it.
<damo22>gnucode: -device qemu-xhci
<damo22>need to add that to qemu line
<gnucode>nexussfan: just in case you don't know I am gnucode too. :) when I'm gnucode, I'm using the hurd on real hardware. jab is when I am running openBSD.
<gnucode>damo22: I'm wanting to read a usb stick on real hardware. not use qemu.
<gnucode>is that possible ?
<damo22>yes
<damo22>that is just to get usb controller on qemu
<nexussfan>gnucode: oh, nice!
<gnucode>oh wait...
<damo22>if youre on real hw you already have a usb controller
<gnucode>I was trying to use ext2fs. my usb stick is using fat 32.
<gnucode>vfat.
<gnucode>cool. Let me try something like.
<gnucode>settrans -ac /home/joshua/mnt /hurd/fatfs /dev/ud0s1
<nexussfan>looks like darnassus.sceen.net is down?
<gnucode>AI bots are particularly murderous tonight!
<damo22>gnucode:
<gnucode>/hurd/fatfs: failed to open /dev/console: permission denied.
<damo22># showtrans /dev/ud0
<damo22>/hurd/storeio @/dev/usbdisk:sd0
<damo22># showtrans /dev/usbdisk
<damo22>/hurd/symlink rumpusbdisk
<Alicia>does hurd have a firewall type thing? I was thinking maybe my solution for dealing with the ai stealer bots could be useful, but it relies on banning them when detected in notable numbers
<nexussfan>iirc it does have a firewall translator
<gnucode>eth-filter is the hurd firewall.
<gnucode>it's not documented very well. It's on my todo list to document it.
<Alicia>ah :)
<gnucode>damo22 when I run those commands you just posted, I get the same output...
<damo22>gnucode: it might be that fatfs only works as root
<damo22>i dont know
<damo22>probably because it tries to open the console
<damo22>sounds like it might be a bug
<damo22>try mounting the stick as root
<gnucode>if you care to test it in real hardware...it's probably best to try to test it first before calling it a bug. I very much so could be running the command wrong...
<gnucode>trying now.
<gnucode>sudo settrans -ac /home/joshua/mnt /hurd/fatfs /dev/ud0s1
<gnucode>settrans: /hurd/fatfs: translator died.
<gnucode>I suppose that I could format the usb stick as ext2 and try again.
<nexussfan>Hmmm... when settrans the /servers/socket/2 and try to settrans 26, it says it's busy. when I try to settrans the 26 and then the 2, it says busy.
<damo22>try fdisk /dev/ud0
<nexussfan>Very annoying
<nexussfan>or for the 26 do i not need the `-4`?
<damo22>gnucode: are you able to read the partition table using fdisk?
<gnucode>sudo fdisk /dev/ud0 --> fdisk: cannot open /dev/ud0: No such device or address
<gnucode>the usb stick is in the computer.
<gnucode>but I may have plugged it into the computer after I booted.
<damo22>ok your rumpusbdisk translator is not running
<damo22>or may have stopped
<gnucode>possibly...
<damo22>ls /dev/rumpusbdisk
<damo22>see if you find an error in the log
<damo22>when it starts up
<gnucode>where's the log ? /var/log/dmesg ?
<gnucode>it's soo cool to see NetBSD in /var/log/dmesg ...
<nexussfan>and hurd crashed. nice :D
<gnucode>so I ran "ls /dev/rumpusbdisk"
<gnucode>nexussfan: it needed a nap.
<damo22>if the translator died it should print a new log when you trigger it with ls
<nexussfan>gnucode: maybe ;)
<damo22>showtrans /dev/ud0
<gnucode>/hurd/storeio @/dev/usbdisk:sd0
<damo22>ok that looks correct
<damo22>sudo mount -t fatfs /dev/ud0s1 /mnt
<gnucode>mount: cannot start translator /hurd/fatfs: Translator died.
<gnucode>and I ran it as root.
<damo22>ok you need to find the log of rumpusbdisk
<damo22>look up in the wiki how to set a translator up with logging to a file
<nexussfan>do i have to specify -a -g -m for lwip?
<nexussfan>> SIOCSIFBRDADDR failed: Inappropriate ioctl for device
<gnucode>nexussfan: I'm no expert, but you may need to use -fg "force go away"
<nexussfan>i did. then i did settrans -fgap /servers/socket/2 /hurd/lwip -i /dev/wm0
<damo22>nexussfan: maybe you are trying to set an invalid broadcast address as static ip?
<nexussfan>i'm using dhcp
<gnucode>nexussfan... I didn't know dhcp worked with lwip...maybe it does...
<nexussfan>not sure
<nexussfan>I also get "/hurd/lwip: Already closed: /dev/wm0"
<gnucode>nexussfan: have you tried pouring water on it?
<nexussfan>not yet ;)
<nexussfan>weird, i can ping my gateway but not something like 1.1.1.1
<Alicia>that can happen if you don't have a default route to know to send it to the gateway
<nexussfan>Yeah my ping is saying "Destination Net Unreachable"
<nexussfan>switched back to pfinet
<nexussfan>i wonder when mesa will get to the debian/hurd repos
<nexussfan>__hurd__ is also defined as well?
<nexussfan>turns out xorg/xlibre uses it
<nexussfan>the correct one is __GNU__ right?
<nexussfan>yeah
<damo22>well done sobkas, your mesa changes were merged! i guess it happened a while ago
<nexussfan>i know it's nice
<nexussfan>now to get it into the debian/hurd repos