Project

General

Profile

Actions

action #55091

closed

VBoxManage list usbhost: <none>

Added by EDV_Lotse over 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bug
Target version:
Start date:
2019-08-04
Due date:
% Done:

100%

Estimated time:

Description

Neulich habe ich einen Bug bei Virtualbox entdeckt und zwar ab Version openSUSE 42.3 erkennt Virtualbox keine USB-Geräte mehr und entsprechend können die bei VMs nicht erscheinen.

So sieht z.B. die Ausgabe bei openSUSE 42.1:

inviz.domain.lan:~ # VBoxManage list usbhost
Host USB Devices:

UUID: 1cf34893-d26e-41fe-8d6e-8fed1a193d41
VendorId: 0x051d (051D)
ProductId: 0x0002 (0002)
Revision: 1.6 (0106)
Port: 4
USB version/speed: 1/Low
Manufacturer: American Power Conversion
Product: Back-UPS XS 700U FW:924.Z3 .I USB FW:Z3
SerialNumber: 3B1845X67995
Address: sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5//device:/dev/vboxusb/001/004
Current State: Busy

UUID: df3bc3f2-441a-4430-adc7-60f16ab4a5b5
VendorId: 0x2109 (2109)
ProductId: 0x0711 (0711)
Revision: 5.7 (0507)
Port: 0
USB version/speed: 2/High
Manufacturer: Intenso
Product: External USB 3.0
SerialNumber: 20140730055234
Address: sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1//device:/dev/vboxusb/001/006
Current State: Busy

openSUSE 42.3, 15.0 und 15.1 liefert

Host USB Devices:

none


Files

60-vboxdrv.rules (755 Bytes) 60-vboxdrv.rules EDV_Lotse, 2019-08-06 17:04
Actions #1

Updated by flacco over 4 years ago

  • Assignee set to EDV_Lotse

Hallo Dimitri, das kann ich nicht nachvollziehen. Habe gerade unter Leap 15.1 getestet, bei mir funktioniert es problemlos.

Hast du den Extension-Pack installiert?

Gruß

Stefan

Actions #2

Updated by flacco over 4 years ago

  • Category set to Bug
Actions #3

Updated by EDV_Lotse over 4 years ago

Server Leap 15.0 starten, 2 USB anschliessen und Virtualbox fragen:

[ 119.928479] usb 4-1: new low-speed USB device number 3 using ohci-pci
[ 120.112335] usb 4-1: New USB device found, idVendor=0529, idProduct=0001
[ 120.112343] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 120.112347] usb 4-1: Product: HASP HL 3.25
[ 120.112351] usb 4-1: Manufacturer: AKS
[ 125.069764] usb 1-2: new high-speed USB device number 4 using ehci-pci
[ 125.215391] usb 1-2: New USB device found, idVendor=8644, idProduct=8003
[ 125.215399] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 125.215403] usb 1-2: Product: USB Flash Disk
[ 125.215407] usb 1-2: Manufacturer: General
[ 125.215410] usb 1-2: SerialNumber: 0510590000000215
[ 125.324524] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 125.324796] scsi host6: usb-storage 1-2:1.0
[ 125.324982] usbcore: registered new interface driver usb-storage
[ 125.336323] usbcore: registered new interface driver uas
[ 126.258388] scsi 6:0:0:0: Direct-Access General USB Flash Disk 1.00 PQ: 0 ANSI: 2
[ 126.258894] sd 6:0:0:0: Attached scsi generic sg3 type 0
[ 126.259967] sd 6:0:0:0: [sdc] 15669248 512-byte logical blocks: (8.02 GB/7.47 GiB)
[ 126.260682] sd 6:0:0:0: [sdc] Write Protect is off
[ 126.260690] sd 6:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 126.261416] sd 6:0:0:0: [sdc] No Caching mode page found
[ 126.261422] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[ 126.270854] sdc: sdc1
[ 126.274303] sd 6:0:0:0: [sdc] Attached SCSI removable disk

leap15:~ # VBoxManage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 5.2.18
Revision: 124319
Edition:
Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:
leap15:~ # VBoxManage list usbhost
Host USB Devices:

Das gleiche Verhalten habe ich auf allen Servern ab 42.3 (insgesamt 6 mal), die restliche 3 alte Server zeigen USB-Geräte einwandfrei.

Actions #4

Updated by EDV_Lotse over 4 years ago

Die Ursache ist gefunden: es fehlt eine Datei und zwar /etc/udev/rules.d/60-vboxdrv.rules

Komischerweise wenn grafische Oberfläche installiert wird, dann wird die Datei auch installiert, bei invis-Server eben nicht.

Frage: wie kann ich eine Regel aktuvieren ohne Server neuzustarten?

Actions #5

Updated by flacco over 4 years ago

  • % Done changed from 0 to 30

Hi Dimitri,

das kann so nicht stimmen. Auf meinem Laptop fehlt die Datei auch, trotzdem funktioniert es.

Was gibt den "rpm -qf /etc/udev/rules.d/60-vboxdrv.rules" aus?

Gruß

Stefan

Actions #6

Updated by flacco over 4 years ago

  • Status changed from New to In Progress
Actions #7

Updated by EDV_Lotse over 4 years ago

lenovo:# rpm -qf /usr/lib/udev/rules.d/60-vboxdrv.rules
virtualbox-qt-6.0.10-lp150.4.36.1.x86_64

Noch ein Hinweis: auf alten Servern wurde Virtualbox aus virtualbox-Repo installiert, alle neue kommen mit Paketen aus openSUSE-Repo.

Actions #8

Updated by flacco over 4 years ago

Hallo Dimitri

EDV_Lotse wrote:

lenovo:# rpm -qf /usr/lib/udev/rules.d/60-vboxdrv.rules
virtualbox-qt-6.0.10-lp150.4.36.1.x86_64

OK, das Paket wird auf invis-Servern natürlich normalerweise nicht installiert. Ich habe auf meinem Notebook vorhin falsch geschaut. Die Datei existiert bei mir natürlich auch. Ich habe versehentlich unter /etc/udev/rules.d nachgeschaut.

Genau das führt auch zur Lösung. Wir können die Datei in unser invis-Setup aufnehmen und nach /etc/udev/rules.d/ installieren.

Noch ein Hinweis: auf alten Servern wurde Virtualbox aus virtualbox-Repo installiert, alle neue kommen mit Paketen aus openSUSE-Repo.

Das war eine bewusste Entscheidung, da Oracle den Bau von Paketen für openSUSE neuer 42.1 stark vernachlässigt hat und es zunehmend Probleme gab.

Actions #9

Updated by flacco over 4 years ago

  • Status changed from In Progress to Resolved
  • Target version set to 14.1
  • % Done changed from 30 to 90

Ich habe das jetzt schon hinzugefügt.

Muss noch getestet werden.

Actions #10

Updated by ingogoeppert over 2 years ago

  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF