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

Stefan Richter
2005-07-10T22:32:15Z

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/

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar