Share a Changer ?

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Guest

Mon Aug 02, 2004 7:29 pm

Hi,

I got a cheap modable CD Changer at Ebay - Now I modded it to support DVD :-)

I know it's possible to support the DVD Rom inside the Changer (It's got it's own ID) but is it possible to share the Changer too ? It doesn't show up in the List of physical devices but it's shown in the Windows DeviceManager as unknown Media Changer. Btw It's a Kodak Digital Science 144 Changer.

Thanks
Stefan
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Tue Aug 03, 2004 5:34 am

Anonymous wrote:I got a cheap modable CD Changer at Ebay - Now I modded it to support DVD :-)

I know it's possible to support the DVD Rom inside the Changer (It's got it's own ID) but is it possible to share the Changer too ? It doesn't show up in the List of physical devices but it's shown in the Windows DeviceManager as unknown Media Changer. Btw It's a Kodak Digital Science 144 Changer.
You may try the following directive:

[devices]
add \\.\Changer0

Try different numbers 1, 2, etc. if the line above doesn't help.
Last edited by Alex (staff) on Tue Aug 03, 2004 8:55 am, edited 1 time in total.
Best regards,
Alexey.
Guest

Tue Aug 03, 2004 7:00 am

Yes works ! Thats cool - Now I need a good and reliable Linux Initiator to get the Chnager and the DVD usable on my HTPC Linux Box :-)

Is UNH a good sollution ?

Thanks
Stefan
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Tue Aug 03, 2004 9:23 am

Yes. Intel iSCSI initiator would be also working soon :)
Anonymous wrote:Yes works ! Thats cool - Now I need a good and reliable Linux Initiator to get the Chnager and the DVD usable on my HTPC Linux Box :-)

Is UNH a good sollution ?

Thanks
Stefan
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
Guest

Tue Aug 03, 2004 3:06 pm

Hi,

what di you mean by "soon" ?? is it not possible at the moment ??

could you give me advice for windows and linux which initiator should work with : Changer, DVD-ROM (including authentisation to css encrytion)

Thanks
Stefan
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Tue Aug 03, 2004 6:42 pm

UNH for Linux works fine, Intel has some issues but we'll have a workaround soon.

I'd recommend using UNH for Linux and either StarPort (our own iSCSI initiator) for Windows or MS one. However StarPort should be faster.
Anonymous wrote:Hi,

what di you mean by "soon" ?? is it not possible at the moment ??

could you give me advice for windows and linux which initiator should work with : Changer, DVD-ROM (including authentisation to css encrytion)

Thanks
Stefan
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
Guest

Thu Aug 05, 2004 9:17 pm

Hi Alex, hi Anton

I still have some trouble using the changer and the dvdrom on the remote side. It looks like the trouble starts when the application tries to use some exotic IOCTL's to controll the chager or authenticate to the dvd-rom to deCSS the DVD.

Maybe I've done something completely wrong or the Idea of sharing the changer and the dvd-rom is just impossible. Here are some log excepts when I've tried to connect from unh to share the DVD and than the CHANGER :

20:51:21:451 (1076) C[0x111c], LOGGED_IN: Event - LOGOUT.
20:51:21:451 (1076) C[0x111c], IN_LOGOUT: T9/10.
20:51:21:451 (1144) C[0x111c], IN_LOGOUT: Event - LOGOUT_ACCEPT.
20:51:21:451 (1144) C[0x111c], FREE: T13.
20:51:21:451 (1076) S: iqn.2003-06.com.rocketdivision.starwind:xxxxxxx.xxxx.xx.changer0: 0 session(s) are opened, 1 more allowed.
20:53:54:980 (1168) Srv: Accepted connection from xxx.xxx.xxx.xxx:32770. id assigned - 4381
20:53:54:980 (1168) C[0x111d], FREE: Event - CONNECTED.
20:53:54:980 (1168) C[0x111d], XPT_UP: T3.
20:53:54:980 (1020) C[0x111d], XPT_UP: Login request: ISID 0x801234567800, TSIH 0x0000.
20:53:54:980 (1020) C[0x111d], XPT_UP: Event - LOGIN.
20:53:54:980 (1020) C[0x111d], IN_LOGIN: T4.
20:53:54:980 (1020) Params: <<< String param 'TargetName': received 'iqn.2003-06.com.rocketdivision.starwind:xxxxxxx.xxxx.xx.cdrom0', accepted 'iqn.2003-06.com.rocketdivision.starwind:xxxxxxx.xxxx.xxcdrom0'
20:53:54:980 (1020) Params: <<< String param 'InitiatorName': received 'xxxxxxx.xxxx.xx', accepted 'xxxxxxx.xxxx.xx'
20:53:54:980 (1020) Params: Update OFMarkInt according to the value of OFMarker.
20:53:54:980 (1020) Params: Update IFMarkInt according to the value of IFMarker.
20:53:54:980 (1020) S: iqn.2003-06.com.rocketdivision.starwind:xxxxxxx.xxxx.xx.cdrom0: 1 session(s) are opened, 0 more allowed.
20:53:54:980 (1020) T[0x15b38]: Anonimous connection allowed.
20:53:54:980 (1020) Params: >>> InitialR2T=No.
20:53:54:980 (1020) Params: >>> ImmediateData=Yes.
20:53:54:980 (1020) Params: >>> MaxRecvDataSegmentLength=65536.
20:53:54:980 (1020) Params: >>> MaxBurstLength=65536.
20:53:54:980 (1020) Params: >>> FirstBurstLength=65536.
20:53:54:980 (1020) Params: >>> MaxOutstandingR2T=1.
20:53:54:980 (1020) Params: >>> DataPDUInOrder=Yes.
20:53:54:980 (1020) Params: >>> DataSequenceInOrder=Yes.
20:53:54:980 (1020) Params: >>> TargetPortalGroupTag=1.
20:53:54:980 (1020) Params: <<< Boolean param 'InitialR2T': received Yes, accepted 1
20:53:54:980 (1020) Params: <<< Boolean param 'ImmediateData': received Yes, accepted 1
20:53:54:980 (1020) Params: <<< Numeric param 'MaxOutstandingR2T': received 1, accepted 1
20:53:54:980 (1020) Params: <<< Numeric param 'FirstBurstLength': received 65536, accepted 65536
20:53:54:980 (1020) Params: <<< Numeric param 'MaxBurstLength': received 65536, accepted 65536
20:53:54:980 (628) T[0x15b38]: The end of stage 1, next stage is 3.
20:53:54:980 (628) C[0x111d], IN_LOGIN: Event - LOGIN_ACCEPT.
20:53:54:980 (628) C[0x111d], LOGGED_IN: T5.
20:56:21:869 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:56:21:869 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e2 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kò..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:21:869 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e2 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kò..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:29:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:56:29:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e9 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kù..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:29:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e9 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kù..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:37:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:56:37:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b e9 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kù..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:37:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b e9 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kù..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:45:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:56:45:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b e7 00 00 01 00 00 00 00 00 00 00 00 00 00 00 K÷..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:45:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b e7 00 00 01 00 00 00 00 00 00 00 00 00 00 00 K÷..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:53:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:56:53:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b eb 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kû..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:56:53:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b eb 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kû..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:01:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:57:01:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e8 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kø..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:01:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e8 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kø..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:09:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:57:09:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b ea 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kú..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:09:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b ea 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kú..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:17:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:57:17:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e4 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kô..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:17:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e4 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kô..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:25:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:57:25:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b ed 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Ký..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:25:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b ed 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Ký..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:33:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:57:33:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b e2 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kò..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:33:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b e2 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kò..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:41:853 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:57:41:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e5 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kõ..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:41:853 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b e5 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kõ..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:49:852 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:57:49:852 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b ef 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kÿ..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:49:852 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b ef 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kÿ..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:57:852 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:57:57:852 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b f0 00 00 01 00 00 00 00 00 00 00 00 00 00 00 K¨..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:57:57:852 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 48 c7 08 00 2c 00 00 00 28 00 00 22 ....H╟..,...(.."
0020 4b f0 00 00 01 00 00 00 00 00 00 00 00 00 00 00 K¨..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:58:04:852 (628) SPTI: '\\.\Cdrom0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
20:58:04:852 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b f2 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kª..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20:58:04:852 (628) SPTI: '\\.\Cdrom0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0a 12 01 00 00 00 00 08 00 00 ,...............
0010 02 00 00 00 80 cf 08 00 2c 00 00 00 28 00 00 22 ....À╧..,...(.."
0020 4b f2 00 00 01 00 00 00 00 00 00 00 00 00 00 00 Kª..............
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
21:01:27:365 (1020) C[0x111d], LOGGED_IN: *ERROR* 'recv' thread: recv failed 274a.
21:01:27:365 (628) S: iqn.2003-06.com.rocketdivision.starwind:xxxxxxx.xxxx.xx.cdrom0: 0 session(s) are opened, 1 more allowed.
21:01:29:537 (1168) Srv: Accepted connection from xxx.xxx.xxx.xxx:32771. id assigned - 4382
21:01:29:537 (1168) C[0x111e], FREE: Event - CONNECTED.
21:01:29:537 (1168) C[0x111e], XPT_UP: T3.
21:01:29:537 (628) C[0x111e], XPT_UP: Login request: ISID 0x801234567800, TSIH 0x0000.
21:01:29:537 (628) C[0x111e], XPT_UP: Event - LOGIN.
21:01:29:537 (628) C[0x111e], IN_LOGIN: T4.
21:01:29:537 (628) Params: <<< String param 'TargetName': received 'iqn.2003-06.com.rocketdivision.starwind:xxxxxxx.xxxx.xx.changer0', accepted 'iqn.2003-06.com.rocketdivision.starwind:xxxxxxx.xxxx.xx.changer0'
21:01:29:537 (628) Params: <<< String param 'InitiatorName': received 'xxxxxxx.xxxx.xx', accepted 'xxxxxxx.xxxx.xx'
21:01:29:537 (628) Params: Update OFMarkInt according to the value of OFMarker.
21:01:29:537 (628) Params: Update IFMarkInt according to the value of IFMarker.
21:01:29:537 (628) S: iqn.2003-06.com.rocketdivision.starwind:xxxxxxx.xxxx.xx.changer0: 1 session(s) are opened, 0 more allowed.
21:01:29:537 (628) T[0x15b38]: Anonimous connection allowed.
21:01:29:537 (628) Params: >>> InitialR2T=No.
21:01:29:537 (628) Params: >>> ImmediateData=Yes.
21:01:29:537 (628) Params: >>> MaxRecvDataSegmentLength=65536.
21:01:29:537 (628) Params: >>> MaxBurstLength=65536.
21:01:29:537 (628) Params: >>> FirstBurstLength=65536.
21:01:29:537 (628) Params: >>> MaxOutstandingR2T=1.
21:01:29:537 (628) Params: >>> DataPDUInOrder=Yes.
21:01:29:537 (628) Params: >>> DataSequenceInOrder=Yes.
21:01:29:537 (628) Params: >>> TargetPortalGroupTag=1.
21:01:29:537 (628) Params: <<< Boolean param 'InitialR2T': received Yes, accepted 1
21:01:29:537 (628) Params: <<< Boolean param 'ImmediateData': received Yes, accepted 1
21:01:29:537 (628) Params: <<< Numeric param 'MaxOutstandingR2T': received 1, accepted 1
21:01:29:537 (628) Params: <<< Numeric param 'FirstBurstLength': received 65536, accepted 65536
21:01:29:537 (628) Params: <<< Numeric param 'MaxBurstLength': received 65536, accepted 65536
21:01:29:537 (700) T[0x15b38]: The end of stage 1, next stage is 3.
21:01:29:537 (700) C[0x111e], IN_LOGIN: Event - LOGIN_ACCEPT.
21:01:29:537 (700) C[0x111e], LOGGED_IN: T5.
21:02:27:849 (700) SPTI: '\\.\Changer0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
21:02:27:849 (700) SPTI: '\\.\Changer0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 06 12 02 00 00 00 00 00 00 00 ,...............
0010 02 00 00 00 00 00 00 00 2c 00 00 00 07 00 00 00 ........,.......
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
21:02:27:849 (700) SPTI: '\\.\Changer0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 06 12 02 00 00 00 00 00 00 00 ,...............
0010 02 00 00 00 00 00 00 00 2c 00 00 00 07 00 00 00 ........,.......
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
21:05:04:425 (700) SPTI: '\\.\Changer0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
21:05:04:425 (700) SPTI: '\\.\Changer0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0c 12 01 00 00 00 00 01 00 00 ,...............
0010 02 00 00 00 88 1a 09 00 2c 00 00 00 b8 11 00 00 ....È...,...╕...
0020 00 01 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 ..... ..........
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
21:05:04:425 (700) SPTI: '\\.\Changer0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0c 12 01 00 00 00 00 01 00 00 ,...............
0010 02 00 00 00 88 1a 09 00 2c 00 00 00 b8 11 00 00 ....È...,...╕...
0020 00 01 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 ..... ..........
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
21:05:06:847 (700) SPTI: '\\.\Changer0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
21:05:06:847 (700) SPTI: '\\.\Changer0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0c 12 01 00 00 00 00 01 00 00 ,...............
0010 02 00 00 00 88 1a 09 00 2c 00 00 00 b8 01 00 00 ....È...,...╕...
0020 00 01 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 ..... ..........
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
21:05:06:847 (700) SPTI: '\\.\Changer0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 0c 12 01 00 00 00 00 01 00 00 ,...............
0010 02 00 00 00 88 1a 09 00 2c 00 00 00 b8 01 00 00 ....È...,...╕...
0020 00 01 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 ..... ..........
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Thanks
Stefan
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Fri Aug 06, 2004 7:48 am

Hi Stefan,
Anonymous wrote: I still have some trouble using the changer and the dvdrom on the remote side. It looks like the trouble starts when the application tries to use some exotic IOCTL's to controll the chager or authenticate to the dvd-rom to deCSS the DVD.
Well, a SCSI command just fails while executed by the device. I am trying to understand why... The only anomaly I see now is too small timeout - 2 seconds. Have you added -timeout:2 parameter for \\.\Changer0? If so try to change it to -timeout:108000. If not then there is a bug in StarWind.
Best regards,
Alexey.
Guest

Fri Aug 06, 2004 1:01 pm

Hi Alex,

I've added now the timeout parm. here the log from the startup:

11:56:59:265 (768) conf: Reading '[parameters]'
11:56:59:265 (768) conf: 'LogLevel' = '1'
11:56:59:265 (768) conf: 'LogMask' = '0x8000ffff'
11:56:59:265 (768) conf: 'Port' = '3260'
11:56:59:265 (768) conf: 'Interface' = 'xxx.xxx.xxx.xxx'
11:56:59:265 (768) conf: 'DefTargetName' = 'iqn.2003-06.com.rocketdivision.starwind:$(host).$(symid)'
11:56:59:265 (768) conf: 'Login' = 'xxxxxx'
11:56:59:265 (768) conf: 'Password' = 'xxxxxx'
11:56:59:265 (768) conf: 'Echo' = 'no'
11:56:59:265 (768) conf: 'MinBufferSize' = '65536'
11:56:59:265 (768) conf: 'AlignmentMask' = '0x0000'
11:56:59:265 (768) conf: 'MaxPendingRequests' = '64'
11:56:59:265 (768) conf: Reading '[plugins]'
11:56:59:265 (768) conf: Reading '[devices]'
11:56:59:296 (768) conf: Reading '[permissions]'
11:56:59:296 (768) S: Assigned target name: 'iqn.2003-06.com.rocketdivision.starwind:xxx.xxx.xx.changer0', SymId: 'Changer0'.
11:56:59:328 (768) S: the device '\\.\Changer0' is opened successfully.
11:56:59:328 (768) S: parameter 'timeout', value '108000'.
11:56:59:328 (768) S: iqn.2003-06.com.rocketdivision.starwind:xxx.xxx.xx.changer0: 1 session(s) allowed.
11:56:59:328 (768) conf: Target [0] has been created. Device '\\.\Changer0' is accesible as target 'iqn.2003-06.com.rocketdivision.starwind:xxx.xxx.xx.changer0'.
11:56:59:328 (768) S: Assigned target name: 'iqn.2003-06.com.rocketdivision.starwind:xxx.xxx.xx.cdrom0', SymId: 'Cdrom0'.
11:56:59:593 (768) S: the device '\\.\Cdrom0' is opened successfully.
11:56:59:593 (768) S: parameter 'timeout', value '108000'.
11:56:59:593 (768) S: iqn.2003-06.com.rocketdivision.starwind:xxx.xxx.xx.cdrom0: 1 session(s) allowed.
11:56:59:593 (768) conf: Target [1] has been created. Device '\\.\Cdrom0' is accesible as target 'iqn.2003-06.com.rocketdivision.starwind:xxx.xxx.xx.cdrom0'.

This looks good to me. Than attaching to the target is working fine :

11:58:44:903 (768) Srv: Accepted connection from xxx.xxx.xxx.xxx:32778. id assigned - 4370
11:58:44:903 (768) C[0x1112], FREE: Event - CONNECTED.
11:58:44:903 (768) C[0x1112], XPT_UP: T3.
11:58:44:903 (1248) C[0x1112], XPT_UP: Login request: ISID 0x801234567800, TSIH 0x0000.
11:58:44:903 (1248) C[0x1112], XPT_UP: Event - LOGIN.
11:58:44:903 (1248) C[0x1112], IN_LOGIN: T4.
11:58:44:903 (1248) Params: <<< String param 'TargetName': received 'iqn.2003-06.com.rocketdivision.starwind:xxxx.xxx.xx.changer0', accepted 'iqn.2003-06.com.rocketdivision.starwind:xxxx.xxx.xx.changer0'
11:58:44:903 (1248) Params: <<< String param 'InitiatorName': received 'xxxx.xxx.xx', accepted 'xxxx.xxx.xx'
11:58:44:903 (1248) Params: <<< Enum param 'SessionType': received 'Normal', accepted 'Normal'
11:58:44:903 (1248) Params: Update OFMarkInt according to the value of OFMarker.
11:58:44:903 (1248) Params: Update IFMarkInt according to the value of IFMarker.
11:58:44:903 (1248) S: iqn.2003-06.com.rocketdivision.starwind:xxxx.xxx.xx.changer0: 1 session(s) are opened, 0 more allowed.
11:58:44:903 (1248) T[0x15b38]: Anonimous connection allowed.
11:58:44:903 (1248) Params: >>> InitialR2T=No.
11:58:44:903 (1248) Params: >>> ImmediateData=Yes.
11:58:44:903 (1248) Params: >>> MaxRecvDataSegmentLength=65536.
11:58:44:903 (1248) Params: >>> MaxBurstLength=65536.
11:58:44:903 (1248) Params: >>> FirstBurstLength=65536.
11:58:44:903 (1248) Params: >>> MaxOutstandingR2T=1.
11:58:44:903 (1248) Params: >>> DataPDUInOrder=Yes.
11:58:44:903 (1248) Params: >>> DataSequenceInOrder=Yes.
11:58:44:903 (1248) Params: >>> TargetPortalGroupTag=1.
11:58:44:919 (1248) Params: <<< Boolean param 'InitialR2T': received Yes, accepted 1
11:58:44:919 (1248) Params: <<< Boolean param 'ImmediateData': received Yes, accepted 1
11:58:44:919 (1248) Params: <<< Numeric param 'MaxOutstandingR2T': received 1, accepted 1
11:58:44:919 (1248) Params: <<< Numeric param 'FirstBurstLength': received 65536, accepted 65536
11:58:44:919 (1248) Params: <<< Numeric param 'MaxBurstLength': received 65536, accepted 65536
11:58:44:919 (840) T[0x15b38]: The end of stage 1, next stage is 3.
11:58:44:919 (840) C[0x1112], IN_LOGIN: Event - LOGIN_ACCEPT.
11:58:44:919 (840) C[0x1112], LOGGED_IN: T5.

but when I load the kernel module on linux to control and therefore first initialize the changer I get this on the StarWind side:

11:59:48:684 (840) SPTI: '\\.\Changer0': DeviceIoControl failed: Die Anforderung konnte wegen eines E/A-Gerôtefehlers nicht ausgef¹hrt werden. (code: 1117).
11:59:48:684 (840) SPTI: '\\.\Changer0': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 06 12 02 00 00 00 00 00 00 00 ,...............
0010 02 00 00 00 00 00 00 00 2c 00 00 00 07 00 00 00 ........,.......
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
11:59:48:684 (840) SPTI: '\\.\Changer0': IOCTL_SCSI_PASS_THROUGH_DIRECT (after):
0000 2c 00 00 00 00 00 06 12 02 00 00 00 00 00 00 00 ,...............
0010 02 00 00 00 00 00 00 00 2c 00 00 00 07 00 00 00 ........,.......
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

on Linux side (if you care) it looks like this :

called with :
TARGET1="iqn.2003-06.com.rocketdivision.starwind:xxxx.xxx.xx.cdrom0"
TARGET2="iqn.2003-06.com.rocketdivision.starwind:xxxx.xxx.xx.changer0"
IP="xxx.xxx.xxx.xxx"
./iscsi_manage init restore host=0
./iscsi_manage init set InitiatorName=`uname -n` host=0
./iscsi_manage init set TargetName=$TARGET2 host=0
./iscsi_manage init set SessionType=Normal host=0
./iscsi_config up ip=$IP port=3260 host=0 lun=0

dmesg:
scsi0 : UNH-IOL iSCSI Initiator. RPM: unh_iscsi-1.4-02_dev. Kernel: 2.6.8-rc3. Built on Do Aug 5 22:47:09 CEST 2004.
iscsi connected to target at xxx.xxx.xxx.xxx:3260
iscsi socket cc637ba0 tcp Nagle Algorithm is off
iscsi rx-0-00 started, pid 12959
iscsi tx-0-00 started, pid 12960
blk_queue_max_hw_segments: set to minimum 1
Vendor: KODAK Model: CDL-144 Rev: 1.41
Type: Medium Changer ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 8
SCSI Media Changer driver v0.22 for Linux 2.6.8-rc3
scsi_to_iscsi:833:/usr/src/unh-iscsi/src/initiator/iscsi_initiator.c: ***ERROR*** request_bufflen 255 not zero when sc_data_direction 0 not READ or WRITE
ch0: type #1 (mt): 0x0+1 [medium transport]
ch0: type #2 (st): 0x1000+162 [storage]
ch0: type #3 (ie): 0x100+1 [import/export]
ch0: type #4 (dt): 0x200+1 [data transfer]
scsi_to_iscsi:833:/usr/src/unh-iscsi/src/initiator/iscsi_initiator.c: ***ERROR*** request_bufflen 256 not zero when sc_data_direction 0 not READ or WRITE
ch0: dt 0x200: not this SCSI bus
ch0: INITIALIZE ELEMENT STATUS, may take some time ...
do_scsi_response:1280:/usr/src/unh-iscsi/src/initiator/initiator_utilities.c: ***ERROR*** rx-0-00 scsi response error from target, status 0x02
18 bytes of sense data
0: 70 00 05 00 00 00 00 0a 00 00 00 00 3e 01 00 00
16: 00 00
ch0: ... finished
Attached scsi changer ch0 at scsi0, channel 0, id 0, lun 0

when acessing the dvd-rom I get simliar results. Could this be a hardware problem ??

Thanks
Stefan
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Fri Aug 06, 2004 1:18 pm

Hi,

Could you write me on lx@rocketdivision.com? I will send you an updated version.

We found one obvious bug the is fixed already and lines with "***ERROR***" look suspicious in your log. :) I will try to find out what do they mean.
Best regards,
Alexey.
Val (staff)
Posts: 496
Joined: Tue Jun 29, 2004 8:38 pm

Fri Aug 06, 2004 1:58 pm

Anonymous wrote:...
dmesg:
scsi0 : UNH-IOL iSCSI Initiator. RPM: unh_iscsi-1.4-02_dev. Kernel: 2.6.8-rc3. Built on Do Aug 5 22:47:09 CEST 2004.
iscsi connected to target at xxx.xxx.xxx.xxx:3260
iscsi socket cc637ba0 tcp Nagle Algorithm is off
iscsi rx-0-00 started, pid 12959
iscsi tx-0-00 started, pid 12960
blk_queue_max_hw_segments: set to minimum 1
Vendor: KODAK Model: CDL-144 Rev: 1.41
Type: Medium Changer ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 8
SCSI Media Changer driver v0.22 for Linux 2.6.8-rc3
scsi_to_iscsi:833:/usr/src/unh-iscsi/src/initiator/iscsi_initiator.c: ***ERROR*** request_bufflen 255 not zero when sc_data_direction 0 not READ or WRITE
ch0: type #1 (mt): 0x0+1 [medium transport]
ch0: type #2 (st): 0x1000+162 [storage]
ch0: type #3 (ie): 0x100+1 [import/export]
ch0: type #4 (dt): 0x200+1 [data transfer]
scsi_to_iscsi:833:/usr/src/unh-iscsi/src/initiator/iscsi_initiator.c: ***ERROR*** request_bufflen 256 not zero when sc_data_direction 0 not READ or WRITE
ch0: dt 0x200: not this SCSI bus
ch0: INITIALIZE ELEMENT STATUS, may take some time ...
do_scsi_response:1280:/usr/src/unh-iscsi/src/initiator/initiator_utilities.c: ***ERROR*** rx-0-00 scsi response error from target, status 0x02
18 bytes of sense data
0: 70 00 05 00 00 00 00 0a 00 00 00 00 3e 01 00 00
16: 00 00
ch0: ... finished
Attached scsi changer ch0 at scsi0, channel 0, id 0, lun 0

when acessing the dvd-rom I get simliar results. Could this be a hardware problem ??
Hi Stefan,

Could you please download the recent UNH iSCSI initiator sources?
Fro mthe log I can see you use:
scsi0 : UNH-IOL iSCSI Initiator. RPM: unh_iscsi-1.4-02_dev. Kernel: 2.6.8-rc3. Built on Do Aug 5 22:47:09 CEST 2004.
The version 1.4.2 you are using is too outdated.
At least UNH iSCSI v1.5.3 is available now.
I guess the recent version includes a lot of bug fixes and should be
compatible with the recent 2.6 Linux kernels.

I suspect the errors like:
scsi_to_iscsi:833:/usr/src/unh-iscsi/src/initiator/iscsi_initiator.c: ***ERROR*** request_bufflen 256 not zero when sc_data_direction 0 not READ or WRITE
are reported because of using the old iSCSI initiator modules with much newer Linux kernel.
Best regards,
Valeriy
User avatar
Alex (staff)
Staff
Posts: 177
Joined: Sat Jun 26, 2004 8:49 am

Sat Aug 07, 2004 5:35 am

Quote from e-mail:
very good new ! I can controll the changer - watch dvd's (even encrypted) you did a really nice job ... WELL DONE ..

I've no more error messages in the StarWind.Log.

Thank you very much and I wish you very much success with your product.

Stefan
Best regards,
Alexey.
Guest

Sat Aug 07, 2004 7:36 am

Hi Alex,

the unh version I using is current.cvs It looks like they didn't change the version.h in cvs - only in release

Thanks again
Stefan

P.S. getting the changer to run as a target under linux isn't easy :-(
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Sat Aug 07, 2004 9:39 am

Hold on. There should be StarWind for Linux released late September - early October. I think it would change the way iSCSI target software works under Linux dramatically :)
Anonymous wrote:Hi Alex,

the unh version I using is current.cvs It looks like they didn't change the version.h in cvs - only in release

Thanks again
Stefan

P.S. getting the changer to run as a target under linux isn't easy :-(
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
Guest

Sat Aug 07, 2004 7:25 pm

Hey Anton,

this sounds interesting - If you like I would participate as beta tester. Alex allready got my Emailadress.

Thanks
Stefan
Locked