Dear List

I have a server with a BluRay drive that is shared as an iSCSI target, with 
either SCST or LIO (I have tried both too see if the error was on the 
target implementation). It is possible for me to connect to this drive both 
from Linux using open-iSCSI and from windows using the MS-iSCSI-initiator. 
On windows I can use the drive like it was a local drive, meaning that I 
can play all type of content from it including encrypted DVDs and I would 
also be able to change the region settings on the drive if I felt for it. 
However on Linux with open-iSCSI I'm not able to play encrypted DVDs, 
unless a MS-Windows computer is also connected to the drive. I am also not 
able to retrieve the region settings of the drive with the regionset 
utility. After much poking around I found some differences between the 
server system and the initiator system when adding then binding the drive 
to the sr module.

For the  server system, which can play encrypted DVDs the log entries are:
[    6.661163] scsi 2:0:0:0: CD-ROM            Optiarc  BD ROM BC-5600S  
1.82 PQ: 0 ANSI: 5
[    6.675635] sr0: scsi3-mmc drive: 16x/16x writer dvd-ram cd/rw xa/form2 
cdda tray
[    6.675639] cdrom: Uniform CD-ROM driver Revision: 3.20
[    6.675801] sr 2:0:0:0: Attached scsi CD-ROM sr0
[    6.675910] sr 2:0:0:0: Attached scsi generic sg2 type 5

For the initiator system, which cannot play encrypted DVDs the log entries 
are:
[   36.650119] scsi 9:0:0:0: CD-ROM            Optiarc  BD ROM BC-5600S  
1.82 PQ: 0 ANSI: 5
[   36.663525] sr0: scsi-1 drive
[   36.663530] cdrom: Uniform CD-ROM driver Revision: 3.20
[   36.663806] sr 9:0:0:0: Attached scsi CD-ROM sr0
[   36.664068] sr 9:0:0:0: Attached scsi generic sg4 type 5

Please note here the difference in the second entry on the two systems, one 
says "sr0: scsi3-mmc drive" and the other "sr0: scsi-1 drive". By looking 
through the linux kernel code I found out that the module falls back to 
scsi-1 if it cannot read the capabilities mode page of the attached drive. 
Please refer to "drivers/scsi/sr.c" from around line 873 in the Linux 
source code. This, for me, indicates that open-iSCSI does not set-up the 
access to the pass-throughed device correctly.

It should be noted that I am running on Ubuntu 14.04, with libdvdread4 and 
libdvdcss2 installed correctly.

I hope someone can help me fix this problem as I would like to switch 
completely to Linux.

Please fell free to ask for further info, and best regards Kristian Hagsted 
Rasmussen

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to