VirtualBox

Opened 13 years ago

Last modified 13 years ago

#7694 new enhancement

Add SCSI device passthrough support

Reported by: linuxrulez Owned by:
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 (1)

comment:1 by aeichner, 13 years ago

Guest type: Windowsother
Host type: Linuxother
priority: blockerminor
Summary: Unable to register SCSI tape deviceAdd SCSI device passthrough support
Type: defectenhancement

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use