Displaying 4 results from an estimated 4 matches for "debug_scsi".
2007 Apr 05
0
(open iscsi) initiator crashes
...si/browse_thread/thread/495b17fa2ab52e3c/8acf2cc82a384646?lnk=gst&q=crashes&rnum=8
I''ll be happy to supply additional information when needed.
Regards
Dominik
Dominik Klein schrieb:
>>> Recompile open-iscsi with
>>>
>>> make clean
>>> make DEBUG_SCSI=1 DEBUG_TCP=1
>>>
>>> We might get lucky and see something in the trace. I would also try to
>>> do some of the things Ming listed.
>> I did this but it does not seem to produce any more output!?
>> I checked the ttys and all files in /var/log
>> W...
2007 Apr 05
1
Re: Initiator crashes
...-iscsi/browse_thread/thread/495b17fa2ab52e3c/8acf2cc82a384646?lnk=gst&q=crashes&rnum=8
I''ll be happy to supply additional information when needed.
Regards
Dominik
Dominik Klein schrieb:
>>> Recompile open-iscsi with
>>>
>>> make clean
>>> make DEBUG_SCSI=1 DEBUG_TCP=1
>>>
>>> We might get lucky and see something in the trace. I would also try to
>>> do some of the things Ming listed.
>> I did this but it does not seem to produce any more output!?
>> I checked the ttys and all files in /var/log
>> Where i...
2009 Oct 27
2
[PATCH 3/4] scsi-disk: Factor out SCSI command emulation
...lt;< 8) | (cdb[7] << 16) | (cdb[6] << 24);
cmdlen = 12;
break;
default:
- BADF("Unsupported command length, command %x\n", command);
- goto fail;
+ BADF("Unsupported command length, command %x\n", cdb[0]);
}
#ifdef DEBUG_SCSI
{
int i;
for (i = 1; i < cmdlen; i++) {
- printf(" 0x%02x", buf[i]);
+ printf(" 0x%02x", cdb[i]);
}
printf("\n");
}
#endif
- if (lun || buf[1] >> 5) {
- /* Only LUN 0 supported. */...
2009 Oct 27
2
[PATCH 3/4] scsi-disk: Factor out SCSI command emulation
...lt;< 8) | (cdb[7] << 16) | (cdb[6] << 24);
cmdlen = 12;
break;
default:
- BADF("Unsupported command length, command %x\n", command);
- goto fail;
+ BADF("Unsupported command length, command %x\n", cdb[0]);
}
#ifdef DEBUG_SCSI
{
int i;
for (i = 1; i < cmdlen; i++) {
- printf(" 0x%02x", buf[i]);
+ printf(" 0x%02x", cdb[i]);
}
printf("\n");
}
#endif
- if (lun || buf[1] >> 5) {
- /* Only LUN 0 supported. */...