Ciao Luca, I see from your log a kernel crash in the usb driver. Have you tried if with Linux v4.19 it's better?
regards federico Il giorno gio 3 mar 2022 alle ore 15:12 Luca Paolini <loo...@gmail.com> ha scritto: > I've got a *QNAP TS-221* running *Debian 11*, thanks to the modified > partition table suggested by Arnaud Mouiche ( > https://github.com/amouiche/qnap_mtd_resize_for_bullseye). > > Everything works like a charm, except for the *USB3* ports on the rear. > Looking at the logs I see no problems but they don't detect any device I > connect to them. > > Any ideas? > > Many thanks in advance, > Luca Paolini > > -------------- > > *# uname -a* > Linux nas 5.10.0-11-marvell #1 Debian 5.10.92-1 (2022-01-18) armv5tel > GNU/Linux > > *# lsusb* > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > *# dmesg | grep -i usb* > [ 16.350546] usbcore: registered new interface driver usbfs > [ 16.420379] usbcore: registered new interface driver hub > [ 16.471191] usbcore: registered new device driver usb > [ 16.511954] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver > [ 16.701714] orion-ehci f1050000.ehci: new USB bus registered, assigned > bus number 1 > [ 16.741020] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus > number 2 > [ 16.877256] Modules linked in: xhci_pci(+) xhci_hcd ehci_orion(+) sg > ehci_hcd marvell mvmdio mv643xx_eth marvell_cesa orion_wdt libdes watchdog > libaes ahci usbcore libahci usb_common nls_base kirkwood_thermal spi_orion > evdev gpio_keys fuse configfs nfsd auth_rpcgss nfs_acl lockd grace sunrpc > ip_tables x_tables hmac ipv6 autofs4 ext4 crc16 mbcache jbd2 raid10 raid456 > libcrc32c crc32c_generic async_raid6_recov async_memcpy async_pq async_xor > xor async_tx raid6_pq raid0 multipath linear dm_mod raid1 md_mod sd_mod > t10_pi crc_t10dif crct10dif_generic crct10dif_common sata_mv libata > scsi_mod rtc_s35390a > [ 17.006890] [<bf79ff98>] (xhci_run [xhci_hcd]) from [<bf678190>] > (usb_add_hcd+0x43c/0x720 [usbcore]) > [ 17.016186] [<bf678190>] (usb_add_hcd [usbcore]) from [<bf6878d8>] > (usb_hcd_pci_probe+0x32c/0x39c [usbcore]) > [ 17.026134] [<bf6878d8>] (usb_hcd_pci_probe [usbcore]) from > [<bf7dc990>] (xhci_pci_probe+0x18/0xf4 [xhci_pci]) > [ 17.172206] Modules linked in: xhci_pci(+) xhci_hcd ehci_orion(+) sg > ehci_hcd marvell mvmdio mv643xx_eth marvell_cesa orion_wdt libdes watchdog > libaes ahci usbcore libahci usb_common nls_base kirkwood_thermal spi_orion > evdev gpio_keys fuse configfs nfsd auth_rpcgss nfs_acl lockd grace sunrpc > ip_tables x_tables hmac ipv6 autofs4 ext4 crc16 mbcache jbd2 raid10 raid456 > libcrc32c crc32c_generic async_raid6_recov async_memcpy async_pq async_xor > xor async_tx raid6_pq raid0 multipath linear dm_mod raid1 md_mod sd_mod > t10_pi crc_t10dif crct10dif_generic crct10dif_common sata_mv libata > scsi_mod rtc_s35390a > [ 17.301734] [<bf79ff98>] (xhci_run [xhci_hcd]) from [<bf678190>] > (usb_add_hcd+0x43c/0x720 [usbcore]) > [ 17.311017] [<bf678190>] (usb_add_hcd [usbcore]) from [<bf6878d8>] > (usb_hcd_pci_probe+0x32c/0x39c [usbcore]) > [ 17.320961] [<bf6878d8>] (usb_hcd_pci_probe [usbcore]) from > [<bf7dc990>] (xhci_pci_probe+0x18/0xf4 [xhci_pci]) > [ 17.479078] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 > [ 17.531108] usb usb1: New USB device found, idVendor=1d6b, > idProduct=0002, bcdDevice= 5.10 > [ 17.539503] usb usb1: New USB device strings: Mfr=3, Product=2, > SerialNumber=1 > [ 17.546815] usb usb1: Product: EHCI Host Controller > [ 17.551733] usb usb1: Manufacturer: Linux 5.10.0-11-marvell ehci_hcd > [ 17.558137] usb usb1: SerialNumber: f1050000.ehci > [ 17.607623] hub 1-0:1.0: USB hub found > [ 22.275120] usb usb2: New USB device found, idVendor=1d6b, > idProduct=0002, bcdDevice= 5.10 > [ 22.283587] usb usb2: New USB device strings: Mfr=3, Product=2, > SerialNumber=1 > [ 22.290930] usb usb2: Product: xHCI Host Controller > [ 22.295841] usb usb2: Manufacturer: Linux 5.10.0-11-marvell xhci-hcd > [ 22.302247] usb usb2: SerialNumber: 0000:02:00.0 > [ 22.333205] hub 2-0:1.0: USB hub found > [ 22.373361] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus > number 3 > [ 22.391488] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed > [ 22.406888] usb usb3: We don't know the algorithms for LPM for this > host, disabling LPM. > [ 22.426755] usb usb3: New USB device found, idVendor=1d6b, > idProduct=0003, bcdDevice= 5.10 > [ 22.435228] usb usb3: New USB device strings: Mfr=3, Product=2, > SerialNumber=1 > [ 22.442498] usb usb3: Product: xHCI Host Controller > [ 22.447409] usb usb3: Manufacturer: Linux 5.10.0-11-marvell xhci-hcd > [ 22.453799] usb usb3: SerialNumber: 0000:02:00.0 > [ 22.505590] hub 3-0:1.0: USB hub found >