From owner-freebsd-scsi Sun Mar 14 21:23:50 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (Postfix) with ESMTP id 40CFD14EEE for ; Sun, 14 Mar 1999 21:23:47 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id AAA15469; Mon, 15 Mar 1999 00:23:24 -0500 (EST) Date: Mon, 15 Mar 1999 00:23:24 -0500 (EST) From: "Matthew N. Dodd" To: "Kenneth D. Merry" Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-scsi@FreeBSD.ORG Subject: Re: SONY SMO-C501-09 not recognized under CAM In-Reply-To: <199903150407.VAA16427@panzer.plutotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 14 Mar 1999, Kenneth D. Merry wrote: > I'm sure we can get the thing working properly, if I can just get a handle > on what error codes the device returns for these two situations: > > - no disc in the drive eisa-test# camcontrol rescan 2 (da5:dpt0:0:3:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da5:dpt0:0:3:0): NOT READY asc:a,0 (da5:dpt0:0:3:0): Error log overflow (da5:dpt0:0:3:0): fatal error, failed to attach to device (da5:dpt0:0:3:0): lost device (da5:dpt0:0:3:0): removing device entry eisa-test# camcontrol devlist ... at scbus2 target 3 lun 0 (pass13) ... > - disc is in, but isn't spinning eisa-test# camcontrol stop -n pass -u 13 Unit stopped successfully eisa-test# camcontrol rescan 2 eisa-test# camcontrol rescan 2 da5 at dpt0 bus 0 target 3 lun 0 da5: Removable Direct Access SCSI-CCS device da5: 281MB (576999 512 byte sectors: 64H 32S/T 281C) eisa-test# camcontrol tur -n da -u 5 Unit is not ready eisa-test# camcontrol start -n da -u 5 Unit started successfully This only means that the drive remembered the capacity of the disk I had in before I spun the disk down. My unit automatically spins up the platter when I insert it so I'm not sure I'll be able to provide you with a test of the rescan with the unit stopped. :/ Any specific commands you want me to test? I'm guessing I should compile CAMDEBUG into the kernel if I'm to be of any use to you. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message