Re: Oops in make_class_name in 2.6.22.1 on Fedora
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Is there some reason why you sent this message only to me and didn't CC: the other interested parties as well? Never mind, I have added linux-usb-devel to the CC line. On Thu, 1 Nov 2007, Björn Stenberg wrote: > Hi. > > I found http://lkml.org/lkml/2007/10/30/284 when searching for this > issue. I have some details that might be of interest. > > I am developing an USB stack for a device, and I'm currently at a > point where most stuff in usb-storage works except for READ_10 and > WRITE_10. > > The oops occurs for me when linux (the usb host side) has asked for, > and recieved INQUIRY, MODE_SENSE etc. But when it sends the first > READ_10 command to read the boot sector, the device doesn't respond. > > There is a rather long timeout until the host side gives up on this > transfer, and if I unplug my usb device during this time, I get the > oops. Every time. I have also gotten the oops without unplugging the > device, when the host times out, but I'm not sure it happens every > time. > > The host machine is running Debian kernel version 2.6.22-2-k7, but I > intend to test 2.6.24-rc1 tonight and see if the oops remains. Do you have CONFIG_SCSI_SCAN_ASYNC enabled? It was an important ingredient in creating the bug. Under 2.6.22 and the conditions you described, it would trigger the bug without fail, as you saw. The same is true for 2.6.23. The bugfix wasn't added to the kernel until 2.6.24-rc1, so that's where the real question lies. > I don't know if the full text is interesting but here it is just in case: Not really interesting; it's the same as in the earlier messages. > Tell me if there is a specific test or particular config values > (other than CONFIG_USB_DEBUG and CONFIG_USB_STORAGE_DEBUG) you want > me to try. Nothing occurs to me at the moment. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel