You are not logged in.
Hi Arch users.
Just upgrade my old mobo to a Gigabyte GA-970 Gaming rev 1.1, after upgrade the usb input devices (mouse and keyboard) does not work anymore.
Found this thread that seems to solve the problem. (Thanks @Ambrevar).
The question is the same as Ambrevar does, there's no polite solution for that yet?
New motherboad, new BIOS, new kernel...and old problems?
http://i.imgur.com/d5Swu1W.jpg
moderator edit: Removed image tags on over sized image
Last edited by ewaller (2016-12-17 17:26:09)
Desktop: Manjaro Linux x64 - Windows 10 x64
Laptop: Lenovo Chromebook 100e Gen3
Offline
https://wiki.archlinux.org/index.php/Co … s_and_code
Are they connected on usb3? It there usb2 to test?
Check your bios_uefi configuration.
Usually at these errors (from my experience) there is bad pin connection.
EDIT: On second thought, try to boot with (fallback initramfs) and if don't see these errors, just update mkinitcpio
Last edited by alex.theoto (2016-12-17 12:24:06)
Offline
iommu=soft is not the end of the world, it's how most Intel systems have always worked. See if iommu=memaper=2 makes any difference. Post dmesg |egrep -i '(iommu)|(agp)|(gart)' .
Offline
Hello!
Sorry for the late reply and thanks for moderator edit about how to post images. but i read the wiki, almost.
@alex.theoto - They are connected to normal USB ports (1.1 - 2.0), no bad pin because they work normally on other O.S. even on BIOS. BIOS iommu is DISABLED (default).
@mich41 - The parameter iommu=memaper=2 seems to works fine. Below the output of the command:
[root@LUCKY ~]# dmesg | egrep -i '(iommu)|(agp)|(gart)'
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d5ba7a26-2736-47d6-9238-7f309342d36b rw resume=UUID=d5ba7a26-2736-47d6-9238-7f309342d36b resume_offset=208896 quiet iommu=memaper=2
[ 0.000000] AGP: No AGP bridge found
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d5ba7a26-2736-47d6-9238-7f309342d36b rw resume=UUID=d5ba7a26-2736-47d6-9238-7f309342d36b resume_offset=208896 quiet iommu=memaper=2
[ 0.000000] AGP: Checking aperture...
[ 0.000000] AGP: Node 0: aperture [bus addr 0xf8000000-0xfbffffff] (64MB)
[ 0.000000] AGP: Your BIOS doesn't leave an aperture memory hole
[ 0.000000] AGP: Please enable the IOMMU option in the BIOS setup
[ 0.000000] AGP: This costs you 128MB of RAM
[ 0.000000] AGP: Mapping aperture over RAM [mem 0xb0000000-0xb7ffffff] (131072KB)
[ 1.559218] PCI-DMA: Disabling AGP.
[ 1.559392] PCI-DMA: using GART IOMMU.
[ 1.559395] PCI-DMA: Reserving 128MB of IOMMU area in the AGP aperture
[ 1.631781] Linux agpgart interface v0.103
[ 2.933333] vboxpci: IOMMU not found (not registered)
[ 3.186690] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[ 3.186692] AMD IOMMUv2 functionality not available on this system
[ 3.193869] [drm] GART: num cpu pages 2097152, num gpu pages 2097152
[ 3.195058] [drm] PCIE GART of 8192M enabled (table at 0x0000000000040000).
The boot with iommu=soft:
_____________________________________
< I think, therefore I am... I think. >
-------------------------------------
\
\
^__^
_______/(oo)
/\/( /(__)
| W----|| |~|
|| || |~| ~~
|~| ~
|_| o
|#|/
_+#+_
[alemar@LUCKY ~]$ sudo dmesg | egrep -i '(iommu)|(agp)|(gart)'
[sudo] password for alemar:
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d5ba7a26-2736-47d6-9238-7f309342d36b rw resume=UUID=d5ba7a26-2736-47d6-9238-7f309342d36b resume_offset=208896 quiet iommu=soft
[ 0.000000] AGP: No AGP bridge found
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d5ba7a26-2736-47d6-9238-7f309342d36b rw resume=UUID=d5ba7a26-2736-47d6-9238-7f309342d36b resume_offset=208896 quiet iommu=soft
[ 1.638361] Linux agpgart interface v0.103
[ 2.951803] vboxpci: IOMMU not found (not registered)
[ 3.195050] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[ 3.195052] AMD IOMMUv2 functionality not available on this system
[ 3.202880] [drm] GART: num cpu pages 2097152, num gpu pages 2097152
[ 3.204608] [drm] PCIE GART of 8192M enabled (table at 0x0000000000040000).
After some tests i found the option IOMMU is disabled in BIOS, when i enable it and remove any iommu boot parameter, we got:
[alemar@LUCKY ~]$ sudo dmesg | egrep -i '(iommu)|(agp)|(gart)'
[ 0.000000] AGP: No AGP bridge found
[ 0.000000] AGP: Checking aperture...
[ 0.000000] AGP: No AGP bridge found
[ 0.000000] AGP: Node 0: aperture [bus addr 0xf8000000-0xfbffffff] (64MB)
[ 1.646520] iommu: Adding device 0000:00:00.0 to group 0
[ 1.646591] iommu: Adding device 0000:00:02.0 to group 1
[ 1.646656] iommu: Adding device 0000:00:09.0 to group 2
[ 1.646723] iommu: Adding device 0000:00:11.0 to group 3
[ 1.646798] iommu: Adding device 0000:00:12.0 to group 4
[ 1.646810] iommu: Adding device 0000:00:12.2 to group 4
[ 1.646882] iommu: Adding device 0000:00:13.0 to group 5
[ 1.646894] iommu: Adding device 0000:00:13.2 to group 5
[ 1.646994] iommu: Adding device 0000:00:14.0 to group 6
[ 1.647074] iommu: Adding device 0000:00:14.2 to group 7
[ 1.647139] iommu: Adding device 0000:00:14.3 to group 8
[ 1.647207] iommu: Adding device 0000:00:14.4 to group 9
[ 1.647277] iommu: Adding device 0000:00:14.5 to group 10
[ 1.647353] iommu: Adding device 0000:00:15.0 to group 11
[ 1.647368] iommu: Adding device 0000:00:15.1 to group 11
[ 1.647440] iommu: Adding device 0000:00:16.0 to group 12
[ 1.647455] iommu: Adding device 0000:00:16.2 to group 12
[ 1.647555] iommu: Adding device 0000:01:00.0 to group 13
[ 1.647579] iommu: Adding device 0000:01:00.1 to group 13
[ 1.647653] iommu: Adding device 0000:02:00.0 to group 14
[ 1.647661] iommu: Adding device 0000:03:07.0 to group 9
[ 1.647671] iommu: Adding device 0000:04:00.0 to group 11
[ 1.647680] iommu: Adding device 0000:05:00.0 to group 11
[ 1.725689] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
[ 1.795705] Linux agpgart interface v0.103
[ 3.657270] vboxpci: IOMMU found
[ 3.832366] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[ 3.832367] AMD IOMMUv2 functionality not available on this system
[ 3.852536] [drm] GART: num cpu pages 2097152, num gpu pages 2097152
[ 3.854117] [drm] PCIE GART of 8192M enabled (table at 0x0000000000040000).
[alemar@LUCKY ~]$
Looks the right choice, what do you think?
I have one notice! It needs a hard poweroff to get this, plug off the jack and wait about 2 minutes to power on the machine, (just changing the parameters in BIOS and KERNEL and rebooting lead to errors).
But, we got some messages at the boot:
http://imgur.com/a/5RV0B
Thank you guys: VirtualBox working with IOMMU.
The basic answer is: Enable iommu in BIOS. Arch Linux handles it, the Best well compiled kernel ever.
Sorry my bad english.
The errors persist, but iommu and the devices works (vbox too): i use 1 normal usb mouse - 1 usb keyboard - 1 usb wireless 2.0 - 1 cell phone sometimes (need to unplug en plgugged it).
Not solved yet.
Last edited by lopanrs (2016-12-20 09:20:14)
Desktop: Manjaro Linux x64 - Windows 10 x64
Laptop: Lenovo Chromebook 100e Gen3
Offline
Not solved yet.
Confused.
So what still doesn't work yet and what boot params are you using?
Offline
I also need to enable iommu in UEFI on my Gigabyte 970A-UD3 (Rev 3.0). Otherwise no USB device will work, no matter if USB 2 or 3.
Error: usb x-y: device descriptor read/64, error -32
I just noticed because my PS died and my UEFI settings have been reset. As iommu is disabled by default and I did not remember having it enabled before (???) it drove me almost mad.
I have not set any kernel parameters by myself and running the default ARCH kernel (4.8.13-1 by today).
Offline
Hi!
Sorry the late reply.
No boot parameter and iommu enabled in UEFI (USB3 does not work):
[ 1.927674] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 5
[ 22.073856] xhci_hcd 0000:05:00.0: can't setup: -110
[ 22.073935] xhci_hcd 0000:05:00.0: USB bus 5 deregistered
[ 22.073979] xhci_hcd 0000:05:00.0: init 0000:05:00.0 fail, -110
[ 22.074074] xhci_hcd: probe of 0000:05:00.0 failed with error -110
[ 24.033021] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x000e address=0x000000f400406c80 flags=0x0010]
[ 24.033022] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x000e address=0x000000f400406ac0 flags=0x0010]
iommu enable in UEFI and boot parameter iommu=pt seems to solve the problem:
[ 1.656044] iommu: Using direct mapping for device 0000:02:00.0
[ 1.656051] iommu: Adding device 0000:03:07.0 to group 9
[ 1.656061] iommu: Adding device 0000:04:00.0 to group 11
[ 1.656070] iommu: Adding device 0000:05:00.0 to group 11
[root@LUCKY ~]# lsmod | grep xhc
xhci_pci 16384 0
xhci_hcd 172032 1 xhci_pci
usbcore 208896 10 ath9k_htc,usbhid,usb_storage,ehci_hcd,ohci_pci,xhci_pci,uas,ohci_hcd,xhci_hcd,ehci_pci
[root@LUCKY ~]# lsmod | grep iom
amd_iommu_v2 20480 1 amdkfd
Found it here: https://bbs.archlinux.org/viewtopic.php?id=167838
Thanks.
Desktop: Manjaro Linux x64 - Windows 10 x64
Laptop: Lenovo Chromebook 100e Gen3
Offline