[LinuxBIOS] IRQ problem

Stefan Reinauer stepan at coresystems.de
Thu May 24 16:03:10 CEST 2007


* Thomas Ekstrand <thomas.ekstrand at gmail.com> [070524 13:46]:
> Hi!
> 
> I have trouble getting some Interrupts. I have used getpir to create a
> irq_tables.c but I get a warning message during startup:
> "Inconsistent IRQ routing table size (0xd0/0xc0)"
> 
> mainly it is the network interfaces that does not work. It feels like
> i have missed a leap in the IRQ configuration. I have not yet been
> able to understand the importance and use of the mptable.c for IRQ
> configuration, is this my source of trouble?
> 
> I've attached some output when booted from linuxbios and the created
> irq_tables.c in use.
> 
> linuxbios also fail to map the tg3 net interfaces through MSI which
> the standard bios does, but it maps the intel net interfaces through
> MSI... how come?
 
> 00:04.0 Class : 0200 : 8086 : 1209 (rev 10) > intel card 1 
> 04:04.0 Class : 0200 : 14e4 : 166a (rev 03) tg3 1
> 04:04.1 Class : 0200 : 14e4 : 166a (rev 03) tg3 2
> 07:00.0 Class : 0200 : 8086 : 105e (rev 06) intel card 2
> 07:00.1 Class : 0200 : 8086 : 105e (rev 06) intel card 3
 
> /* bus,     dev|fn,   {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap},  slot, rfu */
> {0x04,(0x04<<3)|0x0, {{0x22, 0xdefa}, {0x23, 0xdefa}, {0x00, 0x0000}, {0x00, 0x00000}}, 0x0, 0x0},
> {0x00,(0x04<<3)|0x0, {{0x21, 0xdefa}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x00000}}, 0x0, 0x0},
> {0x07,(0x00<<3)|0x0, {{0x26, 0xdefa}, {0x26, 0xdefa}, {0x00, 0x0000}, {0x00, 0x00000}}, 0x0, 0x0},

This pirq table has entries for the following of above listed cards:

4:4.0
0:4.0
7:0.0

These are missing:
4:4.1
7:0.1

The PIRQ table does not at all fit to the devices on the bus, it is
bogus. It lists entries for bus 5 and 8 but has no devices on such
busses.

Are your device numbers different with legacy bios? Do the entries make
sense whith those?

If not.. do ACPI, and you dont have to worry about this old cruft. Have
a look at acpidump to see what acpi tables are provided by your legacy
bios and compare them with the acpi spec to see which ones are required.

Stefan


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/




More information about the coreboot mailing list