• USB3 on QNAP TS-221 running Debian 11

    From Luca Paolini@21:1/5 to All on Thu Mar 3 15:20:01 2022
    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

    <div dir="ltr"><div>I&#39;ve got a <b>QNAP TS-221</b> running <b>Debian 11</b>, thanks to the modified partition table suggested by <span style="color:rgb(0,0,0);white-space:pre-wrap">Arnaud Mouiche (</span><a rel="nofollow" href="https://github.com/
    amouiche/qnap_mtd_resize_for_bullseye" target="_blank" style="white-space:pre-wrap">https://github.com/amouiche/qnap_mtd_resize_for_bullseye</a>).</div><div><br></div><div>Everything works like a charm, except for the <b>USB3</b> ports on the rear.</
    <div>Looking at the logs I see no problems but they don&#39;t detect any device I connect to them.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Many thanks in advance,</div><div>Luca Paolini</div><div><br></div><div>--------------</
    <div><br></div><font face="monospace"><b># uname -a</b><br>Linux nas 5.10.0-11-marvell #1 Debian 5.10.92-1 (2022-01-18) armv5tel GNU/Linux</font><div><font face="monospace"><b><br></b></font></div><div><font face="monospace"><b># lsusb</b><br>Bus 001
    Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</font><div><font face="monospace"><b><br></b></font></div><div><
    font face="monospace"><b># dmesg | grep -i usb</b><br>[   16.350546] usbcore: registered new interface driver usbfs<br>[   16.420379] usbcore: registered new interface driver hub<br>[   16.471191] usbcore: registered new device driver usb<br>[   16.
    511954] ehci_hcd: USB 2.0 &#39;Enhanced&#39; Host Controller (EHCI) Driver<br>[   16.701714] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1<br>[   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<br>[   17.006890] [&lt;bf79ff98&gt;] (xhci_run [xhci_hcd]) from [&lt;bf678190&gt;] (usb_add_hcd+0x43c/0x720 [usbcore])<br>[   17.016186] [&
    lt;bf678190&gt;] (usb_add_hcd [usbcore]) from [&lt;bf6878d8&gt;] (usb_hcd_pci_probe+0x32c/0x39c [usbcore])<br>[   17.026134] [&lt;bf6878d8&gt;] (usb_hcd_pci_probe [usbcore]) from [&lt;bf7dc990&gt;] (xhci_pci_probe+0x18/0xf4 [xhci_pci])<br>[   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<br>[   17.301734] [&lt;bf79ff98&gt;] (xhci_run [xhci_hcd]) from [&lt;bf678190&gt;] (usb_add_hcd+0x43c/0x720 [usbcore])<br>[   17.311017] [&lt;bf678190&gt;] (usb_add_
    hcd [usbcore]) from [&lt;bf6878d8&gt;] (usb_hcd_pci_probe+0x32c/0x39c [usbcore])<br>[   17.320961] [&lt;bf6878d8&gt;] (usb_hcd_pci_probe [usbcore]) from [&lt;bf7dc990&gt;] (xhci_pci_probe+0x18/0xf4 [xhci_pci])<br>[   17.479078] orion-ehci f1050000.ehci:
    USB 2.0 started, EHCI 1.00<br>[   17.531108] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10<br>[   17.539503] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>[   17.546815] usb usb1: Product: EHCI
    Host Controller<br>[   17.551733] usb usb1: Manufacturer: Linux 5.10.0-11-marvell ehci_hcd<br>[   17.558137] usb usb1: SerialNumber: f1050000.ehci<br>[   17.607623] hub 1-0:1.0: USB hub found<br>[   22.275120] usb usb2: New USB device found, idVendor=
    1d6b, idProduct=0002, bcdDevice= 5.10<br>[   22.283587] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>[   22.290930] usb usb2: Product: xHCI Host Controller<br>[   22.295841] usb usb2: Manufacturer: Linux 5.10.0-11-marvell xhci-
    hcd<br>[   22.302247] usb usb2: SerialNumber: 0000:02:00.0<br>[   22.333205] hub 2-0:1.0: USB hub found<br>[   22.373361] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3<br>[   22.391488] xhci_hcd 0000:02:00.0: Host supports USB
    3.0 SuperSpeed<br>[   22.406888] usb usb3: We don&#39;t know the algorithms for LPM for this host, disabling LPM.<br>[   22.426755] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10<br>[   22.435228] usb usb3: New USB
    device strings: Mfr=3, Product=2, SerialNumber=1<br>[   22.442498] usb usb3: Product: xHCI Host Controller<br>[   22.447409] usb usb3: Manufacturer: Linux 5.10.0-11-marvell xhci-hcd<br>[   22.453799] usb usb3: SerialNumber: 0000:02:00.0<br>[   22.
    505590] hub 3-0:1.0: USB hub found</font></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Federico Pietro Briata@21:1/5 to All on Fri Mar 4 00:20:01 2022
    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 <lookap@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


    <div dir="ltr"><div>Ciao Luca,</div><div>I see from your log a kernel crash in the usb driver.<br></div><div>Have you tried if with Linux v4.19 it&#39;s better?</div><div><br></div><div>regards</div><div>federico<br></div></div><br><div class="gmail_
    quote"><div dir="ltr" class="gmail_attr">Il giorno gio 3 mar 2022 alle ore 15:12 Luca Paolini &lt;<a href="mailto:lookap@gmail.com">lookap@gmail.com</a>&gt; ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:
    1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I&#39;ve got a <b>QNAP TS-221</b> running <b>Debian 11</b>, thanks to the modified partition table suggested by <span style="color:rgb(0,0,0);white-space:pre-wrap">Arnaud Mouiche (</span>
    <a rel="nofollow" href="https://github.com/amouiche/qnap_mtd_resize_for_bullseye" style="white-space:pre-wrap" target="_blank">https://github.com/amouiche/qnap_mtd_resize_for_bullseye</a>).</div><div><br></div><div>Everything works like a charm, except
    for the <b>USB3</b> ports on the rear.</div><div>Looking at the logs I see no problems but they don&#39;t detect any device I connect to them.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Many thanks in advance,</div><div>Luca Paolini</
    <div><br></div><div>--------------</div><div><br></div><font face="monospace"><b># uname -a</b><br>Linux nas 5.10.0-11-marvell #1 Debian 5.10.92-1 (2022-01-18) armv5tel GNU/Linux</font><div><font face="monospace"><b><br></b></font></div><div><font
    face="monospace"><b># lsusb</b><br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</font><div><font face="
    monospace"><b><br></b></font></div><div><font face="monospace"><b># dmesg | grep -i usb</b><br>[   16.350546] usbcore: registered new interface driver usbfs<br>[   16.420379] usbcore: registered new interface driver hub<br>[   16.471191] usbcore:
    registered new device driver usb<br>[   16.511954] ehci_hcd: USB 2.0 &#39;Enhanced&#39; Host Controller (EHCI) Driver<br>[   16.701714] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1<br>[   16.741020] xhci_hcd 0000:02:00.0:
    new USB bus registered, assigned bus number 2<br>[   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<br>[   17.006890] [&lt;bf79ff98&gt;] (xhci_run [xhci_hcd]) from [&lt;bf678190&gt;] (usb_add_hcd+0x43c/
    0x720 [usbcore])<br>[   17.016186] [&lt;bf678190&gt;] (usb_add_hcd [usbcore]) from [&lt;bf6878d8&gt;] (usb_hcd_pci_probe+0x32c/0x39c [usbcore])<br>[   17.026134] [&lt;bf6878d8&gt;] (usb_hcd_pci_probe [usbcore]) from [&lt;bf7dc990&gt;] (xhci_pci_probe+
    0x18/0xf4 [xhci_pci])<br>[   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<br>[   17.301734] [&lt;bf79ff98&gt;] (xhci_run [xhci_hcd]) from [&lt;bf678190&gt;] (usb_add_hcd+0x43c/0x720 [usbcore])<
    [   17.311017] [&lt;bf678190&gt;] (usb_add_hcd [usbcore]) from [&lt;bf6878d8&gt;] (usb_hcd_pci_probe+0x32c/0x39c [usbcore])<br>[   17.320961] [&lt;bf6878d8&gt;] (usb_hcd_pci_probe [usbcore]) from [&lt;bf7dc990&gt;] (xhci_pci_probe+0x18/0xf4 [xhci_
    pci])<br>[   17.479078] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00<br>[   17.531108] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10<br>[   17.539503] usb usb1: New USB device strings: Mfr=3, Product=2,
    SerialNumber=1<br>[   17.546815] usb usb1: Product: EHCI Host Controller<br>[   17.551733] usb usb1: Manufacturer: Linux 5.10.0-11-marvell ehci_hcd<br>[   17.558137] usb usb1: SerialNumber: f1050000.ehci<br>[   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<br>[   22.283587] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>[   22.290930] usb usb2: Product: xHCI Host Controller<br>[   22.
    295841] usb usb2: Manufacturer: Linux 5.10.0-11-marvell xhci-hcd<br>[   22.302247] usb usb2: SerialNumber: 0000:02:00.0<br>[   22.333205] hub 2-0:1.0: USB hub found<br>[   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<br>[   22.406888] usb usb3: We don&#39;t know the algorithms for LPM for this host, disabling LPM.<br>[   22.426755] usb usb3: New USB device found, idVendor=1d6b, idProduct=
    0003, bcdDevice= 5.10<br>[   22.435228] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>[   22.442498] usb usb3: Product: xHCI Host Controller<br>[   22.447409] usb usb3: Manufacturer: Linux 5.10.0-11-marvell xhci-hcd<br>[   22.
    453799] usb usb3: SerialNumber: 0000:02:00.0<br>[   22.505590] hub 3-0:1.0: USB hub found</font></div></div></div>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luca Paolini@21:1/5 to All on Fri Mar 4 09:40:01 2022
    Ciao Federico,

    Actually it was a non-issue. I'm so confident about the reliability of my
    linux box that I didn't even consider rebooting it, which fixed the
    problem...

    Many thanks anyway!

    Cheers,
    Luca

    <div dir="ltr">Ciao Federico,<div><br></div><div>Actually it was a non-issue. I&#39;m so confident about the reliability of my linux box that I didn&#39;t even consider rebooting it, which fixed the problem... </div><div><br></div><div>Many thanks
    anyway!</div><div><br></div><div>Cheers,</div><div>Luca</div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Domenico Andreoli@21:1/5 to Luca Paolini on Wed Mar 16 10:50:01 2022
    Hi Luca,

    On Thu, Mar 03, 2022 at 02:54:53PM +0100, Luca Paolini wrote:
    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])

    I've just posted a patch to fix it.

    https://lore.kernel.org/linux-arm-kernel/YjGu2zJo9hGGg%2FjZ@localhost/


    [ 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

    --
    rsa4096: 3B10 0CA1 8674 ACBA B4FE FCD2 CE5B CF17 9960 DE13
    ed25519: FFB4 0CC3 7F2E 091D F7DA 356E CC79 2832 ED38 CB05

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEE3nQdMjP43a68372B4cmZEuiMSOEFAmIxsnUACgkQ4cmZEuiM SOGYvg//Ud0SOKLLujconkWuL/AphsVqRGchqBc2PF3tMIUFi0coQWctnMCdfHq5 SB4Qwkqssa2SuWVbCl50X38Lq0SXYX/ItDPphjAt9foADvX9S4+dunN0uK2Fg0xD cdOH/Q9j4cGLAKBmqkCUaB7q2F+l3KBfZ4ZR0fYmon1olfTVLWogC6L5q6ihPp4H aTYoYCJMz7JUgZ+li1mkZMlM9MKS33gMyUfkNo4hHwBQKH1gUED8HtG6xfdAYtwm RF7Bit4vZ8Cpa16LurRpkR1p5cbjvA62RQ5c+eMpHHvfE0A3QEsgX6g1KO15AJ59 QuXcSBFnWKJjZXdfv0OutJqbqKe00W3NmYhRMiP6pvNEJJ4kvXZ+nkqxBDPbJEv8 8GKFMs/BanOIzG2/8cnwvNzqYrG33YMeV70k8cCQR5TW/QBHXT3F9gsIvUyqYtMP +Yd6bUl0Vm2oSxiP4gVPWu47bMIOE8J0fApg0O2Q6ZIdtVgBVkp724/yWM2Or4U+ CbNR2/0+93XJMtAse8/YUzmK3a3z+0NXCbGBnOol3yt8BWzo4dYOve6sf3T94oHW zyIIEhzKCOHtZFMdr6Ab8aMAM5SJ7+SbsR0khdIbaN1cEIkGZpZKxzedtYwlboon 2YR/5NmkD0k2ta0W6eMp6S2Oc2TmCeiJOv7MWpSiYnHINI48qD8=
    =PCdV
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet