[LinuxBIOS] PCI IRQ routing issues with qemu
Ed Swierk
eswierk at arastra.com
Wed Sep 13 00:52:15 CEST 2006
Hello,
I'm having some trouble getting Linux to recognize Ethernet and USB
devices when booting with LinuxBIOS on qemu 0.8.2.
During boot I see messages like:
ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
http://www.scyld.com/network/ne2k-pci.html
PCI: No IRQ known for interrupt pin A of device 0000:00:03.0. Please
try using pci=biosirq.
eth0: RealTek RTL-8029 found at 0x1000, IRQ 0, 52:54:00:12:34:56.
and
USB Universal Host Controller Interface driver v3.0
PCI: No IRQ known for interrupt pin D of device 0000:00:01.2. Please
try using pci=biosirq.
uhci_hcd 0000:00:01.2: Found HC with no IRQ. Check BIOS/PCI 0000:00:01.2 setup!
uhci_hcd 0000:00:01.2: init 0000:00:01.2 fail, -19
After groveling through the list archive for clues, I used getpir to
update irq_tables.c, since it looks like the one in
src/mainboard/emulation/qemu-i386 is pretty old. I validated the
resulting table with checkpir, and added "option HAVE_PIRQ_TABLE=1" to
Config.lb. LinuxBIOS doesn't seem to be able to use the new table,
though:
Copying IRQ routing tables to 0xf0000...done.
Verifing copy of IRQ routing tables at 0xf0000...failed
Any further clues would be appreciated. I've attached my boot log,
irq_tables.c, Config.lb, as well as the output of lspci after booting
with qemu's standard BIOS.
--Ed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.log
Type: text/x-log
Size: 7780 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20060912/3e8b59e5/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: irq_tables.c
Type: text/x-csrc
Size: 1775 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20060912/3e8b59e5/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Config.lb
Type: application/octet-stream
Size: 415 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20060912/3e8b59e5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lspci.out
Type: application/octet-stream
Size: 1457 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20060912/3e8b59e5/attachment-0001.obj>
More information about the coreboot
mailing list