From owner-freebsd-current@FreeBSD.ORG Mon Mar 16 20:32:21 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF5051065670 for ; Mon, 16 Mar 2009 20:32:21 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 72B2A8FC0C for ; Mon, 16 Mar 2009 20:32:21 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 237637093; Mon, 16 Mar 2009 22:32:20 +0200 Message-ID: <49BEB752.1050609@FreeBSD.org> Date: Mon, 16 Mar 2009 22:32:18 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.19 (X11/20090118) MIME-Version: 1.0 To: "O. Hartmann" References: <1237234989.00087753.1237222202@10.7.7.3> In-Reply-To: <1237234989.00087753.1237222202@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: atacontrol reinit ataX does work only sporadically on FreeBSd 8.0-CURRENT/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 20:32:22 -0000 O. Hartmann wrote: > Running a box with FreeBSD 8.0-CURRENT #4 r189874. > Try to attach a SATA harddrive via atacontrol. This drive is attached to > the controller 'ata9' (ICH9 on P35-based board). BIOS has 'AHCI' on all > controller enabled, so far everything seems to be all right. > > Well, I performed 'atacontrol reinit ata9' and 'atacontrol attach ata9' > once sucessfully, but after detaching, extracting the drive and > attaching it again this task does not perform successfully anymore. > > dmesg shows > > ata9: port is not ready (timeout 10000ms) > ata9: port is not ready (timeout 1000ms) > ata9: software reset clear timeout > ata9: port is not ready (timeout 10000ms) > ata9: port is not ready (timeout 10000ms) > ata9: port is not ready (timeout 1000ms) > ata9: software reset clear timeout > > Has anyone any idea what's up? Can you repeat the same with verbose messages enabled? Do you hear drive spin-up sound when you are doing attach? If so, does it finish before you are receiving timeout message? Actually reinit does not help you, as it does not attaches new drives at this time, only able to detach removed. Same time detach/attach works fine for me on ICH8R. -- Alexander Motin