www.makemkv.com

MakeMKV support forum
It is currently Mon Jul 16, 2018 10:24 pm

All times are UTC




Post new topic Reply to topic  [ 90 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
PostPosted: Sat Feb 03, 2018 12:09 am 
Offline

Joined: Fri Feb 02, 2018 11:59 pm
Posts: 1
For those using LXC (containers) I was able to get 1.10.10 working by:

1. Adding additional devices.allow to <container>/conf for sg devices
lxc.cgroup.devices.allow = c 21:* rwm

2. Include creation of new node in my node creation script (called via lxc.hook.autodev):
mknod -m 666 ${LXC_ROOTFS_MOUNT}/dev/sg3 c 21 3

This is for a privileged container. Entries may be different for your environment.


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 03, 2018 5:55 pm 
Offline

Joined: Wed Jan 24, 2018 1:38 am
Posts: 2
Actually the easiest way to determine a) whether you have the "sg" driver loaded AND which sg device corresponds to your optical drive is to use the lsscsi command with the "-g" option:

Code:
root@media-srv:/export/src/makemkv# lsscsi -g
[0:0:0:0]    disk    ATA      ST1000LM024 HN-M 2AR1  /dev/sda   /dev/sg0
[1:0:0:0]    cd/dvd  HL-DT-ST BDDVDRW UH12NS29 1.00  /dev/sr0   /dev/sg1
[2:0:0:0]    disk    ATA      ST1000LM024 HN-M 2AR1  /dev/sdb   /dev/sg2
[3:0:0:0]    disk    ATA      ST1000LM024 HN-M 2AR1  /dev/sdc   /dev/sg3
[4:0:0:0]    disk    ATA      ST1000LM024 HN-M 2AR1  /dev/sdd   /dev/sg4
[5:0:0:0]    disk    ATA      ST1000LM024 HN-M 2BA3  /dev/sde   /dev/sg5
[6:0:0:0]    disk    ATA      ST1000LM024 HN-M 0001  /dev/sdf   /dev/sg6
[6:0:1:0]    cd/dvd  HL-DT-ST BDDVDRW UH12NS29 1.00  /dev/sr1   /dev/sg7
[6:0:2:0]    disk    ATA      OCZ-ONYX         1.7   /dev/sdg   /dev/sg8
[6:0:3:0]    disk    ATA      ST1000LM024 HN-M 0002  /dev/sdh   /dev/sg9
[6:0:4:0]    disk    ATA      ST1000LM024 HN-M 0001  /dev/sdi   /dev/sg10
[6:0:5:0]    disk    ATA      ST1000LM024 HN-M 0001  /dev/sdj   /dev/sg11


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 1:17 am 
Offline

Joined: Mon Dec 10, 2012 4:59 pm
Posts: 82
alexsd wrote:
i'm at a loss here too. i've tried everything posted in this thread.

i'm on unraid 6.3.5.

can you take a look, mike?

Code:
root@Tower:~# ls -la /dev/sg*
crw-rw---- 1 root cdrom 21, 3 Jan 31 06:56 /dev/sg3


Code:
root@Tower:~# ls -la /dev/sr*
brw-rw---- 1 root cdrom 11, 0 Jan 31 06:56 /dev/sr0



you answered your own question

in the extra parameters section of the makemkv docker container put this:
Code:
--device /dev/sr0 --device /dev/sg3


the directions are in the docker container itself


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 3:37 pm 
Offline

Joined: Wed Nov 26, 2008 2:26 am
Posts: 3386
nickjpg wrote:
Still waiting for "mike admin" to provide detailed instructions on his "simple fix".

Download 1.12.0

p.s. You do realize that "simple fix" were never my words?
spl147 wrote:
it's a very simple fix,


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 04, 2018 3:39 pm 
Offline

Joined: Mon Dec 10, 2012 4:59 pm
Posts: 82
mike admin wrote:
nickjpg wrote:
Still waiting for "mike admin" to provide detailed instructions on his "simple fix".

Download 1.12.0

p.s. You do realize that "simple fix" were never my words?
spl147 wrote:
it's a very simple fix,

yes sir, i did not realize i quoted you as such.


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 05, 2018 5:04 pm 
Offline

Joined: Wed Jan 31, 2018 11:03 pm
Posts: 3
Djoss wrote:
Are you running MakeMKV inside a docker container? If yes, then I recommend that you post your issue on the support thread (unRAID forum) of the container . An incorrect container configuration can prevent the detection.


this got me working. thank you.


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 05, 2018 5:06 pm 
Offline

Joined: Wed Jan 31, 2018 11:03 pm
Posts: 3
spl147 wrote:
alexsd wrote:
i'm at a loss here too. i've tried everything posted in this thread.

i'm on unraid 6.3.5.

can you take a look, mike?

Code:
root@Tower:~# ls -la /dev/sg*
crw-rw---- 1 root cdrom 21, 3 Jan 31 06:56 /dev/sg3


Code:
root@Tower:~# ls -la /dev/sr*
brw-rw---- 1 root cdrom 11, 0 Jan 31 06:56 /dev/sr0



you answered your own question

in the extra parameters section of the makemkv docker container put this:
Code:
--device /dev/sr0 --device /dev/sg3


the directions are in the docker container itself


correct. that's what got me going. thank you.


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 06, 2018 3:53 am 
Offline

Joined: Wed Jan 10, 2018 1:23 am
Posts: 7
Is there a solution for a non "docker container makemkv" ?


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 06, 2018 8:57 pm 
Offline

Joined: Mon Jun 19, 2017 11:47 pm
Posts: 9
I just installed 1.12.0 on Xubuntu 14.04.5 and the problem with not seeing the optical drives has been resolved. Thanks to all!


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 07, 2018 5:03 am 
Offline

Joined: Wed Jan 10, 2018 1:23 am
Posts: 7
Just confirmed that 1.12.0 installed on Arch linux 3.16.0-4-amd64 works. Thank you!


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 18, 2018 7:52 am 
Offline

Joined: Sun Feb 18, 2018 7:42 am
Posts: 4
Location: /usa/utah
Just a heads up, if you're using Gentoo, you'll need SCSI generic support in your kernel built-in or as a module (sg). Look for CONFIG_CHR_DEV_SG

Code:
Device drivers -->
  SCSI device support -->
    <*> SCSI generic support


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 24, 2018 12:40 pm 
Offline

Joined: Mon Feb 19, 2018 1:26 pm
Posts: 1
Hi, guys.
Thanks for the information on this problem.
I'm using makemkv-1.12.0 on slackware64-current (14.2).
On my case, I was able to solve this problem by modifying /etc/rc.d/rc.modules.local.

#/sbin/modprobe sg
--> /sbin/modprobe sg


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 26, 2018 9:24 pm 
Offline

Joined: Mon Feb 26, 2018 9:20 pm
Posts: 2
Using "modprobe sg" works for me. Thank you.

I know we can load the sg module at boot by including it in /etc/modules-load.d however the arch wiki seems to suggest that udev rules should be used for handling module loading. Can someone provide an example of this?


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 28, 2018 7:32 pm 
Offline

Joined: Mon Feb 26, 2018 9:20 pm
Posts: 2
I'll answer my own question. This is the udev rule that works for me:
Code:
SUBSYSTEMS=="scsi", DRIVERS=="sr", ATTRS{type}=="4|5", GROUP="optical", RUN="/sbin/modprobe -bv sg"


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 14, 2018 10:39 pm 
Offline

Joined: Wed Mar 14, 2018 10:37 pm
Posts: 1
elParaguayo wrote:
I'll answer my own question. This is the udev rule that works for me:
Code:
SUBSYSTEMS=="scsi", DRIVERS=="sr", ATTRS{type}=="4|5", GROUP="optical", RUN="/sbin/modprobe -bv sg"


I registered for the site just to say
"Thank You!!"

Worked like a champ.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 90 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group