Optical Drive not being found

The place to discuss linux version of MakeMKV
twjaeger
Posts: 8
Joined: Mon Jan 22, 2018 6:09 am

Re: Optical Drive not being found

Post by twjaeger » Wed Jan 24, 2018 8:22 am

Appreciate the help. Unfortunately, it states there is no such file or directory. I did an ls -la /dev:

Code: Select all

root@ubuntu_1604:~# ls -la /dev
total 4
drwxr-xr-x 11 root  root             2160  一  19 23:05 .
drwxrwxr-x 27 admin administrator    4096  一  19 23:05 ..
drwxr-xr-x  2 root  root             1920  一  19 23:05 char
lrwxrwxrwx  1 root  root               11  一  19 23:05 console -> lxc/console
lrwxrwxrwx  1 root  root               11  一  19 23:05 core -> /proc/kcore
drwxr-xr-x  2 root  root              100  一  19 13:58 dri
lrwxrwxrwx  1 root  root                4  一  19 23:05 dsp -> dsp0
crw-rw-rw-  1 root  root          14,   3  一  19 22:59 dsp0
crw-rw-rw-  1 root  root          14,  19  一  19 22:59 dsp1
crw-rw-rw-  1 root  root          14,  35  一  19 22:59 dsp2
crw-rw-rw-  1 root  root          14,  51  一  19 22:59 dsp3
crw-rw-rw-  1 root  root          14,  67  一  19 22:59 dsp4
lrwxrwxrwx  1 root  root               13  一  19 23:05 fd -> /proc/self/fd
crw-rw-rw-  1 root  root           1,   7  一  19 23:05 full
crw-rw-rw-  1 root  root          10, 229  一  19 23:05 fuse
drwxr-xr-x  2 root  root                0  一  19 23:05 hugepages
lrwxrwxrwx  1 root  root               25  一  19 23:05 initctl -> /run/systemd/initctl/fifo
drwxr-xr-x  4 root  root              300  一  19 23:05 input
srw-rw-rw-  1 root  root                0  一  19 23:05 lircd
lrwxrwxrwx  1 root  root               28  一  19 23:05 log -> /run/systemd/journal/dev-log
drwxr-xr-x  2 root  root               60  一  19 23:05 lxc
drwxrwxrwt  2 root  root               40  一  19 23:05 mqueue
crw-rw-rw-  1 root  root           1,   3  一  19 23:05 null
lrwxrwxrwx  1 root  root               13  一  19 23:05 ptmx -> /dev/pts/ptmx
drwxr-xr-x  2 root  root                0  一  19 23:05 pts
crw-rw-rw-  1 root  root           1,   8  一  19 23:05 random
drwxrwxrwt  2 root  root              240  一  23 23:18 shm
drwxr-xr-x  3 root  root              160  一  19 23:05 snd
lrwxrwxrwx  1 root  root               15  一  19 23:05 stderr -> /proc/self/fd/2
lrwxrwxrwx  1 root  root               15  一  19 23:05 stdin -> /proc/self/fd/0
lrwxrwxrwx  1 root  root               15  一  19 23:05 stdout -> /proc/self/fd/1
crw-rw-rw-  1 root  tty            5,   0  一  23 23:16 tty
crw--w----  1 root  tty            4,   0  一  19 23:05 tty0
crw--w----  1 root  tty            4,   1  一  19 23:05 tty1
crw--w----  1 root  tty            4,  10  一  19 23:05 tty10
crw--w----  1 root  tty            4,  11  一  19 23:05 tty11
crw--w----  1 root  tty            4,  12  一  19 23:05 tty12
crw--w----  1 root  tty            4,  13  一  19 23:05 tty13
crw--w----  1 root  tty            4,  14  一  19 23:05 tty14
crw--w----  1 root  tty            4,  15  一  19 23:05 tty15
crw--w----  1 root  tty            4,  16  一  19 23:05 tty16
crw--w----  1 root  tty            4,  17  一  19 23:05 tty17
crw--w----  1 root  tty            4,  18  一  19 23:05 tty18
crw--w----  1 root  tty            4,  19  一  19 23:05 tty19
crw--w----  1 root  tty            4,   2  一  19 23:05 tty2
crw--w----  1 root  tty            4,  20  一  19 23:05 tty20
crw--w----  1 root  tty            4,  21  一  19 23:05 tty21
crw--w----  1 root  tty            4,  22  一  19 23:05 tty22
crw--w----  1 root  tty            4,  23  一  19 23:05 tty23
crw--w----  1 root  tty            4,  24  一  19 23:05 tty24
crw--w----  1 root  tty            4,  25  一  19 23:05 tty25
crw--w----  1 root  tty            4,  26  一  19 23:05 tty26
crw--w----  1 root  tty            4,  27  一  19 23:05 tty27
crw--w----  1 root  tty            4,  28  一  19 23:05 tty28
crw--w----  1 root  tty            4,  29  一  19 23:05 tty29
crw--w----  1 root  tty            4,   3  一  19 23:05 tty3
crw--w----  1 root  tty            4,  30  一  19 23:05 tty30
crw--w----  1 root  tty            4,  31  一  19 23:05 tty31
crw--w----  1 root  tty            4,  32  一  19 23:05 tty32
crw--w----  1 root  tty            4,  33  一  19 23:05 tty33
crw--w----  1 root  tty            4,  34  一  19 23:05 tty34
crw--w----  1 root  tty            4,  35  一  19 23:05 tty35
crw--w----  1 root  tty            4,  36  一  19 23:05 tty36
crw--w----  1 root  tty            4,  37  一  19 23:05 tty37
crw--w----  1 root  tty            4,  38  一  19 23:05 tty38
crw--w----  1 root  tty            4,  39  一  19 23:05 tty39
crw--w----  1 root  tty            4,   4  一  19 23:05 tty4
crw--w----  1 root  tty            4,  40  一  19 23:05 tty40
crw--w----  1 root  tty            4,  41  一  19 23:05 tty41
crw--w----  1 root  tty            4,  42  一  19 23:05 tty42
crw--w----  1 root  tty            4,  43  一  19 23:05 tty43
crw--w----  1 root  tty            4,  44  一  19 23:05 tty44
crw--w----  1 root  tty            4,  45  一  19 23:05 tty45
crw--w----  1 root  tty            4,  46  一  19 23:05 tty46
crw--w----  1 root  tty            4,  47  一  19 23:05 tty47
crw--w----  1 root  tty            4,  48  一  19 23:05 tty48
crw--w----  1 root  tty            4,  49  一  19 23:05 tty49
crw--w----  1 root  tty            4,   5  一  19 23:05 tty5
crw--w----  1 root  tty            4,  50  一  19 23:05 tty50
crw--w----  1 root  tty            4,  51  一  19 23:05 tty51
crw--w----  1 root  tty            4,  52  一  19 23:05 tty52
crw--w----  1 root  tty            4,  53  一  19 23:05 tty53
crw--w----  1 root  tty            4,  54  一  19 23:05 tty54
crw--w----  1 root  tty            4,  55  一  19 23:05 tty55
crw--w----  1 root  tty            4,  56  一  19 23:05 tty56
crw--w----  1 root  tty            4,  57  一  19 23:05 tty57
crw--w----  1 root  tty            4,  58  一  19 23:05 tty58
crw--w----  1 root  tty            4,  59  一  19 23:05 tty59
crw--w----  1 root  tty            4,   6  一  19 23:05 tty6
crw--w----  1 root  tty            4,  60  一  19 23:05 tty60
crw--w----  1 root  tty            4,  61  一  19 23:05 tty61
crw--w----  1 root  tty            4,  62  一  19 23:05 tty62
crw--w----  1 root  tty            4,  63  一  19 23:05 tty63
crw--w----  1 root  tty            4,   7  一  19 23:05 tty7
crw--w----  1 root  tty            4,   8  一  19 23:05 tty8
crw--w----  1 root  tty            4,   9  一  19 23:05 tty9
crw-rw----  1 root  dialout        4,  64  一  19 23:05 ttyS0
crw-rw----  1 root  dialout        4,  65  一  19 23:05 ttyS1
crw-rw----  1 root  dialout        4,  66  一  19 23:05 ttyS2
crw-rw----  1 root  dialout        4,  67  一  19 23:05 ttyS3
crw-rw-rw-  1 root  root           1,   9  一  19 23:05 urandom
lrwxrwxrwx  1 root  root                6  一  19 23:05 video -> video0
crw-rw-rw-  1 root  root          81,   0  一  19 22:59 video0
crw-rw-rw-  1 root  root          81,   1  一  19 22:59 video1
crw-rw-rw-  1 root  root          81,   2  一  19 22:59 video2
crw-rw-rw-  1 root  root          81,   3  一  19 22:59 video3
crw-rw-rw-  1 root  root          81,   4  一  19 22:59 video4
crw-rw-rw-  1 root  root           1,   5  一  19 23:05 zero

twjaeger
Posts: 8
Joined: Mon Jan 22, 2018 6:09 am

Re: Optical Drive not being found

Post by twjaeger » Wed Jan 24, 2018 8:26 am

Here is ls -la /dev/s*

Code: Select all

root@ubuntu_1604:~# ls -la /dev/s*
lrwxrwxrwx 1 root root  15  一  19 23:05 /dev/stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root  15  一  19 23:05 /dev/stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root  15  一  19 23:05 /dev/stdout -> /proc/self/fd/1

/dev/shm:
total 328
drwxrwxrwt  2 root    root               240  一  23 23:23 .
drwxr-xr-x 11 root    root              2160  一  19 23:05 ..
-rwx------  1 admin   administrator 67108904  一  20 23:38 pulse-shm-1189122398
-rwx------  1 admin   administrator 67108904  一  21 17:19 pulse-shm-1295840724
-rwx------  1 admin   administrator 67108904  一  21 21:33 pulse-shm-1613448470
-rwx------  1 lightdm lightdm       67108904  一  20 23:38 pulse-shm-2149162506
-rwx------  1 admin   administrator 67108904  一  20 23:46 pulse-shm-2658865265
-rwx------  1 admin   administrator 67108904  一  20 23:38 pulse-shm-2705949534
-rwx------  1 admin   administrator 67108904  一  20 23:38 pulse-shm-3198293395
-rwx------  1 lightdm lightdm       67108904  一  20 23:38 pulse-shm-3418607082
-rwx------  1 admin   administrator 67108904  一  21 21:33 pulse-shm-3866557718
-rwx------  1 lightdm lightdm       67108904  一  20 23:38 pulse-shm-4199233496

/dev/snd:
total 0
drwxr-xr-x   3 root root      160  一  19 23:05 .
drwxr-xr-x  11 root root     2160  一  19 23:05 ..
drwxr-xr-x   2 root root       60  一  19 23:05 by-path
crw-rw----+  1 root audio 116,  2  一  19 23:05 controlC0
crw-rw----+  1 root audio 116,  4  一  19 23:05 hwC0D2
crw-rw----+  1 root audio 116,  3  一  21 21:32 pcmC0D3p
crw-rw----+  1 root audio 116,  1  一  19 23:05 seq
crw-rw----+  1 root audio 116, 33  一  19 23:05 timer

basti0001
Posts: 2
Joined: Wed Jan 24, 2018 3:47 pm

Re: Optical Drive not being found

Post by basti0001 » Wed Jan 24, 2018 3:57 pm

Can confirm this behavior on lmde 2 Betsy (debian stretch).
cat /proc/version
Linux version 3.16.0-5-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08)

Version 1.10.8 detects my BlueRay drive (BD-ROM HL-DT-ST) and works like charm.
Version 1.10.9 and 1.10.10 can't access the drive for unknown reasons (Drive not found in the log window). However opening via the File Menu results in a crash of the application for both versions. No chance of using.

Since I have installed the Windows version as well (1.10.10) and since this version works with the drive, I presume there is some error/issue/change on the linux side for this problem.

@MakeMkv dev team: Is there anything I can do to provide more input about this issue?

Cheers

Sebastian

geodreieck24
Posts: 1
Joined: Wed Jan 24, 2018 4:09 pm

Re: Optical Drive not being found

Post by geodreieck24 » Wed Jan 24, 2018 4:17 pm

When you don't have any /dev/sg* device files, it means that the sg scsi driver is not loaded.

I don't know why some distributions (or udev?) load this driver by default and some don't, but you can load it manually using:

Code: Select all

sudo modprobe sg

aurik
Posts: 2
Joined: Wed Jan 24, 2018 1:38 am

Re: Optical Drive not being found

Post by aurik » Thu Jan 25, 2018 2:47 am

I'm having the same problem on Ubuntu 14.04:

Code: Select all

root@media-srv:~# uname -a
Linux media-srv 3.13.0-137-generic #186-Ubuntu SMP Mon Dec 4 19:09:19 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

root@media-srv:~# lsscsi
[0:0:0:0]    disk    ATA      ST1000LM024 HN-M 2AR1  /dev/sda 
[1:0:0:0]    cd/dvd  HL-DT-ST BDDVDRW UH12NS29 1.00  /dev/sr0 
[2:0:0:0]    disk    ATA      ST1000LM024 HN-M 2AR1  /dev/sdb 
[3:0:0:0]    disk    ATA      ST1000LM024 HN-M 2AR1  /dev/sdc 
[4:0:0:0]    disk    ATA      ST1000LM024 HN-M 2AR1  /dev/sdd 
[5:0:0:0]    disk    ATA      ST1000LM024 HN-M 2BA3  /dev/sde 
[6:0:0:0]    disk    ATA      ST1000LM024 HN-M 0001  /dev/sdf 
[6:0:1:0]    cd/dvd  HL-DT-ST BDDVDRW UH12NS29 1.00  /dev/sr1 
[6:0:2:0]    disk    ATA      OCZ-ONYX         1.7   /dev/sdg 
[6:0:3:0]    disk    ATA      ST1000LM024 HN-M 0002  /dev/sdh 
[6:0:4:0]    disk    ATA      ST1000LM024 HN-M 0001  /dev/sdi 
[6:0:5:0]    disk    ATA      ST1000LM024 HN-M 0001  /dev/sdj 

Code: Select all

root@media-srv:~# ll /sys/bus/scsi/devices/
total 0
drwxr-xr-x 2 root root 0 Dec 12 18:40 ./
drwxr-xr-x 4 root root 0 Dec 12 18:40 ../
lrwxrwxrwx 1 root root 0 Dec 12 18:40 0:0:0:0 -> ../../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 1:0:0:0 -> ../../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 2:0:0:0 -> ../../../devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 3:0:0:0 -> ../../../devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 4:0:0:0 -> ../../../devices/pci0000:00/0000:00:14.1/ata5/host4/target4:0:0/4:0:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 5:0:0:0 -> ../../../devices/pci0000:00/0000:00:14.1/ata6/host5/target5:0:0/5:0:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 6:0:0:0 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:0/end_device-6:0/target6:0:0/6:0:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 6:0:1:0 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:1/end_device-6:1/target6:0:1/6:0:1:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 6:0:2:0 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:2/end_device-6:2/target6:0:2/6:0:2:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 6:0:3:0 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:3/end_device-6:3/target6:0:3/6:0:3:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 6:0:4:0 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:4/end_device-6:4/target6:0:4/6:0:4:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 6:0:5:0 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:5/end_device-6:5/target6:0:5/6:0:5:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 host0 -> ../../../devices/pci0000:00/0000:00:11.0/ata1/host0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 host1 -> ../../../devices/pci0000:00/0000:00:11.0/ata2/host1/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 host2 -> ../../../devices/pci0000:00/0000:00:11.0/ata3/host2/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 host3 -> ../../../devices/pci0000:00/0000:00:11.0/ata4/host3/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 host4 -> ../../../devices/pci0000:00/0000:00:14.1/ata5/host4/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 host5 -> ../../../devices/pci0000:00/0000:00:14.1/ata6/host5/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 host6 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target0:0:0 -> ../../../devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target1:0:0 -> ../../../devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target2:0:0 -> ../../../devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target3:0:0 -> ../../../devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target4:0:0 -> ../../../devices/pci0000:00/0000:00:14.1/ata5/host4/target4:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target5:0:0 -> ../../../devices/pci0000:00/0000:00:14.1/ata6/host5/target5:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target6:0:0 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:0/end_device-6:0/target6:0:0/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target6:0:1 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:1/end_device-6:1/target6:0:1/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target6:0:2 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:2/end_device-6:2/target6:0:2/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target6:0:3 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:3/end_device-6:3/target6:0:3/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target6:0:4 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:4/end_device-6:4/target6:0:4/
lrwxrwxrwx 1 root root 0 Dec 12 18:40 target6:0:5 -> ../../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/host6/port-6:5/end_device-6:5/target6:0:5/

Code: Select all

root@media-srv:~# ll /dev/sr*
brw-rw---- 1 root cdrom 11, 0 Dec 12 18:40 /dev/sr0
brw-rw---- 1 root cdrom 11, 1 Dec 12 18:40 /dev/sr1
root@media-srv:~# ll /dev/sg*
crw-rw-rw- 1 root disk  21,  0 Dec 12 18:40 /dev/sg0
crw-rw-rw- 1 root cdrom 21,  1 Dec 12 18:40 /dev/sg1
crw-rw-rw- 1 root disk  21, 10 Dec 12 18:40 /dev/sg10
crw-rw-rw- 1 root disk  21, 11 Dec 12 18:40 /dev/sg11
crw-rw-rw- 1 root disk  21,  2 Dec 12 18:40 /dev/sg2
crw-rw-rw- 1 root disk  21,  3 Dec 12 18:40 /dev/sg3
crw-rw-rw- 1 root disk  21,  4 Dec 12 18:40 /dev/sg4
crw-rw-rw- 1 root disk  21,  5 Dec 12 18:40 /dev/sg5
crw-rw-rw- 1 root disk  21,  6 Dec 12 18:40 /dev/sg6
crw-rw-rw- 1 root cdrom 21,  7 Dec 12 18:40 /dev/sg7
crw-rw-rw- 1 root disk  21,  8 Dec 12 18:40 /dev/sg8
crw-rw-rw- 1 root disk  21,  9 Dec 12 18:40 /dev/sg9
Yeah, I know I have a LOT of drives. I've got a 8-drive RAID5 array (including 2 hot spares) made up of 1TB laptop drives. Pretty fast, actually. One of these days I need to get around to upgrading them to 2TB drives, but that will be... interesting.

old-linux
Posts: 3
Joined: Tue Oct 04, 2016 1:32 am

Re: Optical Drive not being found

Post by old-linux » Thu Jan 25, 2018 4:06 am

Like many others I'm also struggling to understand this problem.
My machine is running CentOS 6.9. I can successfully build 10.8,
10.9, and 10.10 - but only 10.8 is able to find my optical drive.

10.8 as far as I can tell works perfectly for me.
With 10.8 running the makemkv info window shows:

Drive Information
OS device name: /dev/sr0
Manufacturer: HL-DT-ST
Product: BD-RE WH14NS40
Revision: 1.03
Serial number: xxxxxxxxxxx
Firmware date: 2114-03-26 11:05:
Bus encryption flags: 17
Highest AACS version: 63

No disc inserted

With either 10.9 or 10.10 installed I only see:

The program can't find any usable optical drives.

I do have both sr and sg devices showing up:

[mike@host ~]$ ls -la /dev/sg*
crw-rw----. 1 root disk 21, 0 Jan 19 10:08 /dev/sg0
crw-rw----. 1 root cdrom 21, 1 Jan 19 10:08 /dev/sg1
[mike@host ~]$ ls -la /dev/sr*
brw-rw----+ 1 root cdrom 11, 0 Jan 22 01:34 /dev/sr0
[mike@host ~]$

An earlier post on this bug mentioned a permissions issue.
I'm sorry but I didn't understand that. Is there some kind of
workaround that I could try? Thanks for any ideas on this.

twjaeger
Posts: 8
Joined: Mon Jan 22, 2018 6:09 am

Re: Optical Drive not being found

Post by twjaeger » Thu Jan 25, 2018 7:27 am

geodreieck24 wrote:When you don't have any /dev/sg* device files, it means that the sg scsi driver is not loaded.

I don't know why some distributions (or udev?) load this driver by default and some don't, but you can load it manually using:

Code: Select all

sudo modprobe sg
This is what I get when I run sudo modprobe sg:

Code: Select all

root@ubuntu_1604:~# sudo modprobe sg
{
  "code": 500,
  "errorCode": 0,
  "errorMsg": "command [u'/sbin/modprobe', u'sg'] failed with return value 1",
  "result": null
}

annoyed_as_hell
Posts: 5
Joined: Thu Jan 11, 2018 4:13 pm

Re: Optical Drive not being found

Post by annoyed_as_hell » Thu Jan 25, 2018 2:43 pm

Yup, can confirm that on current Arch based distro this disaster of a bug hasn't been fixed yet.

Have read through this entire post and at present completely fail to understand how, in taking something that USED to work perfectly and 'update' it to a point where two past updates have broken the program, this becomes the end user's problem??

One of the VERY BEST reasons for using MakeMKV in the first place was precisely because it could be installed via a package and voila! blu ray replay. Now I see we're going down the road of oh... why don't I run a bunch of commands on my machine, and wade through pages of output, only to be told there's probably nothing wrong with the software but it's my computer??

It USED TO WORK FINE.... and NOW IT DOESN'T. This makes it BROKEN imo. Someone please fix it?? Why WHY does it require me to sit here p*ssing about rolling back, or building locally when... I repeat myself... IT USED TO WORK FINE. Now it doesn't. Please fix the problem - a problem, it's worth noting, that you introduced not 'us'.

Thank you :)

spl147
Posts: 105
Joined: Mon Dec 10, 2012 4:59 pm

Re: Optical Drive not being found

Post by spl147 » Thu Jan 25, 2018 3:14 pm

annoyed_as_hell wrote:Yup, can confirm that on current Arch based distro this disaster of a bug hasn't been fixed yet.

Have read through this entire post and at present completely fail to understand how, in taking something that USED to work perfectly and 'update' it to a point where two past updates have broken the program, this becomes the end user's problem??

One of the VERY BEST reasons for using MakeMKV in the first place was precisely because it could be installed via a package and voila! blu ray replay. Now I see we're going down the road of oh... why don't I run a bunch of commands on my machine, and wade through pages of output, only to be told there's probably nothing wrong with the software but it's my computer??

It USED TO WORK FINE.... and NOW IT DOESN'T. This makes it BROKEN imo. Someone please fix it?? Why WHY does it require me to sit here p*ssing about rolling back, or building locally when... I repeat myself... IT USED TO WORK FINE. Now it doesn't. Please fix the problem - a problem, it's worth noting, that you introduced not 'us'.

Thank you :)
it is not broken, it is a NEW Requirement, stated by mike himself
"You DO need both.

Starting from 1.10.8 the /dev/sgX that corresponds to drive is required . MakeMKV will work without access to /dev/srX , but performance will be slow.

MakeMKV figures out device names by analyzing /sys/bus/scsi, same way as lsscsi does."


it's a very simple fix,

Wild Penguin
Posts: 3
Joined: Sun Nov 19, 2017 5:25 pm

Re: Optical Drive not being found

Post by Wild Penguin » Thu Jan 25, 2018 3:43 pm

Maybe a bit more explanation is required why is /dev/sgX (or loading sg) now a requirement. Seems like a lot of distros do not load the module automatically. All I can find via Google is a Red Hat bug report, but no explanation why this module is actually required.

This way maybe the user(s) will know if they need to file bug reports to their distributions, and how to make the point in the reports valid.

As a permanent fix for Arch based distributions (and others which load modules the same way):

Code: Select all

echo sg | sudo tee /etc/modules-load.d/sg.conf
And reboot (or 'sudo modprobe sg' as pointed out by someone if you do not want to reboot).

This does not help users who are experiencing this problem with sg loaded, like aurik.

spl147
Posts: 105
Joined: Mon Dec 10, 2012 4:59 pm

Re: Optical Drive not being found

Post by spl147 » Thu Jan 25, 2018 3:47 pm

Wild Penguin wrote:Maybe a bit more explanation is required why is /dev/sgX (or loading sg) now a requirement. Seems like a lot of distros do not load the module automatically. All I can find via Google is a Red Hat bug report, but no explanation why this module is actually required.

This way maybe the user(s) will know if they need to file bug reports to their distributions, and how to make the point in the reports valid.

As a permanent fix for Arch based distributions (and others which load modules the same way):

Code: Select all

echo sg | sudo tee /etc/modules-load.d/sg.conf
And reboot (or 'sudo modprobe sg' as pointed out by someone if you do not want to reboot).

This does not help users who are experiencing this problem with sg loaded, like aurik.
just a guess, but i would assume it has something to do with UHD support, since the requirement was added at the same time

JohnJasonJordan
Posts: 14
Joined: Mon Jun 19, 2017 11:47 pm

Re: Optical Drive not being found

Post by JohnJasonJordan » Fri Jan 26, 2018 5:18 am

spl147 wrote: As a permanent fix for Arch based distributions (and others which load modules the same way):

Code: Select all

echo sg | sudo tee /etc/modules-load.d/sg.conf
And reboot (or 'sudo modprobe sg' as pointed out by someone if you do not want to reboot).
This does not help users who are experiencing this problem with sg loaded, like aurik.
OK, I just tried this on Ubuntu 14.04.5:

$ echo sg | sudo tee /etc/modules-load.d/sg.conf
sg
$ sudo modprobe sg
<no response>

Then I reinstalled 1.10.10, but it still couldn't find the optical drives.

And ls -la /dev/sg* lists both my optical drives:
$ ls -la /dev/sg*
crw-rw----+ 1 root cdrom 21, 0 Jan 23 16:33 /dev/sg0
crw-rw---- 1 root disk 21, 1 Jan 23 16:33 /dev/sg1
crw-rw----+ 1 root cdrom 21, 2 Jan 23 16:33 /dev/sg2
crw-rw---- 1 root disk 21, 3 Jan 23 16:33 /dev/sg3
crw-rw---- 1 root disk 21, 4 Jan 23 16:34 /dev/sg4

Any more suggestions?

annoyed_as_hell
Posts: 5
Joined: Thu Jan 11, 2018 4:13 pm

Re: Optical Drive not being found

Post by annoyed_as_hell » Fri Jan 26, 2018 3:19 pm

Am very pleased to confirm that with the help (and patience) of users above and able to understand that this is intentional behaviour, I have run the commands noted and that MakeMKV now works, and that the edit to the module configuration file has made it a permanent fix.

So - happy now. No need to complain anymore ;)

Off to watch a movie!

twjaeger
Posts: 8
Joined: Mon Jan 22, 2018 6:09 am

Re: Optical Drive not being found

Post by twjaeger » Fri Jan 26, 2018 3:58 pm

annoyed_as_hell wrote:Am very pleased to confirm that with the help (and patience) of users above and able to understand that this is intentional behaviour, I have run the commands noted and that MakeMKV now works, and that the edit to the module configuration file has made it a permanent fix.

So - happy now. No need to complain anymore ;)

Off to watch a movie!

twjaeger
Posts: 8
Joined: Mon Jan 22, 2018 6:09 am

Re: Optical Drive not being found

Post by twjaeger » Fri Jan 26, 2018 4:00 pm

Good news for you!

Unfortunately for me, I am still at a loss after countless hours trying to get the SG driver to work. It still doesn't recognize the optical drive as SG*.

Post Reply