Bug 991668
Summary: | USB disk works in 3.9.9, but doesn't work in 3.10.4 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hedayat Vatankhah <hedayatv> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | alex.ploumistos, atu, franz.brauneder, gansalmon, itamar, jonathan, kai.reichert, kernel-maint, klaus, madhu.chinakonda, marbolangos, nc-wittigge, Simon.Gerhards |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-15 14:09:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Hedayat Vatankhah
2013-08-03 12:43:58 UTC
Same problem here with a couple of USB sticks. Wild guess: The problem only occurs on old USB-1.1 disks.(?) *** Bug 991330 has been marked as a duplicate of this bug. *** I closed mine https://bugzilla.redhat.com/show_bug.cgi?id=991330 as a duplicate of this one. New interesting test. Using lshw. When trying to get the output with the hard drive plugged in the kernel 3.10.4-300 the output never finishes. I must unplug it to finish the SCSI check. There is clearly a very intrusive regression here! # Generate lshw output on 2 different kernel: $ su -c 'lshw' > lshw_$(uname -r).txt $ ls lshw_3.* lshw_3.10.4-300.fc19.x86_64.txt lshw_3.9.9-302.fc19.x86_64.txt Now get the diff, the only different part is the hard drive part: $ diff -y lshw_3.* [...] > *-scsi:1 > physical id: 2 > bus info: usb@3:3 > logical name: scsi6 > capabilities: emulated scsi-host > configuration: driver=usb-storage > *-disk > description: SCSI Disk > physical id: 0.0.0 > bus info: scsi@6:0.0.0 > logical name: /dev/sdb > size: 372GiB (400GB) > capabilities: partitioned partitioned:dos > configuration: sectorsize=512 signature=70000000 > *-volume > description: EXT4 volume > vendor: Linux > physical id: 1 > bus info: scsi@6:0.0.0,1 > logical name: /dev/sdb1 > logical name: /run/media/archambaf/Evangelion > version: 1.0 > serial: 7451fcfa-148b-44a9-8163-55966bba68c4 > size: 372GiB > capacity: 372GiB > capabilities: primary journaled extended_attr > configuration: created=2013-06-14 09:21:42 fi [...] I can confirm the same behaviour for the arm version of kernel 3.10.4 On my pandaboard (armv7) no usb is found with kernel 3.10.4. UBoot and the previously installed kernel 3.9.9 are able to find all partitions. The kernel log even shows some strange warnings only with kernel 3.10.4: ehci-omap ehci-omap.0: Can't get PHY device for port 0: -517 I have just tested the new koji kernel : https://admin.fedoraproject.org/updates/kernel-3.10.5-201.fc19 Same issue. This needs to be very quickly fixed. Is it possible to increase the priority? Here are some updates. I have taken this external hard drive to 2 other computers with F19 at latest version and kernel (kernel-3.10.5-201.fc19). One is a XPS M1330 laptop in 32 bits and another one a custom computer with a Fedora 64 bits system installed. On both computers I have the hard drive mounting on the 3.9.X kernel and not on the latest one. This is clearly a problem due to the chip used within the external USB device. For information, the dmesg when plugged in: [ 85.256085] usb 2-1: new high-speed USB device number 5 using ehci-pci [ 85.375706] usb 2-1: New USB device found, idVendor=040d, idProduct=6208 [ 85.375713] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 85.375718] usb 2-1: Product: USB 2.0 SATA Bridge [ 85.375723] usb 2-1: Manufacturer: VIA Technologies Inc. [ 85.375727] usb 2-1: SerialNumber: A787F52542A5 [ 85.376756] usb-storage 2-1:1.0: USB Mass Storage device detected [ 85.377818] scsi6 : usb-storage 2-1:1.0 [ 86.383840] scsi 6:0:0:0: Direct-Access SAMSUNG HM400LI 2TF0 PQ: 0 ANSI: 2 [ 86.386638] sd 6:0:0:0: Attached scsi generic sg2 type 0 [ 86.387578] sd 6:0:0:0: [sdb] 781422765 512-byte logical blocks: (400 GB/372 GiB) [ 86.388066] sd 6:0:0:0: [sdb] Write Protect is off [ 86.388070] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00 [ 86.388580] sd 6:0:0:0: [sdb] Asking for cache data failed [ 86.388584] sd 6:0:0:0: [sdb] Assuming drive cache: write through This bug has an upstream patch and is hopefully fixed soon: https://bugzilla.kernel.org/show_bug.cgi?id=60685 It was discussed on the USB for Linux mailing list: http://www.spinics.net/lists/linux-usb/msg90486.html The proposed patch appears in this post: http://www.spinics.net/lists/linux-usb/msg90555.html Any news on when a patched kernel will appear in koji? Will it be a 3.10 or a 3.11 series kernel for Fedora 19? The commit that fixed this is in 3.10.7. There should be a build of that later today. *** Bug 996741 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 989539 *** Tested 3.10.7 with every USB flash drive I own and they all work fine. Nice job! Excellent! Installed kernel 3.10.7, USB-drives are back! Thanks for your job! |