Automatic unit start broken?

Scott Long scottl at samsco.org
Tue Feb 28 09:09:49 PST 2006


Kenneth D. Merry wrote:
> 
>>>What happens when you:
>>>
>>>camcontrol stop da7
>>>camcontrol tur da7 -v
>>>camcontrol start da7 -v
>>
>>[52]raven# camcontrol stop da7
>>Unit stopped successfully
>>[53]raven# camcontrol tur da7 -v
>>Unit is not ready
>>(pass8:esp1:0:10:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
>>(pass8:esp1:0:10:0): CAM Status: CCB request is in progress
>>Exit 1
> 
> 
> Okay, that's wrong.  The CCB status is never set properly, even though the
> command was completed.
> 
> It looks like the driver may be broken.  It should set the CAM status to
> CAM_SCSI_STATUS_ERROR in this case, but there is no place in the driver
> (that I can see) where it ever sets that status.
> 
> 
>>[54]raven# camcontrol start da7 -v
>>Unit started successfully
> 
> 
> Ken

Oops, that's my fault.  Not sure when I'll be able to look it, though.

Scott



More information about the freebsd-scsi mailing list