On Mon, 8 Dec 2003 12:52:30 -0800 "Randy.Dunlap" <[EMAIL PROTECTED]> wrote:
| Customers keep complaining that usb-storage is unusable in 2.4, | so I looked at it and WOA! Very simple things, like running | dd if=/dev/sda of=/dev/null bs=8k and then unplugging the | flash cause oopses and lockups; once those are fixed, storage | can get offline forever. Ugh. | | 2.6 looks much saner, but it's somewhat different and I do not | dare a backport. Here's a patch to add some sanity into the | carnival of semaphores. Oh, and never return failure from | the bus reset - it only serves to fall back to adapter reset, | which we do not implement. | | I would like someone to test it, to make sure I am not | breaking things (e.g. if any hangs happen). | | Greg & Matt, if you approve, I'll take arguing this with Marcelo, | if you need a help here. This is an issue for us, because | of proliferation of USB storage as factory option. And we | cannot just go to 2.6. I can't say that I tried to break it. I didn't pull plugs during USB I/O, e.g. I did apply this patch to 2.4.23 and run it on almost all of the USB storage devices that I have. All I/O was successful, using uhci, ohci, and ehci, playing mp3's while copying, etc. I compared several large copied files and they matched with no errors. devices: Y-E DATA floppy drives, SanDisk CF reader (single LUN), Belkin CF reader (multi-LUN), Lexar flash JumpDrive device, Mitsumi cd-rw (reading only), Maxtor hard drive, AcomData hard drive. Didn't test ZIP drive. -- ~Randy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel