[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

weitere Vorgehensweise zur Lösung des Problems ohne Workaround, Re: hintere USB3 Ports funktionieren nach kurzer Zeit nicht mehr



Am 29.07.2023 um 14:39 schrieb Rolf Reintjes:
Hallo,

ich habe einen Desktop-PC mit Debain 12 bookworm. Seit heute funktionieren kurz nach dem Einloggen die hinteren USB3 Ports nicht mehr. Tastatur und Maus waren daran angeschlossen. Diese funktionierten dann nicht mehr. Ich habe dann ein ssh auf den PC gemacht und die Fehlerursache gesucht. Per ssh konnte ich ganz normal arbeiten. Ich habe dann die Maus und die Tastatur an den vorderen USB-Ports angeschlossen und dort funktioniert alles einwandfrei.

rolf@i7-5820K-debian:/etc$ cat debian_version
12.1

rolf@i7-5820K-debian:~$ uname -a
Linux i7-5820K-debian 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux

Es ist dieses Mainboard: MSI X99A SLI PLUS

rolf@i7-5820K-debian:~$ lspci | grep USB
00:14.0 USB controller: Intel Corporation C610/X99 series chipset USB xHCI Host Controller (rev 05) 00:1a.0 USB controller: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #2 (rev 05) 00:1d.0 USB controller: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #1 (rev 05) 05:00.0 USB controller: VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller (rev 01) 06:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller

dmesg sagt u.a.:
[   89.818921] DMAR: DRHD: handling fault status reg 2
[   89.818933] DMAR: [DMA Read NO_PASID] Request device [05:00.0] fault addr 0xfff96000 [fault reason 0x06] PTE Read access is not set
[   89.819156] DMAR: DRHD: handling fault status reg 102
[   89.819167] DMAR: [DMA Read NO_PASID] Request device [05:00.0] fault addr 0xfff96000 [fault reason 0x06] PTE Read access is not set
[   89.826918] DMAR: DRHD: handling fault status reg 202
[   89.826926] DMAR: [DMA Read NO_PASID] Request device [05:00.0] fault addr 0xfff96000 [fault reason 0x06] PTE Read access is not set
[   89.826932] xhci_hcd 0000:05:00.0: WARNING: Host System Error


Mit google-Suche nach "xhci_hcd 0000:05:00.0: WARNING: Host System Error" habe ich jemanden gefunden, der das gleiche Problem hatte:

https://forum.mechaenetia.com/t/gregs-computer-stuff/127/35

So here is the dmesg output for what happened, just for reference. This happens a few seconds after plugging in ANY device into the Backside Ports. The Device will work, and then this Error will eventually pop up in dmesg and nothing will work on those Ports until after reboot.

[ 204.763891] xhci_hcd 0000:05:00.0: WARNING: Host System Error
[ 204.763934] xhci_hcd 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000f address=0xfeda5000 flags=0x0000]

Turns out this is a Kernel Issue, and I needed to disable “IOMMU” in the UEFI. And now it just works. It was a WTF Bug, but with the power of Linux and looking it up on the Interwebz, I got it fixed.


Im UEFI habe ich bisher noch nichts geändert.

Mit bullseye hatte ich dieses Problem nicht.

Kann mir jemand helfen?

Mit dem Workaround
just disable iommu in bios and add "iommu=soft" in grub commandline
läuft mein PC stabil.

Ich will aber Debian laufen lassen ohne diesen Workaround und das Problem richtig lösen.

Um die Kernelversionsabhängigkeit zu untersuchen, habe ich 3 andere Live-Distributionen getestet und auf einer anderen Festplatte CentOS-Stream 9 installiert. Bei allen lief der PC stabil ohne Probleme. Hier die Versionen:


Via Technologies VL805/806 xHCI USB 3.0 Controller working or not working depended on Linux Kernel version

Distribution                    Kernel                  works or not
Debian 11.x bullseye            5.?                     yes
Debian 12.1 bookworm            6.1.0-10-amd64          no
CentOS-Stream 9                 5.14.0-354.el9.x86_64   yes
Manjaro 22.1.3 20230529         6.1.30-1-MANJARO        yes
Fedora-Workstation 38-1.6       6.2.9-300.fc38.x86_64   yes
Ubuntu 23.04                    6.2.0-20-generic        yes

Was schlagt ihr als nächste Aktion vor?

Soll ich bei bookworm einen backport-Kernel ausprobieren? Ich habe das noch nie gemacht und müsste mich erst mal schlau machen.

Soll ich einen Bugreport schreiben?

Rolf





Reply to: