intel dual netwokcard problem on epia-m

Niki Waibel niki.waibel at newlogic.com
Thu Nov 27 07:46:01 CET 2003


i have the same problem
===
PCI: No IRQ known for interrupt pin A of device 0000:02:04.0. Please try using pci=biosirq.
PCI: No IRQ known for interrupt pin A of device 0000:02:05.0. Please try using pci=biosirq.
===
with the linuxbios + the new generated irq_tables.c.

no matter if i use pci=biosirq or not (does this kernel option
affect the functionality of a linuxbios system at all?).

i get this from linuxbios:
===
LinuxBIOS-1.0.0 Thu Nov 27 13:30:41 CET 2003 starting...
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.0.0 Thu Nov 27 13:30:41 CET 2003 booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Scanning PCI bus...PCI: pci_scan_bus for bus 0
PCI: 00:00.0 [1106/3123]
PCI: 00:01.0 [1106/b091]
PCI: 00:0d.0 [1106/3044]
PCI: 00:10.0 [1106/3038]
PCI: 00:10.1 [1106/3038]
PCI: 00:10.2 [1106/3038]
PCI: 00:10.3 [1106/3104]
PCI: 00:11.0 [1106/3177]
PCI: 00:11.1 [1106/0571]
PCI: 00:11.5 [1106/3059]
PCI: 00:12.0 [1106/3065]
PCI: 00:14.0 [8086/b154]
PCI: pci_scan_bus for bus 1
PCI: pci_scan_bus returning with max=01
PCI: pci_scan_bus for bus 2
PCI: 02:04.0 [8086/1229]
PCI: 02:05.0 [8086/1229]
PCI: pci_scan_bus returning with max=02
PCI: pci_scan_bus returning with max=02
done
Allocating PCI resources...
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
ASSIGN RESOURCES, bus 0
PCI: 00:01.0 1c <- [0x00002000 - 0x00001fff] bus 1 io
PCI: 00:01.0 24 <- [0xfeb00000 - 0xfeafffff] bus 1 prefmem
PCI: 00:01.0 20 <- [0xfeb00000 - 0xfeafffff] bus 1 mem
PCI: 00:0d.0 10 <- [0xfeb00000 - 0xfeb007ff] mem
PCI: 00:0d.0 14 <- [0x00002800 - 0x0000287f] io
PCI: 00:10.0 20 <- [0x00002880 - 0x0000289f] io
PCI: 00:10.1 20 <- [0x000028a0 - 0x000028bf] io
PCI: 00:10.2 20 <- [0x000028c0 - 0x000028df] io
PCI: 00:10.3 10 <- [0xfeb01000 - 0xfeb010ff] mem
PCI: 00:11.1 20 <- [0x000028e0 - 0x000028ef] io
PCI: 00:11.5 10 <- [0x00002000 - 0x000020ff] io
PCI: 00:12.0 10 <- [0x00002400 - 0x000024ff] io
PCI: 00:12.0 14 <- [0xfeb02000 - 0xfeb020ff] mem
PCI: 00:14.0 1c <- [0x00001000 - 0x00001fff] bus 2 io
PCI: 00:14.0 24 <- [0xfeb00000 - 0xfeafffff] bus 2 prefmem
PCI: 00:14.0 20 <- [0xfea00000 - 0xfeafffff] bus 2 mem
ASSIGN RESOURCES, bus 2
PCI: 02:04.0 10 <- [0xfea40000 - 0xfea40fff] mem
PCI: 02:04.0 14 <- [0x00001000 - 0x0000103f] io
PCI: 02:04.0 18 <- [0xfea00000 - 0xfea1ffff] mem
PCI: 02:05.0 10 <- [0xfea41000 - 0xfea41fff] mem
PCI: 02:05.0 14 <- [0x00001040 - 0x0000107f] io
PCI: 02:05.0 18 <- [0xfea20000 - 0xfea3ffff] mem
ASSIGNED RESOURCES, bus 2
ASSIGNED RESOURCES, bus 0
done.
Enabling PCI resourcess...PCI: 00:00.0 cmd <- 06
PCI: 00:01.0 cmd <- 07
PCI: 00:0d.0 cmd <- 83
PCI: 00:10.0 cmd <- 01
PCI: 00:10.1 cmd <- 01
PCI: 00:10.2 cmd <- 01
PCI: 00:10.3 cmd <- 02
PCI: 00:11.0 cmd <- 87
PCI: 00:11.1 cmd <- 07
PCI: 00:11.5 cmd <- 01
PCI: 00:12.0 cmd <- 83
PCI: 00:14.0 cmd <- 07
PCI: 02:04.0 cmd <- 03
PCI: 02:05.0 cmd <- 03
done.
Initializing PCI devices...
PCI devices initialized
totalram: 127M
Initializing CPU #0
===
[...]
===
Southbridge fixup
setting firewire
Assigning IRQ 10 to 0:d.0
  Readback = 10
setting usb
Assigning IRQ 11 to 0:10.0
  Readback = 11
Assigning IRQ 10 to 0:10.1
  Readback = 10
Assigning IRQ 12 to 0:10.2
  Readback = 12
Assigning IRQ 5 to 0:10.3
  Readback = 5
setting ethernet
Assigning IRQ 11 to 0:12.0
  Readback = 11
setting pci slot
setting vt8235 slot
Assigning IRQ 5 to 0:11.1
  Readback = 5
Assigning IRQ 12 to 0:11.5
  Readback = 12
Checking IRQ routing tables...
/home/niki/packages/freebios-20031024/src/arch/i386/lib/pirq_routing.c:    30:check_pirq_routing_table() - irq_routing_table lo
cated
 at: 0x00008a20
done.
Copying IRQ routing tables to 0xf0000...done.
Verifing priq routing tables copy at 0xf0000...failed
Wrote linuxbios table at: 00000500 - 00000640  checksum ed05
===

the system (booted with linuxbios+modified irq_tables.c) sayes:
===
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031002
ACPI: System description tables not found
    ACPI-0084: *** Error: acpi_load_tables: Could not get RSDP, AE_NOT_FOUND
    ACPI-0134: *** Error: acpi_load_tables: Could not load tables: AE_NOT_FOUND
ACPI: Unable to load the System Description Tables
ACPI: ACPI tables contain no PCI IRQ routing entries
PCI: Invalid ACPI-PCI IRQ routing table
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
[...cut...]
PCI: No IRQ known for interrupt pin A of device 0000:02:04.0. Please try using pci=biosirq.
PCI: No IRQ known for interrupt pin A of device 0000:02:05.0. Please try using pci=biosirq.
===

===
# cat /proc/interrupts 
           CPU0       
  0:     116849          XT-PIC  timer
  1:          8          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:          0          XT-PIC  serial
  4:        257          XT-PIC  serial
  8:          1          XT-PIC  rtc
 11:          0          XT-PIC  eth2
 12:          0          XT-PIC  VIA8233
 14:         21          XT-PIC  ide0
 15:       1051          XT-PIC  ide1
NMI:          0 
ERR:          0
===

it seems that 02:04.0 and 02:05.0 are detected...
so what goes wrong?
there is no ``Assigning IRQ XX to ...'' for 02:04.0 and 02:05.0 in linuxbios...

it is strange to me that all this worked with a regular (singleport) intel
ethernet card!



when using the award bios the kernel sayes (regarding pci):
===
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031002
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
[...later...]
PCI: Via IRQ fixup for 0000:00:10.0, from 0 to 11
PCI: Via IRQ fixup for 0000:00:10.1, from 255 to 12
PCI: Via IRQ fixup for 0000:00:10.2, from 255 to 10
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1 C2, 2 throttling states)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
===

and
===
# cat /proc/interrupts 
           CPU0       
  0:     159023          XT-PIC  timer
  1:          8          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:          0          XT-PIC  serial
  4:        270          XT-PIC  serial
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  acpi
 10:          6          XT-PIC  VIA8233, eth1
 11:          0          XT-PIC  eth2
 12:          6          XT-PIC  eth0
 14:         21          XT-PIC  ide0
 15:       1049          XT-PIC  ide1
NMI:          0 
ERR:          0
===

niki



More information about the coreboot mailing list