You are not logged in.

#1 2015-01-28 12:19:06

friendofarch
Member
Registered: 2013-12-30
Posts: 59

[Solved] Kernel Panic from USB3 ExpressCard

####EDIT###
The problem has been solved by the latest kernel update!

###########


Hi,
I just got a USB 3.0 ExpressCard with a Fresco Logic FL1000G xhci controller.

lspci -v
05:00.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 01) (prog-if 30 [XHCI])
	Subsystem: Fantasia Trading LLC Anker USB 3.0 Express Card
	Physical Slot: 1
	Flags: fast devsel, IRQ 19
	Memory at f3000000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

After first thinking it'd be broken, I found out it works with other USB 3.0 devices.

But with my ext. HDD I get the following kernel message:

dmesg
...
12:37:33 kernel: xhci_hcd 0000:05:00.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
12:37:33 kernel: xhci_hcd 0000:05:00.0: @00000000368b3570 9067b000 00000000 05000000 01078001
...

Now I found this thread from someone having the same problem with a patch. I reckon the patch part to be:

--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -80,6 +80,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
 				"must be suspended extra slowly",
 				pdev->revision);
 		}
+		if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK)
+			xhci->quirks |= XHCI_BROKEN_STREAMS;
 		/* Fresco Logic confirms: all revisions of this chip do not
 		 * support MSI, even though some of them claim to in their PCI
 		 * capabilities.
-- 

I saved this in a file.

My problem is:
I can't find the files to use the patch on! I used "find" and searched the web for it without result...

Anyone has an idea?

Last edited by friendofarch (2015-02-03 13:44:13)

Offline

#2 2015-02-01 19:55:41

friendofarch
Member
Registered: 2013-12-30
Posts: 59

Re: [Solved] Kernel Panic from USB3 ExpressCard

Nobody knows it?

Offline

#3 2015-02-02 11:43:08

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [Solved] Kernel Panic from USB3 ExpressCard

Now I found this thread from someone having the same problem with a patch.

Please give the location of that thread & patch.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2015-02-02 12:00:57

friendofarch
Member
Registered: 2013-12-30
Posts: 59

Re: [Solved] Kernel Panic from USB3 ExpressCard

Lone_Wolf wrote:

Now I found this thread from someone having the same problem with a patch.

Please give the location of that thread & patch.

Oh, I thought I had linked it... Fixed! Thanks!

Offline

#5 2015-02-02 12:36:16

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [Solved] Kernel Panic from USB3 ExpressCard

That patch is intended to be applied to kernel sources.

I checked the sources for kernel 3.18.5 (latest in arch repos) and the patch is present in that version.

If you are already running 3.18.5 , you need to search further.

This looks very much like an USB Attached SCSI (UAS) problem, this thread has lots of info about those problems (and atleast 1 workaround, see post #12 in the thread).


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2015-02-02 13:18:09

friendofarch
Member
Registered: 2013-12-30
Posts: 59

Re: [Solved] Kernel Panic from USB3 ExpressCard

If I get it right, I got the update to 3.18.5 tonight, so I will try the USB port again and see if it is fixed!

Thanks so far!

I'll post if it is solved or not...

Offline

#7 2015-02-02 14:25:59

friendofarch
Member
Registered: 2013-12-30
Posts: 59

Re: [Solved] Kernel Panic from USB3 ExpressCard

OK, no more Kernel panic, but now the file transfer just freezes after about 1-3GB and Nemo too.

Shall I close this thread and start a new one?

Offline

#8 2015-02-03 12:59:07

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [Solved] Kernel Panic from USB3 ExpressCard

I think your original question has indeed been answered, and the file transfer problem should be dealt with separately.

Please add [solved] to the title of the first post.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB