Optical Drive not being found

The place to discuss linux version of MakeMKV
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Optical Drive not being found

Post by nickjpg »

Mike,

What exactly is the simple fix?? I have the sg module loaded, with valid sg device for the CDROM, and yet only version prior to 1.10.9 on my Debian (arch based) system can locate the drive.

I have sg loaded, i.e.:
# lsmod | grep sg
sg 29973 0 ll /dev/sg*
scsi_mod 191405 4 sg,libata,sd_mod,sr_mo

lsscsi shows the cdrom at [2:0:0:0], i.e.:
# lsscsi -v
[0:0:0:0] disk ATA ST1000DM003-1ER1 SCOP /dev/sda
dir: /sys/bus/scsi/devices/0:0:0:0 [/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0]
[1:0:0:0] disk ATA ST1000DM003-1SB1 CC43 /dev/sdb
dir: /sys/bus/scsi/devices/1:0:0:0 [/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0]
[2:0:0:0] cd/dvd TSSTcorp CDDVDW SE-S204N TS02 /dev/sr0
dir: /sys/bus/scsi/devices/2:0:0:0 [/sys/devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0]
[3:0:0:0] disk ATA ST2000DM001-1ER1 CC26 /dev/sdc
dir: /sys/bus/scsi/devices/3:0:0:0 [/sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0]
[4:0:0:0] disk ATA ST2000DM001-1ER1 CC26 /dev/sdd
dir: /sys/bus/scsi/devices/4:0:0:0 [/sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0]
[5:0:0:0] disk ATA ST1000DM003-1SB1 CC43 /dev/sde
dir: /sys/bus/scsi/devices/5:0:0:0 [/sys/devices/pci0000:00/0000:00:1f.2/ata6/host5/target5:0:0/5:0:0:0]


I have /dev/sg2 populated for the cdrom, i.e.:
# ll /dev/sg*
crw-rw---- 1 root disk 21, 0 Jan 24 19:55 /dev/sg0
crw-rw---- 1 root disk 21, 1 Jan 24 19:55 /dev/sg1
crw-rw----+ 1 root cdrom 21, 2 Jan 24 19:55 /dev/sg2
crw-rw---- 1 root disk 21, 3 Jan 24 19:55 /dev/sg3
crw-rw---- 1 root disk 21, 4 Jan 24 19:55 /dev/sg4
crw-rw---- 1 root disk 21, 5 Jan 24 19:55 /dev/sg5

I have /dev/sr0 populated for cdrom, i.e.:
# ll /dev/sr*
brw-rw----+ 1 root cdrom 11, 0 Jan 24 19:55 /dev/sr0

sg_map shows /dev/sg2 mapped to /dev/sr0 and they are on [2.0.0.0], i.e.:
# sg_map -sr -x
/dev/sg0 0 0 0 0 0
/dev/sg1 1 0 0 0 0
/dev/sg2 2 0 0 0 5 /dev/sr0
/dev/sg3 3 0 0 0 0
/dev/sg4 4 0 0 0 0
/dev/sg5 5 0 0 0 0

I have /sys/bus/scsi/devices populated, i.e.:
# ls -la /sys/bus/scsi/devices/
total 0
drwxr-xr-x 2 root root 0 Jan 26 16:22 .
drwxr-xr-x 4 root root 0 Jan 26 16:22 ..
lrwxrwxrwx 1 root root 0 Jan 26 16:22 0:0:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 1:0:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 2:0:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 3:0:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 4:0:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 5:0:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata6/host5/target5:0:0/5:0:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 host0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata1/host0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 host1 -> ../../../devices/pci0000:00/0000:00:1f.2/ata2/host1
lrwxrwxrwx 1 root root 0 Jan 26 16:22 host2 -> ../../../devices/pci0000:00/0000:00:1f.2/ata3/host2
lrwxrwxrwx 1 root root 0 Jan 26 16:22 host3 -> ../../../devices/pci0000:00/0000:00:1f.2/ata4/host3
lrwxrwxrwx 1 root root 0 Jan 26 16:22 host4 -> ../../../devices/pci0000:00/0000:00:1f.2/ata5/host4
lrwxrwxrwx 1 root root 0 Jan 26 16:22 host5 -> ../../../devices/pci0000:00/0000:00:1f.2/ata6/host5
lrwxrwxrwx 1 root root 0 Jan 26 16:22 target0:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 target1:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 target2:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 target3:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 target4:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0
lrwxrwxrwx 1 root root 0 Jan 26 16:22 target5:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata6/host5/target5:0:0

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

Re: Optical Drive not being found

Post by basti0001 »

This issue also is present with arch based distros.

Linux version 4.14.14-1-MANJARO (builduser@manjaro) (gcc version 7.2.1 20171224 (GCC)) #1 SMP PREEMPT Wed Jan 17 22:34:54 UTC 2018

However I can confirm that

sudo modprobe sg

fixes this issue.
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Optical Drive not being found

Post by nickjpg »

basti0001,

If you look at my output, you will see that I indeed already have the sg module loaded. So in my arch case the sg module is NOT the issue.

Best Regards
JokerJim
Posts: 2
Joined: Tue Jan 09, 2018 4:25 am

Re: Optical Drive not being found

Post by JokerJim »

While I'm not a complete Linux noob, I am not versed at the level of detail into the operating system to have been messing with modules before.

From what I can read online, newer versions of Ubuntu had the sg module internal as opposed to a loadable module. When I ls -la /dev/sg* and ls -la /dev/sr*, I get the following:

Code: Select all

ls -la /dev/sg*
crw-rw----  1 root disk  21, 0 Dec  4 22:53 /dev/sg0
crw-rw----  1 root disk  21, 1 Dec  4 22:53 /dev/sg1
crw-rw----  1 root disk  21, 2 Dec  4 22:53 /dev/sg2
crw-rw----  1 root disk  21, 3 Dec  4 22:53 /dev/sg3
crw-rw----  1 root disk  21, 4 Dec  4 22:53 /dev/sg4
crw-rw----  1 root disk  21, 5 Dec  4 22:53 /dev/sg5
crw-rw----  1 root disk  21, 6 Dec  4 22:53 /dev/sg6
crw-rw----+ 1 root cdrom 21, 7 Dec  4 22:53 /dev/sg7
crw-rw----  1 root disk  21, 8 Dec  4 22:53 /dev/sg8
and

Code: Select all

brw-rw----+ 1 root cdrom 11, 0 Jan 28 03:01 /dev/sr0
Now, if I've figured this correctly and am reading the above right, /dev/sg7 and /dev/sr0 both are pointing to my DVD drive... however, I am still not able to get to the DVD in the newest version of MakeMKV.

I would appreciate some more help, and please remember that I'm a fair noob and probably need some pretty basic instructions... it took me 45 minutes of searching on Google (thanks to the reams of pages about modules and how common the phrase is) to find how to add module... and while looking for that, I found the site that claims that sg is no longer needed on Ubuntu... and I followed instructions on that page to do:

Code: Select all

find /lib/modules/`uname -r` -type f -name "*.ko" | grep sg
and found no existing sg.ko file...

So, if it's internal, then I should be working and if it's not, I cannot load it because the file doesn't exist... so where can I download it?

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

Re: Optical Drive not being found

Post by JohnJasonJordan »

JokerJim wrote:While I'm not a complete Linux noob, I am not versed at the level of detail into the operating system to have been messing with modules before.
From what I can read online, newer versions of Ubuntu had the sg module internal as opposed to a loadable module. When I ls -la /dev/sg* and ls -la /dev/sr*, I get the following:

Code: Select all

ls -la /dev/sg*
crw-rw----  1 root disk  21, 0 Dec  4 22:53 /dev/sg0
crw-rw----  1 root disk  21, 1 Dec  4 22:53 /dev/sg1
crw-rw----  1 root disk  21, 2 Dec  4 22:53 /dev/sg2
crw-rw----  1 root disk  21, 3 Dec  4 22:53 /dev/sg3
crw-rw----  1 root disk  21, 4 Dec  4 22:53 /dev/sg4
crw-rw----  1 root disk  21, 5 Dec  4 22:53 /dev/sg5
crw-rw----  1 root disk  21, 6 Dec  4 22:53 /dev/sg6
crw-rw----+ 1 root cdrom 21, 7 Dec  4 22:53 /dev/sg7
crw-rw----  1 root disk  21, 8 Dec  4 22:53 /dev/sg8
and

Code: Select all

brw-rw----+ 1 root cdrom 11, 0 Jan 28 03:01 /dev/sr0
Now, if I've figured this correctly and am reading the above right, /dev/sg7 and /dev/sr0 both are pointing to my DVD drive... however, I am still not able to get to the DVD in the newest version of MakeMKV.
I would appreciate some more help, and please remember that I'm a fair noob and probably need some pretty basic instructions... it took me 45 minutes of searching on Google (thanks to the reams of pages about modules and how common the phrase is) to find how to add module... and while looking for that, I found the site that claims that sg is no longer needed on Ubuntu... and I followed instructions on that page to do:

Code: Select all

find /lib/modules/`uname -r` -type f -name "*.ko" | grep sg
and found no existing sg.ko file...
So, if it's internal, then I should be working and if it's not, I cannot load it because the file doesn't exist... so where can I download it?
Thank you,
I can echo everything that JokerJim said above for my Ubuntu 14.04.5, including my noob status.

I did find the module here: http://sg.danny.cz/sg/#mozTocId689512 . However, after downloading it I discovered that it won't install:

Code: Select all

sudo insmod sg.c
insmod: ERROR: could not insert module sg.c: Invalid module format
I have also heard that sg is no longer needed yet, as JokerJim, 'ls -la /dev/sg*' lsts all my drives, including my two optical drives, and I get the same list wth 'lsscsi -g.' And 'sudo modprobe sg' returns nothing, not even an error message.
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Optical Drive not being found

Post by nickjpg »

Hey mike admin,

Can you give specific instructions on your simple fix??
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Optical Drive not being found

Post by mike admin »

nickjpg wrote: lsscsi shows the cdrom at [2:0:0:0], i.e.:
# lsscsi -v
[2:0:0:0] cd/dvd TSSTcorp CDDVDW SE-S204N TS02 /dev/sr0
dir: /sys/bus/scsi/devices/2:0:0:0 [/sys/devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0]

I have /dev/sg2 populated for the cdrom, i.e.:
crw-rw----+ 1 root cdrom 21, 2 Jan 24 19:55 /dev/sg2

I have /dev/sr0 populated for cdrom, i.e.:
brw-rw----+ 1 root cdrom 11, 0 Jan 24 19:55 /dev/sr0

lrwxrwxrwx 1 root root 0 Jan 26 16:22 2:0:0:0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0
Could you please do

Code: Select all

ls -laR /sys/bus/scsi/devices/2:0:0:0/
hexdump -C /sys/bus/scsi/devices/2:0:0:0/inquiry
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Optical Drive not being found

Post by nickjpg »

Hey Mike,

You bet:

# ls -laR /sys/bus/scsi/devices/2:0:0:0/
/sys/bus/scsi/devices/2:0:0:0/:
total 0
drwxr-xr-x 7 root root 0 Jan 28 14:21 .
drwxr-xr-x 4 root root 0 Jan 27 21:23 ..
drwxr-xr-x 3 root root 0 Jan 27 21:23 block
drwxr-xr-x 3 root root 0 Jan 27 21:23 bsg
--w------- 1 root root 4096 Jan 28 14:21 delete
-r--r--r-- 1 root root 4096 Jan 28 14:21 device_blocked
-r--r--r-- 1 root root 4096 Jan 28 14:21 device_busy
lrwxrwxrwx 1 root root 0 Jan 27 21:24 driver -> ../../../../../../../bus/scsi/drivers/sr
-rw-r--r-- 1 root root 4096 Jan 28 14:21 eh_timeout
-r--r--r-- 1 root root 4096 Jan 28 14:21 evt_capacity_change_reported
-r--r--r-- 1 root root 4096 Jan 28 14:21 evt_inquiry_change_reported
-r--r--r-- 1 root root 4096 Jan 28 14:21 evt_lun_change_reported
-r--r--r-- 1 root root 4096 Jan 28 14:21 evt_media_change
-r--r--r-- 1 root root 4096 Jan 28 14:21 evt_mode_parameter_change_reported
-r--r--r-- 1 root root 4096 Jan 28 14:21 evt_soft_threshold_reached
lrwxrwxrwx 1 root root 0 Jan 28 14:21 generic -> scsi_generic/sg2
-r--r--r-- 1 root root 4096 Jan 28 14:21 iocounterbits
-r--r--r-- 1 root root 4096 Jan 28 14:21 iodone_cnt
-r--r--r-- 1 root root 4096 Jan 28 14:21 ioerr_cnt
-r--r--r-- 1 root root 4096 Jan 28 14:21 iorequest_cnt
-r--r--r-- 1 root root 4096 Jan 28 14:21 modalias
-r--r--r-- 1 root root 4096 Jan 27 21:24 model
drwxr-xr-x 2 root root 0 Jan 28 14:21 power
-rw-r--r-- 1 root root 4096 Jan 28 14:21 queue_depth
-rw-r--r-- 1 root root 4096 Jan 28 14:21 queue_ramp_up_period
-rw-r--r-- 1 root root 4096 Jan 28 14:21 queue_type
--w------- 1 root root 4096 Jan 28 14:21 rescan
-r--r--r-- 1 root root 4096 Jan 28 14:21 rev
drwxr-xr-x 3 root root 0 Jan 27 21:23 scsi_device
drwxr-xr-x 3 root root 0 Jan 27 21:23 scsi_generic
-r--r--r-- 1 root root 4096 Jan 27 21:23 scsi_level
-rw-r--r-- 1 root root 4096 Jan 28 14:21 state
lrwxrwxrwx 1 root root 0 Jan 27 21:23 subsystem -> ../../../../../../../bus/scsi
-rw-r--r-- 1 root root 4096 Jan 28 14:21 sw_activity
-rw-r--r-- 1 root root 4096 Jan 28 14:21 timeout
-r--r--r-- 1 root root 4096 Jan 27 21:23 type
-rw-r--r-- 1 root root 4096 Jan 27 21:23 uevent
-rw-r--r-- 1 root root 4096 Jan 28 14:21 unload_heads
-r--r--r-- 1 root root 4096 Jan 27 21:23 vendor
-r--r--r-- 1 root root 0 Jan 28 14:21 vpd_pg80
-r--r--r-- 1 root root 0 Jan 28 14:21 vpd_pg83

/sys/bus/scsi/devices/2:0:0:0/block:
total 0
drwxr-xr-x 3 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..
drwxr-xr-x 7 root root 0 Jan 27 21:23 sr0

/sys/bus/scsi/devices/2:0:0:0/block/sr0:
total 0
drwxr-xr-x 7 root root 0 Jan 28 14:21 .
drwxr-xr-x 3 root root 0 Jan 28 14:21 ..
-r--r--r-- 1 root root 4096 Jan 28 14:21 alignment_offset
lrwxrwxrwx 1 root root 0 Jan 28 14:21 bdi -> ../../../../../../../../virtual/bdi/11:0
-r--r--r-- 1 root root 4096 Jan 28 14:21 capability
-r--r--r-- 1 root root 4096 Jan 27 21:24 dev
lrwxrwxrwx 1 root root 0 Jan 27 21:26 device -> ../../../2:0:0:0
-r--r--r-- 1 root root 4096 Jan 28 14:21 discard_alignment
-r--r--r-- 1 root root 4096 Jan 28 14:21 events
-r--r--r-- 1 root root 4096 Jan 28 14:21 events_async
-rw-r--r-- 1 root root 4096 Jan 27 21:23 events_poll_msecs
-r--r--r-- 1 root root 4096 Jan 28 14:21 ext_range
drwxr-xr-x 2 root root 0 Jan 28 14:21 holders
-r--r--r-- 1 root root 4096 Jan 28 14:21 inflight
drwxr-xr-x 2 root root 0 Jan 28 14:21 power
drwxr-xr-x 3 root root 0 Jan 27 21:25 queue
-r--r--r-- 1 root root 4096 Jan 28 14:21 range
-r--r--r-- 1 root root 4096 Jan 27 21:23 removable
-r--r--r-- 1 root root 4096 Jan 27 21:25 ro
-r--r--r-- 1 root root 4096 Jan 28 14:21 size
drwxr-xr-x 2 root root 0 Jan 28 14:21 slaves
-r--r--r-- 1 root root 4096 Jan 27 21:26 stat
lrwxrwxrwx 1 root root 0 Jan 27 21:24 subsystem -> ../../../../../../../../../class/block
drwxr-xr-x 2 root root 0 Jan 28 14:21 trace
-rw-r--r-- 1 root root 4096 Jan 27 21:23 uevent

/sys/bus/scsi/devices/2:0:0:0/block/sr0/holders:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..

/sys/bus/scsi/devices/2:0:0:0/block/sr0/power:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..
-rw-r--r-- 1 root root 4096 Jan 28 14:21 async
-rw-r--r-- 1 root root 4096 Jan 28 14:21 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 28 14:21 control
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_kids
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_enabled
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_status
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_suspended_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_usage

/sys/bus/scsi/devices/2:0:0:0/block/sr0/queue:
total 0
drwxr-xr-x 3 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..
-rw-r--r-- 1 root root 4096 Jan 28 14:21 add_random
-r--r--r-- 1 root root 4096 Jan 28 14:21 discard_granularity
-r--r--r-- 1 root root 4096 Jan 28 14:21 discard_max_bytes
-r--r--r-- 1 root root 4096 Jan 28 14:21 discard_zeroes_data
-r--r--r-- 1 root root 4096 Jan 28 14:21 hw_sector_size
drwxr-xr-x 2 root root 0 Jan 28 14:21 iosched
-rw-r--r-- 1 root root 4096 Jan 28 14:21 iostats
-r--r--r-- 1 root root 4096 Jan 28 14:21 logical_block_size
-r--r--r-- 1 root root 4096 Jan 28 14:21 max_hw_sectors_kb
-r--r--r-- 1 root root 4096 Jan 28 14:21 max_integrity_segments
-rw-r--r-- 1 root root 4096 Jan 28 14:21 max_sectors_kb
-r--r--r-- 1 root root 4096 Jan 28 14:21 max_segments
-r--r--r-- 1 root root 4096 Jan 28 14:21 max_segment_size
-r--r--r-- 1 root root 4096 Jan 28 14:21 minimum_io_size
-rw-r--r-- 1 root root 4096 Jan 28 14:21 nomerges
-rw-r--r-- 1 root root 4096 Jan 28 14:21 nr_requests
-r--r--r-- 1 root root 4096 Jan 28 14:21 optimal_io_size
-r--r--r-- 1 root root 4096 Jan 28 14:21 physical_block_size
-rw-r--r-- 1 root root 4096 Jan 28 14:21 read_ahead_kb
-rw-r--r-- 1 root root 4096 Jan 27 21:25 rotational
-rw-r--r-- 1 root root 4096 Jan 28 14:21 rq_affinity
-rw-r--r-- 1 root root 4096 Jan 28 14:21 scheduler
-r--r--r-- 1 root root 4096 Jan 28 14:21 write_same_max_bytes

/sys/bus/scsi/devices/2:0:0:0/block/sr0/queue/iosched:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 3 root root 0 Jan 28 14:21 ..
-rw-r--r-- 1 root root 4096 Jan 28 14:21 back_seek_max
-rw-r--r-- 1 root root 4096 Jan 28 14:21 back_seek_penalty
-rw-r--r-- 1 root root 4096 Jan 28 14:21 fifo_expire_async
-rw-r--r-- 1 root root 4096 Jan 28 14:21 fifo_expire_sync
-rw-r--r-- 1 root root 4096 Jan 28 14:21 group_idle
-rw-r--r-- 1 root root 4096 Jan 28 14:21 low_latency
-rw-r--r-- 1 root root 4096 Jan 28 14:21 quantum
-rw-r--r-- 1 root root 4096 Jan 28 14:21 slice_async
-rw-r--r-- 1 root root 4096 Jan 28 14:21 slice_async_rq
-rw-r--r-- 1 root root 4096 Jan 28 14:21 slice_idle
-rw-r--r-- 1 root root 4096 Jan 28 14:21 slice_sync
-rw-r--r-- 1 root root 4096 Jan 28 14:21 target_latency

/sys/bus/scsi/devices/2:0:0:0/block/sr0/slaves:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..

/sys/bus/scsi/devices/2:0:0:0/block/sr0/trace:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..
-rw-r--r-- 1 root root 4096 Jan 28 14:21 act_mask
-rw-r--r-- 1 root root 4096 Jan 28 14:21 enable
-rw-r--r-- 1 root root 4096 Jan 28 14:21 end_lba
-rw-r--r-- 1 root root 4096 Jan 28 14:21 pid
-rw-r--r-- 1 root root 4096 Jan 28 14:21 start_lba

/sys/bus/scsi/devices/2:0:0:0/bsg:
total 0
drwxr-xr-x 3 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..
drwxr-xr-x 3 root root 0 Jan 27 21:23 2:0:0:0

/sys/bus/scsi/devices/2:0:0:0/bsg/2:0:0:0:
total 0
drwxr-xr-x 3 root root 0 Jan 28 14:21 .
drwxr-xr-x 3 root root 0 Jan 28 14:21 ..
-r--r--r-- 1 root root 4096 Jan 27 21:24 dev
lrwxrwxrwx 1 root root 0 Jan 28 14:21 device -> ../../../2:0:0:0
drwxr-xr-x 2 root root 0 Jan 28 14:21 power
lrwxrwxrwx 1 root root 0 Jan 27 21:25 subsystem -> ../../../../../../../../../class/bsg
-rw-r--r-- 1 root root 4096 Jan 27 21:23 uevent

/sys/bus/scsi/devices/2:0:0:0/bsg/2:0:0:0/power:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 3 root root 0 Jan 28 14:21 ..
-rw-r--r-- 1 root root 4096 Jan 28 14:21 async
-rw-r--r-- 1 root root 4096 Jan 28 14:21 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 28 14:21 control
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_kids
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_enabled
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_status
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_suspended_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_usage

/sys/bus/scsi/devices/2:0:0:0/power:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..
-rw-r--r-- 1 root root 4096 Jan 28 14:21 async
-rw-r--r-- 1 root root 4096 Jan 28 14:21 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 28 14:21 control
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_kids
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_enabled
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_status
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_suspended_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_usage

/sys/bus/scsi/devices/2:0:0:0/scsi_device:
total 0
drwxr-xr-x 3 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..
drwxr-xr-x 3 root root 0 Jan 27 21:23 2:0:0:0

/sys/bus/scsi/devices/2:0:0:0/scsi_device/2:0:0:0:
total 0
drwxr-xr-x 3 root root 0 Jan 28 14:21 .
drwxr-xr-x 3 root root 0 Jan 28 14:21 ..
lrwxrwxrwx 1 root root 0 Jan 28 14:21 device -> ../../../2:0:0:0
drwxr-xr-x 2 root root 0 Jan 28 14:21 power
lrwxrwxrwx 1 root root 0 Jan 27 21:25 subsystem -> ../../../../../../../../../class/scsi_device
-rw-r--r-- 1 root root 4096 Jan 27 21:23 uevent

/sys/bus/scsi/devices/2:0:0:0/scsi_device/2:0:0:0/power:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 3 root root 0 Jan 28 14:21 ..
-rw-r--r-- 1 root root 4096 Jan 28 14:21 async
-rw-r--r-- 1 root root 4096 Jan 28 14:21 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 28 14:21 control
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_kids
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_enabled
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_status
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_suspended_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_usage

/sys/bus/scsi/devices/2:0:0:0/scsi_generic:
total 0
drwxr-xr-x 3 root root 0 Jan 28 14:21 .
drwxr-xr-x 7 root root 0 Jan 28 14:21 ..
drwxr-xr-x 3 root root 0 Jan 27 21:23 sg2

/sys/bus/scsi/devices/2:0:0:0/scsi_generic/sg2:
total 0
drwxr-xr-x 3 root root 0 Jan 28 14:21 .
drwxr-xr-x 3 root root 0 Jan 28 14:21 ..
-r--r--r-- 1 root root 4096 Jan 27 21:24 dev
lrwxrwxrwx 1 root root 0 Jan 28 14:21 device -> ../../../2:0:0:0
drwxr-xr-x 2 root root 0 Jan 28 14:21 power
lrwxrwxrwx 1 root root 0 Jan 27 21:24 subsystem -> ../../../../../../../../../class/scsi_generic
-rw-r--r-- 1 root root 4096 Jan 27 21:23 uevent

/sys/bus/scsi/devices/2:0:0:0/scsi_generic/sg2/power:
total 0
drwxr-xr-x 2 root root 0 Jan 28 14:21 .
drwxr-xr-x 3 root root 0 Jan 28 14:21 ..
-rw-r--r-- 1 root root 4096 Jan 28 14:21 async
-rw-r--r-- 1 root root 4096 Jan 28 14:21 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 28 14:21 control
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_kids
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_enabled
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_status
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_suspended_time
-r--r--r-- 1 root root 4096 Jan 28 14:21 runtime_usage




# hexdump -C /sys/bus/scsi/devices/2:0:0:0/inquiry
hexdump: /sys/bus/scsi/devices/2:0:0:0/inquiry: No such file or directory
JohnJasonJordan
Posts: 14
Joined: Mon Jun 19, 2017 11:47 pm

Re: Optical Drive not being found

Post by JohnJasonJordan »

Ubuntu 14.04.5. I get the same results as nickjpg, including the failure of # hexdump -C /sys/bus/scsi/devices/2:0:0:0/inquiry.
alexsd
Posts: 3
Joined: Wed Jan 31, 2018 11:03 pm

Re: Optical Drive not being found

Post by alexsd »

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: Select all

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

Code: Select all

root@Tower:~# ls -la /dev/sr*
brw-rw---- 1 root cdrom 11, 0 Jan 31 06:56 /dev/sr0
i can't tell if the sg driver's loaded or not. /sys/module/sg/ is present though.

Code: Select all

root@Tower:~# sudo modprobe sg
root@Tower:~#

root@Tower:~# sg_map -sr -x
-bash: sg_map: command not found

Code: Select all

root@Tower:~# lsscsi -g
[6:0:0:0]    cd/dvd  HL-DT-ST BDDVDRW UH12NS30 1.03  /dev/sr0   /dev/sg3

Code: Select all

root@Tower:~# lsscsi -v
[6:0:0:0]    cd/dvd  HL-DT-ST BDDVDRW UH12NS30 1.03  /dev/sr0
  dir: /sys/bus/scsi/devices/6:0:0:0  [/sys/devices/pci0000:00/0000:00:1f.2/ata4/host6/target6:0:0/6:0:0:0]

Code: Select all

root@Tower:~# hexdump -C /sys/bus/scsi/devices/6:0:0:0/inquiry
00000000  05 80 05 32 5b 00 00 00  48 4c 2d 44 54 2d 53 54  |...2[...HL-DT-ST|
00000010  42 44 44 56 44 52 57 20  55 48 31 32 4e 53 33 30  |BDDVDRW UH12NS30|
00000020  31 2e 30 33 4e 30 41 30  35 41 30 4b 39 46 47 33  |1.03N0A05A0K9FG3|
00000030  38 46 32 34 33 31 20 20  00 00 00 00 00 00 00 00  |8F2431  ........|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Code: Select all

root@Tower:~# ls -laR /sys/bus/scsi/devices/6:0:0:0/
/sys/bus/scsi/devices/6\:0\:0\:0/:
total 0
drwxr-xr-x 7 root root    0 Jan 31 06:55 ./
drwxr-xr-x 4 root root    0 Jan 31 06:55 ../
drwxr-xr-x 3 root root    0 Jan 31 06:55 block/
drwxr-xr-x 3 root root    0 Jan 31 06:55 bsg/
--w------- 1 root root 4096 Jan 31 14:49 delete
-r--r--r-- 1 root root 4096 Jan 31 14:49 device_blocked
-r--r--r-- 1 root root 4096 Jan 31 14:49 device_busy
lrwxrwxrwx 1 root root    0 Jan 31 14:49 driver -> ../../../../../../../bus/scsi/drivers/sr/
-rw-r--r-- 1 root root 4096 Jan 31 14:49 eh_timeout
-r--r--r-- 1 root root 4096 Jan 31 14:49 evt_capacity_change_reported
-r--r--r-- 1 root root 4096 Jan 31 14:49 evt_inquiry_change_reported
-r--r--r-- 1 root root 4096 Jan 31 14:49 evt_lun_change_reported
-r--r--r-- 1 root root 4096 Jan 31 14:49 evt_media_change
-r--r--r-- 1 root root 4096 Jan 31 14:49 evt_mode_parameter_change_reported
-r--r--r-- 1 root root 4096 Jan 31 14:49 evt_soft_threshold_reached
lrwxrwxrwx 1 root root    0 Jan 31 14:49 generic -> scsi_generic/sg3/
-r--r--r-- 1 root root    0 Jan 31 14:49 inquiry
-r--r--r-- 1 root root 4096 Jan 31 14:49 iocounterbits
-r--r--r-- 1 root root 4096 Jan 31 14:49 iodone_cnt
-r--r--r-- 1 root root 4096 Jan 31 14:49 ioerr_cnt
-r--r--r-- 1 root root 4096 Jan 31 14:49 iorequest_cnt
-r--r--r-- 1 root root 4096 Jan 31 14:49 modalias
-r--r--r-- 1 root root 4096 Jan 31 14:49 model
drwxr-xr-x 2 root root    0 Jan 31 11:26 power/
-rw-r--r-- 1 root root 4096 Jan 31 14:49 queue_depth
-rw-r--r-- 1 root root 4096 Jan 31 14:49 queue_ramp_up_period
-rw-r--r-- 1 root root 4096 Jan 31 14:49 queue_type
--w------- 1 root root 4096 Jan 31 14:49 rescan
-r--r--r-- 1 root root 4096 Jan 31 14:49 rev
drwxr-xr-x 3 root root    0 Jan 31 06:55 scsi_device/
drwxr-xr-x 3 root root    0 Jan 31 06:55 scsi_generic/
-r--r--r-- 1 root root 4096 Jan 31 14:49 scsi_level
-rw-r--r-- 1 root root 4096 Jan 31 14:49 state
lrwxrwxrwx 1 root root    0 Jan 31 06:55 subsystem -> ../../../../../../../bus/scsi/
-rw-r--r-- 1 root root 4096 Jan 31 14:49 sw_activity
-rw-r--r-- 1 root root 4096 Jan 31 14:49 timeout
-r--r--r-- 1 root root 4096 Jan 31 14:49 type
-rw-r--r-- 1 root root 4096 Jan 31 14:49 uevent
-rw-r--r-- 1 root root 4096 Jan 31 14:49 unload_heads
-r--r--r-- 1 root root 4096 Jan 31 14:49 vendor
-r--r--r-- 1 root root 4096 Jan 31 14:49 wwid

/sys/bus/scsi/devices/6\:0\:0\:0/block:
total 0
drwxr-xr-x 3 root root 0 Jan 31 06:55 ./
drwxr-xr-x 7 root root 0 Jan 31 06:55 ../
drwxr-xr-x 7 root root 0 Jan 31 06:55 sr0/

/sys/bus/scsi/devices/6\:0\:0\:0/block/sr0:
total 0
drwxr-xr-x 7 root root    0 Jan 31 06:55 ./
drwxr-xr-x 3 root root    0 Jan 31 06:55 ../
-r--r--r-- 1 root root 4096 Jan 31 14:49 alignment_offset
-rw-r--r-- 1 root root 4096 Jan 31 14:49 badblocks
lrwxrwxrwx 1 root root    0 Jan 31 14:49 bdi -> ../../../../../../../../virtual/bdi/11:0/
-r--r--r-- 1 root root 4096 Jan 31 14:49 capability
-r--r--r-- 1 root root 4096 Jan 31 14:49 dev
lrwxrwxrwx 1 root root    0 Jan 31 06:56 device -> ../../../6:0:0:0/
-r--r--r-- 1 root root 4096 Jan 31 14:49 discard_alignment
-r--r--r-- 1 root root 4096 Jan 31 14:49 events
-r--r--r-- 1 root root 4096 Jan 31 14:49 events_async
-rw-r--r-- 1 root root 4096 Jan 31 14:49 events_poll_msecs
-r--r--r-- 1 root root 4096 Jan 31 14:49 ext_range
drwxr-xr-x 2 root root    0 Jan 31 06:56 holders/
-r--r--r-- 1 root root 4096 Jan 31 14:49 inflight
drwxr-xr-x 2 root root    0 Jan 31 11:26 integrity/
drwxr-xr-x 2 root root    0 Jan 31 11:26 power/
drwxr-xr-x 3 root root    0 Jan 31 06:55 queue/
-r--r--r-- 1 root root 4096 Jan 31 14:49 range
-r--r--r-- 1 root root 4096 Jan 31 14:49 removable
-r--r--r-- 1 root root 4096 Jan 31 14:49 ro
-r--r--r-- 1 root root 4096 Jan 31 14:49 size
drwxr-xr-x 2 root root    0 Jan 31 06:56 slaves/
-r--r--r-- 1 root root 4096 Jan 31 14:49 stat
lrwxrwxrwx 1 root root    0 Jan 31 06:56 subsystem -> ../../../../../../../../../class/block/
-rw-r--r-- 1 root root 4096 Jan 31 06:56 uevent

/sys/bus/scsi/devices/6\:0\:0\:0/block/sr0/holders:
total 0
drwxr-xr-x 2 root root 0 Jan 31 06:56 ./
drwxr-xr-x 7 root root 0 Jan 31 06:55 ../

/sys/bus/scsi/devices/6\:0\:0\:0/block/sr0/integrity:
total 0
drwxr-xr-x 2 root root    0 Jan 31 11:26 ./
drwxr-xr-x 7 root root    0 Jan 31 06:55 ../
-r--r--r-- 1 root root 4096 Jan 31 14:49 device_is_integrity_capable
-r--r--r-- 1 root root 4096 Jan 31 14:49 format
-r--r--r-- 1 root root 4096 Jan 31 14:49 protection_interval_bytes
-rw-r--r-- 1 root root 4096 Jan 31 14:49 read_verify
-r--r--r-- 1 root root 4096 Jan 31 14:49 tag_size
-rw-r--r-- 1 root root 4096 Jan 31 14:49 write_generate

/sys/bus/scsi/devices/6\:0\:0\:0/block/sr0/power:
total 0
drwxr-xr-x 2 root root    0 Jan 31 11:26 ./
drwxr-xr-x 7 root root    0 Jan 31 06:55 ../
-rw-r--r-- 1 root root 4096 Jan 31 14:49 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 31 14:49 control
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_status
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_suspended_time

/sys/bus/scsi/devices/6\:0\:0\:0/block/sr0/queue:
total 0
drwxr-xr-x 3 root root    0 Jan 31 06:55 ./
drwxr-xr-x 7 root root    0 Jan 31 06:55 ../
-rw-r--r-- 1 root root 4096 Jan 31 14:49 add_random
lrwxrwxrwx 1 root root    0 Jan 31 14:49 bsg -> ../../../bsg/6:0:0:0/
-r--r--r-- 1 root root 4096 Jan 31 14:49 dax
-r--r--r-- 1 root root 4096 Jan 31 14:49 discard_granularity
-rw-r--r-- 1 root root 4096 Jan 31 14:49 discard_max_bytes
-r--r--r-- 1 root root 4096 Jan 31 14:49 discard_max_hw_bytes
-r--r--r-- 1 root root 4096 Jan 31 14:49 discard_zeroes_data
-r--r--r-- 1 root root 4096 Jan 31 14:49 hw_sector_size
-rw-r--r-- 1 root root 4096 Jan 31 14:49 io_poll
drwxr-xr-x 2 root root    0 Jan 31 11:26 iosched/
-rw-r--r-- 1 root root 4096 Jan 31 14:49 iostats
-r--r--r-- 1 root root 4096 Jan 31 14:49 logical_block_size
-r--r--r-- 1 root root 4096 Jan 31 14:49 max_hw_sectors_kb
-r--r--r-- 1 root root 4096 Jan 31 14:49 max_integrity_segments
-rw-r--r-- 1 root root 4096 Jan 31 14:49 max_sectors_kb
-r--r--r-- 1 root root 4096 Jan 31 14:49 max_segment_size
-r--r--r-- 1 root root 4096 Jan 31 14:49 max_segments
-r--r--r-- 1 root root 4096 Jan 31 14:49 minimum_io_size
-rw-r--r-- 1 root root 4096 Jan 31 14:49 nomerges
-rw-r--r-- 1 root root 4096 Jan 31 14:49 nr_requests
-r--r--r-- 1 root root 4096 Jan 31 14:49 optimal_io_size
-r--r--r-- 1 root root 4096 Jan 31 14:49 physical_block_size
-rw-r--r-- 1 root root 4096 Jan 31 14:49 read_ahead_kb
-rw-r--r-- 1 root root 4096 Jan 31 14:49 rotational
-rw-r--r-- 1 root root 4096 Jan 31 14:49 rq_affinity
-rw-r--r-- 1 root root 4096 Jan 31 14:49 scheduler
-rw-r--r-- 1 root root 4096 Jan 31 14:49 write_cache
-r--r--r-- 1 root root 4096 Jan 31 14:49 write_same_max_bytes

/sys/bus/scsi/devices/6\:0\:0\:0/block/sr0/queue/iosched:
total 0
drwxr-xr-x 2 root root 0 Jan 31 11:26 ./
drwxr-xr-x 3 root root 0 Jan 31 06:55 ../

/sys/bus/scsi/devices/6\:0\:0\:0/block/sr0/slaves:
total 0
drwxr-xr-x 2 root root 0 Jan 31 06:56 ./
drwxr-xr-x 7 root root 0 Jan 31 06:55 ../

/sys/bus/scsi/devices/6\:0\:0\:0/bsg:
total 0
drwxr-xr-x 3 root root 0 Jan 31 06:55 ./
drwxr-xr-x 7 root root 0 Jan 31 06:55 ../
drwxr-xr-x 3 root root 0 Jan 31 06:55 6:0:0:0/

/sys/bus/scsi/devices/6\:0\:0\:0/bsg/6\:0\:0\:0:
total 0
drwxr-xr-x 3 root root    0 Jan 31 06:55 ./
drwxr-xr-x 3 root root    0 Jan 31 06:55 ../
-r--r--r-- 1 root root 4096 Jan 31 14:49 dev
lrwxrwxrwx 1 root root    0 Jan 31 14:49 device -> ../../../6:0:0:0/
drwxr-xr-x 2 root root    0 Jan 31 11:26 power/
lrwxrwxrwx 1 root root    0 Jan 31 06:54 subsystem -> ../../../../../../../../../class/bsg/
-rw-r--r-- 1 root root 4096 Jan 31 14:49 uevent

/sys/bus/scsi/devices/6\:0\:0\:0/bsg/6\:0\:0\:0/power:
total 0
drwxr-xr-x 2 root root    0 Jan 31 11:26 ./
drwxr-xr-x 3 root root    0 Jan 31 06:55 ../
-rw-r--r-- 1 root root 4096 Jan 31 14:49 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 31 14:49 control
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_status
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_suspended_time

/sys/bus/scsi/devices/6\:0\:0\:0/power:
total 0
drwxr-xr-x 2 root root    0 Jan 31 11:26 ./
drwxr-xr-x 7 root root    0 Jan 31 06:55 ../
-rw-r--r-- 1 root root 4096 Jan 31 14:49 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 31 14:49 control
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_status
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_suspended_time

/sys/bus/scsi/devices/6\:0\:0\:0/scsi_device:
total 0
drwxr-xr-x 3 root root 0 Jan 31 06:55 ./
drwxr-xr-x 7 root root 0 Jan 31 06:55 ../
drwxr-xr-x 3 root root 0 Jan 31 06:55 6:0:0:0/

/sys/bus/scsi/devices/6\:0\:0\:0/scsi_device/6\:0\:0\:0:
total 0
drwxr-xr-x 3 root root    0 Jan 31 06:55 ./
drwxr-xr-x 3 root root    0 Jan 31 06:55 ../
lrwxrwxrwx 1 root root    0 Jan 31 14:49 device -> ../../../6:0:0:0/
drwxr-xr-x 2 root root    0 Jan 31 11:26 power/
lrwxrwxrwx 1 root root    0 Jan 31 06:54 subsystem -> ../../../../../../../../../class/scsi_device/
-rw-r--r-- 1 root root 4096 Jan 31 14:49 uevent

/sys/bus/scsi/devices/6\:0\:0\:0/scsi_device/6\:0\:0\:0/power:
total 0
drwxr-xr-x 2 root root    0 Jan 31 11:26 ./
drwxr-xr-x 3 root root    0 Jan 31 06:55 ../
-rw-r--r-- 1 root root 4096 Jan 31 14:49 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 31 14:49 control
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_status
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_suspended_time

/sys/bus/scsi/devices/6\:0\:0\:0/scsi_generic:
total 0
drwxr-xr-x 3 root root 0 Jan 31 06:55 ./
drwxr-xr-x 7 root root 0 Jan 31 06:55 ../
drwxr-xr-x 3 root root 0 Jan 31 06:55 sg3/

/sys/bus/scsi/devices/6\:0\:0\:0/scsi_generic/sg3:
total 0
drwxr-xr-x 3 root root    0 Jan 31 06:55 ./
drwxr-xr-x 3 root root    0 Jan 31 06:55 ../
-r--r--r-- 1 root root 4096 Jan 31 14:49 dev
lrwxrwxrwx 1 root root    0 Jan 31 14:49 device -> ../../../6:0:0:0/
drwxr-xr-x 2 root root    0 Jan 31 11:26 power/
lrwxrwxrwx 1 root root    0 Jan 31 06:54 subsystem -> ../../../../../../../../../class/scsi_generic/
-rw-r--r-- 1 root root 4096 Jan 31 14:49 uevent

/sys/bus/scsi/devices/6\:0\:0\:0/scsi_generic/sg3/power:
total 0
drwxr-xr-x 2 root root    0 Jan 31 11:26 ./
drwxr-xr-x 3 root root    0 Jan 31 06:55 ../
-rw-r--r-- 1 root root 4096 Jan 31 14:49 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 Jan 31 14:49 control
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_active_time
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_status
-r--r--r-- 1 root root 4096 Jan 31 14:49 runtime_suspended_time
Djoss
Posts: 9
Joined: Tue Jun 13, 2017 2:56 pm

Re: Optical Drive not being found

Post by Djoss »

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?
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.
keithalanfisher
Posts: 1
Joined: Fri Feb 02, 2018 3:54 pm

Re: Optical Drive not being found

Post by keithalanfisher »

I installed 1.10.10 on my Lint(rebecca) system and it worked like a charm. I installed back in October 2017, ripped a few Blu-Rays and a few DVDs. Haven't used it since. Now I get the "cannot find any usable drives" error. I reinstalled after removing the old version with the Software Manager not sure of which version I had previously installed, then reinstalled version 1.10.10. Same error, and I realized that I had 1.10.10 installed back in October 2017.

What I didn't do is enter the beta key since I was planning on purchasing a license at some point. A key difference in my current reinstalled version in the lack of the MakeMKV icon in the system launcher. It seems that having not entered the beta key or purchasing one, more than 60 days has gone by, but now I'm stuck? I have
now entered the beta key, restarted, no change.

The preferences menu is available.

I really would prefer to purchase a license for my Linux system as oppose to my iMac. Can't trust Apple won't muck it up. I don't have any Windows systems.

Probably time to just give up any stop using computers altogether. Oh well.
Woodstock
Posts: 10323
Joined: Sun Jul 24, 2011 11:21 pm

Re: Optical Drive not being found

Post by Woodstock »

MakeMKV's license is applicable to all three.
Lovely Rita
Posts: 273
Joined: Wed Apr 17, 2013 10:29 pm

Re: Optical Drive not being found

Post by Lovely Rita »

keithalanfisher wrote:
I really would prefer to purchase a license for my Linux system as oppose to my iMac. Can't trust Apple won't muck it up.
I’ve used a licensed version on my Mac for almost 5 years with zero issues.
Registered User :wink:
Buy MakeMKV
nickjpg
Posts: 14
Joined: Wed Jan 10, 2018 1:23 am

Re: Optical Drive not being found

Post by nickjpg »

Still waiting for "mike admin" to provide detailed instructions on his "simple fix".
Post Reply