IRC channel logs
2023-02-21.log
back to list of logs
<damo22>probably when gcc had that change that -fcommon was needed initially, someone hardcoded it into the make command? <zamfofex>I’m running into a different issue now. When it tries to build the ‘glibc/hurd-headers’ package (which seems to be glibc’s headers cross‐built for the Hurd), it fails during ‘./configure’ while checking for Mach headers because ‘<mach/mach_types.h>’ includes GCC’s ‘<stdint.h>’, which in turn try to use ‘#include_next’, but it fails to find anything. <zamfofex>Passing ‘CC=gcc -ffreestanding’ to ‘./configure’ fixes it, but it causes a different failure later on, still in ‘./configure’. I suppose a sensible solution might be to just remove the check with a patch, I think. <youpi>Flavio's script doesn't seem to need such a thing <youpi>you could probably raise the question on the list <zamfofex>Seems like there was a fix in glibc in 8b8c768e3c701ed1993789bb46acb8a12c7a93df (and subsequently in 7685630b98ca2a3f5de86eadf130993e6cf998a0) that is not in 2.35 yet. I suppose I can manually patch that fix in for now. <zamfofex>Oh, I just realized that if I apply a patch to glibc, imma have to wait for, like, two whole days again for packages to build. 😭 <surpador>zamfofex: maybe you could use grafts for the patched glibc, at least until you get everything working? Might make the debug cycle shorter. I don't really have any experience with grafts but seems like they might be useful here. <almuhs>damo22: any progress with apic or smp? <almuhs>damo22: do you know if rumpdisk supports SATA CD/DVD reader? <damo22>almuhs: it was my birthday, i didnt work on hurd though <almuhs>then the problem must be in the Debian GNU/Hurd installer. The installer only detects CD/DVD if this is IDE <almuhs>the installer boots, but after start installation, is not able to detect CD/DVD devices to find the installation files <youpi>the installer doesn't use rumpdisk by default yet, you have to pass the noide kernel parameter for that <youpi>ah, no, noide implies noahci actually <almuhs>the installer detects the SATA HDD, but not SATA CD/DVD <almuhs>so I need a strange configuration using a SATA HDD with a IDE CD/DVD <almuhs>but in real hardware is not usual this hardware <youpi>again, that's because rumpdisk is not used yet <youpi>and the kernel ahci driver indeed has troubles with SATA CD/DVD <youpi>again, use the noide kernel parameter <almuhs>then, the partition step are using gnumach's SATA drivers? <youpi>unless you pass the noide kernel parameter, *yes* <youpi>no, I mean the integrated help <youpi>the shortcuts documented at the bottom <almuhs>my thinkpad r60e now detects the DVD <almuhs>but now the partitioner doesn't detects my SATA HDD <almuhs>youpi: are there any way to the partitioner can detect my HDD? <almuhs>if I install with gnumach's SATA drivers, rumpdisk detects my hdd during the boot <almuhs>but rumpdisk by own doesn't detect my HDD during the installation <youpi>also, did you take the latest installer image? <youpi>I don't remember if rumpdisk was changed in between, though <damo22>i dont know if ide + ahci can work simultaneously unless Pellescours fixed it <youpi>the daily build is what it is: a daily build <youpi>if it doesn't work, then help is welcome to fix bugs <youpi>(but yes, better avoid burning something that doesn't work) <damo22>how does your laptop have an ide cd/dvd drive? <almuhs>in a VM i can set IDE CD/DVD drive + SATA HDD, but in the laptop i can't <damo22>rumpdisk supports AHCI + SATA DVD <almuhs>yes, but the installer doesn't enable rumpdisk by default <damo22>no but you can force it to boot with "noide" <almuhs>in my R60e i put this, and detects the CD/DVD drive, but not the HDD <almuhs>in my T410 doesn't detect anything <almuhs>yes, but not appears in partitioner list <damo22>really you need to get yourself a USB <-> SATA cable <damo22>and install your hurd system onto the physical disk from a vm <almuhs>but i want to use the installer, to test it <damo22>the installer is useless if it doesnt work <youpi>or just copy over an installed image <damo22>for example, i plug my physical 2.5" disk into a usb caddy and boot qemu with /dev/sdd <damo22>then if i want to test on real hw i unplug the caddy and put the disk into the real pc <youpi>if the system doesn't work already, there's no use trying the installer <youpi>and then we can check that the installer is fixed too <damo22>youve already determined that the system does not work, why do you need to confirm the installer is bogus again and again <youpi>the user experience itself can be tested in a VM, no need to bother with real hardware <almuhs>tomorrow i will recover my HDD caddy and then I will install by VM <damo22>almuhs: i highly recommend this, you can do more helpful work when you have an installed disk <damo22>for example, you can backup individual binaries and compile changes to servers and try them out <almuhs>yes, but we have to wait tomorrow. My caddy is at home and now i am in my office <damo22>i dont mean right now, just whenever <almuhs>i like to test it in real hardware because the real hardware is wilder than VM. In real hardware, manufacturers doesn't fully follow the standard specs for protocols, set their own IRQs... etc <damo22>i dont know if the irq problem has been solved yet with acpi <almuhs>remember the problem with ACPI shutdown, which have a different results depending of the machine <damo22>i cant remember if its all hooked up <damo22>almuhs: shutdown should be working on real hw <youpi>almuhs: sure but the installer is not a case that is easy to investigate <youpi>better just work on the system itself firsrt <youpi>where you have gdb etc. at hand <damo22>acpi translator queries the SLP states properly <almuhs>i have to re-check shutdown. Some months ago, the acpi shutdown failed in T410 (infinite errors loop), hang in T60... etc <damo22>i wouldnt bother with real hw for the moment, until we can get things working with qemu <damo22>i feel like one day i could plug the disk i have into my x230 and it would boot, but so what <damo22>we're not ready for that with smp <almuhs>but, when we will get boots in VM, the next step will be test in real hardware <damo22>but i need help with smp in qemu <almuhs>about ACPI shutdown, it continues failing in my T410 <damo22>"it works" doesnt mean much, we need -smp 8 to boot in qemu <almuhs>yes, i have in the same step than you <damo22>with --enable-ncpus=8 --enable-apic etc <almuhs>--enable-ncpus=1 -enable-apic shows the connection timeout in console <damo22>check my patch to the mailing list <damo22>we need to figure out why that particular irq blocks the console <damo22>thats not enough to accept the patch <almuhs>i remember an old bug which i had in old versions of Hurd, in which if you press mouse during booting, the mouse stack (or any similar) blocks the boot <almuhs>i don't remember if locks the boot or the shutdown, but locked any related thing <damo22>im not 100% sure its related to the mouse, but it seems to trigger one interrupt at boot and then nothing <damo22>but if you unmask it, everything works <almuhs>i can test to disable mouse in hurd-console <almuhs>to discard the problem is related with that <almuhs>mouse generated problems in other times <almuhs>the last year i have a problem in which enabling mouse in hurd-console locks the tty <damo22>we need to move the unmask_irq() calls into their respective driver <damo22>so the driver itself should know what irq to unmask and do it, instead of calling unmask manually in model_dep.c <damo22>theres a compile time warning that reminds us to fix this <damo22>its midnight, im turning into a pumpkin <almuhs>damo22: disabling mouse and mouse repeater, now we have keyboard in tty <almuhs>but now you can go sleep with a problem less <almuhs>i simply put a # before mouse lines in /etc/default/hurd-console <almuhs>i go to have lunch. I have a class at 4 PM <Pellescours>for ahci + ide rump compile with both but I don't know if someone tested to boot with both at the same time <luckyluke>About x86_64, any reason to not use syscall/sysret? Afaik sysenter/sysexit has (or had) compatibility issues between intel and amd <youpi>no reason against anything :) <youpi>it's open for whatever seems best