From owner-freebsd-current Sat Apr 28 21:40:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 9BAB337B423 for ; Sat, 28 Apr 2001 21:40:54 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id WAA37299; Sat, 28 Apr 2001 22:40:47 -0600 (MDT) (envelope-from ken) Date: Sat, 28 Apr 2001 22:40:47 -0600 From: "Kenneth D. Merry" To: Tomi Vainio - Sun Finland - Cc: freebsd-current@FreeBSD.ORG Subject: Re: camcontrol stop / restart broken Message-ID: <20010428224047.A37268@panzer.kdm.org> References: <15083.9059.887489.356984@ultrahot.Finland.Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <15083.9059.887489.356984@ultrahot.Finland.Sun.COM>; from Tomi.Vainio@Sun.COM on Sat, Apr 28, 2001 at 11:09:07PM +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 28, 2001 at 23:09:07 +0300, Tomi Vainio - Sun Finland - wrote: > Hi, > > My source disk is quite noisy so normally I stop it after building the > world and restart it once a week. Couple weeks this restart hasn't > worked as before. Only way to start disk again is reboot. > > camcontrol stop 1:2:0 > Unit stopped successfully > mount /f > mount: /dev/da1s1e: Input/output error > tail /var/log/messages > Apr 28 23:01:40 cat /boot/kernel/kernel: (da1:ahc0:0:2:0): Invalidating pack > Apr 28 23:01:40 cat /boot/kernel/kernel: da1: reading primary partition table: error reading fsbn 0 > camcontrol start 1:2:0 > Unit started successfully > mount /f > mount: /dev/da1s1e: Input/output error Hmm, that's not good. Can you do the following: camcontrol stop da1 camcontrol tur da1 -v [ then you can start it back up with camcontrol start ] What I want to see here is the sense information coming back from the drive when it is spun down. The new error recovery code should be doing the same thing as the old error recovery code -- sending a start unit. For some reason it isn't doing the right thing, though. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message