Problem mit USB Passthrough (eine HDD geht, andere nicht)
Verfasst: 02.04.2014, 19:03
Hallo!
Ich habe hier 3 äußerlich identische USB Festplatten (Toshiba 1 TB) die ich gern in eine virtuelle Maschine durchreichen möchte.
(nicht unbedingt gleichzeitig, aber abwechselnd)
Mit einer der 3 Platten gelingt mir das problemlos.
Die beiden anderen Platten werden beim Hinzufügen eines USB-Geräts zur VM _nicht_ angezeigt !
Offenbar haben die Platten intern andere PIDs und werden vom usb-storage Treiber nicht als solche erkannt.
Gibt es irgendeine Möglichkeit darauf Einfluss zu nehmen?
Hier mal Auszüge aus vmkernel.log:
Hier stecke ich die funktionierende Platte an:
-------------------------------------------------------------------------------------
2014-04-02T15:37:47.576Z cpu1:2495)<6>usb 2-1.1: new high speed USB device using ehci_hcd and address 9
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: New USB device found, idVendor=0480, idProduct=a007
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: Product: External USB 3.0
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: Manufacturer: Toshiba
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: SerialNumber: 20131217011903F
2014-04-02T15:37:47.693Z cpu0:2495)<6>usb 2-1.1: Vendor: 0x0480, Product: 0xa007, Revision: 0x0001
2014-04-02T15:37:47.693Z cpu0:2495)<6>usb 2-1.1: Interface Subclass: 0x06, Protocol: 0x50
2014-04-02T15:37:47.694Z cpu0:2495)WARNING: LinScsiLLD: scsi_add_host:601:vmkAdapter (usb-storage) sgMaxEntries rounded to 255. Reported size was 255
2014-04-02T15:37:47.694Z cpu0:2495)DMA: 609: DMA Engine 'vmhba43' created using mapper 'DMANull'.
2014-04-02T15:37:47.694Z cpu0:2495)<6>usb-storage 2-1.1:1.0: interface is claimed by usb-storage
2014-04-02T15:37:47.694Z cpu0:2495)<6>usb 2-1.1: device is not available for passthrough
2014-04-02T15:37:47.694Z cpu0:2495)<6>usb 2-1.1: usbfs: registered usb0209
2014-04-02T15:37:47.704Z cpu1:2073)ScsiNpiv: 1525: GetInfo for adapter vmhba42, [0x4100050cac80], max_vports=0, vports_inuse=0, linktype=0, state=0, failreason=0, rv=-1, sts=bad0020
2014-04-02T15:37:47.704Z cpu1:2073)ScsiNpiv: 1525: GetInfo for adapter vmhba43, [0x410005043b80], max_vports=0, vports_inuse=0, linktype=0, state=0, failreason=0, rv=-1, sts=bad0020
2014-04-02T15:37:48.696Z cpu0:4630)usb-storage: detected SCSI revision number 6 on vmhba43
2014-04-02T15:37:48.696Z cpu0:4630)usb-storage: patching inquiry data to change SCSI revision number from 6 to 2 on vmhba43
2014-04-02T15:37:48.696Z cpu0:4630)usb-storage: patching inquiry data to change removable media bit from 'off' to 'on' on vmhba43
2014-04-02T15:37:48.696Z cpu0:4630)usb-storage: setting peripheral qualifier to 'not connected' on vmhba43
2014-04-02T15:37:48.696Z cpu2:2484)<6>usb-storage 2-1.1:1.0: unclaiming vmhba43
2014-04-02T15:37:48.696Z cpu2:2484)LinScsiLLD: scsi_remove_host:875: Removed Host Adapter vmhba43
2014-04-02T15:37:48.696Z cpu2:2484)<6>usb 2-1.1: device is available for passthrough
2014-04-02T15:37:48.696Z cpu2:2484)ScsiAdapter: 2243: Unregistering adapter vmhba43
2014-04-02T15:37:48.696Z cpu2:2484)DMA: 654: DMA Engine 'vmhba43' destroyed.
-------------------------------------------------------------------------------------
und so sieht es im Log bei den _nicht_ funktionierenden Platten aus:
-------------------------------------------------------------------------------------
2014-04-02T15:37:25.042Z cpu0:2495)<6>usb 2-1.2: new high speed USB device using ehci_hcd and address 8
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: New USB device found, idVendor=0480, idProduct=a00d
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: Product: External USB 3.0
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: Manufacturer: TOSHIBA
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: SerialNumber: 23183C105DC6
2014-04-02T15:37:25.159Z cpu1:2495)<6>usb 2-1.2: Vendor: 0x0480, Product: 0xa00d, Revision: 0x0407
2014-04-02T15:37:25.159Z cpu1:2495)<6>usb 2-1.2: Interface Subclass: 0x06, Protocol: 0x50
2014-04-02T15:37:25.160Z cpu1:2495)WARNING: LinScsiLLD: scsi_add_host:601:vmkAdapter (usb-storage) sgMaxEntries rounded to 255. Reported size was 255
2014-04-02T15:37:25.160Z cpu1:2495)DMA: 609: DMA Engine 'vmhba42' created using mapper 'DMANull'.
2014-04-02T15:37:25.160Z cpu1:2495)<6>usb-storage 2-1.2:1.0: interface is claimed by usb-storage
2014-04-02T15:37:25.160Z cpu1:2495)<6>usb 2-1.2: device is not available for passthrough
2014-04-02T15:37:25.160Z cpu1:2495)<6>usb 2-1.2: usbfs: registered usb0208
2014-04-02T15:37:25.172Z cpu1:2073)ScsiNpiv: 1525: GetInfo for adapter vmhba42, [0x4100050cac80], max_vports=0, vports_inuse=0, linktype=0, state=0, failreason=0, rv=-1, sts=bad0020
-------------------------------------------------------------------------------------
Hat jemand eine Idee dazu?
Edit: Ich habe es übrigens an 2 völlig verschiedenen Servern und einmal mit ESXi 5.1.0u2 und einmal mit ESXi 5.5.0u1 probiert.
Exakt derselbe Effekt !
Gruß
Dennis
Ich habe hier 3 äußerlich identische USB Festplatten (Toshiba 1 TB) die ich gern in eine virtuelle Maschine durchreichen möchte.
(nicht unbedingt gleichzeitig, aber abwechselnd)
Mit einer der 3 Platten gelingt mir das problemlos.
Die beiden anderen Platten werden beim Hinzufügen eines USB-Geräts zur VM _nicht_ angezeigt !
Offenbar haben die Platten intern andere PIDs und werden vom usb-storage Treiber nicht als solche erkannt.
Gibt es irgendeine Möglichkeit darauf Einfluss zu nehmen?
Hier mal Auszüge aus vmkernel.log:
Hier stecke ich die funktionierende Platte an:
-------------------------------------------------------------------------------------
2014-04-02T15:37:47.576Z cpu1:2495)<6>usb 2-1.1: new high speed USB device using ehci_hcd and address 9
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: New USB device found, idVendor=0480, idProduct=a007
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: Product: External USB 3.0
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: Manufacturer: Toshiba
2014-04-02T15:37:47.693Z cpu2:2495)<6>usb 2-1.1: SerialNumber: 20131217011903F
2014-04-02T15:37:47.693Z cpu0:2495)<6>usb 2-1.1: Vendor: 0x0480, Product: 0xa007, Revision: 0x0001
2014-04-02T15:37:47.693Z cpu0:2495)<6>usb 2-1.1: Interface Subclass: 0x06, Protocol: 0x50
2014-04-02T15:37:47.694Z cpu0:2495)WARNING: LinScsiLLD: scsi_add_host:601:vmkAdapter (usb-storage) sgMaxEntries rounded to 255. Reported size was 255
2014-04-02T15:37:47.694Z cpu0:2495)DMA: 609: DMA Engine 'vmhba43' created using mapper 'DMANull'.
2014-04-02T15:37:47.694Z cpu0:2495)<6>usb-storage 2-1.1:1.0: interface is claimed by usb-storage
2014-04-02T15:37:47.694Z cpu0:2495)<6>usb 2-1.1: device is not available for passthrough
2014-04-02T15:37:47.694Z cpu0:2495)<6>usb 2-1.1: usbfs: registered usb0209
2014-04-02T15:37:47.704Z cpu1:2073)ScsiNpiv: 1525: GetInfo for adapter vmhba42, [0x4100050cac80], max_vports=0, vports_inuse=0, linktype=0, state=0, failreason=0, rv=-1, sts=bad0020
2014-04-02T15:37:47.704Z cpu1:2073)ScsiNpiv: 1525: GetInfo for adapter vmhba43, [0x410005043b80], max_vports=0, vports_inuse=0, linktype=0, state=0, failreason=0, rv=-1, sts=bad0020
2014-04-02T15:37:48.696Z cpu0:4630)usb-storage: detected SCSI revision number 6 on vmhba43
2014-04-02T15:37:48.696Z cpu0:4630)usb-storage: patching inquiry data to change SCSI revision number from 6 to 2 on vmhba43
2014-04-02T15:37:48.696Z cpu0:4630)usb-storage: patching inquiry data to change removable media bit from 'off' to 'on' on vmhba43
2014-04-02T15:37:48.696Z cpu0:4630)usb-storage: setting peripheral qualifier to 'not connected' on vmhba43
2014-04-02T15:37:48.696Z cpu2:2484)<6>usb-storage 2-1.1:1.0: unclaiming vmhba43
2014-04-02T15:37:48.696Z cpu2:2484)LinScsiLLD: scsi_remove_host:875: Removed Host Adapter vmhba43
2014-04-02T15:37:48.696Z cpu2:2484)<6>usb 2-1.1: device is available for passthrough
2014-04-02T15:37:48.696Z cpu2:2484)ScsiAdapter: 2243: Unregistering adapter vmhba43
2014-04-02T15:37:48.696Z cpu2:2484)DMA: 654: DMA Engine 'vmhba43' destroyed.
-------------------------------------------------------------------------------------
und so sieht es im Log bei den _nicht_ funktionierenden Platten aus:
-------------------------------------------------------------------------------------
2014-04-02T15:37:25.042Z cpu0:2495)<6>usb 2-1.2: new high speed USB device using ehci_hcd and address 8
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: New USB device found, idVendor=0480, idProduct=a00d
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: Product: External USB 3.0
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: Manufacturer: TOSHIBA
2014-04-02T15:37:25.159Z cpu0:2495)<6>usb 2-1.2: SerialNumber: 23183C105DC6
2014-04-02T15:37:25.159Z cpu1:2495)<6>usb 2-1.2: Vendor: 0x0480, Product: 0xa00d, Revision: 0x0407
2014-04-02T15:37:25.159Z cpu1:2495)<6>usb 2-1.2: Interface Subclass: 0x06, Protocol: 0x50
2014-04-02T15:37:25.160Z cpu1:2495)WARNING: LinScsiLLD: scsi_add_host:601:vmkAdapter (usb-storage) sgMaxEntries rounded to 255. Reported size was 255
2014-04-02T15:37:25.160Z cpu1:2495)DMA: 609: DMA Engine 'vmhba42' created using mapper 'DMANull'.
2014-04-02T15:37:25.160Z cpu1:2495)<6>usb-storage 2-1.2:1.0: interface is claimed by usb-storage
2014-04-02T15:37:25.160Z cpu1:2495)<6>usb 2-1.2: device is not available for passthrough
2014-04-02T15:37:25.160Z cpu1:2495)<6>usb 2-1.2: usbfs: registered usb0208
2014-04-02T15:37:25.172Z cpu1:2073)ScsiNpiv: 1525: GetInfo for adapter vmhba42, [0x4100050cac80], max_vports=0, vports_inuse=0, linktype=0, state=0, failreason=0, rv=-1, sts=bad0020
-------------------------------------------------------------------------------------
Hat jemand eine Idee dazu?
Edit: Ich habe es übrigens an 2 völlig verschiedenen Servern und einmal mit ESXi 5.1.0u2 und einmal mit ESXi 5.5.0u1 probiert.
Exakt derselbe Effekt !
Gruß
Dennis