From owner-freebsd-scsi Wed Jan 17 14:54:52 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201]) by hub.freebsd.org (Postfix) with SMTP id 7FA0137B401 for ; Wed, 17 Jan 2001 14:54:33 -0800 (PST) Received: (qmail 26917559 invoked from network); 17 Jan 2001 22:54:23 -0000 Received: from s011.dhcp212-229.cybercable.fr (HELO gits.dyndns.org) ([212.198.229.11]) (envelope-sender ) by racine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 17 Jan 2001 22:54:23 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.1/8.11.1) id f0HMsK166761; Wed, 17 Jan 2001 23:54:21 +0100 (CET) (envelope-from clefevre@citeweb.net) To: "Kenneth D. Merry" Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: SCSI suspend/resume References: <20010112211218.A32720@panzer.kdm.org> <20010117104437.B17373@panzer.kdm.org> X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C Reply-To: Cyrille Lefevre In-Reply-To: "Kenneth D. Merry"'s message of "Wed, 17 Jan 2001 10:44:37 -0700" From: Cyrille Lefevre Date: 17 Jan 2001 23:54:17 +0100 Message-ID: Lines: 70 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Kenneth D. Merry" writes: > On Wed, Jan 17, 2001 at 05:18:45 +0100, Cyrille Lefevre wrote: > > "Kenneth D. Merry" writes: > [snip] > > Justin says that the apm code makes a BIOS call, and that the BIOS knows > how to spin down an IDE disk. It doesn't know how to spin down a SCSI > disk, though. > > So that's why apm -Z doesn't spin down your SCSI disk. as I remember me (almost 1 year I dont; run M$ things), M$ Windows knows how to do this! isn't it possible to do this at the same time the BIOS syscall is done ? [snip] > > I'm not sure why you're getting errors, that should work in theory...and it > does work for me: > > # umount /mnt/usr > # umount /mnt/var > # umount /mnt > # camcontrol stop da1 -v > Unit stopped successfully > # mount /dev/da1s1a /mnt > # df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s1a 158783 73406 72675 50% / > /dev/da0s1f 7766844 3016956 4128541 42% /usr > /dev/da0s1e 254063 2770 230968 1% /var > procfs 4 4 0 100% /proc > /dev/da1s1a 158783 62397 83684 43% /mnt don't understand why this works for you and not for me ? I'll ask some friends about that... until now, I was always thinking this was a "normal" comportment. my machine is an old P166 (3 years) w/ a TEKRAM 390F host adapter (2 years). > For what it's worth, it looks like you've compiled out the sense strings > and the CDB strings in your kernel. That makes it more difficult to debug > problems. Your drive is spitting out the correct error code, though. (ASC > 0x4, ASCQ 0x2 -- logical unit not ready, initializing command required) you are right, I've : options SCSI_NO_SENSE_STRINGS options SCSI_NO_OP_STRINGS why this makes more difficult to debug problems ? have you some preferences about kernel settings ? do you want a copy of my kernel config file ? any other things ? > > # camcontrol stop da1 > > Unit started successfully > > Umm, what's going on there? It should have said unit stopped sucessfully, > since you issued a 'camcontrol stop'... typo again, read start, sorry. [snip] Cyrille. -- home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message