[Trimmed the cc line]
On Mon, Nov 17, 2003 at 02:38:24PM -0700, Pat LaVarre wrote:
> > I don't have any sd removable read only media.
>
> Eh? Does http://www.torque.net/sg/sdebug26.html
> not give us all sd removable read only media?
Yes, looks like I would have to modify scsi_debug.c DEV_READONLY to make
it behave as read only.
> > If you want to test with your read only media,
> > just use the dev flags:
> >
> > echo "vendor:model:0x4000" > /proc/scsi/device_info
> >
> > Then add your device, see if it comes back as writable, and try to mount
> > or write it, and compare without the above (you can't remove device_info
> > entry without rebooting or rmmod-ing scsi).
>
> Thanks for kindly finding the time to share these hints, I have now
> begun the work of decrypting them.
>
> 1) `find /lib/modules -name '*.ko'` says I have no scsi.ko. If I kick
> around in `make xconfig` long enough, I may find one.
It is named scsi_mod.ko if you built it as a module.
Once you have a base .config it is easier to modify the .config and then
run make oldconfig and answer y/n/m.
I usually just delete the line in question from .config, and run make
oldconfig. In this case delete the line with CONFIG_SCSI and run make
oldconfig.
> 2) By vendor:model I first guess we mean what bash would say as
> "$vendor:$model", of 8 and x10 bytes respectively, same as in op x12
> Inquiry.
Yes.
-- Patrick Mansfield
-
To unsubscribe from this list: 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
|