markus reichelt wrote:* Matthias Kaehlcke <mkaehlcke@xxxxxxx> wrote:
i totally agree that unplugging the device without unmounting it previously isn't how things should be done and can have side effects. but is it really obvious that the timer softirq isn't executed during ~250ms because an USB device is uncleanly unplugged?
I've had my fair share of USB fun myself, yeah.
The problem is difficult to track, you are using an old kernel. If it's possible to use a recent kernel, I'd try that first.
i tried it with 2.6.26.3 (have some prob with USB and 2.6.27) but with the same result :(
adding more traces i see that the softirq is raised by the timer ISR but not executed
Also, the USB setup: Is the stick connected directly or via hub? What about scheduler? PREEMPT? I'm just taking a wild guess here.
it's connected directly. PREEMPT is enabled, i'll try what happens when disabling it
begin:vcard fn:Matthias Kaehlcke n:Kaehlcke;Matthias org:Electronic Engineering Solutions;Dept. de Software adr:;;C/ Sant Ferran, 10-16 bajos;Barcelona;;08031;Spain email;internet:mkaehlcke@xxxxxxx title:Ingeniero de Firmware tel;work:93 407 30 80 tel;fax:93 433 56 71 x-mozilla-html:FALSE url:http://www.e2s.net version:2.1 end:vcard