Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 1999 00:23:24 -0500 (EST)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        joerg_wunsch@uriah.heep.sax.de, freebsd-scsi@FreeBSD.ORG
Subject:   Re: SONY SMO-C501-09 not recognized under CAM
Message-ID:  <Pine.BSF.4.02.9903150012480.2158-100000@sasami.jurai.net>
In-Reply-To: <199903150407.VAA16427@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<console output>
(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
...
<SONY SMO-C501-00 2.07>            at scbus2 target 3 lun 0 (pass13)
...

> - disc is in, but isn't spinning

<disk inserted>
eisa-test# camcontrol stop -n pass -u 13
Unit stopped successfully
<device removed from chain manually>
eisa-test# camcontrol rescan 2
<device added to chain manually>
eisa-test# camcontrol rescan 2
<dmesg output>
da5 at dpt0 bus 0 target 3 lun 0
da5: <SONY SMO-C501-00 2.07> 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
<this means that the disk is still spun down>
eisa-test# camcontrol start -n da -u 5
<I hear drive spinning up>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9903150012480.2158-100000>