Page 1 of 1

Unable to mount BW-16D1HT (LibreDrive) in OWC Mercury Pro Enclousre on Linux

Posted: Thu Dec 10, 2020 1:31 pm
by krole
Wasn't sure where to post this as this isn't really a MakeMKV for Linux issue as my generic DVD drive works fine. If it should still be under that subforum please move it...

I recently purchased a pre-flashed BW-16D1HT in a OWC Mercury Pro from a member here. I can't get the drive to consistently work in Linux. The drive is recognized but I'm unable to mount it. The drive works fine under Windows FWIW.

Sometimes it seems to work just finder in Linux, I have no idea why or what was done differently during those times.

Any advice would be appreciated.

The below is done in a VM, but same thing happens when running bare metal.

dmesg after connecting the drive

Code: Select all

[   67.786978] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[   67.820474] usb 4-1: New USB device found, idVendor=1e91, idProduct=de2c, bcdDevice= 1.00
[   67.820476] usb 4-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[   67.820477] usb 4-1: Product: Mercury Pro Optical
[   67.820477] usb 4-1: Manufacturer: Other World Computing
[   67.820478] usb 4-1: SerialNumber: 002933010848
[   67.829664] usb-storage 4-1:1.0: USB Mass Storage device detected
[   67.830163] scsi host3: usb-storage 4-1:1.0
[   67.830277] usbcore: registered new interface driver usb-storage
[   67.833175] usbcore: registered new interface driver uas
[   68.876869] scsi 3:0:0:0: CD-ROM            ASUS     BW-16D1HT        3.10 PQ: 0 ANSI: 0
[   68.878281] scsi 3:0:0:0: Attached scsi generic sg1 type 5
[   68.977385] sr 3:0:0:0: Power-on or device reset occurred
[   69.038140] sr 3:0:0:0: [sr0] scsi3-mmc drive: 0x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[   69.038143] cdrom: Uniform CD-ROM driver Revision: 3.20
[   69.039190] sr 3:0:0:0: Attached scsi CD-ROM sr0

Code: Select all

user@debian:~$ lsscsi -g
[2:0:0:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sda   /dev/sg0 
[3:0:0:0]    cd/dvd  ASUS     BW-16D1HT        3.10  /dev/sr0   /dev/sg1 

Code: Select all

user@debian:~$ lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   60G  0 disk 
├─sda1   8:1    0   56G  0 part /
├─sda2   8:2    0    1K  0 part 
└─sda5   8:5    0    4G  0 part [SWAP]
sr0     11:0    1  5.1G  0 rom  
and while trying to mount the drive it just hangs, heres part of the dmesg from that

dmesg

Code: Select all

[  112.071408] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[  112.114226] sr 3:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK
[  112.114228] sr 3:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 02 00 00 00 02 00
[  112.114229] print_req_error: I/O error, dev sr0, sector 2048
[  142.771472] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[  363.865362] INFO: task scsi_eh_3:1594 blocked for more than 120 seconds.
[  363.865367]       Not tainted 4.19.0-13-amd64 #1 Debian 4.19.160-2
[  363.865368] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  363.865369] scsi_eh_3       D    0  1594      2 0x80000000
[  363.865371] Call Trace:
[  363.865377]  __schedule+0x29f/0x840
[  363.865380]  ? __switch_to_asm+0x35/0x70
[  363.865381]  ? __switch_to_asm+0x41/0x70
[  363.865382]  schedule+0x28/0x80
[  363.865383]  schedule_preempt_disabled+0xa/0x10
[  363.865384]  __mutex_lock.isra.8+0x2b5/0x4a0
[  363.865385]  ? __switch_to_asm+0x35/0x70
[  363.865391]  device_reset+0x1d/0x50 [usb_storage]
[  363.865398]  scsi_eh_ready_devs+0x5b0/0xe30 [scsi_mod]
[  363.865401]  ? __pm_runtime_resume+0x54/0x70
[  363.865406]  ? scsi_try_target_reset+0x90/0x90 [scsi_mod]
[  363.865411]  scsi_error_handler+0x4a7/0x5d0 [scsi_mod]
[  363.865413]  ? __wake_up_common+0x7a/0x190
[  363.865418]  ? scsi_eh_get_sense+0x220/0x220 [scsi_mod]
[  363.865420]  kthread+0x112/0x130
[  363.865422]  ? kthread_bind+0x30/0x30
[  363.865423]  ret_from_fork+0x22/0x40
[  363.865425] INFO: task usb-storage:1596 blocked for more than 120 seconds.
[  363.865426]       Not tainted 4.19.0-13-amd64 #1 Debian 4.19.160-2
[  363.865427] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  363.865428] usb-storage     D    0  1596      2 0x80000000
[  363.865429] Call Trace:
[  363.865431]  __schedule+0x29f/0x840
[  363.865432]  schedule+0x28/0x80
[  363.865433]  schedule_timeout+0x26d/0x3b0
[  363.865440]  ? usb_hcd_submit_urb+0xbe/0xbd0 [usbcore]
[  363.865446]  ? usb_hcd_submit_urb+0xbe/0xbd0 [usbcore]
[  363.865448]  wait_for_completion+0x11f/0x190
[  363.865449]  ? wake_up_q+0x70/0x70
[  363.865456]  usb_sg_wait+0x10a/0x170 [usbcore]
[  363.865460]  usb_stor_bulk_transfer_sglist.part.4+0x64/0xb0 [usb_storage]
[  363.865462]  usb_stor_bulk_srb+0x49/0x80 [usb_storage]
[  363.865464]  usb_stor_Bulk_transport+0x167/0x3f0 [usb_storage]
[  363.865466]  ? storage_probe+0x320/0x320 [usb_storage]
[  363.865468]  ? storage_probe+0x320/0x320 [usb_storage]
[  363.865469]  usb_stor_invoke_transport+0x3d/0x500 [usb_storage]
[  363.865471]  ? storage_probe+0x320/0x320 [usb_storage]
[  363.865472]  ? wait_for_completion_interruptible+0x135/0x1e0
[  363.865473]  ? wake_up_q+0x70/0x70
[  363.865475]  usb_stor_control_thread+0x1c9/0x280 [usb_storage]
[  363.865477]  ? __kthread_parkme+0x4c/0x70
[  363.865478]  kthread+0x112/0x130
[  363.865479]  ? kthread_bind+0x30/0x30
[  363.865480]  ret_from_fork+0x22/0x40
[  363.865486] INFO: task mount:1880 blocked for more than 120 seconds.
[  363.865487]       Not tainted 4.19.0-13-amd64 #1 Debian 4.19.160-2
[  363.865488] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  363.865489] mount           D    0  1880   1879 0x00000000
[  363.865490] Call Trace:
[  363.865491]  __schedule+0x29f/0x840
[  363.865492]  schedule+0x28/0x80
[  363.865493]  schedule_timeout+0x26d/0x3b0
[  363.865495]  ? enqueue_task_fair+0x7d/0x360
[  363.865497]  ? x2apic_send_IPI+0x46/0x50
[  363.865498]  wait_for_completion+0x11f/0x190
[  363.865499]  ? wake_up_q+0x70/0x70
[  363.865501]  __flush_work+0x130/0x1e0
[  363.865502]  ? worker_attach_to_pool+0x90/0x90
[  363.865504]  ? get_work_pool+0x40/0x40
[  363.865505]  __cancel_work_timer+0x10a/0x190
[  363.865507]  ? exact_lock+0xd/0x20
[  363.865508]  ? kobj_lookup+0xf1/0x160
[  363.865510]  disk_block_events+0x6f/0x90
[  363.865512]  __blkdev_get+0x70/0x550
[  363.865514]  ? blkdev_get_by_dev+0x40/0x40
[  363.865515]  blkdev_get+0x107/0x320
[  363.865516]  ? blkdev_get_by_dev+0x40/0x40
[  363.865518]  do_dentry_open+0x13d/0x370
[  363.865520]  path_openat+0x2d9/0x1480
[  363.865522]  ? generic_permission+0x110/0x190
[  363.865523]  ? unlazy_walk+0x3a/0xa0
[  363.865524]  ? terminate_walk+0x8c/0x100
[  363.865526]  ? __check_object_size+0x162/0x173
[  363.865527]  do_filp_open+0x93/0x100
[  363.865529]  ? __check_object_size+0x162/0x173
[  363.865530]  do_sys_open+0x186/0x210
[  363.865532]  do_syscall_64+0x53/0x110
[  363.865534]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  363.865536] RIP: 0033:0x7f5be72af1ae
[  363.865540] Code: Bad RIP value.
[  363.865540] RSP: 002b:00007ffc4b4c9730 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[  363.865542] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5be72af1ae
[  363.865542] RDX: 0000000000080000 RSI: 0000563ebcb24610 RDI: 00000000ffffff9c
[  363.865543] RBP: 0000563ebcb24610 R08: 000000000000000f R09: 0000563ebcb22c50
[  363.865543] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563ebcb22cf0
[  363.865544] R13: 0000563ebcb247b8 R14: 0000000000000002 R15: 00007f5be760c1c4

Re: Unable to mount BW-16D1HT (LibreDrive) in OWC Mercury Pro Enclousre on Linux

Posted: Wed Jan 04, 2023 1:45 pm
by aeroevan
https://askubuntu.com/questions/1328762 ... 36#1336836 fixed the issue for me. That also stops GNOME from mounting the DVD, but probably for the best.