LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   USB for VMWare and Slackware 14.0 (http://www.linuxquestions.org/questions/slackware-14/usb-for-vmware-and-slackware-14-0-a-4175437898/)

dimm0k 11-19-2012 11:26 PM

USB for VMWare and Slackware 14.0
 
I finally got Slackware 14.0 x64 up and running and it's been good so far. The only issue I have now is that USB does not exist for VMWare Workstation 8, whereas it did before upgrading from Slackware 13.37 x64. Anyone have any suggestions on this?

zasavage 11-20-2012 01:18 AM

@dimm0k

I see yo upgraded from 13.37 ,

You have to reinstall vmware for it to work properly
The USB's will work after the reinstall I am nearly 100% sure :p

Regards

Lawrence

willysr 11-20-2012 02:52 AM

or just try running
Code:

vmware-modconfig --console --install-all

dimm0k 11-20-2012 12:05 PM

I have tried rebuilding the VMWare modules and while there were no errors during the build, my USB devices still do not show in VMWare. I'm using VMWare Workstation 9.0.1 after upgrading from 8.0.5 and this is happening in both versions. Thinking it had something to do with the stock Slackware 14 kernel, I compiled my own 3.6.7 kernel using the one from /testing, but no difference.

I had briefly created a new vm, but stopped prior to installing an OS into it. Assumed that it would show USB devices even without an OS and because it didn't, I also assumed that this issue would occur even with an OS.

stormtracknole 11-20-2012 12:13 PM

Quote:

Originally Posted by dimm0k (Post 4833438)
I have tried rebuilding the VMWare modules and while there were no errors during the build, my USB devices still do not show in VMWare. I'm using VMWare Workstation 9.0.1 after upgrading from 8.0.5 and this is happening in both versions. Thinking it had something to do with the stock Slackware 14 kernel, I compiled my own 3.6.7 kernel using the one from /testing, but no difference.

I had briefly created a new vm, but stopped prior to installing an OS into it. Assumed that it would show USB devices even without an OS and because it didn't, I also assumed that this issue would occur even with an OS.

I think you need to add the following to your /etc/rc.d/rc.local file:
Code:

/etc/init.d/vmware-USBArbitrator start
Run it manually to test it first. Make sure VMWare is not running first. Hope this helps!

dimm0k 11-20-2012 12:41 PM

Quote:

Originally Posted by stormtracknole (Post 4833442)
I think you need to add the following to your /etc/rc.d/rc.local file:
Code:

/etc/init.d/vmware-USBArbitrator start
Run it manually to test it first. Make sure VMWare is not running first. Hope this helps!

I'll give it a shot tonight, but it's weird that I would have to add that... VMWare Workstation 8 was working fine before upgrading the Slackware 14.0.

stormtracknole 11-20-2012 12:48 PM

I'm not sure at what point they started doing that. I remember that being a gotcha when I first tried their latest version of VMPlayer. I believe that for rpm based distros, that is already enabled using chkconfig.

stormtracknole 11-20-2012 12:59 PM

Also, if there is nothing in /etc/init.d, check /etc/rc.d/init.d instead.

dimm0k 11-20-2012 06:29 PM

Quote:

Originally Posted by stormtracknole (Post 4833442)
I think you need to add the following to your /etc/rc.d/rc.local file:
Code:

/etc/init.d/vmware-USBArbitrator start
Run it manually to test it first. Make sure VMWare is not running first. Hope this helps!

WOW! It worked! That script is there and without ever rebooting the machine, I'm a little surprised why the install script for VMWare never started it afterward. Anyhow starting that script and then opening VMWare has everything working again! Thank you!

stormtracknole 11-20-2012 09:19 PM

Quote:

Originally Posted by dimm0k (Post 4833665)
WOW! It worked! That script is there and without ever rebooting the machine, I'm a little surprised why the install script for VMWare never started it afterward. Anyhow starting that script and then opening VMWare has everything working again! Thank you!

Awesome! Great to hear. That reason that is not enabled in Slackware by default is because VMWare expects either chkconfig or sysctl (systemd) to be installed. Otherwise, you have to start those scripts manually. I believe that is the only other one script, other than the default, that you need to worry about.

dimm0k 11-20-2012 10:39 PM

Quote:

Originally Posted by stormtracknole (Post 4833722)
Awesome! Great to hear. That reason that is not enabled in Slackware by default is because VMWare expects either chkconfig or sysctl (systemd) to be installed. Otherwise, you have to start those scripts manually. I believe that is the only other one script, other than the default, that you need to worry about.

Hrmm, but this file is located in /etc/rc.d/init.d along with vmware and vmware-workstation-server with the +x attribute. Don't all executable files in /etc/rc.d including /etc/rc.d/init.d get run during boot?

stormtracknole 11-20-2012 10:41 PM

Quote:

Originally Posted by dimm0k (Post 4833742)
Hrmm, but this file is located in /etc/rc.d/init.d along with vmware and vmware-workstation-server with the +x attribute. Don't all executable files in /etc/rc.d including /etc/rc.d/init.d get run during boot?

No, you have to add it manually to /etc/rc.d/rc.local as far as I know.

dimm0k 11-21-2012 11:00 AM

Quote:

Originally Posted by stormtracknole (Post 4833743)
No, you have to add it manually to /etc/rc.d/rc.local as far as I know.

What about the /etc/rc.d/rc?.d directories? I believe those are processed based on runlevels, in which rc2.d, rc3.d and rc5.d all have links pointing to their respective scripts in /etc/rc.d/init.d. vmware-USBArbitrator is one script linked in the rc?.d directories.

stormtracknole 11-21-2012 11:44 AM

Quote:

Originally Posted by dimm0k (Post 4834130)
What about the /etc/rc.d/rc?.d directories? I believe those are processed based on runlevels, in which rc2.d, rc3.d and rc5.d all have links pointing to their respective scripts in /etc/rc.d/init.d. vmware-USBArbitrator is one script linked in the rc?.d directories.

Hmm...interesting. I'm not sure. I don't think I've looked that deep into the rc?.d directories. I just always put it manually on rc.local. That will always work. :-)


All times are GMT -5. The time now is 04:35 AM.