On Thu, 29 Apr 2004, Alan Stern wrote:

> On Tue, 27 Apr 2004, Gustaf Gunnarsson wrote:
> 
> > Right now, I believe there is something strange going on in the
> > usb-storage module, the only time when there has been different results
> > and expected, were when I forced the usb-storage module not to be loaded
> > on hotplug. This way I could plug in and remove the device as many times
> > as I wished and the kernel always detected them appropriate.
> 
> Working on that hypothesis, I've attached three patches for you to try.  
> They all modify the usb-storage driver.  Patch1 prevents the driver from 
> communicating with the device.  Patch2 prevents the SCSI module from 
> scanning for devices.  Patch3 prevents usb-storage from registering itself 
> with SCSI in the first place.  So the successive patches stop more and 
> more code from executing.
> 
> Try each of these patches in turn and see what happens.  Also (I just
> thought of this) when you are testing, see if you get the same behavior if
> you leave the device plugged in and do "rmmod usb-storage" as you do if
> you unplug the device.  It's worth trying that even with none of the
> patches installed.


Hi, I was a bit unsure what if you meant I should add patch 2 on patch 1 
and patch 3 on patch 2 after each try. However after patch 1 alone worked 
I just tried them one by one and they all showed the same working result.

I forgot to do the rmmod using patch 2 alone, however for both patch 1 and 
patch 3 this looked in dmesg like a normal unplug event.

Doing rmmod with no patch installed does not work, when I do -f the same 
problem occurs which made me send the original fault report (all processes 
but init dies).

//Gustaf


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to