Re: [Linux-usb-users] RE: [usb-storage] Request for guidance on a read syscall issue

2004-01-14 Thread Greg KH
On Wed, Jan 14, 2004 at 03:27:49AM -0600, [EMAIL PROTECTED] wrote: > Output of "uname -msr" is: > Linux 2.4.9-e.3 i686 Will not work well, if at all. You need to use 2.6 for you to have a chance of this succeeding, sorry. greg k-h --- This SF

[Linux-usb-users] RE: [usb-storage] Request for guidance on a read syscall issue

2004-01-14 Thread Pat LaVarre
Ganesh B: > Pat, > [many lines] > -Original Message- > From: Pat LaVarre [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 14, 2004 3:15 AM > [many lines] Ouch, heads up, another silence-provoking taboo of this culture is "top-posting". See the www.tux.org/lkml/ extract held in focus

[Linux-usb-users] RE: [usb-storage] Request for guidance on a read syscall issue

2004-01-14 Thread Pat LaVarre
Ganesh B: Please share which fs `mount` reports mounted on the device you're hot-unplugging while reading. For example, here I have: $ mount | grep '/dev/hda[12]' /dev/hda2 on / type ext3 (rw) /dev/hda1 on /boot type ext3 (rw) $ > 3) > May I please know your view, as to whether Myself I have n

[Linux-usb-users] RE: [usb-storage] Request for guidance on a read syscall issue

2004-01-14 Thread Pat LaVarre
Ganesh B: > 2) ... > This problem ... I saw ... with ... "/dev/sdb" > not seen with ... "/dev/scd0" I now believe your original post less concisely says something very much like: --- Hot unplugging a usb-storage device hangs my read app and sometimes my lk 2.4.9 when using devices such as a /de

[Linux-usb-users] RE: [usb-storage] Request for guidance on a read syscall issue

2004-01-14 Thread Ganesh_Borse
Pat, Thanks for the information. 1) Output of "uname -msr" is: Linux 2.4.9-e.3 i686 And, output of "uname -a" is: Linux localhost.localdomain 2.4.9-e.3 #1 Fri May 3 17:02:43 EDT 2002 i686 unknown 2) This problem is specific to USB floppies. So, I saw it with device name "/dev/sdb" only. In case

[Linux-usb-users] Re: [usb-storage] Request for guidance on a read syscall issue

2004-01-13 Thread Pat LaVarre
Ganesh B: > reads sectors from an USB floppy. > ... if I remove the cable ... from the drive, > read system call never returns ... > After a while ... machine freezes ... reboot ... by power switch ... > same thing with USB CD drive ... system call ... reported an error. > O_NONBLOCK ... open(),