Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 23:16:47 -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.9903172241210.2158-100000@sasami.jurai.net>
In-Reply-To: <199903160607.XAA23750@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Mar 1999, Kenneth D. Merry wrote:
> One question I have is this -- once the media is spinning, how long
> does it take to do a read capacity?  You can find out like this:
> 
> /usr/bin/time camcontrol cmd -t 60 -v -n da -u 2 -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"

<SONY SMO-C501-00 2.07>            at scbus2 target 3 lun 0 (pass13,da5)

576998 512 
        0.04 real         0.01 user         0.01 sys

> What happens if the media is not spinning and you do a read capacity?  
> Does the drive try to spin itself up?

eisa-test# camcontrol stop -n da -u 5
Unit stopped successfully
eisa-test# camcontrol tur -n da -u 5
Unit is not ready
eisa-test# /usr/bin/time camcontrol cmd -t 60 -v -n da -u 5 -c "25 0 0 0 0
0 0 0 0 0" -i 8 "i4 i4"
576998 512 
        0.04 real         0.00 user         0.02 sys
eisa-test# camcontrol tur -n da -u 5
Unit is not ready

It doesn't spin it up if its been spun down.

> The default timeout for the read capacity in the DA driver is 5
> seconds. If the MO drive attempts, for whatever reason, to spin itself
> up when it gets a read capacity, we may need to bump the timeout on
> the read capacity commmand.

Once the drive eats the disk it reads the capacity.  My unit doesn't -not-
do a read capacity.  I haven't seen it 'forget' the capacity either.

I just hooked up a second unit to the system and booted w/o a media unit.

A start/tur on the pass device followd by a rescan doesn't result in the
device being attached to the da driver.

Any chance that camcontrol could gaing the ability to remove a device from
the system?  'camcontrol detach' maybe?

-- 
| 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.9903172241210.2158-100000>