xhci not loading [SOLVED]

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Fraoch
Level 4
Level 4
Posts: 263
Joined: Thu Apr 26, 2012 6:02 pm
Location: Cambridge, Ontario, Canada

xhci not loading [SOLVED]

Post by Fraoch »

I just upgraded to 16.

Everything seems good except for one big hardware problem - my USB 3.0 ports won't work.

On further investigation, there's an error on boot. dmesg:

Code: Select all

...
[   18.425356] AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.0 domain=0x0015 address=0x00000000bebf4880 flags=0x0010]
[   18.425357] AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.0 domain=0x0015 address=0x00000000bebf4880 flags=0x0010]
[   18.425359] AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.0 domain=0x0015 address=0x00000000bebf4880 flags=0x0010]
[   18.425384] xhci_hcd 0000:02:00.0: init 0000:02:00.0 fail, -110
[   18.425403] xhci_hcd: probe of 0000:02:00.0 failed with error -110
[   18.425450] i8042: PNP: No PS/2 controller found. Probing ports directly.
[   18.425854] serio: i8042 KBD port at 0x60,0x64 irq 1
...
I'm not sure if it's related to the IO_PAGE_FAULT listed just before it or if there's some other reason.

I'm using a Gigabyte 990FXA-UD3 motherboard. These ports worked perfectly in 15.

I've tried to load the module using:

Code: Select all

modprobe xhci-hcd
but it doesn't load:

Code: Select all

$ lsmod | grep hci
ohci_pci               13561  0 
ahci                   25819  4 
libahci                31898  1 ahci
USB 2.0 ports work fine.

Help?
Last edited by Fraoch on Fri Dec 06, 2013 10:01 am, edited 1 time in total.

Fraoch
Level 4
Level 4
Posts: 263
Joined: Thu Apr 26, 2012 6:02 pm
Location: Cambridge, Ontario, Canada

Re: xhci not loading

Post by Fraoch »

Well it turned out this was more than just USB 3.0 ports. I was getting various hardware problems as well - the "sensors-detect" script caused LM to crash as it probed sensor chips and I was getting long boot times, probably because of all the errors.

I couldn't help but think the IO_PAGE_FAULT error was related so I googled it and found this:

https://bugzilla.redhat.com/show_bug.cgi?id=889749

AHA!! I've had to deal with IOMMU on this motherboard before. LM 15 and earlier required IOMMU to be enabled in order to use the USB ports and the onboard Ethernet controller. I had it enabled and it didn't cause any issues earlier. If I had to disable it, I'd have to enable it at the kernel level instead:

http://ubuntuforums.org/showthread.php?t=2111223&page=4

https://www.kernel.org/doc/Documentatio ... ptions.txt
x86_64 kernel documentation wrote:General iommu options:
...
soft Use software bounce buffering (SWIOTLB) (default for
Intel machines). This can be used to prevent the usage
of an available hardware IOMMU.
Enabled iommu-soft, disabled IOMMU in the BIOS and everything is fine now! :D I guess new kernels need it disabled in the BIOS and enabled in the boot options.

I'm using a Gigabyte GA-990FXA-UD3 motherboard. I believe this issue is present in all motherboards with an AMD 9-series chipset, that Red Hat bug I posted was on an ASUS board. Apparently it requires a BIOS fix which isn't forthcoming from the manufacturers.

I'm marking this thread as solved but putting this here in case it helps anyone else out.

Wonder
Level 5
Level 5
Posts: 646
Joined: Wed Jul 11, 2012 8:09 pm

Re: xhci not loading [SOLVED]

Post by Wonder »

Fraoch, thank you very much for your post!!!!!!

I have the same issue, yesterday, I change my motherboard and my new motherboard is the same that you, Gigabyte GA-990FXA-UD3.

I have the same issue, usb3.0 not work if enable IOMMU, but if disable IOMMU not work pci, lan, usb...

After read your post I solved the issue! Fantastic!!!

Thank you!!!!!!!!!!!

Fraoch
Level 4
Level 4
Posts: 263
Joined: Thu Apr 26, 2012 6:02 pm
Location: Cambridge, Ontario, Canada

Re: xhci not loading [SOLVED]

Post by Fraoch »

Good that this helped you, but for me, the last few upgrades to LM made USB 3.0 operation quite problematic no matter what IOMMU setting I used. USB 3.0 would work for a few seconds or minutes, but on transfers it would drop the USB 3.0 device.

This got so frustrating I switched to Intel. I haven't had a single issue with the USB 3.0 controller built into the Intel Z97 chipset.

Wonder
Level 5
Level 5
Posts: 646
Joined: Wed Jul 11, 2012 8:09 pm

Re: xhci not loading [SOLVED]

Post by Wonder »

Ups, when I read your post I made differents tests with USB 3.0.
Only I can test my port usb 3.0 with pens 2.0 and works fine, transfers about 2 gb and transfer well.
Tomorrow I test with a pen3.0 in port 3.0.
I think that, the problem isn't in the motherboard, but is with chipset of usb 3.0, the chipset of usb 3.0 in this motherboard is VIA.
If I can the sames issues that you, I change my motherboard, but it is a shame that a motherboard of this quality, problems with linux mint.

Regards.

Fraoch
Level 4
Level 4
Posts: 263
Joined: Thu Apr 26, 2012 6:02 pm
Location: Cambridge, Ontario, Canada

Re: xhci not loading [SOLVED]

Post by Fraoch »

Wonder wrote:I think that, the problem isn't in the motherboard, but is with chipset of usb 3.0, the chipset of usb 3.0 in this motherboard is VIA.
Yes, it's because the AMD chipsets are so old they don't support USB 3.0 so they require 3rd party USB 3.0 controllers. I had a motherboard with an ASMedia USB 3.0 controller that wouldn't work with USB 3.0 at all. This one worked, then didn't, then did, then didn't.

I would bet that AMD's more modern chipsets for FM2+ with native USB 3.0 support probably work just fine.

Post Reply

Return to “Hardware Support”