Still IRQ routing problems with bridged devices.

Bernd Walter ticso at cicely12.cicely.de
Sun Jan 4 20:34:14 PST 2004


OK - this is not related to bridges and not to this special board.
Today I saw this on an Asus P2B:
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f0d10
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
[...]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f at device 4.2 on pci0
pci_cfgintr: 0:4 INTD routed to irq 4
[...]
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A

As the system is currently declared for testing it's much easier to
test and debug this on that one.
boot -v dmesg attached.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso at bwct.de                                  info at bwct.de

-------------- next part --------------
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #0: Mon Jan  5 03:50:08 CET 2004
    ticso at cicely13.cicely.de:/var/d7/builder/c13-2003-11-22/src/sys/i386/compile/CICELY13-P2B
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0750000.
Calibrating clock(s) ... i8254 clock: 1193157 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 334093181 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 167759872 (159 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009ffff, 651264 bytes (159 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000826000 - 0x0000000009ce6fff, 155979776 bytes (38081 pages)
avail memory = 157405184 (150 MB)
bios32: Found BIOS32 Service Directory header at 0xc00f9d50
bios32: Entry = 0xf0520 (c00f0520)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0x720
pnpbios: Found PnP BIOS data at 0xc00fd1a0
pnpbios: Entry = f0000:d1d0  Rev = 1.0
pnpbios: OEM ID cd041
Other BIOS signatures found:
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
null: <null device, zero device>
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f0d10
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
slot 1      0   12    A   0x60  3 4 5 7 9 10 11 12
slot 1      0   12    B   0x61  3 4 5 7 9 10 11 12
slot 1      0   12    C   0x62  3 4 5 7 9 10 11 12
slot 1      0   12    D   0x63  3 4 5 7 9 10 11 12
slot 2      0   11    A   0x61  3 4 5 7 9 10 11 12
slot 2      0   11    B   0x62  3 4 5 7 9 10 11 12
slot 2      0   11    C   0x63  3 4 5 7 9 10 11 12
slot 2      0   11    D   0x60  3 4 5 7 9 10 11 12
slot 3      0   10    A   0x62  3 4 5 7 9 10 11 12
slot 3      0   10    B   0x63  3 4 5 7 9 10 11 12
slot 3      0   10    C   0x60  3 4 5 7 9 10 11 12
slot 3      0   10    D   0x61  3 4 5 7 9 10 11 12
slot 4      0    9    A   0x63  3 4 5 7 9 10 11 12
slot 4      0    9    B   0x60  3 4 5 7 9 10 11 12
slot 4      0    9    C   0x61  3 4 5 7 9 10 11 12
slot 4      0    9    D   0x62  3 4 5 7 9 10 11 12
embedded    0    4    A   0x60  3 4 5 7 9 10 11 12
embedded    0    4    B   0x61  3 4 5 7 9 10 11 12
embedded    0    4    C   0x62  3 4 5 7 9 10 11 12
embedded    0    4    D   0x63  3 4 5 7 9 10 11 12
embedded    0    1    A   0x60  3 4 5 7 9 10 11 12
embedded    0    1    B   0x61  3 4 5 7 9 10 11 12
embedded    0    1    C   0x62  3 4 5 7 9 10 11 12
embedded    0    1    D   0x63  3 4 5 7 9 10 11 12
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: physical bus=0
	map[10]: type 3, range 32, base e4000000, size 26, enabled
found->	vendor=0x8086, dev=0x7190, revid=0x03
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0106, statreg=0x2210, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x7191, revid=0x03
	bus=0, slot=1, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0117, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x80 (32000 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x7110, revid=0x02
	bus=0, slot=4, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[20]: type 4, range 32, base 0000d800, size  4, enabled
found->	vendor=0x8086, dev=0x7111, revid=0x01
	bus=0, slot=4, func=1
	class=01-01-80, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[20]: type 4, range 32, base 0000d400, size  5, enabled
found->	vendor=0x8086, dev=0x7112, revid=0x01
	bus=0, slot=4, func=2
	class=0c-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=d, irq=255
	map[90]: type 4, range 32, base 0000e800, size  4, enabled
found->	vendor=0x8086, dev=0x7113, revid=0x02
	bus=0, slot=4, func=3
	class=06-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 4, range 32, base 0000d000, size  7, enabled
	map[14]: type 1, range 32, base e3000000, size  7, enabled
pci_cfgintr_valid: BIOS irq 10 is valid
pci_cfgintr: 0:10 INTA BIOS irq 10
found->	vendor=0x1011, dev=0x0009, revid=0x20
	bus=0, slot=10, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x14 (5000 ns), maxlat=0x28 (10000 ns)
	intpin=a, irq=10
	map[10]: type 1, range 32, base dc000000, size 26, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:12 INTA BIOS irq 11
found->	vendor=0x5333, dev=0x8901, revid=0x16
	bus=0, slot=12, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0023, statreg=0x0200, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=11
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xe000-0xdfff
pcib1:   memory decode     0xe3f00000-0xe3efffff
pcib1:   prefetched decode 0xe4000000-0xe3ffffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave:  stat=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: reset tp1 mask=03 ostat0=00 ostat1=00
ata1-master: stat=0x00 err=0x00 lsb=0x00 msb=0x00
ata1-slave:  stat=0x00 err=0x00 lsb=0x00 msb=0x00
ata1: reset tp2 mask=03 stat0=00 stat1=00 devices=0x0
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f at device 4.2 on pci0
pci_cfgintr_virgin: using routable interrupt 4
pci_cfgintr: 0:4 INTD routed to irq 4
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
intsmb0: <Intel PIIX4 SMBUS Interface> on intpm0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus0
intpm0: PM I/O mapped e400 
de0: <Digital 21140A Fast Ethernet> port 0xd000-0xd07f mem 0xe3000000-0xe300007f irq 10 at device 10.0 on pci0
de0: Cogent 21140A [10-100Mb/s] pass 2.0
de0: address 00:00:92:9b:31:51
de0: bpf attached
pci0: <display, VGA> at device 12.0 (no driver attached)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
pnpbios: 14 devices, largest 114 bytes
PNP0400: adding irq mask 0x80
PNP0400: adding io range 0x378-0x37f, size=0x8, align=0
PNP0400: adding io range 0x778-0x77f, size=0x8, align=0
pnpbios: handle 0 device ID PNP0400 (0004d041)
PNP0501: adding irq mask 0x10
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0
pnpbios: handle 2 device ID PNP0501 (0105d041)
PNP0501: adding irq mask 0x8
PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0
pnpbios: handle 3 device ID PNP0501 (0105d041)
PNP0700: adding irq mask 0x40
PNP0700: adding dma mask 0x4
PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0
pnpbios: handle 4 device ID PNP0700 (0007d041)
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0x100000-0x9ffffff, size=0x9f00000
PNP0c01: adding fixed memory32 range 0xe8000-0xeffff, size=0x8000
PNP0c01: adding fixed memory32 range 0xf0000-0xf3fff, size=0x4000
PNP0c01: adding fixed memory32 range 0xf4000-0xf7fff, size=0x4000
PNP0c01: adding fixed memory32 range 0xf8000-0xfbfff, size=0x4000
PNP0c01: adding fixed memory32 range 0xfc000-0xfffff, size=0x4000
PNP0c01: adding fixed memory32 range 0xfffe0000-0xffffffff, size=0x20000
pnpbios: handle 6 device ID PNP0c01 (010cd041)
PNP0100: adding irq mask 0x1
PNP0100: adding io range 0x40-0x43, size=0x4, align=0
pnpbios: handle 8 device ID PNP0100 (0001d041)
PNP0b00: adding irq mask 0x100
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0
pnpbios: handle 9 device ID PNP0b00 (000bd041)
PNP0303: adding irq mask 0x2
PNP0303: adding io range 0x60-0x60, size=0x1, align=0
PNP0303: adding io range 0x64-0x64, size=0x1, align=0
pnpbios: handle 10 device ID PNP0303 (0303d041)
PNP0c04: adding irq mask 0x2000
PNP0c04: adding io range 0xf0-0xf0, size=0x1, align=0
pnpbios: handle 11 device ID PNP0c04 (040cd041)
PNP0200: adding dma mask 0x10
PNP0200: adding io range 0-0xf, size=0x10, align=0
PNP0200: adding io range 0x80-0x90, size=0x11, align=0
PNP0200: adding io range 0x94-0x9f, size=0xc, align=0
PNP0200: adding io range 0xc0-0xde, size=0x1f, align=0
pnpbios: handle 12 device ID PNP0200 (0002d041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1
pnpbios: handle 13 device ID PNP0800 (0008d041)
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0
pnpbios: handle 14 device ID PNP0a03 (030ad041)
PNP0c02: adding io range 0x290-0x297, size=0x8, align=0
PNP0c02: adding io range 0xe400-0xe43f, size=0x40, align=0
PNP0c02: adding io range 0xe800-0xe83f, size=0x40, align=0
pnpbios: handle 15 device ID PNP0c02 (020cd041)
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
ppc0: using extended I/O port range
ppc0: SPP
ppc0: <Parallel port> at port 0x378-0x37f on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
ppc1: using extended I/O port range
ppc1: <Parallel port> failed to probe at port 0x278-0x27f on isa0
ppc2: using extended I/O port range
ppc2: <Parallel port> failed to probe at port 0x3bc-0x3c3 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: irq maps: 0x1 0x1 0x1 0x1
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: configured irq 10 not in bitmap of probed irqs 0
sio2: port may not be enabled
sio2: irq maps: 0x1 0x1 0x1 0x1
sio2: probe failed test(s): 0 1 2 4 6 7 9
sio2 failed to probe at port 0x3e8-0x3ef irq 10 on isa0
sio3: configured irq 11 not in bitmap of probed irqs 0
sio3: port may not be enabled
sio3: irq maps: 0x1 0x1 0x1 0x1
sio3: probe failed test(s): 0 1 2 4 6 7 9
sio3 failed to probe at port 0x2e8-0x2ef irq 11 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
isa_probe_children: probing PnP devices
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0400> at port 0x378-0x37f on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x2f8-0x2ff on isa0
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0700> at port 0x3f2-0x3f5 on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0303> at port 0x60 on isa0
unknown: <PNP0800> failed to probe at port 0x61 on isa0
Device configuration finished.
procfs registered
Timecounter "TSC" frequency 334093181 Hz quality 800
Timecounters tick every 1.000 msec
lo0: bpf attached
ata0-master: pio=0x0a wdma=0xffffffff udma=0xffffffff cable=40pin
ata0-master: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=1<ILLEGAL_LENGTH>
ata0-master: FAILURE setting PIO2 on Intel PIIX4 chip
ata0-master: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=1<ILLEGAL_LENGTH>
ata0-master: FAILURE setting PIO2 on Intel PIIX4 chip
ad0: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=1<ILLEGAL_LENGTH>
ad0: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=1<ILLEGAL_LENGTH>
GEOM: create disk ad0 dp=0xc1fff160
ad0: <SAMSUNG CF/ATA/Rev 1.15> ATA-0 disk at ata0-master
ad0: 61MB (125952 sectors), 246 C, 16 H, 32 S, 512 B
ad0: 1 secs/int, 1 depth queue, BIOSPIO
GEOM: new disk ad0
[0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000
GEOM: Configure ad0a, start 0 length 64487424 end 64487423
GEOM: Configure ad0c, start 0 length 64487424 end 64487423
Mounting root from ufs:/dev/ad0a
start_init: trying /sbin/init
de0: enabling 100baseTX port


More information about the freebsd-current mailing list