IRC channel logs

2023-06-24.log

back to list of logs

<damo22>janneke: where is TARGET_MIG defined?
<damo22>ok i think i fixed the debian package
<damo22>with your cross build changes included
<damo22>when was "noide" introduced into gnumach?
<damo22>it doesnt seem to be compiled with that on my debian
<damo22>i wonder why youpi disabled this patch https://salsa.debian.org/hurd-team/rumpkernel/-/commit/58540d6ee101fd29894d4f05553cb306229cb74d
<damo22>Debian GNU/Hurd trixie/sid zamhurd tty1
<damo22>janneke: i enabled the acpi.diff patch in rumpkernel locally and it boots with rumpdisk, im not sure what the issue was
<janneke>damo22: ooh, nice
<damo22>on T500 hardware, it hangs trying to assign the wrong irq
<damo22>its trying to use irq 1
<damo22>but it works in qemu
<damo22>janneke: https://i2.paste.pics/74450e5961febf2e4b31c796e7f5f753.png
<damo22>i think the problem is the acpi translator cant seem to figure out which irq the disk controller uses
<janneke>damo22: that worked before, right (without the acpi possibly)
<janneke>and then there is the network card that needs to work
<damo22>$ sudo ./testacpi
<damo22>IRQ(0:2.0) = 1
<damo22>IRQ(0:1f.2) = 10
<damo22>it thinks network card has irq 1
<damo22>ACPI: Tried to read pci config
<damo22>ACPI Error: AE_ERROR, During region initialization: [PCI_Config] (20220331/evregion-191)
<damo22>ACPI Error: Aborting method \_SB.LNKG._CRS due to previous e
<damo22>ACPI Error: Method execution failed \_SB.LNKG._CRS due to previous error (AE_ERROR) (20220331/uteval-66)
<damo22>i think acpi needs to access pci config space
<damo22>but that means pci-arbiter needs to be running first
<damo22>we need to implement the stubs in acpi for accessing pci via pci-arbiter
<damo22>janneke: we need acpi to read the irqs for pci cards, that is the ONLY reliable method for determining irqs on modern x86
<damo22>its not enough to use the values in the pci config space called "PCI_INTERRUPT" or whatever, these values are not always set correctly anymore
<damo22>every x86 mainboard has pci interrupts specified in the DSDT table in some horrible format that you can only dig out with the official acpi parser
<janneke>OK
<damo22>youpi1: (repost) i am getting errors when i try to read the pci irqs with acpi translator, i think acpi needs to access pci config space:
<damo22>(17:18:24) damo22: ACPI: Tried to read pci config
<damo22>(17:18:24) damo22: ACPI Error: AE_ERROR, During region initialization: [PCI_Config] (20220331/evregion-191)
<damo22>(17:18:24) damo22: ACPI Error: Aborting method \_SB.LNKG._CRS due to previous e
<damo22>(17:20:47) damo22: ACPI Error: Method execution failed \_SB.LNKG._CRS due to previous error (AE_ERROR) (20220331/uteval-66)
<damo22>hooray! $ sudo ./testacpi
<damo22>IRQ(0:2.0) = 11
<damo22>IRQ(0:1f.2) = 10
<damo22>i fixed acpi translator and made it start after pci-arbiter and it works
<damo22>but it crashes on real hw
<janneke>oh!
<janneke>small steps again...