Hi all,
I have a Vantec NST-536S3-BK USB 3.0 5.25-inch drive enclosure with a ASUS ASUS BW-16D1HT bluray drive that is hanging with certain CD-ROMs and DVD-ROMs, but seemingly only on Ubuntu 20.04 LTS (kernel version 5.4.0-70) and Ubuntu 18.04 LTS (kernel version 4.15-something, I upgraded the OS to see if that would solve the problem, it did not) on my Dell Poweredge T30 workstation. An old Core 2 Duo HP workstation running AntiX Linux 19.1 (kernel version 4.9-something) with the drive and enclosure plugged into the USB 2.0 ports worked fine and read all the disks I threw at it, although the problem disks did have to be manually mounted with:
Code:
mount -t iso9660 /dev/sr1 /media/cdrom
I tried to mount them manually on the Ubuntu system, and the mount command hanged. I ran:
Here is the pertinent output (from when it was attached to a USB 2.0 port, the USB 3.0 attempt resulted in mostly the same), it is the same for all the problem CD-ROMs (also some of the firewall information has been redacted for security purposes):
Code:
Apr 06 18:40:48 dreamprism kernel: usb 1-8: reset high-speed USB device number 20 using xhci_hcd
Apr 06 18:40:48 dreamprism kernel: sr 5:0:0:0: [sr1] tag#0 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK
Apr 06 18:40:48 dreamprism kernel: sr 5:0:0:0: [sr1] tag#0 CDB: Read(10) 28 00 00 00 04 00 00 00 02 00
Apr 06 18:40:48 dreamprism kernel: blk_update_request: I/O error, dev sr1, sector 4096 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
Apr 06 18:41:14 dreamprism systemd-udevd[486]: sr1: Worker [5923] processing SEQNUM=9163 is taking a long time
Apr 06 18:41:17 dreamprism rtkit-daemon[3493]: Supervising 6 threads of 2 processes of 1 users.
Apr 06 18:41:17 dreamprism rtkit-daemon[3493]: Supervising 6 threads of 2 processes of 1 users.
Apr 06 18:41:19 dreamprism kernel: usb 1-8: reset high-speed USB device number 20 using xhci_hcd
Apr 06 18:43:14 dreamprism systemd-udevd[486]: sr1: Worker [5923] processing SEQNUM=9163 killed
Apr 06 18:43:40 dreamprism kernel: INFO: task usb-storage:5024 blocked for more than 120 seconds.
Apr 06 18:43:40 dreamprism kernel: Tainted: G OE 5.4.0-70-generic #78-Ubuntu
Apr 06 18:43:40 dreamprism kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Apr 06 18:43:40 dreamprism kernel: usb-storage D 0 5024 2 0x80004000
Apr 06 18:43:40 dreamprism kernel: Call Trace:
Apr 06 18:43:40 dreamprism kernel: __schedule+0x2e3/0x740
Apr 06 18:43:40 dreamprism kernel: schedule+0x42/0xb0
Apr 06 18:43:40 dreamprism kernel: schedule_timeout+0x10e/0x160
Apr 06 18:43:40 dreamprism kernel: wait_for_completion+0xb1/0x120
Apr 06 18:43:40 dreamprism kernel: ? wake_up_q+0x70/0x70
Apr 06 18:43:40 dreamprism kernel: usb_sg_wait+0xea/0x170
Apr 06 18:43:40 dreamprism kernel: usb_stor_bulk_transfer_sglist.part.0+0x6c/0xd0 [usb_storage]
Apr 06 18:43:40 dreamprism kernel: usb_stor_bulk_srb+0x4b/0x80 [usb_storage]
Apr 06 18:43:40 dreamprism kernel: usb_stor_Bulk_transport+0x177/0x410 [usb_storage]
Apr 06 18:43:40 dreamprism kernel: usb_stor_invoke_transport+0x3e/0x520 [usb_storage]
Apr 06 18:43:40 dreamprism kernel: ? wake_up_process+0x15/0x20
Apr 06 18:43:40 dreamprism kernel: ? raise_softirq_irqoff+0x8c/0xa0
Apr 06 18:43:40 dreamprism kernel: ? wait_for_completion_interruptible+0xb8/0x160
Apr 06 18:43:40 dreamprism kernel: usb_stor_transparent_scsi_command+0xe/0x10 [usb_storage]
Apr 06 18:43:40 dreamprism kernel: usb_stor_control_thread+0x19b/0x2a0 [usb_storage]
Apr 06 18:43:40 dreamprism kernel: kthread+0x104/0x140
Apr 06 18:43:40 dreamprism kernel: ? storage_probe+0x2b0/0x2b0 [usb_storage]
Apr 06 18:43:40 dreamprism kernel: ? kthread_park+0x90/0x90
Apr 06 18:43:40 dreamprism kernel: ret_from_fork+0x35/0x40
I have tried using a USB 2.0 port and disabling UAS on the drive to no avail.
An interesting sidenote is that when I run the Linux version of MakeMKV (have it because I thought that using the Libredrive firmware on the drive might help, it did not), the GUI sees the disk spinning, and the title of the disk is read by MakeMKV. lsblk also gives the amount of data on the disk.
I'm really at a total loss here, I don't know if this is a kernel bug or what, or that maybe it has something to do with systemd, since Ubuntu has this and AntiX does not. When it was plugged into a USB 3.0 port, it did spit some systemd-udevd messages, but they don't seem to have much to do with the problem, if at all. I will post them if needed.