From owner-freebsd-i386@FreeBSD.ORG Wed Apr 26 08:30:14 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0758216A403 for ; Wed, 26 Apr 2006 08:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DA5D43D45 for ; Wed, 26 Apr 2006 08:30:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3Q8UDOd030513 for ; Wed, 26 Apr 2006 08:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3Q8UDiZ030512; Wed, 26 Apr 2006 08:30:13 GMT (envelope-from gnats) Date: Wed, 26 Apr 2006 08:30:13 GMT Message-Id: <200604260830.k3Q8UDiZ030512@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Paul Blair Cc: Subject: Re: i386/96302: nVidia nForce CK804 SATA300 controller not recognizing SATA CD-ROM drive X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Blair List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 08:30:14 -0000 The following reply was made to PR i386/96302; it has been noted by GNATS. From: Paul Blair To: bug-followup@FreeBSD.org, toadlife@toadlife.net Cc: Subject: Re: i386/96302: nVidia nForce CK804 SATA300 controller not recognizing SATA CD-ROM drive Date: Wed, 26 Apr 2006 01:25:12 -0700 I've found a workaround to this problem on my system. Running the following allows FreeBSD to detect the drive properly: (My CD drive is attached to ata5) --------------------------------- # atacontrol detach ata5 # atacontrol attach ata5 Master: acd0 Serial ATA v1.0 Slave: no device present # --------------------------------- ****Waiting at least one second between the detach and attach commands is necessary for it to work.**** Right now, I just wrote this little shell script and put it in /usr/local/etc/rc.d/ and the drive is detected on bootup. --------------------------------------------------------- #!/bin/sh echo Reinitializing SATA Controller... atacontrol detach ata0 sleep 1 echo Attaching ata0... atacontrol attach ata0 sleep 1 atacontrol detach ata1 sleep 1 echo Attaching ata1... atacontrol attach ata1 sleep 1 atacontrol detach ata2 sleep 1 echo Attaching ata2... atacontrol attach ata2 sleep 1 atacontrol detach ata3 sleep 1 echo Attaching ata3... atacontrol attach ata3 sleep 1 atacontrol detach ata4 sleep 1 echo Attaching ata4... atacontrol attach ata4 sleep 1 atacontrol detach ata5 sleep 1 echo Attaching ata5... atacontrol attach ata5 sleep 1 echo Done! ---------------------------------------------------