Skip to contentSkip to conversation

pvscsi and report luns command

DISCUSSION James Harper 2 participants 2 messages Nov 30, 2008 – Dec 1, 2008

lore
Share & tools
lore
#0 lore raw

I'm updating the gplpv pvscsi driver to support the pvscsi driver in 3.3, and it's not working properly.

The first command windows issues is a 'report luns' command, with a 16 byte buffer. The response that Dom0 gives me says that this was executed successfully. Windows then issues another 'report luns' command that is also returned from Dom0 with a successful return code. Then nothing else happens - windows never sends another scsi command.

Windows makes it really hard to peak at the data buffers of scsi requests so getting the actual result into some debug statements is a bit of a pain... but I guess that is what I'll try next.

Report luns appears to be an emulated/translated command (by the backend), which makes sense, but can anyone confirm that there are no problems with it?

Thanks

James

#1 lore raw

Hi, James-san,

What lun did you specify as virtual SCSI ID?
Lun=0 should exist on virtual SCSI tree, maybe.

Thanks,

Quoted 17 lines · On Sun, 30 Nov 2008 15:01:12 +1100 "James Harper"…

I'm updating the gplpv pvscsi driver to support the pvscsi driver in 3.3, and it's not working properly.

The first command windows issues is a 'report luns' command, with a 16 byte buffer. The response that Dom0 gives me says that this was executed successfully. Windows then issues another 'report luns' command that is also returned from Dom0 with a successful return code. Then nothing else happens - windows never sends another scsi command.

Windows makes it really hard to peak at the data buffers of scsi requests so getting the actual result into some debug statements is a bit of a pain... but I guess that is what I'll try next.

Report luns appears to be an emulated/translated command (by the backend), which makes sense, but can anyone confirm that there are no problems with it?

Quoted 8 lines

Thanks

James

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

-----
Jun Kamada