Kernel 2.6.0-test9, deadlock using usb-storage, eventually memory allocation bug
Hello, everybody!
So far I have spoken to Jari Ruusu <[email protected]> who is maintaining loop-AES and to Matthew Dharm <[email protected]> who
seems to be maintaining usb-storage at the moment.
Jari Ruusu helped me by locating the whereabouts of the following bug by reading
my syslogs with debugging output from usb-storage and by providing some kernel patches to isolate the error:
I am using a harddisk attached via a cardbus usb 2.0 card. On it I have an encrypted partition which I access via loop-AES.
I can easily reproduce a complete deadlock in the usb-storage system by mounting
my encrypted partition or copying files to or from it (depends on configuration).
That's what Jari Ruusu wrote on Sun, 09 Nov 2003:
Quoted 3 lines
It was very similar memory allocation failure again: usb storage RAM alloc waited for pages to be freed, and all freeable pages were waiting to be written out to your usb device. Same thing, just different place.
Quoted 2 lines · Matthew Dharm
You should take this up with [email protected] -- it's a memory allocation problem, not a usb-storage problem. I can't fix it.
I did without posting my kernel config and my syslog files with the usb-storage messages as according to the FAQ this would be overkill.
If anybody is willing to help me I would gratefully send her/him all my logs and my previous correspondence on this topic :)
Greetings from Berlin && excuses for my bad English,
Maximilian
Signature · 7 lines
Maximilian Mehnert <mmehnert at gmx dot net> http://members.lycos.co.uk/endofuniverse/gpg.html Fingerprint: 387F 5AA6 5856 2A49 C88C DA86 FBA8 5122 817B C60E ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Quoted 2 lines · Maximilian Mehnert
If anybody is willing to help me I would gratefully send her/him all my logs and my previous correspondence on this topic :)
I think you may be hitting the same problem I did some time ago.
Please see
http://www.mail-archive.com/linux-usb-devel%40lists.sourceforge.net/msg17080.html
Try the attached patch Alan Stern made. You'll have to add a "," to the
end of "+ .max_sectors = 240" line.
Alan, this patch should be in queue for 2.6.0, right?
Vedran Rodic