Hi,
On Wed, Dec 06, 2000 at 11:37:03AM -0500, F.M. Taylor wrote:
>
> I started out with:
>
> ##### START DecodeSense
> GenericSenseHandler : Sense Keys
> ErrorCode 00
> Valid 0
> ASC 46
> ASCQ 00
> Sense key 00
> No Sense
> GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
> #### STOP SenseHandler
> chg-scsi: requested drive number (0) greater than number of supported
> drives (-1)
>
> So I called the vendor and they said it is a non-error (errcode 0) error,
> and to ignore it. So I changed GenericSenseHandler() to return SENSE_NO
> for "Unknow", and that problem went away.
The correct way is to define a new handler for your device which handles
this condition, and not to extend the GenericSenseHandler. As the name
say this is an handler for unknown Devices. Now you/we know the device
and can extend it. I can do this if you send me the output of the debug
file to see which ident is returned, and the diffs what you have changed
in the function.
One nice thing would be if you can get an pointer to the SCSI reference
giude of your device to check which other conditions can happen, and
how to deal with them.
Thomas
--
-----------------------------------------------
| Thomas Hepper [EMAIL PROTECTED] |
| ( If the above address fail try ) |
| ( [EMAIL PROTECTED]) |
-----------------------------------------------