atapicam broken by ata_lowlevel.c rev.1.23

From: Bruce Evans <bde_at_zeta.org.au>
Date: Fri, 14 Nov 2003 08:16:13 +1100 (EST)
Rev.1.23 of ata-lowlevel.c broke atapicam on my BP6 system as shown
by the enclosed boot -v messages (the system just hangs, apparently waiting
for a disk interrupt that never arrives; there seems to be no timeout).

The problem seems to be interrupt-related.  rev.1.23 of ata-lowlevel.c
broke things immediately.  Then the new interrupt code mysteriously
fixed them.  Then the next version of the new interrupt code mysteriously
broke them again.  The differences may be related to using apic mode.
I've been testing other things with all possible combinations of SMP
and "device apic" but didn't test all combinations for this bug.  I
mostly just work around the bug by not using rev.1.23.

boot -v messages for a kernel with the bug:
%%%
WARNING: loader(8) metadata is missing!
[ preserving 820844 bytes of kernel symbol table ]
SMAP type=01 base=0000000000000000 len=000000000009fc00
SMAP type=02 base=000000000009fc00 len=0000000000000400
SMAP type=02 base=00000000000f0000 len=0000000000010000
SMAP type=02 base=00000000fec00000 len=0000000000001000
SMAP type=02 base=00000000fee00000 len=0000000000001000
SMAP type=02 base=00000000ffff0000 len=0000000000010000
SMAP type=01 base=0000000000100000 len=000000000ff00000
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 #3042: Tue Nov 11 18:23:43 EST 2003
    bde_at_besplex.bde.org:/c/sysc/i386/compile/BESPLEX
Calibrating clock(s) ... i8254 clock: 1193225 Hz
Press a key on the console to abort clock calibration
Calibrating clock(s) ... i8254 clock: 1193223 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 367500042 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268435456 (256 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000826000 - 0x000000000fb51fff, 254984192 bytes (62252 pages)
avail memory = 255381504 (243 MB)
MPTable: <OEM00000 PROD00000000>
bios32: Found BIOS32 Service Directory header at 0xc00faf70
bios32: Entry = 0xfb3f0 (c00fb3f0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xb420
pnpbios: Found PnP BIOS data at 0xc00fbfe0
pnpbios: Entry = f0000:c008  Rev = 1.0
Other BIOS signatures found:
ioapic0: Assuming intbase of 0
ioapic0: intpin 0 -> ExtINT (edge, activehi)
ioapic0: intpin 1 -> irq 1 (edge, activehi)
ioapic0: intpin 2 -> irq 2 (edge, activehi)
ioapic0: intpin 3 -> irq 3 (edge, activehi)
ioapic0: intpin 4 -> irq 4 (edge, activehi)
ioapic0: intpin 5 -> irq 5 (edge, activehi)
ioapic0: intpin 6 -> irq 6 (edge, activehi)
ioapic0: intpin 7 -> irq 7 (edge, activehi)
ioapic0: intpin 8 -> irq 8 (edge, activehi)
ioapic0: intpin 9 -> irq 9 (edge, activehi)
ioapic0: intpin 10 -> irq 10 (edge, activehi)
ioapic0: intpin 11 -> irq 11 (edge, activehi)
ioapic0: intpin 12 -> irq 12 (edge, activehi)
ioapic0: intpin 13 -> irq 13 (edge, activehi)
ioapic0: intpin 14 -> irq 14 (edge, activehi)
ioapic0: intpin 15 -> irq 15 (edge, activehi)
ioapic0: intpin 16 -> irq 16 (level, activelo)
ioapic0: intpin 17 -> irq 17 (level, activelo)
ioapic0: intpin 18 -> irq 18 (level, activelo)
ioapic0: intpin 19 -> irq 19 (level, activelo)
ioapic0: intpin 20 -> irq 20 (level, activelo)
ioapic0: intpin 21 -> irq 21 (level, activelo)
ioapic0: intpin 22 -> irq 22 (level, activelo)
ioapic0: intpin 23 -> irq 23 (level, activelo)
ioapic0: intpin 1 trigger: edge
ioapic0: intpin 1 polarity: active-hi
ioapic0: Routing IRQ 0 -> intpin 2
ioapic0: intpin 2 trigger: edge
ioapic0: intpin 2 polarity: active-hi
ioapic0: intpin 3 trigger: edge
ioapic0: intpin 3 polarity: active-hi
ioapic0: intpin 4 trigger: edge
ioapic0: intpin 4 polarity: active-hi
ioapic0: intpin 6 trigger: edge
ioapic0: intpin 6 polarity: active-hi
ioapic0: intpin 7 trigger: edge
ioapic0: intpin 7 polarity: active-hi
ioapic0: intpin 8 trigger: edge
ioapic0: intpin 8 polarity: active-hi
ioapic0: intpin 10 trigger: edge
ioapic0: intpin 10 polarity: active-hi
ioapic0: intpin 12 trigger: edge
ioapic0: intpin 12 polarity: active-hi
ioapic0: intpin 13 trigger: edge
ioapic0: intpin 13 polarity: active-hi
ioapic0: intpin 14 trigger: edge
ioapic0: intpin 14 polarity: active-hi
ioapic0: intpin 15 trigger: edge
ioapic0: intpin 15 polarity: active-hi
ioapic0: Routing IRQ 9 -> intpin 17
ioapic0: intpin 9 disabled
ioapic0: intpin 17 trigger: level
ioapic0: intpin 17 polarity: active-lo
ioapic0: Routing IRQ 11 -> intpin 18
ioapic0: intpin 11 disabled
ioapic0: intpin 18 trigger: level
ioapic0: intpin 18 polarity: active-lo
ioapic0: Routing IRQ 5 -> intpin 19
ioapic0: intpin 5 disabled
ioapic0: intpin 19 trigger: level
ioapic0: intpin 19 polarity: active-lo
lapic: Routing ExtINT -> LINT0
lapic: Routing NMI -> LINT1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
cpu0 BSP:
     ID: 0x00000000   VER: 0x00040011 LDR: 0x01000000 DFR: 0x0fffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
null: <null device, zero device>
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: flags 0x80 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, 8 entries at 0xc00fdef0
PCI-Only Interrupts: 5 9 11
Location  Bus Device Pin  Link  IRQs
slot 1      0   15    A   0x60  3 4 5 7 9 10 11 12 14 15
slot 1      0   15    B   0x61  3 4 5 7 9 10 11 12 14 15
slot 1      0   15    C   0x62  3 4 5 7 9 10 11 12 14 15
slot 1      0   15    D   0x63  3 4 5 7 9 10 11 12 14 15
slot 2      0   13    A   0x61  3 4 5 7 9 10 11 12 14 15
slot 2      0   13    B   0x62  3 4 5 7 9 10 11 12 14 15
slot 2      0   13    C   0x63  3 4 5 7 9 10 11 12 14 15
slot 2      0   13    D   0x60  3 4 5 7 9 10 11 12 14 15
slot 3      0   11    A   0x62  3 4 5 7 9 10 11 12 14 15
slot 3      0   11    B   0x63  3 4 5 7 9 10 11 12 14 15
slot 3      0   11    C   0x60  3 4 5 7 9 10 11 12 14 15
slot 3      0   11    D   0x61  3 4 5 7 9 10 11 12 14 15
slot 4      0    9    A   0x63  3 4 5 7 9 10 11 12 14 15
slot 4      0    9    B   0x60  3 4 5 7 9 10 11 12 14 15
slot 4      0    9    C   0x61  3 4 5 7 9 10 11 12 14 15
slot 4      0    9    D   0x62  3 4 5 7 9 10 11 12 14 15
slot 5      0   17    A   0x63  3 4 5 7 9 10 11 12 14 15
slot 5      0   17    B   0x60  3 4 5 7 9 10 11 12 14 15
slot 5      0   17    C   0x61  3 4 5 7 9 10 11 12 14 15
slot 5      0   17    D   0x62  3 4 5 7 9 10 11 12 14 15
slot 6      0   19    A   0x62  3 4 5 7 9 10 11 12 14 15
slot 6      0   19    B   0x62  3 4 5 7 9 10 11 12 14 15
slot 6      0   19    C   0x60  3 4 5 7 9 10 11 12 14 15
slot 6      0   19    D   0x61  3 4 5 7 9 10 11 12 14 15
embedded    0    7    A   0x60  3 4 5 7 9 10 11 12 14 15
embedded    0    7    B   0x61  3 4 5 7 9 10 11 12 14 15
embedded    0    7    C   0x62  3 4 5 7 9 10 11 12 14 15
embedded    0    7    D   0x63  3 4 5 7 9 10 11 12 14 15
embedded    0    1    A   0x60  3 4 5 7 9 10 11 12 14 15
embedded    0    1    B   0x61  3 4 5 7 9 10 11 12 14 15
embedded    0    1    C   0x62  3 4 5 7 9 10 11 12 14 15
embedded    0    1    D   0x63  3 4 5 7 9 10 11 12 14 15
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 e0000000, 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=0x0006, statreg=0x2210, cachelnsz=0 (dwords)
	lattimer=0x20 (960 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=0x0107, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x88 (34000 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x7110, revid=0x02
	bus=0, slot=7, 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 0000f000, size  4, enabled
found->	vendor=0x8086, dev=0x7111, revid=0x01
	bus=0, slot=7, 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 0000a000, size  5, enabled
found->	vendor=0x8086, dev=0x7112, revid=0x01
	bus=0, slot=7, 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 00005000, size  4, enabled
found->	vendor=0x8086, dev=0x7113, revid=0x02
	bus=0, slot=7, 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 3, range 32, base ea100000, size 12, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:11 INTA BIOS irq 11
found->	vendor=0x109e, dev=0x036e, revid=0x11
	bus=0, slot=11, func=0
	class=04-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x10 (4000 ns), maxlat=0x28 (10000 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D3  current D0
	map[10]: type 3, range 32, base ea101000, size 12, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:11 INTA BIOS irq 11
found->	vendor=0x109e, dev=0x0878, revid=0x11
	bus=0, slot=11, func=1
	class=04-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x04 (1000 ns), maxlat=0xff (63750 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D3  current D0
	map[10]: type 1, range 32, base ea104000, size 12, enabled
	map[14]: type 4, range 32, base 0000a400, size  6, enabled
	map[18]: type 1, range 32, base ea000000, size 20, enabled
pci_cfgintr_valid: BIOS irq 9 is valid
pci_cfgintr: 0:13 INTA BIOS irq 9
found->	vendor=0x8086, dev=0x1229, revid=0x08
	bus=0, slot=13, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
	intpin=a, irq=9
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 4, range 32, base 0000a800, size  3, enabled
	map[14]: type 4, range 32, base 0000ac00, size  3, enabled
	map[18]: type 4, range 32, base 0000b000, size  5, enabled
	map[1c]: type 1, range 32, base ea102000, size 12, enabled
	map[20]: type 1, range 32, base ea103000, size 12, enabled
pci_cfgintr_valid: BIOS irq 5 is valid
pci_cfgintr: 0:17 INTA BIOS irq 5
found->	vendor=0x14d2, dev=0xe020, revid=0x00
	bus=0, slot=17, func=0
	class=07-00-06, hdrtype=0x00, mfdev=0
	cmdreg=0x0003, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=5
	powerspec 1  supports D0 D2 D3  current D0
	map[10]: type 4, range 32, base 0000b400, size  3, enabled
	map[14]: type 4, range 32, base 0000b800, size  2, enabled
	map[20]: type 4, range 32, base 0000bc00, size  8, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:19 INTA BIOS irq 11
found->	vendor=0x1103, dev=0x0004, revid=0x01
	bus=0, slot=19, func=0
	class=01-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0005, statreg=0x0200, cachelnsz=8 (dwords)
	lattimer=0x78 (3600 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns)
	intpin=a, irq=11
	map[10]: type 4, range 32, base 0000c000, size  3, enabled
	map[14]: type 4, range 32, base 0000c400, size  2, enabled
	map[20]: type 4, range 32, base 0000c800, size  8, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:19 INTB BIOS irq 11
found->	vendor=0x1103, dev=0x0004, revid=0x01
	bus=0, slot=19, func=1
	class=01-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0007, statreg=0x0200, cachelnsz=8 (dwords)
	lattimer=0x78 (3600 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns)
	intpin=b, irq=11
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0x9000-0x9fff
pcib1:   memory decode     0xe4000000-0xe7ffffff
pcib1:   prefetched decode 0xfff00000-0xfffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
	map[10]: type 1, range 32, base e4000000, size 24, enabled
	map[14]: type 4, range 32, base 00009000, size  8, enabled
	map[18]: type 1, range 32, base e6000000, size 12, enabled
pci_cfgintr_virgin: using routable PCI-only interrupt 5
pci_cfgintr: ROUTE_INTERRUPT failed.
found->	vendor=0x1002, dev=0x4742, revid=0x5c
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=9
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
ata0-slave:  stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: reset tp1 mask=03 ostat0=50 ostat1=40
ata1-master: stat=0x50 err=0x02 lsb=0x00 msb=0x00
ata1-slave:  stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 mask=03 stat0=50 stat1=00 devices=0x8<ATAPI_SLAVE>
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0: <multimedia, video> at device 11.0 (no driver attached)
pci0: <multimedia> at device 11.1 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xa400-0xa43f mem 0xea000000-0xea0fffff,0xea104000-0xea104fff irq 9 at device 13.0 on pci0
fxp0: using memory space register mapping
fxp0: Ethernet address 00:90:27:99:02:99
fxp0: PCI IDs: 8086 1229 8086 000b 0008
fxp0: Dynamic Standby mode is disabled
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: bpf attached
puc0: <Titan VScom PCI-200HV2> port 0xb000-0xb01f,0xac00-0xac07,0xa800-0xa807 mem 0xea103000-0xea103fff,0xea102000-0xea102fff irq 5 at device 17.0 on pci0
sio4: <Titan VScom PCI-200HV2> on puc0
sio4: type 16550A
sio5: <Titan VScom PCI-200HV2> on puc0
sio5: type 16550A
atapci1: <HighPoint HPT366 UDMA66 controller> port 0xbc00-0xbcff,0xb800-0xb803,0xb400-0xb407 irq 11 at device 19.0 on pci0
atapci1: [MPSAFE]
ata2: reset tp1 mask=03 ostat0=7f ostat1=50
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-slave:  stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2: reset tp2 mask=02 stat0=ff stat1=00 devices=0x8<ATAPI_SLAVE>
ata2: at 0xb400 on atapci1
ata2: [MPSAFE]
atapci2: <HighPoint HPT366 UDMA66 controller> port 0xc800-0xc8ff,0xc400-0xc403,0xc000-0xc007 irq 11 at device 19.1 on pci0
atapci2: [MPSAFE]
ata3: reset tp1 mask=03 ostat0=20 ostat1=30
ata3-master: stat=0x20 err=0x20 lsb=0x20 msb=0x20
ata3-slave:  stat=0x30 err=0x30 lsb=0x30 msb=0x30
ata3: reset tp2 mask=03 stat0=20 stat1=30 devices=0x0
ata3: at 0xc000 on atapci2
ata3: [MPSAFE]
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: 15 devices, largest 98 bytes
PNP0200: adding dma mask 0x10
PNP0200: adding io range 0-0xf, size=0x10, align=0
PNP0200: adding io range 0x81-0x83, size=0x3, align=0
PNP0200: adding io range 0x87-0x87, size=0x1, align=0
PNP0200: adding io range 0x89-0x8b, size=0x3, align=0
PNP0200: adding io range 0x8f-0x91, size=0x3, align=0
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0
pnpbios: handle 1 device ID PNP0200 (0002d041)
PNP0100: adding irq mask 0x1
PNP0100: adding io range 0x40-0x43, size=0x4, align=0
pnpbios: handle 2 device ID PNP0100 (0001d041)
PNP0b00: adding irq mask 0x100
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0
pnpbios: handle 3 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 4 device ID PNP0303 (0303d041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0
pnpbios: handle 5 device ID PNP0800 (0008d041)
PNP0c04: adding irq mask 0x2000
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0
pnpbios: handle 6 device ID PNP0c04 (040cd041)
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0xfffe0000-0xffffffff, size=0x20000
PNP0c01: adding fixed memory32 range 0xfec00000-0xfec0ffff, size=0x10000
PNP0c01: adding fixed memory32 range 0xfee00000-0xfee0ffff, size=0x10000
PNP0c01: adding fixed memory32 range 0x100000-0xfffffff, size=0xff00000
pnpbios: handle 7 device ID PNP0c01 (010cd041)
PNP0c02: adding fixed memory32 range 0xf0000-0xf3fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xf4000-0xf7fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xf8000-0xfbfff, size=0x4000
PNP0c02: adding fixed memory32 range 0xfc000-0xfffff, size=0x4000
pnpbios: handle 8 device ID PNP0c02 (020cd041)
PNP0a03: adding io range 0x294-0x297, size=0x4, align=0
PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0
PNP0a03: adding io range 0x480-0x48f, size=0x10, align=0
PNP0a03: adding io range 0x4000-0x403f, size=0x40, align=0
PNP0a03: adding io range 0x5000-0x501f, size=0x20, align=0
pnpbios: handle 9 device ID PNP0a03 (030ad041)
PNP0f13: adding irq mask 0x1000
pnpbios: handle 10 device ID PNP0f13 (130fd041)
PNP0501: adding irq mask 0x10
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0
pnpbios: handle 12 device ID PNP0501 (0105d041)
PNP0700: adding dma mask 0x4
PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0
PNP0700: adding irq mask 0x40
pnpbios: handle 13 device ID PNP0700 (0007d041)
PNP0401: adding dma mask 0x8
PNP0401: adding irq mask 0x80
PNP0401: adding io range 0x378-0x37f, size=0x8, align=0
PNP0401: adding io range 0x778-0x77a, size=0x3, align=0
pnpbios: handle 15 device ID PNP0401 (0104d041)
PNP0501: adding irq mask 0x8
PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0
pnpbios: handle 16 device ID PNP0501 (0105d041)
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 ROMs> at iomem 0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
wdc0 failed to probe at port 0x1f0 irq 14 flags 0xa0ffa0ff on isa0
wdc1 failed to probe at port 0x170 irq 15 flags 0xa0ffa0ff on isa0
bt0 failed to probe 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 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: data 08 00 00
psm: status 10 00 64
psm: status 00 02 64
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
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
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0xe041 0xe051 0xe041 0xe041
sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0
sio0: type 16550A, console
sio1: irq maps: 0xe041 0xe049 0xe041 0xe041
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: irq maps: 0xe041 0xe041 0xe041 0xe041
sio2: probe failed test(s): 0 1 2 4 6 7 9
sio2 failed to probe at port 0x3e8-0x3ef on isa0
sio3: irq maps: 0xe041 0xe041 0xe041 0xe041
sio3: probe failed test(s): 0 1 2 4 6 7 9
sio3 failed to probe at port 0x2e8-0x2ef on isa0
uart0 failed to probe at port 0x3f8 irq 4 flags 0x90 on isa0
uart1 failed to probe at port 0x2f8 irq 3 on isa0
cy0 at iomem 0xd4000-0xd5fff irq 10 on isa0
cy0: driver is using old-style compatibility shims
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: bpf attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pca0 failed to probe at port 0x40 on isa0
ed0 failed to probe at port 0x300-0x31f iomem 0xd0000-0xd3fff irq 5 on isa0
isa_probe_children: probing PnP devices
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0303> at port 0x60 on isa0
speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0a03> at port 0x4d0-0x4d1,0x294-0x297 on isa0
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0f13> at irq 12 on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0700> at port 0x3f2-0x3f5 on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0401> at port 0x378-0x37f on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x2f8-0x2ff on isa0
Device configuration finished.
linprocfs registered
procfs registered
Timecounter "TSC" frequency 367500042 Hz quality 800
Timecounters tick every 10.000 msec
BRIDGE $Revision$ $Date$ loaded
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
Linux ELF exec handler installed
lo0: bpf attached
ata0-slave: pio=0x08 wdma=0xffffffff udma=0xffffffff cable=40pin
ata0-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ad0: setting UDMA33 on Intel PIIX4 chip
GEOM: create disk ad0 dp=0xc2a1d570
ad0: <QUANTUM FIREBALL ST6.4A/A0F.0800> ATA-3 disk at ata0-master
ad0: 6149MB (12594960 sectors), 13328 C, 15 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
GEOM: new disk ad0
[0] f:00 typ:11 s(CHS):0/1/1 e(CHS):130/254/63 s:63 l:2104452
[1] f:80 typ:165 s(CHS):131/0/1 e(CHS):702/254/63 s:2104515 l:9189180
[2] f:00 typ:131 s(CHS):703/0/1 e(CHS):766/254/63 s:11293695 l:1028160
[3] f:00 typ:130 s(CHS):767/0/1 e(CHS):783/254/63 s:12321855 l:273105
GEOM: Configure ad0s1, start 32256 length 1077479424 end 1077511679
GEOM: Configure ad0s2, start 1077511680 length 4704860160 end 5782371839
GEOM: Configure ad0s3, start 5782371840 length 526417920 end 6308789759
GEOM: Configure ad0s4, start 6308789760 length 139829760 end 6448619519
afd0: setting PIO0 on Intel PIIX4 chip
GEOM: create disk afd0 dp=0xc2a1d47c
afd0: <IOMEGA ZIP 100 ATAPI/14.A> removable drive at ata0 as slave
afd0: 96MB (196608 sectors), 96 cyls, 64 heads, 32 S/T, 512 B/S
afd0: 4096KB/s, PIO0
ata1-slave: pio=0x0c wdma=0x22 udma=0x42 cable=80pin
acd0: setting UDMA33 on Intel PIIX4 chip
acd0: <RICOH CD-RW MP7320A/bp13> CDRW drive at ata1 as slave
acd0: read 5512KB/s (6890KB/s) write 1722KB/s (1722KB/s), 8192KB buffer, UDMA33
acd0: Reads: CDR, CDRW, CDDA stream, packet
acd0: Writes: CDR, CDRW, test write
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: CD-RW 120mm photo disc
ata2: spurious interrupt - status=0x50 error=0x00
ata2-slave: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
GEOM: Configure ad0s2a, start 0 length 67108864 end 67108863
GEOM: Configure ad0s2c, start 0 length 4704860160 end 4704860159
GEOM: Configure ad0s2e, start 67108864 length 1208612864 end 1275721727
GEOM: Configure ad0s2f, start 1275721728 length 1143046144 end 2418767871
GEOM: Configure ad0s2g, start 2418767872 length 1143046144 end 3561814015
GEOM: Configure ad0s2h, start 3561814016 length 1143046144 end 4704860159
GEOM: new disk afd0
ata2: spurious interrupt - status=0x50 error=0x00
ata2: spurious interrupt - status=0x50 error=0x00
ata2: spurious interrupt - status=0x50 error=0x00
acd1: setting PIO4 on HighPoint chip
acd1: <ATAPI 44X CDROM/VER-3.40> CDROM drive at ata2 as slave
acd1: read 171KB/s (8250KB/s), 128KB buffer, PIO4
acd1: Reads: CDR, CDRW, CDDA stream, packet
acd1: Writes:
acd1: Audio: play, 255 volume levels
acd1: Mechanism: ejectable tray, unlocked
acd1: Medium: no/blank disc
(probe0:ata0:0:0:0): error 22
(probe0:ata0:0:0:0): Unretryable Error
(probe2:ata1:0:0:0): error 22
(probe2:ata1:0:0:0): Unretryable Error
(probe4:ata2:0:0:0): error 22
(probe4:ata2:0:0:0): Unretryable Error
(probe6:ata3:0:0:0): error 22
(probe6:ata3:0:0:0): Unretryable Error
(probe7:ata3:0:1:0): error 22
(probe7:ata3:0:1:0): Unretryable Error
(probe0:ata0:0:0:0): error 22
(probe0:ata0:0:0:0): Unretryable Error
(probe2:ata1:0:0:0): error 22
(probe2:ata1:0:0:0): Unretryable Error
(probe4:ata2:0:0:0): error 22
(probe4:ata2:0:0:0): Unretryable Error
(probe6:ata3:0:0:0): error 22
(probe6:ata3:0:0:0): Unretryable Error
(probe7:ata3:0:1:0): error 22
(probe7:ata3:0:1:0): Unretryable Error
ata2: spurious interrupt - status=0x51 error=0x54
(probe5:ata2:0:1:0): Retrying Command
(probe5:ata2:0:1:0): error 22
(probe5:ata2:0:1:0): Unretryable Error
ata2: spurious interrupt - status=0x51 error=0x20
(probe1:ata0:0:1:0): Retrying Command
ata2: spurious interrupt - status=0x50 error=0x00
ata2: spurious interrupt - status=0x51 error=0x54
(probe1:ata0:0:1:0): error 22
(probe1:ata0:0:1:0): Unretryable Error
(probe5:ata2:0:1:0): Retrying Command
(probe5:ata2:0:1:0): error 22
(probe5:ata2:0:1:0): Unretryable Error
ata2: spurious interrupt - status=0x50 error=0x00
ata2: spurious interrupt - status=0x51 error=0x20
ata2: spurious interrupt - status=0x51 error=0x20
ata2: spurious interrupt - status=0x50 error=0x00
ata2: spurious interrupt - status=0x50 error=0x00
ata2: spurious interrupt - status=0x51 error=0x20
ata2: spurious interrupt - status=0x50 error=0x00
%%%

boot -v messages for the same configuration except for rev.1.23 of
ata-lowlevel.c backed out:
%%%
WARNING: loader(8) metadata is missing!
[ preserving 820844 bytes of kernel symbol table ]
SMAP type=01 base=0000000000000000 len=000000000009fc00
SMAP type=02 base=000000000009fc00 len=0000000000000400
SMAP type=02 base=00000000000f0000 len=0000000000010000
SMAP type=02 base=00000000fec00000 len=0000000000001000
SMAP type=02 base=00000000fee00000 len=0000000000001000
SMAP type=02 base=00000000ffff0000 len=0000000000010000
SMAP type=01 base=0000000000100000 len=000000000ff00000
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 #3043: Wed Nov 12 01:33:16 EST 2003
    bde_at_gamplex.bde.org:/c/sysc/i386/compile/BESPLEX
Calibrating clock(s) ... i8254 clock: 1193227 Hz
Press a key on the console to abort clock calibration
Calibrating clock(s) ... i8254 clock: 1193223 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 367500118 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268435456 (256 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000826000 - 0x000000000fb51fff, 254984192 bytes (62252 pages)
avail memory = 255381504 (243 MB)
MPTable: <OEM00000 PROD00000000>
bios32: Found BIOS32 Service Directory header at 0xc00faf70
bios32: Entry = 0xfb3f0 (c00fb3f0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xb420
pnpbios: Found PnP BIOS data at 0xc00fbfe0
pnpbios: Entry = f0000:c008  Rev = 1.0
Other BIOS signatures found:
ioapic0: Assuming intbase of 0
ioapic0: intpin 0 -> ExtINT (edge, activehi)
ioapic0: intpin 1 -> irq 1 (edge, activehi)
ioapic0: intpin 2 -> irq 2 (edge, activehi)
ioapic0: intpin 3 -> irq 3 (edge, activehi)
ioapic0: intpin 4 -> irq 4 (edge, activehi)
ioapic0: intpin 5 -> irq 5 (edge, activehi)
ioapic0: intpin 6 -> irq 6 (edge, activehi)
ioapic0: intpin 7 -> irq 7 (edge, activehi)
ioapic0: intpin 8 -> irq 8 (edge, activehi)
ioapic0: intpin 9 -> irq 9 (edge, activehi)
ioapic0: intpin 10 -> irq 10 (edge, activehi)
ioapic0: intpin 11 -> irq 11 (edge, activehi)
ioapic0: intpin 12 -> irq 12 (edge, activehi)
ioapic0: intpin 13 -> irq 13 (edge, activehi)
ioapic0: intpin 14 -> irq 14 (edge, activehi)
ioapic0: intpin 15 -> irq 15 (edge, activehi)
ioapic0: intpin 16 -> irq 16 (level, activelo)
ioapic0: intpin 17 -> irq 17 (level, activelo)
ioapic0: intpin 18 -> irq 18 (level, activelo)
ioapic0: intpin 19 -> irq 19 (level, activelo)
ioapic0: intpin 20 -> irq 20 (level, activelo)
ioapic0: intpin 21 -> irq 21 (level, activelo)
ioapic0: intpin 22 -> irq 22 (level, activelo)
ioapic0: intpin 23 -> irq 23 (level, activelo)
ioapic0: intpin 1 trigger: edge
ioapic0: intpin 1 polarity: active-hi
ioapic0: Routing IRQ 0 -> intpin 2
ioapic0: intpin 2 trigger: edge
ioapic0: intpin 2 polarity: active-hi
ioapic0: intpin 3 trigger: edge
ioapic0: intpin 3 polarity: active-hi
ioapic0: intpin 4 trigger: edge
ioapic0: intpin 4 polarity: active-hi
ioapic0: intpin 6 trigger: edge
ioapic0: intpin 6 polarity: active-hi
ioapic0: intpin 7 trigger: edge
ioapic0: intpin 7 polarity: active-hi
ioapic0: intpin 8 trigger: edge
ioapic0: intpin 8 polarity: active-hi
ioapic0: intpin 10 trigger: edge
ioapic0: intpin 10 polarity: active-hi
ioapic0: intpin 12 trigger: edge
ioapic0: intpin 12 polarity: active-hi
ioapic0: intpin 13 trigger: edge
ioapic0: intpin 13 polarity: active-hi
ioapic0: intpin 14 trigger: edge
ioapic0: intpin 14 polarity: active-hi
ioapic0: intpin 15 trigger: edge
ioapic0: intpin 15 polarity: active-hi
ioapic0: Routing IRQ 9 -> intpin 17
ioapic0: intpin 9 disabled
ioapic0: intpin 17 trigger: level
ioapic0: intpin 17 polarity: active-lo
ioapic0: Routing IRQ 11 -> intpin 18
ioapic0: intpin 11 disabled
ioapic0: intpin 18 trigger: level
ioapic0: intpin 18 polarity: active-lo
ioapic0: Routing IRQ 5 -> intpin 19
ioapic0: intpin 5 disabled
ioapic0: intpin 19 trigger: level
ioapic0: intpin 19 polarity: active-lo
lapic: Routing ExtINT -> LINT0
lapic: Routing NMI -> LINT1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
cpu0 BSP:
     ID: 0x00000000   VER: 0x00040011 LDR: 0x01000000 DFR: 0x0fffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
null: <null device, zero device>
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: flags 0x80 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, 8 entries at 0xc00fdef0
PCI-Only Interrupts: 5 9 11
Location  Bus Device Pin  Link  IRQs
slot 1      0   15    A   0x60  3 4 5 7 9 10 11 12 14 15
slot 1      0   15    B   0x61  3 4 5 7 9 10 11 12 14 15
slot 1      0   15    C   0x62  3 4 5 7 9 10 11 12 14 15
slot 1      0   15    D   0x63  3 4 5 7 9 10 11 12 14 15
slot 2      0   13    A   0x61  3 4 5 7 9 10 11 12 14 15
slot 2      0   13    B   0x62  3 4 5 7 9 10 11 12 14 15
slot 2      0   13    C   0x63  3 4 5 7 9 10 11 12 14 15
slot 2      0   13    D   0x60  3 4 5 7 9 10 11 12 14 15
slot 3      0   11    A   0x62  3 4 5 7 9 10 11 12 14 15
slot 3      0   11    B   0x63  3 4 5 7 9 10 11 12 14 15
slot 3      0   11    C   0x60  3 4 5 7 9 10 11 12 14 15
slot 3      0   11    D   0x61  3 4 5 7 9 10 11 12 14 15
slot 4      0    9    A   0x63  3 4 5 7 9 10 11 12 14 15
slot 4      0    9    B   0x60  3 4 5 7 9 10 11 12 14 15
slot 4      0    9    C   0x61  3 4 5 7 9 10 11 12 14 15
slot 4      0    9    D   0x62  3 4 5 7 9 10 11 12 14 15
slot 5      0   17    A   0x63  3 4 5 7 9 10 11 12 14 15
slot 5      0   17    B   0x60  3 4 5 7 9 10 11 12 14 15
slot 5      0   17    C   0x61  3 4 5 7 9 10 11 12 14 15
slot 5      0   17    D   0x62  3 4 5 7 9 10 11 12 14 15
slot 6      0   19    A   0x62  3 4 5 7 9 10 11 12 14 15
slot 6      0   19    B   0x62  3 4 5 7 9 10 11 12 14 15
slot 6      0   19    C   0x60  3 4 5 7 9 10 11 12 14 15
slot 6      0   19    D   0x61  3 4 5 7 9 10 11 12 14 15
embedded    0    7    A   0x60  3 4 5 7 9 10 11 12 14 15
embedded    0    7    B   0x61  3 4 5 7 9 10 11 12 14 15
embedded    0    7    C   0x62  3 4 5 7 9 10 11 12 14 15
embedded    0    7    D   0x63  3 4 5 7 9 10 11 12 14 15
embedded    0    1    A   0x60  3 4 5 7 9 10 11 12 14 15
embedded    0    1    B   0x61  3 4 5 7 9 10 11 12 14 15
embedded    0    1    C   0x62  3 4 5 7 9 10 11 12 14 15
embedded    0    1    D   0x63  3 4 5 7 9 10 11 12 14 15
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 e0000000, 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=0x0006, statreg=0x2210, cachelnsz=0 (dwords)
	lattimer=0x20 (960 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=0x0107, statreg=0x0220, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x88 (34000 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x7110, revid=0x02
	bus=0, slot=7, 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 0000f000, size  4, enabled
found->	vendor=0x8086, dev=0x7111, revid=0x01
	bus=0, slot=7, 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 0000a000, size  5, enabled
found->	vendor=0x8086, dev=0x7112, revid=0x01
	bus=0, slot=7, 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 00005000, size  4, enabled
found->	vendor=0x8086, dev=0x7113, revid=0x02
	bus=0, slot=7, 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 3, range 32, base ea100000, size 12, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:11 INTA BIOS irq 11
found->	vendor=0x109e, dev=0x036e, revid=0x11
	bus=0, slot=11, func=0
	class=04-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x10 (4000 ns), maxlat=0x28 (10000 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D3  current D0
	map[10]: type 3, range 32, base ea101000, size 12, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:11 INTA BIOS irq 11
found->	vendor=0x109e, dev=0x0878, revid=0x11
	bus=0, slot=11, func=1
	class=04-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x04 (1000 ns), maxlat=0xff (63750 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D3  current D0
	map[10]: type 1, range 32, base ea104000, size 12, enabled
	map[14]: type 4, range 32, base 0000a400, size  6, enabled
	map[18]: type 1, range 32, base ea000000, size 20, enabled
pci_cfgintr_valid: BIOS irq 9 is valid
pci_cfgintr: 0:13 INTA BIOS irq 9
found->	vendor=0x8086, dev=0x1229, revid=0x08
	bus=0, slot=13, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
	intpin=a, irq=9
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 4, range 32, base 0000a800, size  3, enabled
	map[14]: type 4, range 32, base 0000ac00, size  3, enabled
	map[18]: type 4, range 32, base 0000b000, size  5, enabled
	map[1c]: type 1, range 32, base ea102000, size 12, enabled
	map[20]: type 1, range 32, base ea103000, size 12, enabled
pci_cfgintr_valid: BIOS irq 5 is valid
pci_cfgintr: 0:17 INTA BIOS irq 5
found->	vendor=0x14d2, dev=0xe020, revid=0x00
	bus=0, slot=17, func=0
	class=07-00-06, hdrtype=0x00, mfdev=0
	cmdreg=0x0003, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=5
	powerspec 1  supports D0 D2 D3  current D0
	map[10]: type 4, range 32, base 0000b400, size  3, enabled
	map[14]: type 4, range 32, base 0000b800, size  2, enabled
	map[20]: type 4, range 32, base 0000bc00, size  8, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:19 INTA BIOS irq 11
found->	vendor=0x1103, dev=0x0004, revid=0x01
	bus=0, slot=19, func=0
	class=01-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0005, statreg=0x0200, cachelnsz=8 (dwords)
	lattimer=0x78 (3600 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns)
	intpin=a, irq=11
	map[10]: type 4, range 32, base 0000c000, size  3, enabled
	map[14]: type 4, range 32, base 0000c400, size  2, enabled
	map[20]: type 4, range 32, base 0000c800, size  8, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:19 INTB BIOS irq 11
found->	vendor=0x1103, dev=0x0004, revid=0x01
	bus=0, slot=19, func=1
	class=01-80-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0007, statreg=0x0200, cachelnsz=8 (dwords)
	lattimer=0x78 (3600 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns)
	intpin=b, irq=11
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0x9000-0x9fff
pcib1:   memory decode     0xe4000000-0xe7ffffff
pcib1:   prefetched decode 0xfff00000-0xfffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
	map[10]: type 1, range 32, base e4000000, size 24, enabled
	map[14]: type 4, range 32, base 00009000, size  8, enabled
	map[18]: type 1, range 32, base e6000000, size 12, enabled
pci_cfgintr_virgin: using routable PCI-only interrupt 5
pci_cfgintr: ROUTE_INTERRUPT failed.
found->	vendor=0x1002, dev=0x4742, revid=0x5c
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=9
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0
ata0-slave:  stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: reset tp1 mask=03 ostat0=50 ostat1=40
ata1-master: stat=0x50 err=0x02 lsb=0x00 msb=0x00
ata1-slave:  stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 mask=03 stat0=50 stat1=00 devices=0x8<ATAPI_SLAVE>
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0: <multimedia, video> at device 11.0 (no driver attached)
pci0: <multimedia> at device 11.1 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xa400-0xa43f mem 0xea000000-0xea0fffff,0xea104000-0xea104fff irq 9 at device 13.0 on pci0
fxp0: using memory space register mapping
fxp0: Ethernet address 00:90:27:99:02:99
fxp0: PCI IDs: 8086 1229 8086 000b 0008
fxp0: Dynamic Standby mode is disabled
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: bpf attached
puc0: <Titan VScom PCI-200HV2> port 0xb000-0xb01f,0xac00-0xac07,0xa800-0xa807 mem 0xea103000-0xea103fff,0xea102000-0xea102fff irq 5 at device 17.0 on pci0
sio4: <Titan VScom PCI-200HV2> on puc0
sio4: type 16550A
sio5: <Titan VScom PCI-200HV2> on puc0
sio5: type 16550A
atapci1: <HighPoint HPT366 UDMA66 controller> port 0xbc00-0xbcff,0xb800-0xb803,0xb400-0xb407 irq 11 at device 19.0 on pci0
atapci1: [MPSAFE]
ata2: reset tp1 mask=03 ostat0=7f ostat1=50
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-slave:  stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2-master: stat=0x7f err=0x7f lsb=0x7f msb=0x7f
ata2: reset tp2 mask=02 stat0=ff stat1=00 devices=0x8<ATAPI_SLAVE>
ata2: at 0xb400 on atapci1
ata2: [MPSAFE]
atapci2: <HighPoint HPT366 UDMA66 controller> port 0xc800-0xc8ff,0xc400-0xc403,0xc000-0xc007 irq 11 at device 19.1 on pci0
atapci2: [MPSAFE]
ata3: reset tp1 mask=03 ostat0=20 ostat1=30
ata3-master: stat=0x20 err=0x20 lsb=0x20 msb=0x20
ata3-slave:  stat=0x30 err=0x30 lsb=0x30 msb=0x30
ata3: reset tp2 mask=03 stat0=20 stat1=30 devices=0x0
ata3: at 0xc000 on atapci2
ata3: [MPSAFE]
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: 15 devices, largest 98 bytes
PNP0200: adding dma mask 0x10
PNP0200: adding io range 0-0xf, size=0x10, align=0
PNP0200: adding io range 0x81-0x83, size=0x3, align=0
PNP0200: adding io range 0x87-0x87, size=0x1, align=0
PNP0200: adding io range 0x89-0x8b, size=0x3, align=0
PNP0200: adding io range 0x8f-0x91, size=0x3, align=0
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0
pnpbios: handle 1 device ID PNP0200 (0002d041)
PNP0100: adding irq mask 0x1
PNP0100: adding io range 0x40-0x43, size=0x4, align=0
pnpbios: handle 2 device ID PNP0100 (0001d041)
PNP0b00: adding irq mask 0x100
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0
pnpbios: handle 3 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 4 device ID PNP0303 (0303d041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0
pnpbios: handle 5 device ID PNP0800 (0008d041)
PNP0c04: adding irq mask 0x2000
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0
pnpbios: handle 6 device ID PNP0c04 (040cd041)
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0xfffe0000-0xffffffff, size=0x20000
PNP0c01: adding fixed memory32 range 0xfec00000-0xfec0ffff, size=0x10000
PNP0c01: adding fixed memory32 range 0xfee00000-0xfee0ffff, size=0x10000
PNP0c01: adding fixed memory32 range 0x100000-0xfffffff, size=0xff00000
pnpbios: handle 7 device ID PNP0c01 (010cd041)
PNP0c02: adding fixed memory32 range 0xf0000-0xf3fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xf4000-0xf7fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xf8000-0xfbfff, size=0x4000
PNP0c02: adding fixed memory32 range 0xfc000-0xfffff, size=0x4000
pnpbios: handle 8 device ID PNP0c02 (020cd041)
PNP0a03: adding io range 0x294-0x297, size=0x4, align=0
PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0
PNP0a03: adding io range 0x480-0x48f, size=0x10, align=0
PNP0a03: adding io range 0x4000-0x403f, size=0x40, align=0
PNP0a03: adding io range 0x5000-0x501f, size=0x20, align=0
pnpbios: handle 9 device ID PNP0a03 (030ad041)
PNP0f13: adding irq mask 0x1000
pnpbios: handle 10 device ID PNP0f13 (130fd041)
PNP0501: adding irq mask 0x10
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0
pnpbios: handle 12 device ID PNP0501 (0105d041)
PNP0700: adding dma mask 0x4
PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0
PNP0700: adding irq mask 0x40
pnpbios: handle 13 device ID PNP0700 (0007d041)
PNP0401: adding dma mask 0x8
PNP0401: adding irq mask 0x80
PNP0401: adding io range 0x378-0x37f, size=0x8, align=0
PNP0401: adding io range 0x778-0x77a, size=0x3, align=0
pnpbios: handle 15 device ID PNP0401 (0104d041)
PNP0501: adding irq mask 0x8
PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0
pnpbios: handle 16 device ID PNP0501 (0105d041)
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 ROMs> at iomem 0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
wdc0 failed to probe at port 0x1f0 irq 14 flags 0xa0ffa0ff on isa0
wdc1 failed to probe at port 0x170 irq 15 flags 0xa0ffa0ff on isa0
bt0 failed to probe 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 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: data 08 00 00
psm: status 10 00 64
psm: status 00 02 64
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
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
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0xe041 0xe051 0xe041 0xe041
sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0
sio0: type 16550A, console
sio1: irq maps: 0xe041 0xe049 0xe041 0xe041
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: irq maps: 0xe041 0xe041 0xe041 0xe041
sio2: probe failed test(s): 0 1 2 4 6 7 9
sio2 failed to probe at port 0x3e8-0x3ef on isa0
sio3: irq maps: 0xe041 0xe041 0xe041 0xe041
sio3: probe failed test(s): 0 1 2 4 6 7 9
sio3 failed to probe at port 0x2e8-0x2ef on isa0
uart0 failed to probe at port 0x3f8 irq 4 flags 0x90 on isa0
uart1 failed to probe at port 0x2f8 irq 3 on isa0
cy0 at iomem 0xd4000-0xd5fff irq 10 on isa0
cy0: driver is using old-style compatibility shims
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: bpf attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pca0 failed to probe at port 0x40 on isa0
ed0 failed to probe at port 0x300-0x31f iomem 0xd0000-0xd3fff irq 5 on isa0
isa_probe_children: probing PnP devices
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0303> at port 0x60 on isa0
speaker0: <PC speaker> at port 0x61 on isa0
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0a03> at port 0x4d0-0x4d1,0x294-0x297 on isa0
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0f13> at irq 12 on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0700> at port 0x3f2-0x3f5 on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0401> at port 0x378-0x37f on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> at port 0x2f8-0x2ff on isa0
Device configuration finished.
linprocfs registered
procfs registered
Timecounter "TSC" frequency 367500118 Hz quality 800
Timecounters tick every 10.000 msec
BRIDGE $Revision$ $Date$ loaded
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
Linux ELF exec handler installed
lo0: bpf attached
ata0-slave: pio=0x08 wdma=0xffffffff udma=0xffffffff cable=40pin
ata0-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ad0: setting UDMA33 on Intel PIIX4 chip
GEOM: create disk ad0 dp=0xc2a1d570
ad0: <QUANTUM FIREBALL ST6.4A/A0F.0800> ATA-3 disk at ata0-master
ad0: 6149MB (12594960 sectors), 13328 C, 15 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
GEOM: new disk ad0
[0] f:00 typ:11 s(CHS):0/1/1 e(CHS):130/254/63 s:63 l:2104452
[1] f:80 typ:165 s(CHS):131/0/1 e(CHS):702/254/63 s:2104515 l:9189180
[2] f:00 typ:131 s(CHS):703/0/1 e(CHS):766/254/63 s:11293695 l:1028160
[3] f:00 typ:130 s(CHS):767/0/1 e(CHS):783/254/63 s:12321855 l:273105
GEOM: Configure ad0s1, start 32256 length 1077479424 end 1077511679
GEOM: Configure ad0s2, start 1077511680 length 4704860160 end 5782371839
GEOM: Configure ad0s3, start 5782371840 length 526417920 end 6308789759
GEOM: Configure ad0s4, start 6308789760 length 139829760 end 6448619519
afd0: setting PIO0 on Intel PIIX4 chip
GEOM: create disk afd0 dp=0xc2a1d47c
afd0: <IOMEGA ZIP 100 ATAPI/14.A> removable drive at ata0 as slave
afd0: 96MB (196608 sectors), 96 cyls, 64 heads, 32 S/T, 512 B/S
afd0: 4096KB/s, PIO0
ata1-slave: pio=0x0c wdma=0x22 udma=0x42 cable=80pin
acd0: setting UDMA33 on Intel PIIX4 chip
acd0: <RICOH CD-RW MP7320A/bp13> CDRW drive at ata1 as slave
acd0: read 5512KB/s (6890KB/s) write 1722KB/s (1722KB/s), 8192KB buffer, UDMA33
acd0: Reads: CDR, CDRW, CDDA stream, packet
acd0: Writes: CDR, CDRW, test write
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: CD-RW 120mm photo disc
ata2: spurious interrupt - status=0x50 error=0x00
ata2-slave: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
GEOM: Configure ad0s2a, start 0 length 67108864 end 67108863
GEOM: Configure ad0s2c, start 0 length 4704860160 end 4704860159
GEOM: Configure ad0s2e, start 67108864 length 1208612864 end 1275721727
GEOM: Configure ad0s2f, start 1275721728 length 1143046144 end 2418767871
GEOM: Configure ad0s2g, start 2418767872 length 1143046144 end 3561814015
GEOM: Configure ad0s2h, start 3561814016 length 1143046144 end 4704860159
GEOM: new disk afd0
ata2: spurious interrupt - status=0x50 error=0x00
ata2: spurious interrupt - status=0x50 error=0x00
acd1: setting PIO4 on HighPoint chip
acd1: <ATAPI 44X CDROM/VER-3.40> CDROM drive at ata2 as slave
acd1: read 171KB/s (8250KB/s), 128KB buffer, PIO4
acd1: Reads: CDR, CDRW, CDDA stream, packet
acd1: Writes:
acd1: Audio: play, 255 volume levels
acd1: Mechanism: ejectable tray, unlocked
acd1: Medium: no/blank disc
(probe2:ata1:0:0:0): error 22
(probe2:ata1:0:0:0): Unretryable Error
(probe6:ata3:0:0:0): error 22
(probe6:ata3:0:0:0): Unretryable Error
(probe7:ata3:0:1:0): error 22
(probe7:ata3:0:1:0): Unretryable Error
(probe2:ata1:0:0:0): error 22
(probe2:ata1:0:0:0): Unretryable Error
(probe6:ata3:0:0:0): error 22
(probe6:ata3:0:0:0): Unretryable Error
(probe7:ata3:0:1:0): error 22
(probe7:ata3:0:1:0): Unretryable Error
(probe0:ata0:0:0:0): error 22
(probe0:ata0:0:0:0): Unretryable Error
(probe4:ata2:0:0:0): error 22
(probe4:ata2:0:0:0): Unretryable Error
(probe0:ata0:0:0:0): error 22
(probe0:ata0:0:0:0): Unretryable Error
(probe4:ata2:0:0:0): error 22
(probe4:ata2:0:0:0): Unretryable Error
(probe5:ata2:0:1:0): Retrying Command
(probe5:ata2:0:1:0): error 22
(probe5:ata2:0:1:0): Unretryable Error
ata2: spurious interrupt - status=0x51 error=0x20
ata2: spurious interrupt - status=0x50 error=0x00
ata2: spurious interrupt - status=0x51 error=0x54
(probe5:ata2:0:1:0): Retrying Command
(probe5:ata2:0:1:0): error 22
(probe5:ata2:0:1:0): Unretryable Error
(probe1:ata0:0:1:0): Retrying Command
(probe1:ata0:0:1:0): Retrying Command
(probe1:ata0:0:1:0): error 22
(probe1:ata0:0:1:0): Unretryable Error
(probe1:ata0:0:1:0): Retrying Command
(probe1:ata0:0:1:0): error 22
(probe1:ata0:0:1:0): Unretryable Error
pass0 at ata0 bus 0 target 1 lun 0
pass0: <IOMEGA ZIP 100 14.A> Removable Direct Access SCSI-0 device
pass0: 3.300MB/s transfers
pass1 at ata1 bus 0 target 1 lun 0
pass1: <RICOH CD-RW MP7320A bp13> Removable CD-ROM SCSI-0 device
pass1: Serial Number [
pass1: 33.000MB/s transfers
pass2 at ata2 bus 0 target 1 lun 0
pass2: <ATAPI 44X CDROM 3.40> Removable CD-ROM SCSI-0 device
pass2: 16.000MB/s transfers
GEOM: create disk cd0 dp=0xc2959e00
GEOM: create disk cd1 dp=0xc2959600
GEOM: create disk da0 dp=0xc2a34050
cd0 at ata1 bus 0 target 1 lun 0
cd0: <RICOH CD-RW MP7320A bp13> Removable CD-ROM SCSI-0 device
cd0: Serial Number [
cd0: 33.000MB/s transfers
cd0: cd present [241234 x 2048 byte records]
(cd1:ata2:0:1:0): Retrying Command
ata2: spurious interrupt - status=0x50 error=0x00
da0 at ata0 bus 0 target 1 lun 0
da0: <IOMEGA ZIP 100 14.A> Removable Direct Access SCSI-0 device
da0: 3.300MB/s transfers
da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C)
(cd1:ata2:0:1:0): error 6
(cd1:ata2:0:1:0): Unretryable Error
cd1 at ata2 bus 0 target 1 lun 0
cd1: <ATAPI 44X CDROM 3.40> Removable CD-ROM SCSI-0 device
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
ioapic0: routing intpin 1 (IRQ 1) to cluster 0
ioapic0: routing intpin 3 (IRQ 3) to cluster 0
ioapic0: routing intpin 4 (IRQ 4) to cluster 0
ioapic0: routing intpin 6 (IRQ 6) to cluster 0
ioapic0: routing intpin 7 (IRQ 7) to cluster 0
ioapic0: routing intpin 8 (IRQ 8) to cluster 0
ioapic0: routing intpin 10 (IRQ 10) to cluster 0
ioapic0: routing intpin 12 (IRQ 12) to cluster 0
ioapic0: routing intpin 13 (IRQ 13) to cluster 0
ioapic0: routing intpin 14 (IRQ 14) to cluster 0
ioapic0: routing intpin 15 (IRQ 15) to cluster 0
ioapic0: routing intpin 17 (IRQ 9) to cluster 0
ioapic0: routing intpin 18 (IRQ 11) to cluster 0
ioapic0: routing intpin 19 (IRQ 5) to cluster 0
GEOM: new disk cd0
GEOM: new disk cd1
GEOM: new disk da0
(cd1:ata2:0:1:0): Retrying Command
(cd1:ata2:0:1:0): error 6
(cd1:ata2:0:1:0): Unretryable Error
(cd1:ata2:0:1:0): Retrying Command
(cd1:ata2:0:1:0): error 6
(cd1:ata2:0:1:0): Unretryable Error
Mounting root from ufs:/dev/ad0s2a
%%%

The differences near the end are interesting:
- more "spurious" interrupts for the broken case.  Perhaps they aren't
  spurious.
- ioapic0 routing is apparently incomplete at the point where we get these
  interrupts.  However, using the ioapic and the new interrupt code aren't
  primarily responsible.  The problem also occurs with a non-SMP kernel
  built from kernel sources checked out 1 second after ata-lowlevel.c
  rev.1.23 was committed and that was a few days before the apic was
  available for the non-SMP case.

Bruce
Received on Thu Nov 13 2003 - 12:16:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC