Skip to contentSkip to conversation

scsi querry.

DISCUSSION Kaushik Datta 1 participant 1 message May 27, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

Hello ,

I have a pseudo LLD module that has it's own queuecommand, abort handler etc etc. But when a command comes via to queucommand and if due to certain reasons (specific to my module) the response of the command is not sent to the mid level ,(timeout condition) the SCSI mid level error handler thread sets the scsi device offline.I have encountered this error message many a times. Now the return value of my abort handler function is SCSI_ABORT_SUCCESS and 'result' field as DID_ABORT.

Even after this the mid level is setting the device offline

Is that the correct behaviour ? I am using lk 2.4.2 .

Please correct me if my observations are wrong !

Regards,
Kaushik