Messages in this thread | | | Date | Fri, 23 Apr 2004 17:30:13 -0700 | From | Greg KH <> | Subject | Re: Kernel Oops during usb usage (2.6.5) |
| |
On Fri, Apr 23, 2004 at 10:56:17PM +0200, E. Oltmanns wrote: > Hello everyone, > > Summary: > Kernel Oops caused by multiple access requests to a single scanner > through libusb. > > Detailed description: > The following script leads to an kernel oops on my System: > #!/bin/bash > scanimage > test & > scanimage -h > > This is because scanimage -h tries to append a list of availlable > scanners to the help output and thus interferes with the first > scanimage process which is initializing the scanner at the same > moment.
Heh, then don't do that :)
Accesses by two different processes of the same device through usbfs is big trouble. Don't do that.
That being said, I have some usbfs locking patches that might help a bit here that will probably show up in the next -mm release if you want to see if that helps you out or not.
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |