LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-06-2021, 09:13 PM   #1
circuitvangogh
LQ Newbie
 
Registered: Apr 2021
Posts: 1

Rep: Reputation: Disabled
Bluray drive in external USB 3.0 enclosure hangs on some disks on Ubuntu 20.04 but not on AntiX 19.1


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:

Code:
journalctl -f
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.
 
Old 04-07-2021, 01:58 PM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,223

Rep: Reputation: 5446Reputation: 5446Reputation: 5446Reputation: 5446Reputation: 5446Reputation: 5446Reputation: 5446Reputation: 5446Reputation: 5446Reputation: 5446Reputation: 5446
I would rather say it is an incompatible driver. There is no [good] CD-ROM support in the new linux distros (in general).
 
Old 04-07-2021, 10:46 PM   #3
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 1,238

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
If this is only certain blurays then it likely is the updated bluray security.

I use makeMKV and can copy (rip) some blurays to mkv files but others will not do so and I think it has to do with the changed security on the disks recently. Older blurays work and newer ones don't. MakeMKV can see the disks and the content but cannot rip them.

In fact I have a friend who recently had to purchase a newer player since it was impossible to update the bios in his old one to allow playing the newer disks.

If it is doing the same on CDs then I really have no clue except possibly the region coding of them. The drives are coded for the region where they work as are the disks. Mismatched coding can cause the hangs. I have seen that more on videos than audio CDs though.

Last edited by computersavvy; 04-07-2021 at 10:50 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't write bluray disks nelson777 Linux - Hardware 6 01-03-2015 03:24 AM
[SOLVED] plan 2 buy sys76 or zareason laptop with dvd/ bluray, pref bluray. heard probs with l catheadpeople Linux - Newbie 1 08-17-2013 07:37 PM
External USB hard drive enclosure - not recognizing all drives speck Slackware 6 09-27-2009 12:15 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration