TR-002 not recognized after host reboot

Hi all,

I have a TR-002 DAS unit connected to a headless mini-PC running as a local file/media server. The host runs Ubuntu 22.04 and reboots itself once a week, for maintenance purposes.

Most of the time the TR-002 unit is recognized by the host and operates normally. The log entries with the correct operation are as follows:


[193876.357596] usb 2-4: new SuperSpeed Plus Gen 2x1 USB device number 3 using xhci_hcd
[193876.378320] usb 2-4: New USB device found, idVendor=1c04, idProduct=0012, bcdDevice=61.10
[193876.378334] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[193876.378340] usb 2-4: Product: TR-002
[193876.378343] usb 2-4: Manufacturer: QNAP Systems, Inc.
[193876.378347] usb 2-4: SerialNumber: 51323034493037323033
[193876.379996] usb-storage 2-4:1.0: USB Mass Storage device detected
[193876.380555] scsi host2: usb-storage 2-4:1.0
[193877.390061] scsi 2:0:0:0: Direct-Access QNAP TR-002 DISK00 6110 PQ: 0 ANSI: 6
[193877.390684] sd 2:0:0:0: Attached scsi generic sg1 type 0
[193877.391023] sd 2:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[193877.391183] sd 2:0:0:0: [sdb] 5860425728 512-byte logical blocks: (3.00 TB/2.73 TiB)
[193877.391189] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[193877.391502] sd 2:0:0:0: [sdb] Write Protect is off
[193877.391507] sd 2:0:0:0: [sdb] Mode Sense: 47 00 00 08
[193877.391811] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[193877.437020] sdb: sdb1
[193877.438130] sd 2:0:0:0: [sdb] Attached SCSI disk
[193902.021618] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.

However, sometimes the TR-002 unit is not correctly recognized by the host after a reboot. It happens infrequently, maybe 3 times a year, but requires manually switching off/on the unit to get it back. The log entries showing the error situation are:


[ 2.798683] kernel: usb 2-4: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
[ 2.819712] kernel: usb 2-4: New USB device found, idVendor=152d, idProduct=0580, bcdDevice= 1.00
[ 2.819734] kernel: usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.819743] kernel: usb 2-4: Product: USB Mass Storage
[ 2.819749] kernel: usb 2-4: Manufacturer: JMicron
[ 2.819754] kernel: usb 2-4: SerialNumber: 152D00580000
[ 3.107136] kernel: usb-storage 2-4:1.0: USB Mass Storage device detected
[ 3.107577] kernel: scsi host2: usb-storage 2-4:1.0
[ 3.107752] kernel: usbcore: registered new interface driver usb-storage
[ 3.110844] kernel: usbcore: registered new interface driver uas
[ 4.131444] kernel: scsi 2:0:0:0: Direct-Access JMICRON JMS580 PQ: 0 ANSI: 6
[ 4.132014] kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 4.133295] kernel: sd 2:0:0:0: [sdb] Unit Not Ready
[ 4.133313] kernel: sd 2:0:0:0: [sdb] Sense Key : Illegal Request [current]
[ 4.133323] kernel: sd 2:0:0:0: [sdb] Add. Sense: Invalid command operation code
[ 4.134990] kernel: sd 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[ 4.135002] kernel: sd 2:0:0:0: [sdb] Sense Key : Illegal Request [current]
[ 4.135009] kernel: sd 2:0:0:0: [sdb] Add. Sense: Invalid command operation code
[ 4.135020] kernel: sd 2:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[ 4.135027] kernel: sd 2:0:0:0: [sdb] 0-byte physical blocks
[ 4.135298] kernel: sd 2:0:0:0: [sdb] Write Protect is off
[ 4.135306] kernel: sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 4.135571] kernel: sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4.135578] kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4.137266] kernel: sd 2:0:0:0: [sdb] Unit Not Ready
[ 4.137281] kernel: sd 2:0:0:0: [sdb] Sense Key : Illegal Request [current]
[ 4.137290] kernel: sd 2:0:0:0: [sdb] Add. Sense: Invalid command operation code
[ 4.138954] kernel: sd 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[ 4.138965] kernel: sd 2:0:0:0: [sdb] Sense Key : Illegal Request [current]
[ 4.138973] kernel: sd 2:0:0:0: [sdb] Add. Sense: Invalid command operation code
[ 4.139506] kernel: sd 2:0:0:0: [sdb] Attached SCSI disk

The log shows that the unit is being recognized as “JMICRON JMS580” and not “QNAP TR-002”, and cannot be mounted. Why this happens?

My setup is:

  • Host: Mini PC Beelink MINI S12, CPU Alder Lake-N95, 8GB RAM, 128GB NVME, Ubuntu 22.04 64bit.

  • TR-002: Firmware 1.3.0 (2025-02-27, the newest), with 2x 3TB 3.5" HGST disks operating in RAID1 (mode switch).

Thanks for any help!

Carlos

The JMICRON JMS580 is the SATA bridge in the TR-002, but why it does this only once in a while..no idea. a ticket would be best