Subject: port-i386/10392: isa1 at pcib1panic: isaattach: ISA bus already seen!
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@smaug.fh-regensburg.de>
List: netbsd-bugs
Date: 06/19/2000 04:35:15
>Number:         10392
>Category:       port-i386
>Synopsis:       isa1 at pcib1panic: isaattach: ISA bus already seen!
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 19 04:36:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Hubert Feyrer
>Release:        -current as or 20000617
>Organization:
Hubert Feyrer <hubertf@channel.regensburg.org>
>Environment:
	
System: NetBSD noon 1.4ZD NetBSD 1.4ZD (NOON) #11: Sun Jun 18 07:29:00 MEST 2000     feyrer@noon:/usr/cvs/src-current/sys/arch/i386/compile/NOON i386


>Description:

When booting -current/i386 on a Toshiba Tecra 8100 that's attached
to a docking station (only, no external PCI box attached), I get:

	pcib1 at pci0 dev 5 function 0
	pcib1: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
	...
	isa1 at pcib1panic: isaattach: ISA bus already seen!


Stack trace:

db> t
cpu_Debugger()
panic()
isa_attach_hook() at isa_attach_hook+0x16
isaattach()
config_attach()
config_found()
pcib_callback()
config_process_deferred()
config_attach()
config_found_sm()
mainbus_attach()
config_attach()
config_rootfound()
cpu_configure()
configure()
main()
db>


I do have isa at pcib* in my kernel config file, in addition to isa at
mainbus. When booting the machine outside the docking station, everything's
fine. 

Here's the full dmesg output:


NetBSD 1.4ZD (NOON) #11: Sun Jun 18 07:29:00 MEST 2000
    feyrer@noon:/usr/cvs/src-current/sys/arch/i386/compile/NOON
cpu0: family 6 model 8 step 3
cpu0: Intel Pentium III (E) (686-class)
total memory = 127 MB
avail memory = 56500 KB
using 4870 buffers containing 65200 KB of memory
BIOS32 rev. 0 found at 0xfc376
PCI BIOS rev. 2.1 found at 0xfee03
pcibios: config mechanism [1][x], special cycles [x][x], last bus 21
PCI IRQ Routing Table rev. 1.0 found at 0xf0130, size 192 bytes (10 entries)
PCI Interrupt Router at 000:05:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
mainbus0 (root)
pnpbios0 at mainbus0: code f0000, data 0, entry 927f, control 1 eventp 510
pnpbios0: nodes 15, max len 262
pnpbios0: dock id TOS510F, serial number -1719999588, surprise hot docking
pnpbios0: getting info for index 0
pnpbios0: node index mismatch (static): requested 0, got 1
PNP0C01 (static): type 0x05 subtype 0x00 dpi 0x00 attr 0x0003:
PNP0C01: allocated config scan:
	tag fixedmem32range flags 0b min 00000000 max 00000000 align 00000000 len 000a0000
	tag fixedmem32range zeroed
	tag fixedmem32range zeroed
	tag fixedmem32range flags 0a min 000f0000 max 000f0000 align 00000000 len 00010000
	tag fixedmem32range flags 0b min 00100000 max 00100000 align 00000000 len 07ee0000
	tag fixedmem32range flags 0a min 07fe0000 max 07fe0000 align 00000000 len 00010000
	tag fixedmem32range flags 0a min 07ff0000 max 07ff0000 align 00000000 len 00010000
	tag fixedmem32range flags 0a min 100a0000 max 100a0000 align 00000000 len 00060000
	tag fixedmem32range flags 0a min fff00000 max fff00000 align 00000000 len 00100000
	tag end cksum d8
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0C01 (mem 0-9ffff f0000-fffff 100000-7fdffff 7fe0000-7feffff 7ff0000-7ffffff 100a0000-100fffff fff00000-ffffffff) at pnpbios0 index 0 ignored
pnpbios0 index 0: no match from static config
pnpbios0: getting info for index 2
PNP0200 (static): type 0x08 subtype 0x01 dpi 0x01 attr 0x0003:
PNP0200: allocated config scan:
	tag io flags 01 min 0000 max 0000 align 0x01 len 0x10
	tag io flags 01 min 0081 max 0081 align 0x01 len 0x03
	tag io flags 01 min 0087 max 0087 align 0x01 len 0x01
	tag io flags 01 min 0089 max 0089 align 0x01 len 0x03
	tag io flags 01 min 008f max 008f align 0x01 len 0x01
	tag io flags 01 min 00c0 max 00c0 align 0x01 len 0x20
	tag dma flags 08 mask 10
	tag end cksum 97
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0200 (io 0-f 81-83 87 89-8b 8f c0-df, dma 4) at pnpbios0 index 2 ignored
pnpbios0 index 2: no match from static config
pnpbios0: getting info for index 3
PNP0000 (static): type 0x08 subtype 0x00 dpi 0x01 attr 0x0003:
PNP0000: allocated config scan:
	tag io flags 01 min 0020 max 0020 align 0x01 len 0x02
	tag io flags 01 min 00a0 max 00a0 align 0x01 len 0x02
	tag irq flags 11 mask 0004
	tag end cksum 39
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0000 (io 20-21 a0-a1, irq 2) at pnpbios0 index 3 ignored
pnpbios0 index 3: no match from static config
pnpbios0: getting info for index 4
PNP0100 (static): type 0x08 subtype 0x02 dpi 0x01 attr 0x0003:
PNP0100: allocated config scan:
	tag io flags 01 min 0040 max 0040 align 0x01 len 0x04
	tag irq flags 11 mask 0001
	tag end cksum 85
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0100 (io 40-43, irq 0) at pnpbios0 index 4 ignored
pnpbios0 index 4: no match from static config
pnpbios0: getting info for index 5
PNP0800 (static): type 0x08 subtype 0x80 dpi 0x00 attr 0x0003:
PNP0800: allocated config scan:
	tag io flags 01 min 0061 max 0061 align 0x01 len 0x01
	tag end cksum 7b
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0800 (io 61) at pnpbios0 index 5 ignored
pnpbios0 index 5: no match from static config
pnpbios0: getting info for index 6
PNP0C04 (static): type 0x0b subtype 0x01 dpi 0x00 attr 0x0003:
PNP0C04: allocated config scan:
	tag io flags 01 min 00f0 max 00f0 align 0x01 len 0x10
	tag irq flags 11 mask 2000
	tag end cksum fa
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0C04 (io f0-ff, irq 13) at pnpbios0 index 6 ignored
pnpbios0 index 6: no match from static config
pnpbios0: getting info for index 7
PNP0303 (static): type 0x09 subtype 0x00 dpi 0x00 attr 0x000b:
PNP0303: allocated config scan:
	tag io flags 01 min 0060 max 0060 align 0x01 len 0x01
	tag io flags 01 min 0064 max 0064 align 0x01 len 0x01
	tag irq flags 11 mask 0002
	tag end cksum 35
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0303 (io 60 64, irq 1) at pnpbios0 index 7 ignored
pnpbios0 index 7: no match from static config
pnpbios0: getting info for index 8
PNP0F13 (static): type 0x09 subtype 0x02 dpi 0x00 attr 0x0180:
PNP0F13: allocated config scan:
	tag irq flags 11 mask 1000
	tag end cksum 43
	possible config scan:
	tag irq flags 11 mask 1000
	tag end cksum 43
	compat id scan:
	tag end cksum 87
PNP0F13 (irq 12) at pnpbios0 index 8 ignored
pnpbios0 index 8: no match from static config
pnpbios0: getting info for index 9
PNP0B00 (static): type 0x08 subtype 0x03 dpi 0x01 attr 0x0003:
PNP0B00: allocated config scan:
	tag io flags 01 min 0070 max 0070 align 0x01 len 0x02
	tag irq flags 11 mask 0100
	tag end cksum 27
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0B00 (io 70-71, irq 8) at pnpbios0 index 9 ignored
pnpbios0 index 9: no match from static config
pnpbios0: getting info for index 10
PNP0C02 (static): type 0x08 subtype 0x80 dpi 0x00 attr 0x0003:
PNP0C02: allocated config scan:
	tag io flags 01 min 0080 max 0080 align 0x01 len 0x01
	tag io flags 01 min 0084 max 0084 align 0x01 len 0x03
	tag io flags 01 min 0088 max 0088 align 0x01 len 0x01
	tag io flags 01 min 008c max 008c align 0x01 len 0x03
	tag io flags 01 min 00e0 max 00e0 align 0x01 len 0x10
	tag io flags 01 min 00b0 max 00b0 align 0x01 len 0x03
	tag io flags 01 min 0062 max 0062 align 0x01 len 0x01
	tag io flags 01 min 0066 max 0066 align 0x01 len 0x01
	tag io flags 01 min 006d max 006d align 0x01 len 0x01
	tag io flags 01 min 006f max 006f align 0x01 len 0x01
	tag io flags 01 min 0480 max 0480 align 0x01 len 0x10
	tag io flags 01 min 0cf8 max 0cf8 align 0x01 len 0x08
	tag io flags 01 min 04d0 max 04d0 align 0x01 len 0x02
	tag io flags 01 min 0022 max 0022 align 0x01 len 0x01
	tag io flags 01 min 0092 max 0092 align 0x01 len 0x01
	tag io flags 01 min e000 max e000 align 0x01 len 0x80
	tag io flags 01 min e080 max e080 align 0x01 len 0x80
	tag io flags 01 min e400 max e400 align 0x01 len 0x80
	tag io flags 01 min e480 max e480 align 0x01 len 0x80
	tag io flags 01 min e800 max e800 align 0x01 len 0x80
	tag io flags 01 min e880 max e880 align 0x01 len 0x80
	tag io flags 01 min ec00 max ec00 align 0x01 len 0x80
	tag io flags 01 min ec80 max ec80 align 0x01 len 0x80
	tag io flags 01 min fd00 max fd00 align 0x01 len 0x40
	tag io flags 01 min feac max feac align 0x01 len 0x01
	tag io flags 01 min fe00 max fe00 align 0x01 len 0x42
	tag io flags 01 min fe50 max fe50 align 0x01 len 0x08
	tag io flags 01 min fe70 max fe70 align 0x01 len 0x10
	tag io flags 01 min fe90 max fe90 align 0x01 len 0x08
	tag io flags 01 min fe9e max fe9e align 0x01 len 0x01
	tag irq flags 11 mask 0200
	tag end cksum b6
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0C02 (io 80 84-86 88 8c-8e e0-ef b0-b2 62 66 6d 6f 480-48f cf8-cff 4d0-4d1 22 92 e000-e07f e080-e0ff e400-e47f e480-e4ff e800-e87f e880-e8ff ec00-ec7f ec80-ecff fd00-fd3f feac fe00-fe41 fe50-fe57 fe70-fe7f fe90-fe97 fe9e, irq 9) at pnpbios0 index 10 ignored
pnpbios0 index 10: no match from static config
pnpbios0: getting info for index 11
PNP0700 (static): type 0x01 subtype 0x02 dpi 0x00 attr 0x00d0:
PNP0700: allocated config scan:
	tag io flags 01 min 03f2 max 03f2 align 0x01 len 0x04
	tag io flags 01 min 03f7 max 03f7 align 0x01 len 0x01
	tag irq flags 01 mask 0040
	tag dma flags 08 mask 04
	tag end cksum 78
	possible config scan:
	tag io flags 01 min 03f2 max 03f2 align 0x01 len 0x04
	tag io flags 01 min 03f7 max 03f7 align 0x01 len 0x01
	tag irq flags 01 mask 0040
	tag dma flags 08 mask 04
	tag end cksum 78
	compat id scan:
	tag end cksum 87
PNP0700 (io 3f2-3f5 3f7, irq 6, dma 2) at pnpbios0 index 11 ignored
pnpbios0 index 11: no match from static config
pnpbios0: getting info for index 14
PNP0501 (static): type 0x07 subtype 0x00 dpi 0x02 attr 0x0080:
PNP0501: allocated config scan:
	tag io flags 01 min 03f8 max 03f8 align 0x01 len 0x08
	tag irq flags 11 mask 0010
	tag end cksum fc
	possible config scan:
	tag startdep flags 01
	tag io flags 01 min 03f8 max 03f8 align 0x01 len 0x08
	tag startdep flags 01
	tag io flags 01 min 0220 max 0220 align 0x01 len 0x08
	tag startdep flags 01
	tag io flags 01 min 0228 max 0228 align 0x01 len 0x08
	tag startdep flags 01
	tag io flags 01 min 0238 max 0238 align 0x01 len 0x08
	tag startdep flags 01
	tag io flags 01 min 02e8 max 02e8 align 0x01 len 0x08
	tag startdep flags 01
	tag io flags 01 min 0338 max 0338 align 0x01 len 0x08
	tag startdep flags 01
	tag io flags 01 min 03e8 max 03e8 align 0x01 len 0x08
	tag enddep
	tag irq flags 11 mask 0cb0
	tag end cksum b6
	compat id scan:
	tag end cksum 87
pnpbios0: length mismatch in node 14: used 98 of 107 Bytes
PNP0501 (io 3f8-3ff, irq 4) at pnpbios0 index 14 ignored
pnpbios0 index 14: no match from static config
pnpbios0: getting info for index 16
PNP0401 (static): type 0x07 subtype 0x01 dpi 0x02 attr 0x0080:
PNP0401: allocated config scan:
	tag io flags 01 min 0378 max 0378 align 0x01 len 0x03
	tag io flags 01 min 0778 max 0778 align 0x01 len 0x03
	tag irq flags 11 mask 0080
	tag dma flags 08 mask 08
	tag end cksum 0d
	possible config scan:
	tag startdep flags 01
	tag io flags 01 min 0378 max 0378 align 0x01 len 0x03
	tag io flags 01 min 0778 max 0778 align 0x01 len 0x03
	tag irq flags 11 mask 0080
	tag startdep flags 01
	tag io flags 01 min 0278 max 0278 align 0x01 len 0x03
	tag io flags 01 min 0678 max 0678 align 0x01 len 0x03
	tag irq flags 11 mask 0020
	tag startdep flags 01
	tag io flags 01 min 03bc max 03bc align 0x01 len 0x03
	tag io flags 01 min 07bc max 07bc align 0x01 len 0x03
	tag irq flags 11 mask 0080
	tag enddep
	tag dma flags 08 mask 0e
	tag end cksum 13
	compat id scan:
	tag end cksum 87
PNP0401 (io 378-37a 778-77a, irq 7, dma 3) at pnpbios0 index 16 ignored
pnpbios0 index 16: no match from static config
pnpbios0: getting info for index 17
PNP0A03 (static): type 0x06 subtype 0x04 dpi 0x00 attr 0x0003:
PNP0A03: allocated config scan:
	tag end cksum 87
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
PNP0A03 at pnpbios0 index 17 disabled
pnpbios0 index 17: no match from static config
pnpbios0: getting info for index 38
YMH0110 (static): type 0x04 subtype 0x80 dpi 0x00 attr 0x0003:
YMH0110: allocated config scan:
	tag end cksum 87
	possible config scan:
	tag end cksum 87
	compat id scan:
	tag end cksum 87
YMH0110 at pnpbios0 index 38 disabled
pnpbios0 index 38: no match from static config
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: S3 Savage/MX+MV (rev. 0x11)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 3 function 0
pcib0: Toshiba America Info Systems product 0x0611 (rev. 0x51)
pcib1 at pci0 dev 5 function 0
pcib1: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 5 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DARA-218000>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 17301 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 35433216 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-C2302, 2000009256, 1315> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 5 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x03) at pci0 dev 5 function 3 not configured
AT&T Microelectronics product 0x0441 (miscellaneous communications, revision 0x01) at pci0 dev 7 function 0 not configured
Toshiba America Info Systems product 0x0d01 (iRDA wireless) at pci0 dev 9 function 0 not configured
cbb0 at pci0 dev 11 function 0: Toshiba America Info Systems ToPIC95B CardBus-PCI Bridge (rev. 0x07)
cbb1 at pci0 dev 11 function 1: Toshiba America Info Systems ToPIC95B CardBus-PCI Bridge (rev. 0x07)
Yamaha 744 (DS-1S) Audio (audio multimedia, revision 0x02) at pci0 dev 12 function 0 not configured
ex0 at pci0 dev 15 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0x6c)
ex0: interrupting at irq 11
ex0: MAC address 00:00:39:e9:73:18
ukphy0 at ex0 phy 24: Generic IEEE 802.3u media interface
ukphy0: OUI 0x001018, model 0x0017, rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
isa1 at pcib1panic: isaattach: ISA bus already seen!


>How-To-Repeat:
	Get a Toshiba Tecra 8100 and a docking station for it, boot 
	-current. See it explode.

>Fix:
	No idea. Doesn't the alpha port deal with several ISA busses?
>Release-Note:
>Audit-Trail:
>Unformatted: