Subject: Re: esiop(4) doesn't spin up disk automatically
To: Michael-John Turner <mj@turner.org.za>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 09/30/2005 22:29:50
On Fri, Sep 30, 2005 at 09:44:27PM +0200, Michael-John Turner wrote:
> Hi
> 
> I've just added a new SCSI disk to my U5, and it seems that the esiop(4)
> doesn't spin up the disk automatically:
> sd1(esiop0:0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
>     SENSE KEY:  Not Ready
>      ASC/ASCQ:  Logical Unit Not Ready, Initialization Command Required
> 
> My adapter:
> esiop0 at pci2 dev 1 function 0: Symbios Logic 53c875 (ultra-wide scsi)
> esiop0: using on-board RAM
> esiop0: interrupting at ivec 10
> scsibus0 at esiop0: 16 targets, 8 luns per target
> 
> If I spin up the disk manually using scsictl(8) it works fine (and I know I
> can jumper the disk to do this automatically at power-on). Is this the
> expected behaviour? I seem to remember ahc(4) on i386 automatically
> spinning up disks when it was initialised, or is my memory failing me?

It's not related to esiop, but to the scsipi mid-layer, so you should
have the same behavior on both systems.  It's possible that on i386 the
adapter's BIOS does the spin up, though.
The drive should spin up on first access, if it doesn't it's a bug.

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