Bug 88402
Summary: | (USB STORAGE)usb-storage fails to work on archos recorder 20GB (USB2) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | rohirrim <s.zachariadis> | ||||||||
Component: | kernel | Assignee: | Pete Zaitcev <zaitcev> | ||||||||
Status: | CLOSED WORKSFORME | QA Contact: | Brian Brock <bbrock> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 9 | CC: | frodet, s.zachariadis | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | athlon | ||||||||||
OS: | Linux | ||||||||||
URL: | http://rohirrim.org/bug/ | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2004-07-29 19:22:23 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
rohirrim
2003-04-09 20:28:59 UTC
Similar problem with USB-2.0 PNY 6 in 1 Flash Adapter (both with SD and Compact Flash). Device mounts OK under both 2.4.20-8 and 9 but locks completely if any data is transferred, or if mkfs and fdisk is used. Device will not come back up without a reboot. Problem is down to the ehci-hcd module - simply removing the module (i.e. just using the usb-uhci module) results in correct operation. Temporary fix is to remove the alias usb-controller ehci-hcd line in /etc/modules.conf. System is based around a Via 8235 chipset with a Via USB 2.0 controller on the motherboard. Created attachment 91130 [details]
devices from rohirrim
Created attachment 91131 [details]
dmesg from rohirrim
Was that dmesg taken before the hang or after the hang? The error on the sector zero looks like improper use of US_FL_START_STOP, but it wouldn't cause the symptoms. The dmesg was taken _after_ the problem. /dev/sda is a no-name usb compact flash reader, which for some reason is accessed periodically or when I try to mount the archos jukebox (which is /dev/sdb). This error was probably generated because there was no card in the reader. As far as I'm aware, the bug does not produce any messages in dmesg. Would you please to test the 2.4.20-18? I suspect the upstread destroyed usb-uhci right when we pricked it for -8 & -13. Bug continues with both -8 & -13. Correct behaviour is only observed with 2.4.20 vanilla. I am asking about 2.4.20-18 (DASH EIGHTEEN). Please test. Problem continues in -18 (which is what i meant before -sorry for the mistake) I just installed kernel 2.4.21 (vanilla), under which the device has the exact same problem. So, whatever is causing the problem was added to kernel 2.4.21... To summarise, the device works under: RH9 (kernel 2.4.20 (vanilla)) ehci, uhci RH9 (kernel 2.4.21/2.4.20-redhat) uhci only RH8 (all RH kernels before RH9 came out) ehci, uhci WinXP ehci, uhci The device does not work under: RH9 (kernel 2.4.21 (vanilla), all redhat kernels) ehci Report noise snapshot: http://marc.theaimsgroup.com/?l=linux-usb-devel&m=104556288529260&w=2 -- Same vt8235, looks like hotplug race in ehci-hcd http://marc.theaimsgroup.com/?l=linux-usb-devel&m=101915871709820&w=2 -- Longish thread head: problems with error handling in usb-storage, looks more like bug 100887 http://marc.theaimsgroup.com/?l=linux-usb-users&m=104827171302907&w=2 -- Needs recheck if we have that patch Just to mention that the device works correctly using kernel 2.4.22 (vanilla). I have experienced similar problems with 2.4.20-20.9. Trying to copy files to my Maxtor 5000XT usb disk gives more or less the same behaviour as described above. Unfortunately, due to the severe nature of the hang, /var/log/messages is not updated. I only get: Nov 17 12:26:21 garvin kernel: Unable to handle kernel paging request at virtual address 0974c928 Nov 17 12:26:21 garvin kernel: printing eip: Then I manually have to power off and on the beast and the log continues: Nov 17 13:35:58 garvin syslogd 1.4.1: restart. : : The console is however, much more feature rich when it comes to printouts. Oops, completely forgot about Frode. His case obviosly has nothing to do with this particular bug. He needs to get a serial console or netconsole set up and capture the trace, and open his own bug. Created attachment 96063 [details]
max_sectors
This is a shot in the dark, but perhaps attached patch (max_sectors) might have something to do with this. Well, did anyone have a chance to try the Archos on Fedora with 2.4.21-1.2140? It does have the sector limit, and it does have my anti-lockup fixes (for Frode :-)). Guys, I need your feedback, as precise and complete as possible. Otherwise nothing will get fixed, ever. Appologies for the very late reply. I'm afraid my archos was stolen in november and I couldn't have tested the patches. I'm sorry to hear the bad news from the requestor. I'm closing this bug. Frode, Glen, the FC1 is not likely to see a non-security update, so if you wish to stick with 2.4, get latest (-1.2198) and maybe it works now. I did some good work there, basically porting storage fixes from RHEL 3. But it would be better if you moved to FC2 and filed bugs for any problems there. |