Installing QubesOS 4.3.2 on Aoostar WTR Max crashes at point of sys-usb startup, does not seem to recognize USB HW

Found this interesting performance NAS and installed QubesOS 4.3.2. Only issue was a crash at the point of starting the normal auto start sys-vm’s. After restarting with qubes.skip_autostart inserted into grub it finished the install and curiously this time it simply killed the auto start of sys-usb. Once I was logged in I removed the usb devices and sys-usb starts fine however without isolating usb from dom0. Happens with both 6.19 kernel and 7.2 The devices that seem to be causing the issue are labled as:

00:08.1-00.00.3 PCI_USB: Advanced Micro Devices, Inc. [AMD] unknown pci device

00:08.1-00.00.4 PCI_USB: Advanced Micro Devices, Inc. [AMD] unknown pci device

00:08.3-00.00.3 PCI_USB: Advanced Micro Devices, Inc. [AMD] unknown pci device

00:08.3-00.00.4 PCI_USB: Advanced Micro Devices, Inc. [AMD] unknown pci device

Interesting enough it does work with:

00:08.3-00.00.5 PCI_USB: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller.

Also I installed Bazzite with all devices showing and accessible.

What has be stumped is that the usb devices work in dom0 alas not isolated yet both dom0 and sys-vm’s are fedora based and use 7.2 kernel. Thoughts on direction to troubleshoot?

Thankyou in advance

Edit: So a small update/clarification, the 00.08.1-00.003 devices are the rear facing USB3 and USB4/Thunderbolt port controller along with the Pink Sardine controller. They work correctly to isolate dom0 into the sys-usb, however upon adding the (2) 00:08.3 PCI_USB entries it crashes whole system and reboots. Manually starting the sys-usb shows it never fully starts. Even leaving only those 2 as only devices crashes the system. Have no idea what is going on since as far as I can ell they use same drivers.

Even tried 2 sys-usb to separate working from not, same results.

Link to product page:

Attraction for this item:

(6) 3.5 sata bays

(5) NVME ports albeit 3 are x2 and 2 are x1

Powerful Ryzen 7 Pro 8845HS with M780 igpu

USB 3 and 4 w/Thunderbolt

1 x Oculink for external GPU dock

(2) 10Gb LAN (Intel 82599); (2) 2.5 Gb LAN (Intel I226v)

HDMI and DP displays

Issues that mention thunderbolt, and more specifically in the title.

Thanks ben-grande for the direction, I looked again and do not see anything that is close to the same issue.

I am working on gathering logs to dig into it.

It does not seem to be related too thunderbolt in that I have separated the devices too a sys-usb that works and one that does not. Seems to be 2 different “hubs”, what is odd is too me all 4 use the same driver.

As I dig around any direction on useful logs, I imagine the journl and sys-usb vm log.

Also any useful probes to dicover the USB layout.

lsusb

So here is what I have been able too gather, first is both as a live CD and as a install fedora 44 recognizes and fully works.

I have searched the vm console vm console logs and it appears the crash takes out the system before the vm starts and writes anything. I tried the following:

Causes an instant reset (no panic text, no guest log created):
- 03:00.3 (1022:15c0), 03:00.4 (1022:15c1), behind 00:08.3
- Happens at qvm-start, even with only these two devices attached to a fresh VM
- Same result with and without no-strict-reset
- Same result with Xen options: console=vga noreboot sync_console loglvl=all guest_loglvl=all
- Disabling USB4 in the BIOS made no difference

Other observations:
- xl dmesg: "AMD-Vi: IOMMU 0 Enabled", no errors or faults
- dom0 shows a single IOMMU group; Fedora live shows ~20
- Unbinding 03:00.3 from xhci_hcd works. Then xl pci-assignable-add warns, the device is listed but has no driver, a manual pciback bind returns EBUSY, and xl pci-assignable-remove fails with "failed to de-quarantine"
- With iommu=no-quarantine on the Xen command line, pciback binds normally, but qvm-start still resets the machine
- The 03:00.3 sysfs folder appears to have no reset_method file (not fully confirmed against 01:00.3)
 lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Root Complex [1022:14e8]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Phoenix Root Complex [1022:14e8]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Phoenix IOMMU [1022:14e9]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Phoenix IOMMU [1022:14e9]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ed]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ed]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ed]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ed]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ee]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ee]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:02.5 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ee]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:02.6 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix GPP Bridge [1022:14ee]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14ef]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Host Bridge [1022:14ea]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
	Kernel driver in use: pcieport
00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
	Kernel driver in use: pcieport
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
	Subsystem: Advanced Micro Devices, Inc. [AMD] Phoenix Internal GPP Bridge to Bus [C:A] [1022:14eb]
	Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b]
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 0 [1022:14f0]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 1 [1022:14f1]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 2 [1022:14f2]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 3 [1022:14f3]
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 4 [1022:14f4]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 5 [1022:14f5]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 6 [1022:14f6]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Phoenix Data Fabric; Function 7 [1022:14f7]
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] HawkPoint1 [1002:1900] (rev d5)
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:0124]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Radeon High Definition Audio Controller [Rembrandt/Strix] [1002:1640]
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Radeon High Definition Audio Controller [Rembrandt/Strix] [1002:1640]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
01:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Phoenix CCP/PSP 3.0 Device [1022:15c7]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Phoenix CCP/PSP 3.0 Device [1022:15c7]
	Kernel driver in use: ccp
	Kernel modules: ccp
01:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b9]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:15b9]
	Kernel driver in use: pciback
	Kernel modules: xhci_pci
01:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15ba]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:15b9]
	Kernel driver in use: pciback
	Kernel modules: xhci_pci
01:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] Audio Coprocessor [1022:15e2] (rev 63)
	Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0000]
	Kernel driver in use: snd_pci_ps
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_pci_ps, snd_pci_acp7x, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63, snd_sof_amd_acp70
01:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller [1022:15e3]
	DeviceName: Realtek ALC256
	Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0000]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
02:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Function [1022:14ec]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Function [1022:14ec]
02:00.1 Signal processing controller [1180]: Advanced Micro Devices, Inc. [AMD] AMD IPU Device [1022:1502]
	Subsystem: Advanced Micro Devices, Inc. [AMD] AMD IPU Device [1022:1502]
03:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Function [1022:14ec]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Phoenix Dummy Function [1022:14ec]
03:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15c0]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:15c0]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
03:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15c1]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:15c1]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
03:00.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #1 [1022:1668]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #1 [1022:1668]
	Kernel driver in use: pciback
	Kernel modules: thunderbolt
64:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 02)
	Subsystem: Device [1f69:0316]
	Kernel driver in use: pciback
	Kernel modules: i40e
64:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 02)
	Subsystem: Device [1f69:0000]
	Kernel driver in use: pciback
	Kernel modules: i40e
66:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I226-V [8086:125c] (rev 04)
	Subsystem: Intel Corporation Device [8086:0000]
	Kernel driver in use: pciback
	Kernel modules: igc
67:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I226-V [8086:125c] (rev 04)
	Subsystem: Intel Corporation Device [8086:0000]
	Kernel driver in use: pciback
	Kernel modules: igc
68:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1166 Serial ATA Controller [1b21:1166] (rev 02)
	Subsystem: ASMedia Technology Inc. Device [1b21:2116]
	Kernel driver in use: ahci
	Kernel modules: ahci
69:00.0 Non-Volatile memory controller [0108]: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602 (DRAM-less) [1e4b:1602] (rev 01)
	Subsystem: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602 (DRAM-less) [1e4b:1602]
	Kernel driver in use: nvme
	Kernel modules: nvme
6b:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller S4LV008[Pascal] [144d:a80c]
	Subsystem: Samsung Electronics Co Ltd SSD 990 PRO [144d:a801]
	Kernel driver in use: nvme
	Kernel modules: nvme
6c:00.0 Non-Volatile memory controller [0108]: Silicon Motion, Inc. SM2268XT (DRAM-less) NVMe SSD Controller [126f:2268] (rev 03)
	DeviceName: Realtek
	Subsystem: Silicon Motion, Inc. SM2268XT (DRAM-less) NVMe SSD Controller [126f:2268]
	Kernel driver in use: nvme
	Kernel modules: nvme

Solution! With the help of Opus 5.5 I figured this out. The root issue was found from several posts around Framework laptops and AM5 boards.

qubes-issues #8794 – sys-usb panics on Framework 13 AMD
qubes-issues #8322 – Hardware reset during installation and boot on Ryzen 9 7950X

It seems to be that dom0 doesn’t apply the pciback driver so when detaching it on sys-usb start up it crashes. I thought I had check that all used pciback however looking above the 2 controllers at issue use xhci_hcd. I have no idea the different issues between the 2. However by using in this case rd.qubes.hide_pci=03:00.3,03:00.4 at boot in grub, dom0 never gets the 2 controllers and a sys-usb can cleanly take the devices. Now all work corectly.