On Sun, 28 Jan 2018 01:16:24 -0800 King Beowulf <kingbeow...@gmail.com> dijo:
>On 01/27/2018 09:39 AM, John Jason Jordan wrote: >> Xubuntu 14.04.5, all updates applied. >> >> I have a program that can't find ether of my optical drives The program is MakeMKV. Older versions still work, but MakeMKV (not open source, not free) provides aacss keys for Blu-ray media, whch are constantly changing, so I need the latest verson. There has been an extensive discussion of this problem on their forums: http://www.makemkv.com/forum2/viewtopic.php?f=3&t=16939&start=60 n>/kernel/drivers/scsi/ but this will only >(exist) load if >(1) Kernel was compiled with scsi support >(2) kernel/udev detects a scsi device, which you don't seem to have. As far as I know I hae no SCSI devices, yet: $ lsscsi [2:0:0:0] cd/dvd hp BD MLT UJ260AF FW06 /dev/sr0 [4:0:0:0] disk ATA Crucial_CT480M50 MU03 /dev/sda [6:0:0:0] disk H/W RAID 0 0106 /dev/sdb [7:0:0:0] cd/dvd HL-DT-ST DVDRAM GU90N 1.00 /dev/sr1 [8:0:0:0] disk PNY USB 3.0 FD 1.00 /dev/sdc [9:0:0:0] disk LG USB Drive 1100 /dev/sdd lsscsi -g [2:0:0:0] cd/dvd hp BD MLT UJ260AF FW06 /dev/sr0 /dev/sg0 [4:0:0:0] disk ATA Crucial_CT480M50 MU03 /dev/sda /dev/sg1 [6:0:0:0] disk H/W RAID 0 0106 /dev/sdb /dev/sg3 [7:0:0:0] cd/dvd HL-DT-ST DVDRAM GU90N 1.00 /dev/sr1 /dev/sg2 [8:0:0:0] disk PNY USB 3.0 FD 1.00 /dev/sdc /dev/sg4 [9:0:0:0] disk LG USB Drive >you won't find sg.ko in synaptic, etc, as it is part of the kernel >package. I did find what claimed to be an sg driver, but insmod pukes it up. >check the output of 'dmesg' to see what sort of drives are detected and >what modules are then loaded. check output of 'modinfo sg' for >something like: > >modinfo sg >filename: /lib/modules/4.4.111/kernel/drivers/scsi/sg.ko $ modinfo sg modinfo: ERROR: Module sg not found. >That said, "cat /proc/scsi/scsi" should show scsi capable devices and >"lsscisi" should list them with their primary device nodes: > $ cat /proc/scsi/scsi Attached devices: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: hp Model: BD MLT UJ260AF Rev: FW06 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi4 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: Crucial_CT480M50 Rev: MU03 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi7 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVDRAM GU90N Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 00 Host: scsi6 Channel: 00 Id: 00 Lun: 00 Vendor: H/W RAID Model: 0 Rev: 0106 Type: Direct-Access ANSI SCSI revision: 06 Host: scsi8 Channel: 00 Id: 00 Lun: 00 Vendor: PNY Model: USB 3.0 FD Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 06 Host: scsi9 Channel: 00 Id: 00 Lun: 00 Vendor: LG Model: USB Drive Rev: 1100 Type: Direct-Access ANSI SCSI revision: 00 >Note that on my system the primary devices are not mapped (passthrough) >to sg as sg is not needed. The following sequence (as root) adds the >sg mapping: > ># lsmod |grep sg ># modprobe sg ># lsmod |grep sg >sg 27465 0 ># lsscsi -g >[0:0:0:0] cd/dvd HL-DT-ST BD-RE WH16NS40 >1.00 /dev/sr0 /dev/sg0 [1:0:0:0] cd/dvd HL-DT-ST DVDRAM >GH24NSB0 LF00 /dev/sr1 /dev/sg1 [4:0:0:0] disk ATA WDC >WD5000AAKX-0 1H15 /dev/sda /dev/sg2 [5:0:0:0] disk ATA >WDC WD10EZEX-00B 1A01 /dev/sdb /dev/sg3 [6:0:0:0] disk >ATA ST1000DM003-1ER1 CC45 /dev/sdc /dev/sg4 [7:0:0:0] >disk ATA WDC WD10EZEX-08W 1A01 /dev/sdd /dev/sg5 # lsmod |grep sg # modprobe sg # lsmod |grep sg # I can't get the same results as you. It appears that the commands are working because there are no error messages, but apparently not. >Yes, I do think the devs are complete idiots. After kernel 2.6, all >drive devises use /dev/sdX or /dev/srX as primary device nodes and all >the SCSI tools and other software can use those directly without the >generic scsi driver (sg). Why they suddenly decide go in the opposite >direction of the kernel devs baffles me. Perhaps the discussion on the MakeMKV forum can make sense to someone who knows more about this than I do. Thanks heaps and heaps for taking the time to explain things! :) _______________________________________________ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug