On Sun, 7 Jan 2007, Vaclav Barta wrote: > On Saturday 06 January 2007 23:15, Alan Stern wrote: > > On Sat, 6 Jan 2007, Vaclav Barta wrote: > > > Looks like the command succeeds when it's repeated persistently enough... > > Or maybe it wants to see some of those commands for /dev/sg1 before it > > will let /dev/sg0 work. Try doing something just as simple as this: > [EMAIL PROTECTED] plscsi # ./plscsi -x '0 0 0 0 0 0' /dev/sg0 > // x 6 28 sense > // -x0002 = -2 = plscsi.main exit int > [EMAIL PROTECTED] plscsi # ./plscsi -x '0 0 0 0 0 0' /dev/sg0 > [EMAIL PROTECTED] plscsi # ./plscsi -x '0 0 0 0 0 0' /dev/sg1 > // x 6 28 sense > // -x0002 = -2 = plscsi.main exit int > [EMAIL PROTECTED] plscsi # ./plscsi -x '0 0 0 0 0 0' /dev/sg1 > [EMAIL PROTECTED] plscsi # ./plscsi -x '28 0 0 0 0 0 0 0 1 0' -i 512 /dev/sg0 > > Yes, you're right again...
So perhaps you can put sd_mod back where it belongs and plug the device in normally. After it fails, try using the command: blockdev --rereadpt /dev/sda I don't know whether that patch will affect this at all, so you should try it both with and without the patch. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users