VirtualBox

15 年 前 建立

14 年 前 結束

#6343 closed defect (fixed)

USB failure under Ubuntu Lucid -> fixed after the 3.1.6 release

回報者: Jiehan Zheng 負責人:
元件: USB 版本: VirtualBox 3.1.4
關鍵字: USB 副本:
Guest type: Windows Host type: Linux

描述

Hello,

I have problem using USB inside my guest VM, my host is Ubuntu Lucid.

Everything goes OK under Karmic, but the last VirtualBox usbfs line in /etc/fstab stopped Lucid from booting up, so I removed that line.

Then I got the following error when opening Settings window:

"Could not access USB on the host system, because neither the USB file system (usbfs) nor the DBus and hal services are currently available. If you wish to use host USB devices inside guest systems, you must correct this and restart VirtualBox. The USB Proxy Service could not be started, because neither the USB file system (usbfs) nor the hardware information service (hal) is available."

附加檔案 (4)

VBox.log (56.8 KB ) - 15 年 前, 由 Jiehan Zheng 新增
log_vbox-3.1.8_lucid.bz2 (234.9 KB ) - 15 年 前, 由 cakoolen 新增
created by strace -f -o ~/log -s128 /usr/lib/virtualbox/VBoxSVC on ubuntu 10.04 32 bits
log_vladimircz.zip (358.1 KB ) - 15 年 前, 由 Vladimír Bláha 新增
Screenshot.png (244.9 KB ) - 15 年 前, 由 Rob 新增

下載所有附檔: .zip

更動歷史 (22)

15 年 前Jiehan Zheng 編輯

附檔: 新增 VBox.log

comment:1 15 年 前Thomas Novin 編輯

usbfs is deprecated and also hal is deprecated in Lucid.

There is some discussion about this in this thread:

http://forums.virtualbox.org/viewtopic.php?f=1&t=27820

comment:2 15 年 前Michael Thayer 編輯

We are aware of this issue, and it will get fixed as soon as possible.

comment:3 15 年 前dimitris 編輯

Confirming the workaround in the referenced thread: Running hald manually (under sudo) allows VB to access the USB devices.

Lucid on amd64 host, WinXP SP3 guest, VB 3.1.6.

comment:4 15 年 前Michael Thayer 編輯

摘要: USB failure under Ubuntu LucidUSB failure under Ubuntu Lucid -> fixed after the 3.1.6 release

This has been fixed in the development code. 3.0.2 beta 1 contains a fix, but not the final one.

comment:5 15 年 前Thomas Novin 編輯

3.0.2 beta? 4.0.2 beta perhaps?

comment:6 15 年 前SiaR 編輯

Hi, Im trying with the workaround and doesn't work. I have Lucid on i686, WinXP SP2 guest and VB 3.1.6 r59338.

comment:7 15 年 前Frank Mehnert 編輯

3.2.0 Beta 1. It is already late today.

comment:8 15 年 前Michał Gołębiowski 編輯

When could we expect running Lucid repository? (I guess it'll be with 3.2.0, not 3.1.x version)? At least an approximation (a day, a week or a month) would be useful.

comment:9 15 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

Fixed in 3.1.8

comment:10 15 年 前Vladimír Bláha 編輯

狀態: closedreopened
處理結果: fixed

Still not working in 3.1.8 under the host Ubuntu 10.04 64 bit with guests Windows XP SP3 Prof. 32bit.

USB devices are detected, listed, but grayed and cannot be activated.

Perhaps the fact that I first used the version 3.1.6 might cause this.

comment:11 15 年 前Frank Mehnert 編輯

Please could you do the following to help debugging the problem:

  1. Make sure no VBoxSVC daemon is running
  2. start the VBoxSVC daemon manually in one terminal window
    strace -f -o ~/log -s128 /usr/lib/virtualbox/VBoxSVC
    
  3. start the VM in another terminal window:
    VirtualBox --startvm VM_NAME
    

The click at the USB devices (which are greyed out in your case) and terminate the VM. Then terminate VBoxSVC with CTRL-C.

Please compress and attach the file ~/log to this ticket.

15 年 前cakoolen 編輯

created by strace -f -o ~/log -s128 /usr/lib/virtualbox/VBoxSVC on ubuntu 10.04 32 bits

回覆:  11 comment:12 15 年 前Vladimír Bláha 編輯

Replying to frank:

Please could you do the following to help debugging the problem:

  1. Make sure no VBoxSVC daemon is running
  2. start the VBoxSVC daemon manually in one terminal window
    strace -f -o ~/log -s128 /usr/lib/virtualbox/VBoxSVC
    
  3. start the VM in another terminal window:
    VirtualBox --startvm VM_NAME
    

The click at the USB devices (which are greyed out in your case) and terminate the VM. Then terminate VBoxSVC with CTRL-C.

Please compress and attach the file ~/log to this ticket.

Done. Please, find attached an strace log file.

15 年 前Vladimír Bláha 編輯

附檔: 新增 log_vladimircz.zip

comment:13 15 年 前Vladimír Bláha 編輯

I am sorry. Something went wrong and Firefox repeatedly loaded up the first file in the same folder where the log file was. That is why the two desktop links were loaded - unintentionally. Can you delete them?

-> Done (Michael)

15 年 前Rob 編輯

附檔: 新增 Screenshot.png

comment:14 15 年 前Rob 編輯

I can confirm that this issue happens to me as well. Same environment Ubuntu Lucid 64bit Host with Windows XP SP3 guest. But for me, there is one difference. One of my USB devices (my printer) shows up while all the others show as grayed out.

Screenshot attached.

comment:15 15 年 前Johann Renner 編輯

I can confirm this is fixed, at least for a slightly different configuration... and with a small trick. I'm running (K)ubuntu Lucid 32bit Host and WinXP SP3 as guest in VirtualBox 3.1.8. I just had to add my username to /etc/group (as root), specifically to the line:

'vboxusers:x:125:<add_your_linux_username>'

After a reboot, my virtualized Windows started to show my USB devices in black.

Note: Adding devices to the machine by the USB device filter (in Settings) just 'plug' the device to your machine by default. If you don't add the device in the filter, you can add it later in the virtual machine windows: got to Devices->USB Devices and select the checkbox (I didn't know that until know :P).

回覆:  15 comment:16 15 年 前Vladimír Bláha 編輯

Johanner, thank you for the tip.

This was the first time I checked the vboxusers group in my fresh installation of Ubuntu 10.04. I did it through the gnome gui tool (System -> Preferences -> Users and Groups) and to my surprise I found that my username was listed there but was not active. (Perhaps some bug in upgrading procedure of VirtualBox from a version for Ubuntu 9.10 to v.3.1.8. for 10.04)

After activating my membership and logging out and in the USB support of VirtualBox works like a charm.

comment:17 15 年 前Rob 編輯

Yes, that worked for me as well. Thank you Johanner.

comment:18 14 年 前Frank Mehnert 編輯

狀態: reopenedclosed
處理結果: fixed

Works here with VBox 4.0.6. Always make sure to add the current user to the vboxusers group.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette