Subject: kern/25455: atabus probed twice on Dell Dimension XPS P90
To: None <gnats-bugs@gnats.NetBSD.org>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-bugs
Date: 05/04/2004 03:55:57
>Number: 25455
>Category: kern
>Synopsis: atabus probed twice on Dell Dimension XPS P90
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 04 08:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Dave Huang
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD dell.azeotrope.org 2.0_BETA NetBSD 2.0_BETA (DIMENSION) #6: Tue May 4 02:47:48 CDT 2004 khym@fluff.azeotrope.org:/usr/obj.i386/sys/arch/i386/compile/DIMENSION i386
Architecture: i386
Machine: i386
>Description:
The Dell Dimension XPS P90 has an unusual IDE setup in that
the primary channel is attached to the PCI bus, while the secondary
channel is attached to the IDE bus. Even though pciide ignores the
secondary channel, atabus still attaches to pciide channel 1. wdc
also attaches to the secondary channel, as it should, and atabus
attaches to wdc, resulting in two atabusses on the same channel.
This causes devices connected to the secondary channel to be
duplicated. Note atabus1 and atabus2, along with cd0 and cd1 in
the following:
NetBSD 2.0_BETA (DIMENSION) #6: Tue May 4 02:47:48 CDT 2004
khym@fluff.azeotrope.org:/usr/obj.i386/sys/arch/i386/compile/DIMENSION
total memory = 65148 KB
avail memory = 61120 KB
BIOS32 rev. 0 found at 0xf39bc
PCI BIOS rev. 2.0 found at 0xf39a0
pcibios: config mechanism [x][2], special cycles [x][x], last bus 0
pcibios_get_intr_routing: function not supported
No PCI IRQ Routing information available.
PCI fixup examining 8086:4a3
PCI fixup examining 1042:1000
PCI fixup examining 8086:484
PCI fixup examining 105d:2309
PCI fixup examining 8086:1229
PCI bus #0 is the last bus
[System BIOS Setting]-----------------------
device vendor product
register space address size
--------------------------------------------
000:00:0 0x8086 0x04a3
[OK]
000:01:0 0x1042 0x1000
10h port 0x000001f0 0x00000008
14h port 0x000003f4 0x00000004
[OK]
000:02:0 0x8086 0x0484
[OK]
000:06:0 0x105d 0x2309
10h mem 0xa0000000 0x00400000
14h mem 0xa0400000 0x00400000
18h mem 0xa0800000 0x00400000
1ch mem 0xa0c00000 0x00400000
20h mem 0xa1000000 0x00010000
24h port 0x0000e000 0x00000100
[OK]
000:12:0 0x8086 0x1229
10h mem 0xffbff000 0x00001000
14h port 0x0000fce0 0x00000020
18h mem 0xffa00000 0x00100000
[OK]
--------------------------[ 0 devices bogus]
Physical memory end: 0x03ffc000
PCI memory mapped I/O space start: 0x04000000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium (P54C) (586-class), 90.21 MHz, id 0x525
cpu0: features 1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
pci0 at mainbus0 bus 0: configuration mode 2
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82434LX/NX PCI, Cache and Memory Controller (PCMC) (rev. 0x11)
pciide0 at pci0 dev 1 function 0
pciide0: PC Technology RZ1000 (rev. 0x01)
pciide0: hardware does not support DMA
pciide0: primary channel wired to compatibility mode
pciide0: primary channel interrupting at irq 14
atabus0 at pciide0 channel 0
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel interrupting at irq 15
atabus1 at pciide0 channel 1
pciide0: secondary channel ignored (other hardware responding at addresses)
pcib0 at pci0 dev 2 function 0
pcib0: Intel 82378ZB System I/O (SIO) (rev. 0x43)
vga0 at pci0 dev 6 function 0: Number 9 Computer Company Imagine-128 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
fxp0 at pci0 dev 12 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:90:27:13:0b:30
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wdc1 at isa0 port 0x170-0x177 irq 15
atabus2 at wdc1 channel 0
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
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
pcic0: controller 0 (Ricoh RF5C296) has socket A only
pcmcia0 at pcic0 controller 0 socket 0
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0: controller 0 detecting irqs with mask 0xdeb8:..5..9..11
pcic0: using irq 5 for socket events
IPsec: Initialized Security Association Processing.
wd0 at atabus0 drive 0: <ST31720A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 1625 MB, 3303 cyl, 16 head, 63 sec, 512 bytes/sect x 3329424 sectors
wd0: drive supports PIO mode 4, DMA mode 2
wd1 at atabus0 drive 1: <Conner Peripherals 1080MB - CFS1081A>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 1032 MB, 2097 cyl, 16 head, 63 sec, 512 bytes/sect x 2114180 sectors
wd1: drive supports PIO mode 4, DMA mode 2
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <ATAPI CD-ROM DRIVE 32X MAXIMUM, , 323P> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
atapibus1 at atabus2: 2 targets
cd1 at atapibus1 drive 0: <ATAPI CD-ROM DRIVE 32X MAXIMUM, , 323P> cdrom removable
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
I first reported this in
http://mail-index.netbsd.org/current-users/2003/10/13/0007.html , but
forgot to send a PR.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: