From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 21 02:00:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AACD0BB9 for ; Wed, 21 Aug 2013 02:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 897832BF6 for ; Wed, 21 Aug 2013 02:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7L200kB001708 for ; Wed, 21 Aug 2013 02:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7L200Y2001707; Wed, 21 Aug 2013 02:00:00 GMT (envelope-from gnats) Resent-Date: Wed, 21 Aug 2013 02:00:00 GMT Resent-Message-Id: <201308210200.r7L200Y2001707@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Hickey Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8DE6BB54 for ; Wed, 21 Aug 2013 01:57:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7B9DA2BDE for ; Wed, 21 Aug 2013 01:57:33 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7L1vXGB000122 for ; Wed, 21 Aug 2013 01:57:33 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7L1vXre000121; Wed, 21 Aug 2013 01:57:33 GMT (envelope-from nobody) Message-Id: <201308210157.r7L1vXre000121@oldred.freebsd.org> Date: Wed, 21 Aug 2013 01:57:33 GMT From: John Hickey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/181441: Asmedia ASM1061 Times out with AHCI driver X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2013 02:00:00 -0000 >Number: 181441 >Category: kern >Synopsis: Asmedia ASM1061 Times out with AHCI driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 21 02:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: John Hickey >Release: FreeBSD 9.2-BETA1 >Organization: >Environment: FreeBSD foo 9.2-BETA1 FreeBSD 9.2-BETA1 #2: Tue Jul 23 15:56:07 PDT 2013 root@foo:/usr/obj/usr/src/sys/FOO amd64 >Description: When using the ahci driver instead of the ata driver, my drive times out on an Asmedia 1061 controller. ahcich0: Timeout on slot 0 port 0 ahcich0: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd 451 serr 00000000 cmd 0004c017 ahcich0: AHCI reset... ahcich0: SATA connect time=1000us status=00000123 ahcich0: AHCI reset: device found (aprobe0:ahcich0:0:0:0): SET_MULTI. ACB: c6 00 00 00 00 40 00 00 00 00 10 00 (aprobe0:ahcich0:0:0:0): CAM status: Command timeout (aprobe0:ahcich0:0:0:0): Error 5, Retry was blocked ahcich0: AHCI reset: device ready after 100ms >From a kernel with the ahci driver disabled, here is the pci information for the card: atapci0@pci0:13:0:0: class=0x010601 card=0x10601b21 chip=0x06121b21 rev=0x01 hdr=0x00 >How-To-Repeat: Boot a system with an asmedia 1061 controller and the ahci driver enabled. >Fix: This setup has been running fine for over a year using the ata driver instead of ahci. >Release-Note: >Audit-Trail: >Unformatted: