USB3 devices not working when plugged into USB3 port

Bug #1621598 reported by jMyles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

With 16.04 and an AsRock Fatal1ty Z170 motherboard, I cannot seem to connect USB3 devices to USB3 ports. They work if I plug them into a USB2 port. Also, USB2 devices work if plugged into a USB3 port.

I have read other descriptions of similar phenomena, but typically, USB3 does not work initially, but it is fixed by enabling the IOMMU setting in the BIOS. Unless I'm missing it, I don't seem to have such a setting. I do have "xhci handoff", and I have enabled that.

Excerpt from `lspci -k`:

    00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
    Subsystem: ASRock Incorporation Sunrise Point-H USB 3.0 xHCI Controller
    Kernel driver in use: xhci_hcd

...and `dmesg | grep -e DMAR -e IOMMU`

'''
[ 0.000000] ACPI: DMAR 0x0000000087F59300 000070 (v01 INTEL SKL 00000001 INTL 00000001)
[ 0.101242] DMAR: Host address width 39
[ 0.101243] DMAR: DRHD base: 0x000000fed90000 flags: 0x1
[ 0.101248] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.101249] DMAR: RMRR base: 0x00000087555000 end: 0x00000087574fff
[ 0.101250] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed90000 IOMMU 0
[ 0.101251] DMAR-IR: HPET id 0 under DRHD base 0xfed90000
[ 0.101251] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
[ 0.101252] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
[ 0.102531] DMAR-IR: Enabled IRQ remapping in xapic mode
[ 0.820995] AMD IOMMUv2 driver by Joerg Roedel <email address hidden>
[ 0.820996] AMD IOMMUv2 functionality not available on this system
'''

I have also tried adding `iommu=soft` or `iommu=pt` to my kernel command parameters, and this has not fixed the issue.

I have asked a question about this matter on AskUbuntu, but after two weeks, there has been no activity.

https://askubuntu.com/questions/815416/usb3-devices-not-working-when-plugged-into-usb3-port
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: hubcraft 3708 F.... pulseaudio
 /dev/snd/controlC0: hubcraft 3708 F.... pulseaudio
 /dev/snd/controlC1: hubcraft 3708 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=dda6692b-2db8-4b19-93d3-841d0e1f65aa
InstallationDate: Installed on 2016-08-21 (18 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig:
 lo no wireless extensions.

 enp6s0 no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic root=UUID=baff7a33-6ed5-4bac-a73e-77c0945c9490 ro persistent quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-36-generic N/A
 linux-backports-modules-4.4.0-36-generic N/A
 linux-firmware 1.157.3
RfKill:

Tags: xenial
Uname: Linux 4.4.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 07/06/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P3.20
dmi.board.name: Z170 Gaming K4
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP3.20:bd07/06/2016:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnZ170GamingK4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
jMyles (justin-justinholmes) wrote :
Revision history for this message
jMyles (justin-justinholmes) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1621598

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.8 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc5

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
jMyles (justin-justinholmes) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
jMyles (justin-justinholmes) wrote : CRDA.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : CurrentDmesg.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : JournalErrors.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : Lspci.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : Lsusb.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : ProcEnviron.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : ProcInterrupts.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : ProcModules.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : PulseList.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : UdevDb.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote : WifiSyslog.txt

apport information

Revision history for this message
jMyles (justin-justinholmes) wrote :

It is not easy for me to test with the mainline kernel as I have the AMDGPU drivers installed. Is there a way I can create a live-usb with the mainline kernel and test using that?

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.