From nobody@FreeBSD.org  Sat Sep 17 15:29:05 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5D61B106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 17 Sep 2011 15:29:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 42D358FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 17 Sep 2011 15:29:05 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8HFT5Z2009853
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 17 Sep 2011 15:29:05 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8HFT5rI009852;
	Sat, 17 Sep 2011 15:29:05 GMT
	(envelope-from nobody)
Message-Id: <201109171529.p8HFT5rI009852@red.freebsd.org>
Date: Sat, 17 Sep 2011 15:29:05 GMT
From: Peter Kerwien <peter@kerwien.homeip.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Drive not detected when using AHCI on Marvel 9128 controller
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160786
>Category:       kern
>Synopsis:       [ahci] [ata] Drive not detected when using AHCI on Marvel 9128 controller
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 17 15:30:10 UTC 2011
>Closed-Date:    
>Last-Modified:  Sun Sep 18 02:45:44 UTC 2011
>Originator:     Peter Kerwien
>Release:        FreeBSD 9.0-CURRENT
>Organization:
>Environment:
FreeBSD pc1 9.0-BETA2 FreeBSD 9.0-BETA2 #1: Sat Sep 17 14:42:29 CEST 2011     root@pc1:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I have a motherboard GA-790FXTA-UD5 (Tested with BIOS F2 and F3J) with
a Marvell 9128 SATA3 controller. When running FreeBSD 8.2-p2, my harddrive
conntected to one of the SATA3 ports is detected. When upgrading to
FreeBSD 9.0-CURRENT, the drive is not detected at all. I think it is
AHCI related, since I had similar issue when I tried AHCI on 8.2-p2.
All SATA ports are enabled as AHCI.

I tested to install DragonFlyBSD 2.10.1 x88_64 on an spare harddrive.
I didn't change any BIOS setting. DFly is detecting my harddrive and
everything seems to be ok.

Some info from dmesg (don't know if useful):

# dmesg | grep AHCI
ahci0: <AHCI SATA controller> port 0xef00-0xef07,0xee00-0xee03,0xed00-0xed07,0xec00-0xec03,0xeb00-0xeb0f mem 0xfdcff000-0xfdcff7ff irq 17 at device 0.0 on pci2
ahci0: AHCI v1.20 with 8 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich6: <AHCI channel> at channel 6 on ahci0
ahcich7: <AHCI channel> at channel 7 on ahci0
ahci1: <JMicron JMB363 AHCI SATA controller> on atapci0
ahci1: AHCI v1.00 with 2 3Gbps ports, Port Multiplier supported
ahcich8: <AHCI channel> at channel 0 on ahci1
ahcich9: <AHCI channel> at channel 1 on ahci1
ahci2: <ATI IXP700 AHCI SATA controller> port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 0xfe02f000-0xfe02f3ff irq 22 at device 17.0 on pci0
ahci2: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported
ahcich10: <AHCI channel> at channel 0 on ahci2
ahcich11: <AHCI channel> at channel 1 on ahci2
ahcich12: <AHCI channel> at channel 2 on ahci2
ahcich13: <AHCI channel> at channel 3 on ahci2
ahcich14: <AHCI channel> at channel 4 on ahci2
ahcich15: <AHCI channel> at channel 5 on ahci2

# dmesg | grep ahcich
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich6: <AHCI channel> at channel 6 on ahci0
ahcich7: <AHCI channel> at channel 7 on ahci0
ahcich8: <AHCI channel> at channel 0 on ahci1
ahcich9: <AHCI channel> at channel 1 on ahci1
ahcich10: <AHCI channel> at channel 0 on ahci2
ahcich11: <AHCI channel> at channel 1 on ahci2
ahcich12: <AHCI channel> at channel 2 on ahci2
ahcich13: <AHCI channel> at channel 3 on ahci2
ahcich14: <AHCI channel> at channel 4 on ahci2
ahcich15: <AHCI channel> at channel 5 on ahci2
(aprobe1:ahcich7:0:0:0): Unexpected signature 0x3860
(aprobe0:ahcich1:0:0:0): Unexpected signature 0x3860
ada0 at ahcich10 bus 0 scbus11 target 0 lun 0

ada0 is my other harddrive connected to one of the 6 SATA2 ports (AMD
chipset).

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Sep 18 02:40:49 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160786 
>Unformatted:
