Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2009 08:00:45 GMT
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/139859: regression Intel 82801 SATA Controller not recognized
Message-ID:  <200910230800.n9N80jcl031009@www.freebsd.org>
Resent-Message-ID: <200910230810.n9N8A3lG041449@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139859
>Category:       amd64
>Synopsis:       regression Intel 82801 SATA Controller not recognized
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 23 08:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Fandrey
>Release:        RELENG_8
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Oct 22 18:39:21 CEST 2009     root@mobileKamikaze.norad:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510b-8  amd64

>Description:
After an update from RELENG_7 neither the SATA controller nor any of the drives
were recognized, hence the system was unable to mount the root partition
(/dev/ufs/2root alias /dev/ad4s2a).

After deactivating SATA Native Mode in the BIOS (HP Compaq 6510b notebook) the drive was back (now as ad0), however I consider this a workaround, not a solution.

Here's some information about the system:
# pciconf -lv | grep -i sata -C5
    device     = '82801HEM (ICH8M-E) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:2:	class=0x010180 card=0x30c0103c chip=0x28288086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801 (ICH8M) 3 port SATA Controller'
    class      = mass storage
    subclass   = ATA
wpi0@pci0:16:0:0:	class=0x028000 card=0x135c103c chip=0x42228086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel 3945ABG Wireless LAN controller (10208086)'

This is from the RELENG_7 dmesg:
atapci0: <Intel ICH8M UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x40c0-0x40cf irq 16 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
atapci1: <Intel ICH8M SATA300 controller> port 0x13f0-0x13f7,0x15f4-0x15f7,0x1370-0x1377,0x1574-0x1577,0x4100-0x411f mem 0xe4809000-0xe48097ff irq 17 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI called from vendor specific driver
atapci1: AHCI Version 01.10 controller with 3 ports detected
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: port not implemented
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci1
ata4: port not implemented
ata4: [ITHREAD]
..
acd0: DVDR <Optiarc DVD RW AD-7560A/DH10> at ata0-master PIO4
ad4: 152627MB <Seagate ST9160821AS 3.BHE> at ata2-master SATA150

This is from the RELENG_8 dmesg in SATA native mode:
atapci0: <Intel ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x40c0-0x40cf irq 16 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <mass storage, SATA> at device 31.2 (no driver attached)
..
acd0: DVDR <Optiarc DVD RW AD-7560A/DH10> at ata0-master PIO4
..
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ufs/2root
ROOT MOUNT ERROR: 
..

This is from the RELENG_8 dmesg with SATA native mode deactivated:
atapci0: <Intel ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x40c0-
0x40cf,0x40d0-0x40df irq 17 at device 31.2 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
..
ad0: 152627MB <Seagate ST9160821AS 3.BHE> at ata0-master UDMA33
..
acd0: DVDR <Optiarc DVD RW AD-7560A/DH10> at ata1-master PIO4


UDMA33 doesn't really sound like full speed.
I have the following line in my rc.local for the DVD drive:
/sbin/atacontrol mode acd0 WDMA2
>How-To-Repeat:
Try to boot from a SATA drive attached to an ICH8 Intel 82801 SATA controller.
>Fix:


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910230800.n9N80jcl031009>