Re: changes to ieee1394/sbp2 outside of linux1394.org

James Bottomley
2005-07-11T13:57:28Z

On Mon, 2005-07-11 at 00:32 +0200, Stefan Richter wrote:
> I tested again with all conversions reactivated in sbp2 and with
> sdev->use_10_for_rw = 1, sdev->use_10_for_ms = 1 removed from
> sbp2scsi_slave_configure again --- i.e. the old pseudo TYPE_DISK
> mangling completely reinstated. This prevents the reboot and lets
> me access the disk again.
>
> That is, scsi's mid or high level definitely needs protection from
> bogus TYPE_DISKs like this one --- in one way or another.

Could you get a trace of what's going on from the command response point
of view? Doing a scsi_print_command() in the queuecommand() routine and
printing the return code and sense (with scsi_print_sense()) in the -
>done() should be sufficient.

Thanks,

James