List Info

Thread: SCSI initialize command




SCSI initialize command
user name
2007-01-21 21:02:33
i'm trying to attach a hard disk to my scsi bus, and it's
saying this:

sd2 at scsibus0 target 4 lun 0: <SEAGATE, ST31200N
SUN1.05, 8564>  
disk fixed
sd2(esp0:0:4:0):  Check Condition on CDB: 0x00 00 00 00 00
00
     SENSE KEY:  Not Ready
      ASC/ASCQ:  Logical Unit Not Ready, Initialization
Command Required
      FRU CODE:  0x1


I know what i have to do (initialise the device) but i have
no idea  
how to do so. What command do you use to send an initialize
command  
to a SCSI device?

thanks in advance,
Isaac


# unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes
;  
umount ; sleep

All parts should go together without forcing.  You must
remember that  
the
parts you are reassembling were disassembled by you. 
Therefore, if you
can't get them together again, there must be a reason.  By
all means, do
not use a hammer.
                 -- IBM maintenance manual, 1925



Re: SCSI initialize command
user name
2007-01-22 14:40:16
On Sun, Jan 21, 2007 at 09:02:33PM -0600, Isaac Wagner-Muns
wrote:
> i'm trying to attach a hard disk to my scsi bus, and
it's saying this:
> 
> sd2 at scsibus0 target 4 lun 0: <SEAGATE, ST31200N
SUN1.05, 8564>  
> disk fixed
> sd2(esp0:0:4:0):  Check Condition on CDB: 0x00 00 00 00
00 00
>     SENSE KEY:  Not Ready
>      ASC/ASCQ:  Logical Unit Not Ready, Initialization
Command Required
>      FRU CODE:  0x1
> 
> 
> I know what i have to do (initialise the device) but i
have no idea  
> how to do so. What command do you use to send an
initialize command  
> to a SCSI device?

I guess it's just that it's configured to not spin up at
power up,
it's waiting for a start unit command. If so the first
access (e.g.
'disklabel sd2') should cause the driver to send a start
unit command.

-- 
Manuel Bouyer <bouyerantioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la
difference
--

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )