Bug 1164945 - UAS driver crashes system with Seagate USB 3.0 drive and Fresco Logic FL1000G controller
Summary: UAS driver crashes system with Seagate USB 3.0 drive and Fresco Logic FL1000G...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-17 22:39 UTC by Marcin Zajaczkowski
Modified: 2014-12-22 02:32 UTC (History)
8 users (show)

Fixed In Version: kernel-3.17.7-300.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-21 06:36:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
System log (4.04 KB, text/plain)
2014-11-17 22:39 UTC, Marcin Zajaczkowski
no flags Details
3 patches adding uas / xhci quirks resolving this bug (1.79 KB, application/octet-stream)
2014-12-08 09:41 UTC, Hans de Goede
no flags Details

Description Marcin Zajaczkowski 2014-11-17 22:39:40 UTC
Created attachment 958375 [details]
System log

Description of problem:
USB 3.0 drive (Seagate Backup+ 1TB) stopped working when plugged into USB 3.0 port after upgrade to Fedora 21 Beta RC2 (3.17.2-300.fc21.x86_64?) and still apply with 3.17.3-300.fc21.x86_64.

kernel: xhci_hcd 0000:04:00.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
kernel: xhci_hcd 0000:04:00.0: @0000000241eec570 11979000 00000002 05000000 01078001

What is more after plug in a drive second time system crashes:

kernel: kernel BUG at block/blk-core.c:2565!
-- Reboot --

Full log as an attachment.

Version-Release number of selected component (if applicable):
kernel-3.17.3-300.fc21.x86_64

How reproducible:
Always

Steps to Reproduce (disk does not work):
1. Insert USB 3.0 drive into USB 3.0 port

Actual results:
A led on a drive is off. Errors in a system log.

Expected results:
A drive is enabled and partitions can be mounted.


Steps to Reproduce (system crash):
1. Insert USB 3.0 drive into USB 3.0 port (doesn't work)
2. Remove USB 3.0 drive/plug
3. Insert USB 3.0 drive into USB 3.0 port (crashes)

Actual results:
System crashes. Even Caps lock led doesn't work.

Expected results:
A drive is enabled and partitions can be mounted.


Additional info:
With the same computer everything worked fine on Fedora 19.
The same disk works fine (only slower) when connected through USB 2.0 port.

Comment 1 Marcin Zajaczkowski 2014-11-17 22:42:51 UTC
Asus N43SN.

$ lspci | grep USB
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
04:00.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 04)

Comment 2 Marcin Zajaczkowski 2014-12-05 22:02:56 UTC
After discussion on the linux-usb mailing list [1] it seems there are problems with both Seagate Backup+ drive and Fresco Logic FL1000G controller when UAS driver is used.

As a workaround:
> options usb-storage quirks=vendorId:productId:u

can be added to (for example) /etc/modprobe.d/ignore_uas.conf to make the drive work again with USB 3.0 port.

Hans de Goede sent patches to disable UAS for them upstream.

[1] - http://thread.gmane.org/gmane.linux.usb.general/119107

Comment 3 Hans de Goede 2014-12-08 09:40:18 UTC
Hi all,

I'm about to attach the 2 quirk patches I've send upstream for this + a 3th quirk for another model uas enclosure while we're at it.

Josh all 3 patches have been sent upstream, can you add them to the Fedora kernels until they trickle down through upstream please ?

Thanks & Regards,

Hans

Comment 4 Hans de Goede 2014-12-08 09:41:41 UTC
Created attachment 965733 [details]
3 patches adding uas / xhci quirks resolving this bug

Comment 5 Josh Boyer 2014-12-10 19:14:03 UTC
(In reply to Hans de Goede from comment #3)
> Hi all,
> 
> I'm about to attach the 2 quirk patches I've send upstream for this + a 3th
> quirk for another model uas enclosure while we're at it.
> 
> Josh all 3 patches have been sent upstream, can you add them to the Fedora
> kernels until they trickle down through upstream please ?

Applied!  Thanks much.

Comment 6 Fedora Update System 2014-12-17 19:02:01 UTC
kernel-3.17.7-300.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/kernel-3.17.7-300.fc21

Comment 7 Fedora Update System 2014-12-17 19:03:56 UTC
kernel-3.17.7-200.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.17.7-200.fc20

Comment 8 Fedora Update System 2014-12-19 18:31:24 UTC
Package kernel-3.17.7-200.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.17.7-200.fc20'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17283/kernel-3.17.7-200.fc20
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2014-12-21 06:36:18 UTC
kernel-3.17.7-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-12-22 02:32:32 UTC
kernel-3.17.7-300.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.