Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-01-2013, 12:17 PM
|
#1
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
Oracle VirtualBox-4.3.4 64-bit Slackware 14.1 No USB Support
This one's got me stumped. I upgraded from Oracle VirtualBox-4.2.18 to 4.3.4 in Slackware 14.1 and there's no USB support (it's grayed-out) in the guest OS (Win7). I installed the Extension Pack in VirtualBox and the Guest Additions in Win7 (in "safe mode") as usual. It's a "clean install" of Slackware 14.1; everything is 64-bit.
Of course things worked fine in 14.0 and I think I may have missed something about USB support in 14.1? Win7 works fine (did have to change the audio to the ALSA Audio Driver (/etc/rc.d/rc.alsa-oss is not executed on boot per the recommendation in that file) and sound works, video works, the mouse works but ain't no USB for the printer or any other USB device.
Any hints?
|
|
|
12-01-2013, 12:33 PM
|
#2
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,270
|
check /etc/group , make sure vboxusers is still there
|
|
1 members found this post helpful.
|
12-01-2013, 01:05 PM
|
#3
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
|
Yup, it's there (I copied /etc/group from 14.0; all my machines are the same passwd, shadow and group files).
Good thought, though!
Thanks.
|
|
|
12-01-2013, 01:29 PM
|
#4
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,270
|
Just realized I am running 4.3.2 , I just updated to 4.3.4 with extension pack too, checked in USB for both Win7-32 and 64-bit and USB is not greyed out. I must admit you stumped me too now  - especially since I also updated from Slackware14.0-64 to 14.1-64. 
|
|
|
12-01-2013, 01:34 PM
|
#5
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,270
|
Another idea... Check the logs! Can't believe *I* overlooked that... When running virtualbox look at the logs - gotta be something there to tell us WHY USB is not available, since everything is good on Slackware side.
Latest logs in ~/.VirtualBox/VBoxSVC.log.X
Last edited by Jeebizz; 12-01-2013 at 01:36 PM.
|
|
|
12-01-2013, 01:36 PM
|
#6
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
|
Uh-oh. Just went and looked at /var/lib/virtual and it doesn't look right (and I don't have anything to compare it with).
/var/lib/virtual is a mounted partition that looks like:
Code:
drwxrwxr-x 5 root vboxusers 4096 Mar 14 2011 ./
drwxr-xr-x 36 root root 4096 Dec 1 04:40 ../
drwxr-xr-x 2 trona users 4096 Apr 17 2011 HardDisks/
drwxr-xr-x 5 trona users 4096 Aug 18 2012 Machines/
drwx------ 2 root vboxusers 16384 Mar 13 2011 lost+found/
Seems like something's amiss with the group?
And, maybe with the HardDisks:
Code:
drwxr-xr-x 2 trona users 4096 Apr 17 2011 ./
drwxrwxr-x 5 root vboxusers 4096 Mar 14 2011 ../
-rw------- 1 trona users 10336903680 Dec 1 13:00 XP.vdi
And, possibly the Machines:
Code:
drwxr-xr-x 5 trona users 4096 Aug 18 2012 ./
drwxrwxr-x 5 root vboxusers 4096 Mar 14 2011 ../
drwxr-xr-x 3 trona users 4096 Sep 11 2012 Qimo/
drwxr-xr-x 3 trona users 4096 Dec 1 13:17 Win7/
drwxr-xr-x 3 trona users 4096 Dec 1 13:00 XP/
All of them are group user, owner me?
This is the first upgrade that's failed and I'm kind of at a loss here what to do about it.
Thing is, Win7 works (but no USB), XP sor-of works (it drives the core to 100% and it's time to dump XP methinks -- what the heck, haven't used for a year and there's nothing I care about in it). Qimo starts, works, no USB (and it's going to go, too -- it's a for kids thing that I was evaluating for the public library kids area.
I don't know what I did (or maybe Oracle did) but I'd sure like to know what to do the fix it.
|
|
|
12-01-2013, 01:50 PM
|
#7
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
|
Starting VirtualBox (but no guest), the Settings show USB enabled and Enable USB 2.0 (EHCI) Controller enabled (the check-marks).
Everything says there are no USB Device Filters, which means no USB devices attached to the machine (there is a USB keyboard, USB mouse and USB printer attached the the host and all function properly). It's been a while, but I'm pretty sure those show up in that display.
When I boot Win7, the USB setting display is greyed.
Seems like something's goofy on the host side? Some simple basic thing that I forgot when setting up 14.1?
The log only shows this:
Code:
fgrep USB VBox.log
00:00:00.412488 Driver <string> = "VUSBRootHub" (cb=12)
00:00:00.412513 Driver <string> = "VUSBRootHub" (cb=12)
00:00:00.412604 [/PDM/USB/] (level 2)
00:00:00.412605 [/PDM/USB/VBoxUsbCardReader/] (level 3)
00:00:00.412608 [/PDM/USB/VBoxUsbWebcam/] (level 3)
00:00:00.412614 [/USB/] (level 1)
00:00:00.412616 [/USB/USBProxy/] (level 2)
00:00:00.412617 [/USB/USBProxy/GlobalConfig/] (level 3)
00:00:14.005688 OHCI: USB Reset
00:00:14.071809 OHCI: USB Operational
00:00:14.103552 EHCI: USB Operational
00:00:19.977574 OHCI: USB Suspended
00:00:19.977649 EHCI: USB Suspended
00:00:49.691563 /VUSB/0/cUrbsInPool 0 count
00:00:49.691566 /VUSB/1/cUrbsInPool 0 count
And I don't really know what I'm looking at there.
Last edited by tronayne; 12-01-2013 at 01:51 PM.
|
|
|
12-01-2013, 03:22 PM
|
#8
|
LQ Newbie
Registered: Jan 2010
Posts: 10
Rep:
|
Are you in group "vboxusers"?
|
|
|
12-01-2013, 04:11 PM
|
#9
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
|
Quote:
Originally Posted by DrTor
Are you in group "vboxusers"?
|
Yes, I was... but I wasn't. It finally occurred to me to run groups, no vboxusers on the list. In /etc/group, not in the list. WTF!
I had uninstalled then reinstalled VirtualBox (and the Extension Pack) without ever logging "all the way out;" stop Xfce, log out from console, log back in.
Did that. run groups, vboxusers on the list, start Win7, all the USB devices show up, printer prints, life is good.
Why? I haven't a clue (you should be able to close a terminal, open it again and your groups should have been altered -- it did not do that, why I don't know, without shutting down Xfce, logging out and logging back in). I have terminals set as log-in shells which should and does execute all the stuff in /etc/profile, /etc/profile.d and my home .profile, .kshrc and .exrc. Don't know why the group was not picked up.
However, the thing works!
Thanks to all for the help and advice.
All is well that ends.
Last edited by tronayne; 12-01-2013 at 04:14 PM.
|
|
|
All times are GMT -5. The time now is 02:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|