Hello, first time posting here after a few years of getting valuable information from this forum.
After updating my old hardware (MSI 970A-G45) to PVE8.2 my Coral TPU stopped working. I've narrowed the problem down to USB2 not working from kernel 6.1.10-1-pve onwards [EDIT: 5.19.7-1-pve onwards]. Using kernel 5.15.149-1-pve it still works. I tested it with the Coral, a USB2 memory stick and a USB3 to SATA converter (plugged into random USB2 ports).
USB3 works fine, other than the usual pass-through problem that's not in the scope of this problem.
I would like some help how to proceed troubleshooting. Here is some relevant information:
Kernel command line parameters:
Dmesg in working kernel 5.15.149-1-pve:
After plugging in usb:
Dmesg in kernel 6.1.10-1-pve:
After plugging in usb:
I'm happy to provide more information. Thanks in advance!
After updating my old hardware (MSI 970A-G45) to PVE8.2 my Coral TPU stopped working. I've narrowed the problem down to USB2 not working from kernel 6.1.10-1-pve onwards [EDIT: 5.19.7-1-pve onwards]. Using kernel 5.15.149-1-pve it still works. I tested it with the Coral, a USB2 memory stick and a USB3 to SATA converter (plugged into random USB2 ports).
USB3 works fine, other than the usual pass-through problem that's not in the scope of this problem.
I would like some help how to proceed troubleshooting. Here is some relevant information:
Kernel command line parameters:
Bash:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=off amd_iommu=on iommu=soft libata.force=noncq pcie_aspm.policy=performance usbcore.autosuspend=-1"
Dmesg in working kernel 5.15.149-1-pve:
After plugging in usb:
Bash:
[ 188.284215] usb 2-3: new high-speed USB device number 2 using ehci-pci
[ 188.441437] usb 2-3: New USB device found, idVendor=1a6e, idProduct=089a, bcdDevice= 1.00
[ 188.441450] usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 197.151682] usb 2-3: USB disconnect, device number 2
Bash:
# dmesg | grep usb
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.15.149-1-pve root=ZFS=/ROOT/pve-1 ro root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=off amd_iommu=on iommu=soft libata.force=noncq pcie_aspm.policy=performance usbcore.autosuspend=-1
[ 0.115525] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.149-1-pve root=ZFS=/ROOT/pve-1 ro root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=off amd_iommu=on iommu=soft libata.force=noncq pcie_aspm.policy=performance usbcore.autosuspend=-1
[ 0.496951] usbcore: registered new interface driver usbfs
[ 0.496951] usbcore: registered new interface driver hub
[ 0.496951] usbcore: registered new device driver usb
[ 1.706212] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.706217] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.706219] usb usb1: Product: EHCI Host Controller
[ 1.706222] usb usb1: Manufacturer: Linux 5.15.149-1-pve ehci_hcd
[ 1.706224] usb usb1: SerialNumber: 0000:00:12.2
[ 1.711380] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.711384] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.711387] usb usb2: Product: xHCI Host Controller
[ 1.711389] usb usb2: Manufacturer: Linux 5.15.149-1-pve xhci-hcd
[ 1.711391] usb usb2: SerialNumber: 0000:02:00.0
[ 1.711981] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.712019] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.712022] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.712025] usb usb3: Product: xHCI Host Controller
[ 1.712027] usb usb3: Manufacturer: Linux 5.15.149-1-pve xhci-hcd
[ 1.712029] usb usb3: SerialNumber: 0000:02:00.0
[ 1.726196] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.726199] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.726203] usb usb4: Product: EHCI Host Controller
[ 1.726205] usb usb4: Manufacturer: Linux 5.15.149-1-pve ehci_hcd
[ 1.726207] usb usb4: SerialNumber: 0000:00:13.2
[ 1.742191] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.742196] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.742199] usb usb5: Product: EHCI Host Controller
[ 1.742201] usb usb5: Manufacturer: Linux 5.15.149-1-pve ehci_hcd
[ 1.742203] usb usb5: SerialNumber: 0000:00:16.2
[ 2.294245] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 2.294250] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.294252] usb usb6: Product: OHCI PCI host controller
[ 2.294254] usb usb6: Manufacturer: Linux 5.15.149-1-pve ohci_hcd
[ 2.294255] usb usb6: SerialNumber: 0000:00:12.0
[ 2.358237] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 2.358240] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.358243] usb usb7: Product: OHCI PCI host controller
[ 2.358244] usb usb7: Manufacturer: Linux 5.15.149-1-pve ohci_hcd
[ 2.358245] usb usb7: SerialNumber: 0000:00:13.0
[ 2.422213] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 2.422217] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.422219] usb usb8: Product: OHCI PCI host controller
[ 2.422221] usb usb8: Manufacturer: Linux 5.15.149-1-pve ohci_hcd
[ 2.422222] usb usb8: SerialNumber: 0000:00:14.5
[ 2.486218] usb usb9: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[ 2.486222] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.486224] usb usb9: Product: OHCI PCI host controller
[ 2.486226] usb usb9: Manufacturer: Linux 5.15.149-1-pve ohci_hcd
[ 2.486227] usb usb9: SerialNumber: 0000:00:16.0
Dmesg in kernel 6.1.10-1-pve:
After plugging in usb:
Bash:
[ 74.896322] usb 2-3: new high-speed USB device number 2 using ehci-pci
[ 75.011321] usb 2-3: device descriptor read/64, error -32
[ 75.228330] usb 2-3: device descriptor read/64, error -32
[ 75.452243] usb 2-3: new high-speed USB device number 3 using ehci-pci
[ 75.566260] usb 2-3: device descriptor read/64, error -32
[ 75.788262] usb 2-3: device descriptor read/64, error -32
[ 75.897291] usb usb2-port3: attempt power cycle
[ 76.075639] usb 2-3: new high-speed USB device number 4 using ehci-pci
[ 76.489252] usb 2-3: device not accepting address 4, error -32
[ 76.603331] usb 2-3: new high-speed USB device number 5 using ehci-pci
[ 77.017339] usb 2-3: device not accepting address 5, error -32
[ 77.017394] usb usb2-port3: unable to enumerate USB device
[ 77.265340] usb 7-3: new full-speed USB device number 2 using ohci-pci
[ 77.405339] usb 7-3: device descriptor read/64, error -32
[ 77.653344] usb 7-3: device descriptor read/64, error -32
[ 77.897348] usb 7-3: new full-speed USB device number 3 using ohci-pci
[ 78.037347] usb 7-3: device descriptor read/64, error -32
[ 78.286265] usb 7-3: device descriptor read/64, error -32
[ 78.394317] usb usb7-port3: attempt power cycle
[ 78.616258] usb 2-3: new high-speed USB device number 6 using ehci-pci
[ 78.732286] usb 2-3: device descriptor read/64, error -32
[ 78.957276] usb 2-3: device descriptor read/64, error -32
[ 79.180524] usb 2-3: new high-speed USB device number 7 using ehci-pci
[ 79.295257] usb 2-3: device descriptor read/64, error -32
[ 79.516268] usb 2-3: device descriptor read/64, error -32
[ 79.625285] usb usb2-port3: attempt power cycle
[ 79.803268] usb 2-3: new high-speed USB device number 8 using ehci-pci
[ 80.217315] usb 2-3: device not accepting address 8, error -32
[ 80.331276] usb 2-3: new high-speed USB device number 9 using ehci-pci
[ 80.745378] usb 2-3: device not accepting address 9, error -32
[ 80.745432] usb usb2-port3: unable to enumerate USB device
[ 80.992371] usb 7-3: new full-speed USB device number 5 using ohci-pci
Bash:
# dmesg | grep usb
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.1.10-1-pve root=ZFS=/ROOT/pve-1 ro root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=off amd_iommu=on iommu=soft libata.force=noncq pcie_aspm.policy=performance usbcore.autosuspend=-1
[ 0.115425] Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.10-1-pve root=ZFS=/ROOT/pve-1 ro root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=off amd_iommu=on iommu=soft libata.force=noncq pcie_aspm.policy=performance usbcore.autosuspend=-1
[ 0.481567] usbcore: registered new interface driver usbfs
[ 0.481567] usbcore: registered new interface driver hub
[ 0.481567] usbcore: registered new device driver usb
[ 1.855840] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 1.855844] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.855846] usb usb1: Product: EHCI Host Controller
[ 1.855848] usb usb1: Manufacturer: Linux 6.1.10-1-pve ehci_hcd
[ 1.855849] usb usb1: SerialNumber: 0000:00:12.2
[ 1.861834] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 1.861838] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.861841] usb usb2: Product: xHCI Host Controller
[ 1.861843] usb usb2: Manufacturer: Linux 6.1.10-1-pve xhci-hcd
[ 1.861845] usb usb2: SerialNumber: 0000:02:00.0
[ 1.862473] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.862512] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[ 1.862516] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.862519] usb usb3: Product: xHCI Host Controller
[ 1.862521] usb usb3: Manufacturer: Linux 6.1.10-1-pve xhci-hcd
[ 1.862523] usb usb3: SerialNumber: 0000:02:00.0
[ 1.879360] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 1.879364] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.879367] usb usb4: Product: EHCI Host Controller
[ 1.879368] usb usb4: Manufacturer: Linux 6.1.10-1-pve ehci_hcd
[ 1.879370] usb usb4: SerialNumber: 0000:00:13.2
[ 1.899415] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 1.899418] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.899422] usb usb5: Product: EHCI Host Controller
[ 1.899424] usb usb5: Manufacturer: Linux 6.1.10-1-pve ehci_hcd
[ 1.899427] usb usb5: SerialNumber: 0000:00:16.2
[ 2.471368] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[ 2.471374] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.471376] usb usb6: Product: OHCI PCI host controller
[ 2.471378] usb usb6: Manufacturer: Linux 6.1.10-1-pve ohci_hcd
[ 2.471379] usb usb6: SerialNumber: 0000:00:12.0
[ 2.535370] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[ 2.535374] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.535377] usb usb7: Product: OHCI PCI host controller
[ 2.535378] usb usb7: Manufacturer: Linux 6.1.10-1-pve ohci_hcd
[ 2.535380] usb usb7: SerialNumber: 0000:00:13.0
[ 2.599301] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[ 2.599306] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.599309] usb usb8: Product: OHCI PCI host controller
[ 2.599311] usb usb8: Manufacturer: Linux 6.1.10-1-pve ohci_hcd
[ 2.599312] usb usb8: SerialNumber: 0000:00:14.5
[ 2.663359] usb usb9: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[ 2.663363] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.663366] usb usb9: Product: OHCI PCI host controller
[ 2.663367] usb usb9: Manufacturer: Linux 6.1.10-1-pve ohci_hcd
[ 2.663368] usb usb9: SerialNumber: 0000:00:16.0
I'm happy to provide more information. Thanks in advance!
Last edited: