Subject: 153GB disk chokes *secondary* piixide channel on Dell poweredge 1300
To: None <port-i386@netbsd.org>
From: David Brownlee <abs@absd.org>
List: port-i386
Date: 06/25/2004 21:35:56
 	Hooking up a 153GB disk to the primary channel of a Dell PowerEdge
 	1300 seems to derange the secondary channel:

 	- With 60, 78, or 120GB disks on the primary channel all is fine,
 	  the second channel can handle cds, dvds, or other disks of a
 	  similar size.

 	- With one or two 153GB disks on the primary channel, its a different
 	  story; devices will probe OK on the secondary channel, but DMA will
 	  fail when they are accessed, leaving them to downgrade to PIO 4.
 	  Once it will managed to get into a strange state whereby it tried
 	  to downgrade for a while then hung. The BIOS will also sometimes
 	  report a secondary hard disk 0 failure. Fair warning one supposes.

 	Has anyone seen this kind of behaviour before? No BIOS updates
 	are available for the box :(

 	Sample dmesg. This is an MP ACPI kernel, but the stock GENERIC
 	gives the same effect.


NetBSD 2.0_BETA (_X86_MP_) #2: Thu Jun 24 22:36:16 BST 2004
         abs@tll.i.purplei.com:/var/obj/i386/files/netbsd/2.0/sys/arch/i386/compi
le/_X86_MP_
total memory = 255 MB
avail memory = 244 MB
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: Intel Pentium III (686-class), 548.35 MHz, id 0x673
cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 383fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383fbff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 512 KB 32b/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 99 MHz
cpu0: 32 page colors
cpu1 at mainbus0: apid 0 (application processor)
cpu1: starting
cpu1: Intel Pentium III (686-class), 548.32 MHz, id 0x673
cpu1: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 383fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu1: features 383fbff<FXSR,SSE>
cpu1: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu1: L2 cache 512 KB 32b/line 4-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 2
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <DELL  ,PE1300  ,00000002>, AslId <MSFT,0100000a>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
mpacpi: could not get bus number, assuming bus 0
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0200 at acpi0 not configured
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: using exception 16
PNP0000 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0100 at acpi0 not configured
fdc0 at acpi0 (PNP0700)
fdc0: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
pckbc0 at acpi0 (PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
pckbc1 at acpi0 (PNP0F13): aux port
pckbc1: irq 12
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
com1 at acpi0 (PNP0501-2)
com1: io 0x2f8-0x2ff irq 3
com1: ns16550a, working fifo
lpt0 at acpi0 (PNP0401)
lpt0: io 0x378-0x37f,0x778-0x77f irq 7
PNP0C01 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
PNP0C0B at acpi0 not configured
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xf0000000, size 0x4000000
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
vga0 at pci1 dev 0 function 0: ATI Technologies 3D Rage IIC (AGP) (rev. 0x7a)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 2 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (r
ev. 0x03)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ahc0 at pci2 dev 11 function 0: Adaptec aic7890/91 Ultra2 SCSI adapter
ahc0: interrupting at ioapic0 pin 16 (irq 11)
ahc0: aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 
0x01)
uhci0: interrupting at ioapic0 pin 19 (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, revisio
n 0x02) at pci0 dev 7 function 3 not configured
bktr0 at pci0 dev 13 function 0
bktr0: interrupting at ioapic0 pin 17 (irq 11)
bktr0: Warning: Unknown card type. EEPROM data not recognised
bktr0: 10 0 63 c0
bktr0: Detected a DPL34140?-<0 at 0x84
bktr0: Pinnacle/Miro TV, Temic NTSC tuner, dpl3518a dolby, remote control.
fxp0 at pci0 dev 14 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at ioapic0 pin 18 (irq 11)
fxp0: Ethernet address 00:d0:b7:47:32:29
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: read port 0x203
sb0 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,3
sb0: Creative ViBRA16X PnP Audio: dsp v4.16
audio0 at sb0: half duplex, mmap, independent
opl at sb0 not configured
isapnp0: <Creative ViBRA16X PnP, CTL7005, PNPB02F, Game> port 0x201/1 not config
ured
ioapic0: enabling
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
wd0 at atabus0 drive 0: <HDS722516VLAT20>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 153 GB, 319120 cyl, 16 head, 63 sec, 512 bytes/sect x 321672960 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus0 drive 1: <HDS722516VLAT20>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 153 GB, 319120 cyl, 16 head, 63 sec, 512 bytes/sect x 321672960 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
  transfers)
wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
  transfers)
uhub1 at uhub0 port 2
uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2
uhub1: 7 ports with 7 removable, self powered
wd2 at atabus1 drive 0: <IC35L060AVV207-0>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 58644 MB, 119150 cyl, 16 head, 63 sec, 512 bytes/sect x 120103200 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
  transfers)
ubsa0 at uhub1 port 5
ubsa0: Belkin Components USB-232 Adapter, rev 1.10/2.07, addr 3
ubsa0: Belkin Components USB-232 Adapter, rev 1.10/2.07, addr 3
ucom0 at ubsa0
uhidev0 at uhub1 port 6 configuration 1 interface 0
uhidev0: Belkin Components USB-PS2 Adapter, rev 1.10/1.20, addr 4, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 6 configuration 1 interface 1
uhidev1: Belkin Components USB-PS2 Adapter, rev 1.10/1.20, addr 4, iclass 3/1
ums0 at uhidev1: 5 buttons and Z dir.
wsmouse1 at ums0 mux 0
ulpt0 at uhub1 port 7 configuration 1 interface 0
ulpt0: Belkin Components product 0x1202, rev 1.00/1.04, addr 5, iclass 7/1
ulpt0: using uni-directional mode
piixide0:1:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
piixide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd2: transfer error, downgrading to Ultra-DMA mode 1
wd2(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd2d: DMA error reading fsbn 0 (wd2 bn 0; cn 0 tn 0 sn 0), retrying
piixide0:1:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
piixide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd2: transfer error, downgrading to DMA mode 2
wd2(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd2d: DMA error reading fsbn 0 (wd2 bn 0; cn 0 tn 0 sn 0), retrying
piixide0:1:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
piixide0:1:0: bus-master DMA error: missing interrupt, status=0x21
wd2: transfer error, downgrading to PIO mode 4
wd2(piixide0:1:0): using PIO mode 4
wd2d: DMA error reading fsbn 0 (wd2 bn 0; cn 0 tn 0 sn 0), retrying
wd2: soft error (corrected)
raid0: RAID Level 1
raid0: Components: /dev/wd0a /dev/wd1a
raid0: Total Sectors: 321672832 (157066 MB)
boot device: raid0
root on raid0a dumps on raid0b
root file system type: ffs
cpu1: CPU 0 running
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)



-- 
 			   David Brownlee -- abs@absd.org