IRC channel logs
2026-07-20.log
back to list of logs
<AidenIsik>damo22: I looked into using AHCI as suggested yesterday to fix my boot problem. <AidenIsik>My board's southbridge (Intel ICH7) doesn't support AHCI. <damo22>sneek: later tell AidenIsik if you want to be sure if your southbridge supports AHCI or not, run this command: sudo setpci -s 0000:00:1f.0 e4.b <damo22>#define AHCI_UNSUPPORTED (1 << 3) <damo22>its from coreboot/src/southbridge/intel/i82801gx/i82801gx.h <damo22>if the return value has bit 3 set, it does not support AHCI <hwpplayer1>where is the source code of sneek bot of #hurd channel ? <AidenIsik>damo22: It definitely doesn't support AHCI (AHCI was never supported on the base ICH7, and the result of that command does in fact have bit 3 set (0xa8)). Surely IDE can be made to work? <sneek>Welcome back AidenIsik, you have 1 message! <sneek>AidenIsik, damo22 says: if you want to be sure if your southbridge supports AHCI or not, run this command: sudo setpci -s 0000:00:1f.0 e4.b <damo22>as far as i know, piixide wasnt fully working or had some issues <AidenIsik>nope, I'm attempting to boot a live environment <AidenIsik>I can try to record the errors but I'm aware that's not an ideal log format at all <damo22>are you booting the latest version?? <AidenIsik>Whatever the Debian nightly from a few days ago is using <damo22>maybe you should try debian stable <damo22>as in the latest released version <damo22>the daily cd images are not always working <damo22>there is an installer or a disk image <AidenIsik>no, I flashed it to a drive and plugged it into a SATA port <AidenIsik>And from what I understand USB booting does not work <damo22>if you are doing that, it might fail, you may as well flash the disk image directly and boot it <AidenIsik>I will try the disk image after I try the stable installer then <AidenIsik>But this seems like a kernel issue so I'm not sure it will help <damo22>do you have a way to plug the raw disk into a different host <AidenIsik>i have some Toshiba Satellite I could probably plug it into <damo22>so you have linux installed already on the target machine? <damo22>and a second physical disk inside? <AidenIsik>yes, the main drive is an SSD and I plug in the HDD next to it <damo22>dont bother with the installer, just flash the disk image <damo22>the .img.tar.gz download needs to be extracted to .img <damo22>then you can flash it to disk with dd <AidenIsik>sudo dd if=debian-hurd-amd64-20260314.img of=/dev/sdb status=progress && sync <AidenIsik>i'm not new to dealing with GNU/Linux, just Hurd :p <damo22>what hardware is it, ICH7 is quite dated <damo22>the fan still not working on that board? <AidenIsik>ext2fs: part:2:device:wd0: Input/output error <AidenIsik>i can send a picture of the end of the logs if that is useful at all <rrq>wouldnt sdb be wd1 ? <AidenIsik>currently the only drive in the system is the hdd <youpi>AidenIsik: more information is never useless ;) <rrq>ok.. I'm not on top of the device naming; I believe wd0 is first sata disk .. is the hdd sata or plain ata (hd0) ? <damo22>i believe rumpdisk uses wdX for both sata or ide <damo22>but if you have two disks it may not be 0 <AidenIsik>uploading this image to my server right now then i'll send the link <rrq>or maybe then numbering is also by it's position on the cable <rrq>(in case): the wd0 choice is in /boot/grub/grub.conf <rrq>on the multiboot gnumach .. line <youpi>AidenIsik: your disk image does have partition 2, right? <damo22>piixide1 is the second ide controller <damo22>are you certain you only have one disk plugged in and its the right one? <AidenIsik>i disconnect the Linux disk and plug this one in in its place <damo22>the error message is consistent with the wrong disk being plugged <rrq>wd0 is a 698 GB disk <damo22>do you have a sata port as well? <AidenIsik>yep that's the size of the disk hurd is flashed to <damo22>can you boot into grub> shell and run "ls" <AidenIsik>don't know if my usb keyboard works though :p <AidenIsik>hang on need to modify the grub config to bring up the menu <damo22>hmm the disk image should be modified to set GRUB_TERMINAL=console <Alicia>I think usually you can just keep pressing a key on boot to get the menu even if it isn't set to show it by default. usually I press down <AidenIsik>i tried esc and shift, never heard of using down though <AidenIsik>i'm booted into a linux-based system right now anyways so ill just edit the config <damo22>AidenIsik: while you are still in linux, can you run sensors and check if the cpu temp works? <damo22>someone must have fixed it in coreboot <AidenIsik>Core 0: +34.0C, Core 1: +31.0C, Core 2: +28.0C, Core 3: +36.0C <AidenIsik>sorry this is taking me a bit i need to manually edit grub.cfg because i don't think i can regenerate the grub config from my linux host <AidenIsik>and i have no idea how to enable the menu/console here :p <damo22>remove anything that says insmod all_video or vga/vbe <rrq>you might want to try using part:1:device:wd0 ... once, just in case <AidenIsik>damo22: will that not just disable the video drivers grub has? <damo22>i think inserting the video modules makes it load the display in gfx mode <AidenIsik>i wonder if that does what i want by disabling autoboot <damo22>that will give you 5 seconds to drop to shell <AidenIsik>i'll just edit the menu entries manually from there <rrq>the log suggests gnumach finds the disk as wd0 <AidenIsik>just because I saw it was hardcoded in grub I thought maybe that is a problem <rrq>grub names disks in it's own way (too) <rrq>I think it's possibly to make a story on why to call it partition 1 rather than 2 .. so that's one test at least <AidenIsik>yes but in this case it is specifying the name mach calls it <rrq>another test is to skip the readonly argument for the ext2fs module <damo22>its a very unusual problem, the wd0 is the correct name according to the rumpdisk log <rrq>there's sometimes a need of fsck which won't happen if readonly <damo22>yes i would definitely fsck partition 2 <rrq>that might work... though the filesystem is an "-o hurd" and not "-o linux" <AidenIsik>because i wonder if i can just delete the lines which tell mach to use it <damo22>specific to the piixide rump driver that we are using <AidenIsik>i'll try disabling rumpdisk then and renaming the disk to hd0 <damo22>you need to remove the noide option from gnumach commandline and use hd0 most likely <damo22>oh maybe linux drivers are not built into hurd-amd64 gnumach? <rrq>damo22: is there a way to make it use DMA mode 2 (rather than the 5 it opted for?) .. a commandline arg maybe? <damo22>unfortunately not, i think its compiled in, i might be wrong <AidenIsik>i just checked the i386 config and it uses hd0 by default <AidenIsik>ext2fs: part:2:device:hd0: No such file or directory <azert>AidenIsik: can you install and boot NetBSD? <AidenIsik>that's a good point, rumpdisk is a netbsd driver <azert>exactly, either it is a bug in the netbsd driver or in our pci/acpi configuration <AidenIsik>I could install onto the SSD but I've been trying to boot from an HDD so didn't want to pollute the test <AidenIsik>but if it doesnt matter i'll do the ssd for speed's sake <AidenIsik>the linux was literally just installed to flash coreboot <rrq>"Ultra DMA" is apparently very sensitive to cable flaw.. resulting in crc errors <damo22>try downloading netbsd installer and flash it to the usb stick and install that to the hdd <AidenIsik>also, Linux does actually take quite a while to boot up on this system <damo22>then you still keep linux as a backup <damo22>or just use the netbsd installer to drop to a shell and check if the hdd is working <azert>you could also check dmesg in Linux if you suspect the disk is damaged <AidenIsik>give me a bit lol i'm still struggling to get seabios to boot it <AidenIsik>i think the lack of an isohybrid image is the problem <damo22>its on the front page of netbsd.org <AidenIsik>nothing but problems with this computer lmao <youpi>damo22: we can't enable the linux drivers in gnumach, it's really not 64b-ready <damo22>AidenIsik: $ qemu-system-x86_64 -drive if=none,id=usbstick,format=raw,file=../iso/NetBSD-10.1-amd64-install.img -device qemu-xhci -device usb-storage,drive=usbstick <damo22>i assume you gunzipped the image before writing to stick? <AidenIsik>I don't know if that's because I hotplugged the drive to bypass the boot order or an actual issue with it <AidenIsik>those are logs from the hdd not the usb stick sorry <damo22>what happens when you try to boot the stick? <AidenIsik>I assume that is just to make sure the image works <damo22>the image works from a usb stick using seabios <damo22>something must be wrong with your stick <AidenIsik>I'll try flashing it to the one with Linux on it <AidenIsik>I have flashed NetBSD to the USB stick and reading back with strings /dev/sdb | grep NetBSD does show NetBSD there, but booting it up and I get greeted with the linux install <AidenIsik>Partitions seen by lsblk are also still the old ones from the linux install <AidenIsik>I have never run into such strange issues ??? <AidenIsik>I'm doing this on my laptop now, flashing to /dev/sda <AidenIsik>well, /dev/sdb or /dev/sda depending on where the kernel registers it <AidenIsik>one time it mounted as /dev/sdb, I accidentally dded to /dev/sda (nothing there) <AidenIsik>I'm pretty sure that created /dev/sda as a regular file and screwed stuff up <AidenIsik>well it is flashing slower now so i am pretty sure it is actually flashing <damo22>(20:23:14) damo22: careful with raw devices , make sure its the right one obv <AidenIsik>yeah lsblk was picking up the "fake" /dev/sda as a disk <damo22>i always check dmesg | tail to see what actually mounted <AidenIsik>maybe I should start doing that because that was a really stupid mistake <AidenIsik>well i think it is safe to say the gpu driver comes after the ide driver, and that it worked? <damo22>i think you have a physical serial port on that board <AidenIsik>i can look up a pinout and try to connect to it later today <azert>you can probably disable the gpu driver <damo22>maybe its a bit too much to get hurd 64 bit running on a board with ICH7 for now <azert>do you see something on the screen before the crash? <azert>this means that the text mode console works <AidenIsik>yeah it should be going through the gt1030 which is installed in here <azert>so you can disable or delete the gpu drivers for the moment, to fix just one thing at a time <AidenIsik>wait i think i have a few frames in a video where I can see the disk driver <damo22>boot -c, then type disable nouveau to disable the NVIDIA driver, and disable i915drmkms to disable the i915 driver, followed by quit to continue booting <AidenIsik>it's reading the disk successfully in NetBSD <AidenIsik>dk0 at wd0: "EFI System", 262144 blocks at 2048, type: msdos <AidenIsik>but i found that line in the logs playing back a video i recorded of them <azert>now the trick is to understand what goes wrong in rumpdisk xD <azert>that doesn’t affect NetBSD proper <damo22>my only suggestion at the moment is to try i386 version of hurd on this old hardware and use linux driver built into gnumach <azert>the surface, at least, is much reduces <AidenIsik>yeah I tried i386 but it still wants to use rumpdisk, even without noide <AidenIsik>i need to look into the kernel args I can pass to mach <AidenIsik>to tell it to use the linux driver and see if that works <AidenIsik>but that is for later, i need to do things for now <AidenIsik>The only Hurd logs I could get are up the chat <AidenIsik>More info to add to the pile: it does the same thing on a Toshiba Satellite T110-107 (ICH9) <AidenIsik>My guess is it is something about this drive tripping it up <youpi>AidenIsik: which image did you try? <AidenIsik>latest Debian hurd images, both i386 and amd64 <youpi>"latest" doesn't mean anything <youpi>it could be stable, latest/, daily <youpi>as in : in the "latest" directory? <AidenIsik>nope i will try that if you want in about an hour or so <youpi>while it can easily fail to install a system, it will have one of the latest gnumach kernels <youpi>note that there isn't a preinstalled image in that case, but you can try to boot the installer and see if it manages to access the disk <AidenIsik>accessing the installer may be a problem because I don't have a CD/DVD drive <AidenIsik>I can try flash it to the HDD but unless it's isohybrid idk if it would work <youpi>the problem is getting files from usb <youpi>that one is relatively recent, and I don't remember if it's finished integrating in the debian installer <AidenIsik>ohhh does it load it as a ramdisk or something to sidestep the lack of usb mass storage support <youpi>but at least you can boot it <youpi>initially there is no driver <AidenIsik>I'm not seeing any "daily" or anything like that on Debian's servers for the Hurd <AidenIsik>could you point me to where these images are? <AidenIsik>sneek: tell youpi i tested the daily installer, and while it can boot on both systems it can read the disk on neither. even on ahci mode on the laptop, i am unable to access the disk. i am however able to boot a prebuilt image in ahci mode on the laptop (but that is no good, because that isn't my target) <sneek>youpi, AidenIsik says: i tested the daily installer, and while it can boot on both systems it can read the disk on neither. even on ahci mode on the laptop, i am unable to access the disk. i am however able to boot a prebuilt image in ahci mode on the laptop (but that is no good, because that isn't my target) <AidenIsik>sneek: tell youpi when possible i tested the daily installer, and while it can boot on both systems it can read the disk on neither. even on ahci mode on the laptop, i am unable to access the disk. i am however able to boot a prebuilt image in ahci mode on the laptop (but that is no good, because that isn't my target) <sneek>youpi, AidenIsik says: when possible i tested the daily installer, and while it can boot on both systems it can read the disk on neither. even on ahci mode on the laptop, i am unable to access the disk. i am however able to boot a prebuilt image in ahci mode on the laptop (but that is no good, because that isn't my target) <AidenIsik>sneek: later tell youpi i tested the daily installer, and while it can boot on both systems it can read the disk on neither. even on ahci mode on the laptop, i am unable to access the disk. i am however able to boot a prebuilt image in ahci mode on the laptop (but that is no good, because that isn't my target) <AidenIsik>It also seems to not work with the SSD either. <azert>solid_black: I’m thinking that by the reasoning i was using yesterday, one would try to move the pflocal server in glibc. Which is clearly not the design choice that was made for the Hurd <youpi>pflocal cannot be inside a process, we need it for named pipes etc. <sneek>youpi, AidenIsik says: i tested the daily installer, and while it can boot on both systems it can read the disk on neither. even on ahci mode on the laptop, i am unable to access the disk. i am however able to boot a prebuilt image in ahci mode on the laptop (but that is no good, because that isn't my target) <azert>although I suspect one could think of a complex design to increase performances <azert>youpi: glibc could serve named pipes and the namespace is the filesystem server. I think that the only limit is the coupling between the task lifetime and the socket lifetime that would be problematic <youpi>named / anonymous sockets are often passed between processes in odd ways <youpi>through passing rights over a socket etc. <youpi>(while for an eventfd, I have never seen that) <azert>that could be probably handled by glibc exactly like <azert>but I’m not sure, can you have more than one pflocal running on the Hurd? <azert>would they be fine with each others? <youpi>you can bind several on different paths, you just need to use remap/chroot to get processes to use it <azert>ok but can you pass one right handled by a server over a socket of another server? I guess so <youpi>but I really don't see how you manage to reasonably manage passing an anonymous pipe through a socket, and then abort() <youpi>once it's open, it'll just work <youpi>you don't need any more rendez-vous <azert>so it’s doable. The problem is the life time. If you abort they would just stop working if in glibc <youpi>(abort, or _exit, or whatever odd thing) <azert>exec() is probably the most odd thing that would interfere with this <azert>since it would keep the receive rights but lose the thread polling in them <azert>youpi: afaik kqueue, instead of epoll, relies on sockets. And could be implemented as part of pflocal instead of duplicating functions <azert>the MacOS version, somehow, even handles raw mach receive rights <azert>but probably also epoll could be put there