VirtualBox

Ticket #7694 (new enhancement)

Opened 3 years ago

Last modified 3 years ago

Add SCSI device passthrough support

Reported by: linuxrulez Owned by:
Priority: minor Component: virtual disk
Version: VirtualBox 3.2.10 Keywords: raw scsi tape passthru
Cc: Guest type: other
Host type: other

Description

Unable to register raw SCSI tape device (used for controlling wide format print / scan mode).

VBoxManage -nologo internalcommands createrawvmdk -filename scanner.vmdk -rawdisk /dev/st0
Error opening the raw disk '/dev/st0': VERR_DEV_IO_ERROR
The raw disk vmdk file was not created

Right now VmWare ALREADY supports this type of SCSI passthru (as with LPT passthru)

Change History

comment:1 Changed 3 years ago by aeichner

  • Priority changed from blocker to minor
  • Host type changed from Linux to other
  • Type changed from defect to enhancement
  • Guest type changed from Windows to other
  • Summary changed from Unable to register SCSI tape device to Add SCSI device passthrough support

SCSI device passthrough is a completely different thing. VirtualBox has some really limited support for it on Linux but it is not exposed because it works only on Linux and is _not_ well tested so you are on your own if something doesn't work or destroys the data on the device. You can access the feature with the following commands:

VBoxManage setextradata <VM> "VBoxInternal/Devices/lsilogicscsi/0/LUN#0/Driver" "SCSIHost"
VBoxManage setextradata <VM> "VBoxInternal/Devices/lsilogicscsi/0/LUN#0/Config/DevicePath" "/dev/sg<N>"

where N is the number of the generic SCSI device node for the tape device. /dev/st0 might work but I'm not sure. You can find the source under  http://www.virtualbox.org/browser/trunk/src/VBox/Devices/Storage/DrvSCSIHost.cpp in case you are interested to enhance the support. Patches are welcome!

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use