From owner-freebsd-amd64@FreeBSD.ORG Fri Oct 23 08:10:04 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AF1A1065670 for ; Fri, 23 Oct 2009 08:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 688968FC0A for ; Fri, 23 Oct 2009 08:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9N8A3Cq041450 for ; Fri, 23 Oct 2009 08:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9N8A3lG041449; Fri, 23 Oct 2009 08:10:03 GMT (envelope-from gnats) Resent-Date: Fri, 23 Oct 2009 08:10:03 GMT Resent-Message-Id: <200910230810.n9N8A3lG041449@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dominic Fandrey Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D13121065697 for ; Fri, 23 Oct 2009 08:00:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B67DA8FC1E for ; Fri, 23 Oct 2009 08:00:45 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9N80jk2031010 for ; Fri, 23 Oct 2009 08:00:45 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9N80jcl031009; Fri, 23 Oct 2009 08:00:45 GMT (envelope-from nobody) Message-Id: <200910230800.n9N80jcl031009@www.freebsd.org> Date: Fri, 23 Oct 2009 08:00:45 GMT From: Dominic Fandrey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Fri, 23 Oct 2009 11:30:26 +0000 Cc: Subject: amd64/139859: regression Intel 82801 SATA Controller not recognized X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2009 08:10:04 -0000 >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: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x40c0-0x40cf irq 16 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] atapci1: 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: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: port not implemented ata3: [ITHREAD] ata4: on atapci1 ata4: port not implemented ata4: [ITHREAD] .. acd0: DVDR at ata0-master PIO4 ad4: 152627MB at ata2-master SATA150 This is from the RELENG_8 dmesg in SATA native mode: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x40c0-0x40cf irq 16 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.2 (no driver attached) .. acd0: DVDR 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: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x40c0- 0x40cf,0x40d0-0x40df irq 17 at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] .. ad0: 152627MB at ata0-master UDMA33 .. acd0: DVDR 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: