LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-01-2013, 11:17 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,043

Rep: Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762
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?
 
Old 12-01-2013, 11:33 AM   #2
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,074

Rep: Reputation: 199Reputation: 199
check /etc/group , make sure vboxusers is still there
 
1 members found this post helpful.
Old 12-01-2013, 12:05 PM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,043

Original Poster
Rep: Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762
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.
 
Old 12-01-2013, 12:29 PM   #4
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,074

Rep: Reputation: 199Reputation: 199
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.
 
Old 12-01-2013, 12:34 PM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,074

Rep: Reputation: 199Reputation: 199
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 12:36 PM.
 
Old 12-01-2013, 12:36 PM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,043

Original Poster
Rep: Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762
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.
 
Old 12-01-2013, 12:50 PM   #7
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,043

Original Poster
Rep: Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762
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 12:51 PM.
 
Old 12-01-2013, 02:22 PM   #8
DrTor
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Rep: Reputation: 2
Are you in group "vboxusers"?
 
Old 12-01-2013, 03:11 PM   #9
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,043

Original Poster
Rep: Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762Reputation: 762
Quote:
Originally Posted by DrTor View Post
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 03:14 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need to Install Slackware 32-bit 13.1 in VirtualBox -- Where to Write the Boot? tronayne Slackware 2 03-23-2011 07:46 AM
VirtualBox 4.0.4, Slackware 13.1 54-bit and USB tronayne Slackware 0 03-18-2011 03:55 PM
[SOLVED] Slack 13.0 32-bit, VirtualBox 3.2.12, Grayed-out USB tronayne Slackware 12 01-30-2011 05:10 PM
USB support for virtualbox Brian H Linux - Newbie 10 02-12-2010 02:07 PM
LXer: VirtualBox update brings improved performance and 64-bit support LXer Syndicated Linux News 0 09-23-2008 03:50 AM


All times are GMT -5. The time now is 05:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration