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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wrote:
- As written in the other post, one of my 2.5" disks lets the system
  reboot shortly after the disk was attached.

Maybe the MODE_SENSE response needs to be mangled for this device as if
it was an RBC device. (But remember, my older 2.5" disk says it's
Direct-Access and it worked without MODE_SENSE response conversion.)

No difference with sbp2's former MODE_SENSE conversion put back into
sbp2_check_sbp2_response().

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.
--
Stefan Richter
-=====-=-=-= -=== -=-==
http://arcgraph.de/sr/
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux