[9327] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: scsi add-single-device

daemon@ATHENA.MIT.EDU (Ricky Beam)
Tue Aug 8 18:16:26 2000

Date:	Tue, 8 Aug 2000 13:53:00 -0400 (EDT)
From:	Ricky Beam <jfbeam@bluetopia.net>
To:	Marc SCHAEFER <schaefer@alphanet.ch>
cc:	linux-scsi@vger.rutgers.edu
In-Reply-To: <8mpgft$jfn$1@vulcan.alphanet.ch>
Message-ID: <Pine.LNX.4.04.10008081347210.605-100000@beaker.bluetopia.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On 8 Aug 2000, Marc SCHAEFER wrote:
>Emmanuel Galanos <egalanos@cse.unsw.edu.au> wrote:
>> SCSI disk error : host 0 channel 0 id 1 lun 0 return code = 28000002
>> [valid=0] Info fld=0x0, Current sd08:10: sense key Not Ready
>> Additional sense indicates Logical unit not ready, initializing command required
>
>easy answer:
>
>   put the autostart jumper on the drive

If it's an SCA drive, there generally isn't a jumper.

>average:
>
>   send a START UNIT command to the raw device, I think there is an ioctl().

Technically, one could argue the kernel should issue a STOP START UNIT command
for you.  A command was sent to the drive that needs it to be spinning (and
the kernel is assuming it is spinning??? is there any state tracking?)  Of
course, one could argue the kernel should only do what it's told...

(In my case, all the drive shelves are set for delayed spinup.  And I'm using
 hardware RAID controllers :-))

--Ricky



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post