Re: loop-AES: timer softirq blocked after USB disconnect?

Matthias Kaehlcke <[email protected]> Thu, 23 Oct 2008 14:51:05 +0200
Newsgroups gmane.linux.cryptography
Organization Electronic Engineering Solutions
Message-ID <[email protected]>
[replying to my own mail as i didn't received your response (i'm not 
subscribed to the list]

markus reichelt wrote:

 > * Matthias Kaehlcke <mkaehlcke@xxxxxxx> wrote:
 >
 > > i use loop-AES on a USB flash device. when unplugging the device
 > > while reading from it,
 >
 > Why would you do that?

though i don't like it, it is a possible use case that a user unplugs 
the USB device :(

the problem with the timers not being launched is that a hardware 
watchdog times out an resets the device ...

 > any idea what could be the problem?
 >
 > ^^ obvious.

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?
mkaehlcke.vcf (text/x-vcard, 336 B)
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:[email protected]
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