kernel/4610: Problem with HP DL140 G2 and SATA drives (Intel 82801 controller)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

kernel/4610: Problem with HP DL140 G2 and SATA drives (Intel 82801 controller)

openbsd
>Number:         4610
>Category:       kernel
>Synopsis:       pciide driver does not work with HP140 G2 SATA controller (Intel 82801EB)
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 10 09:00:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Torbjvrn Beeth
>Release:        3.8
>Organization:
net
>Environment:
       
        System      : OpenBSD 3.8
        Architecture: OpenBSD.i386
        Machine     : HP DL140 G2 (i386 - Xenon)
>Description:
        After booting the 3.8 kernel on a HP DL140 G2 the system
        hangs, trying to access the first SATA harddisk using the
        pciide0 driver. The last output is:

        wd0(pciide0:0:0): timeout
                type: ata
                c_bcount: 512
                c_skip: 0

        The SATA controller in the system is indentified as a
        "Intel 82801EB SATA" rev 0x02.

        Full dmesg:

        booting hd0a:/bsd: 4804352+939504 [52+247280+228802]=0x5eea4c
        entry point at 0x100120
                       m
        [ using 476508 bytes of bsd ELF symbol table ]
        Copyright (c) 1982, 1986, 1989, 1991, 1993
                The Regents of the University of California.  All rights reserved.
        Copyright (c) 1995-2005 OpenBSD. All rights reserved.  http://www.OpenBSD.org

        OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
            [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
        cpu0: Intel(R) Xeon(TM) CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
        cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,
        SSE3,MWAIT,CNXT-ID
        real mem  = 1072717824 (1047576K)
        avail mem = 972214272 (949428K)
        using 4278 buffers containing 53739520 bytes (52480K) of memory
        mainbus0 (root)
        bios0 at mainbus0: AT/286+(b8) BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xfd410
        apm0 at bios0: Power Management spec V1.2
        apm0: AC on, battery charge unknown
        apm0: flags 30102 dobusy 0 doidle 1
        pcibios0 at bios0: rev 2.1 @ 0xfd410/0xbf0
        pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde30/432 (25 entries)
        pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
        pcibios0: PCI bus #8 is the last bus
        bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1600 0xc9800/0x1600 0xdc000/0x4000!
        cpu0 at mainbus0
        pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
        pchb0 at pci0 dev 0 function 0 "Intel E7710 SMCH" rev 0x0c
        "Intel E7710 MCH ERR" rev 0x0c at pci0 dev 0 function 1 not configured
        ppb0 at pci0 dev 2 function 0 "Intel E7710 MCH PCIE" rev 0x0c
        pci1 at ppb0 bus 1
        ppb1 at pci0 dev 4 function 0 "Intel E7710 MCH PCIE" rev 0x0c
        pci2 at ppb1 bus 2
        bge0 at pci2 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1 (0x4101): irq 5 address 00:15:60:5f:e6:8f
        brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
        ppb2 at pci0 dev 5 function 0 "Intel E7710 MCH PCIE" rev 0x0c
        pci3 at ppb2 bus 3
        bge1 at pci3 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1 (0x4101): irq 5 address 00:15:60:5f:e6:90
        brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
        ppb3 at pci0 dev 6 function 0 "Intel E7710 MCH PCIE" rev 0x0c
        pci4 at ppb3 bus 4
        ppb4 at pci4 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
        pci5 at ppb4 bus 5
        ppb5 at pci5 dev 1 function 0 "Intel S21152BB PCI-PCI" rev 0x00
        pci6 at ppb5 bus 6
        ste0 at pci6 dev 4 function 0 "D-Link Systems 550TX" rev 0x15: irq 5 address 00:0d:88:53:40:4c
        ukphy0 at ste0 phy 1: Generic IEEE 802.3u media interface
        ukphy0: OUI 0x0090c3, model 0x0004, rev. 0
        ste1 at pci6 dev 5 function 0 "D-Link Systems 550TX" rev 0x15: irq 10 address 00:0d:88:53:40:4d
        ukphy1 at ste1 phy 1: Generic IEEE 802.3u media interface
        ukphy1: OUI 0x0090c3, model 0x0004, rev. 0
        ste2 at pci6 dev 6 function 0 "D-Link Systems 550TX" rev 0x15: irq 10 address 00:0d:88:53:40:4e
        ukphy2 at ste2 phy 1: Generic IEEE 802.3u media interface
        ukphy2: OUI 0x0090c3, model 0x0004, rev. 0
        ste3 at pci6 dev 7 function 0 "D-Link Systems 550TX" rev 0x15: irq 3 address 00:0d:88:53:40:4f
        ukphy3 at ste3 phy 1: Generic IEEE 802.3u media interface
        ukphy3: OUI 0x0090c3, model 0x0004, rev. 0
        vendor "Intel", unknown product 0x0326 (class system subclass interrupt, rev 0x09) at pci4 dev 0 function 1 not configured
        ppb6 at pci4 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
        pci7 at ppb6 bus 7
        vendor "Intel", unknown product 0x0327 (class system subclass interrupt, rev 0x09) at pci4 dev 0 function 3 not configured
        uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: irq 5
        usb0 at uhci0: USB revision 1.0
        uhub0 at usb0
        uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
        uhub0: 2 ports with 2 removable, self powered
        uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: irq 3
        usb1 at uhci1: USB revision 1.0
        uhub1 at usb1
        uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
        uhub1: 2 ports with 2 removable, self powered
        ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB" rev 0x02: irq 11
        usb2 at ehci0: USB revision 2.0
        uhub2 at usb2
        uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
        uhub2: 4 ports with 4 removable, self powered
        ppb7 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2
        pci8 at ppb7 bus 8
        vga1 at pci8 dev 1 function 0 "ATI Rage XL" rev 0x27
        wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
        wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
        ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
        pciide0 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 con
        figured to compatibility
        wd0 at pciide0 channel 0 drive 0: <Maxtor 6L080M0>
        wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
        wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
        wd1 at pciide0 channel 1 drive 0: <Maxtor 6L080M0>
        wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
        wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
        "Intel 82801EB/ER SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
        isa0 at ichpcib0
        isadma0 at isa0
        pckbc0 at isa0 port 0x60/5
        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
        pcppi0 at isa0 port 0x61
        midi0 at pcppi0: <PC speaker>
        spkr0 at pcppi0
        sysbeep0 at pcppi0
        npx0 at isa0 port 0xf0/16: using exception 16
        pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
        pccom0: console
        biomask ebed netmask efed ttymask ffef
        pctr: user-level cycle counter enabled
        umass0 at uhub1 port 1 configuration 1 interface 0
        umass0: Sony USB Floppy Drive, rev 1.10/6.01, addr 2
        umass0: using UFI over CBI with CCI
        scsibus0 at umass0: 2 targets
        wd0(pciide0:0:0): timeout
                type: ata
                c_bcount: 512
                c_skip: 0
        sd0 at scsibus0 targ 1 lun 0: <SONY, USB-FDU, 6.01> SCSI0 0/direct removable
        sd0: drive offline
        wd0(pciide0:0:0): timeout
                type: ata
                c_bcount: 512
                c_skip: 0


>How-To-Repeat:
        Try to install/boot OpenBSD 3.8 on a HP DL140 G2 with SATA
        disks.

        I have also tried the snapshot of November 4th with the same
        problem. OpenBSD 3.7 also has the same problem. NetBSD 2.0.2
        works, so does various Linux kernel releases, and Windows.
>Fix:
        A workaround is to use boot -c and disable the pciide driver
        and let the wdc driver handle the disks - but with bad performance.


>Release-Note:
>Audit-Trail:
>Unformatted: