Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th December 2008, 03:02 AM
OralDeckard Offline
Registered User
 
Join Date: Nov 2006
Posts: 474
Question Can't remove VMware modules

I tried modprobe and was told that modprobe was a command not found :O

Code:
[root@Debbie debbie]# modprobe -v -r -i vmxnet
bash: modprobe: command not found
[root@Debbie debbie]#
I got the syntax from the manpage. What is the correct way to do it ?
Reply With Quote
  #2  
Old 5th December 2008, 03:08 AM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Until F10, /usr/sbin and /sbin weren't in any user's path but root. I believe they're now in root's path as well though in F10.

When you get command not found, you can always try

whereis <command>

In this case, it's in /sbin, so if you try /sbin/modprobe you should be good.

http://home.roadrunner.com/~computer...su/rhpath.html

Last edited by scottro; 5th December 2008 at 03:12 AM. Reason: typo
Reply With Quote
  #3  
Old 5th December 2008, 03:15 AM
OralDeckard Offline
Registered User
 
Join Date: Nov 2006
Posts: 474
Thank you Scott. Here is what I have now:
Code:
[root@Debbie debbie]# cd /sbin
[root@Debbie sbin]# modprobe -v -r -i vmxnet
bash: modprobe: command not found
[root@Debbie sbin]# whereis modprobe
modprobe: /sbin/modprobe /etc/modprobe.conf~ /etc/modprobe.d /etc/modprobe.conf /usr/share/man/man8/modprobe.8.gz
[root@Debbie sbin]# modprobe -v -r -i vmxnet
bash: modprobe: command not found
[root@Debbie sbin]#
And its my wife's F8.
Reply With Quote
  #4  
Old 5th December 2008, 03:16 AM
OralDeckard Offline
Registered User
 
Join Date: Nov 2006
Posts: 474
Uh, let me try /usr/sbin
Reply With Quote
  #5  
Old 5th December 2008, 03:17 AM
OralDeckard Offline
Registered User
 
Join Date: Nov 2006
Posts: 474
Here is what I got from /usr/sbin:
Code:
[root@Debbie sbin]# cd /usr/sbin
[root@Debbie sbin]# modprobe -v -r -i vmxnet
bash: modprobe: command not found
[root@Debbie sbin]#
Reply With Quote
  #6  
Old 5th December 2008, 03:20 AM
OralDeckard Offline
Registered User
 
Join Date: Nov 2006
Posts: 474
Whereis said it was in /sbin, so I went back there and listed:
Code:
[root@Debbie sbin]# cd /sbin
[root@Debbie sbin]# ls modprobe
modprobe
[root@Debbie sbin]#
Reply With Quote
  #7  
Old 5th December 2008, 03:31 AM
OralDeckard Offline
Registered User
 
Join Date: Nov 2006
Posts: 474
Whoah, I found it.

It's not enough to cd to /sbin, I have to run /sbin/modprobe even if I'm already in that folder :O
Reply With Quote
  #8  
Old 5th December 2008, 03:37 AM
OralDeckard Offline
Registered User
 
Join Date: Nov 2006
Posts: 474
Now it no longer says command not found, but it is not having any success at removing them.
Here is my problem:
Code:
[root@Debbie bin]# vmware-config.pl
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer.  Please remove them then run this
installer again.

vmxnet
vmci
vmmemctl
vmhgfs
vmblock

Execution aborted.
And here are the results:
Code:
[root@Debbie sbin]# /sbin/modprobe -v -r -i vmxnet
[root@Debbie sbin]# /sbin/modprobe -v -r -i cmci
FATAL: Module cmci not found.
[root@Debbie sbin]# /sbin/modprobe -v -r -i vmmemctl
rmmod /lib/modules/2.6.26.6-49.fc8/extra/open-vm-tools/vmmemctl.ko
[root@Debbie sbin]# /sbin/modprobe -v -r -i v,jgfs
FATAL: Module v,jgfs not found.
[root@Debbie sbin]# /sbin/modprobe -v -r -i vmjgfs
FATAL: Module vmjgfs not found.
[root@Debbie sbin]# /sbin/modprobe -v -r -i vmblock
FATAL: Module vmblock is in use.
[root@Debbie sbin]#
Reply With Quote
  #9  
Old 5th December 2008, 03:50 AM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Ok, well you figured out the /sbin/modprobe part. Actually, it might work if you're in /sbin and do ./modprobe, but the canonical way is to /sbin/modprobe, or do su - to root, as explained in the link earlier.
Now, the other problem.

This is one where I'm reluctant to give advice long distance, because I could easily be wrong.
I'm taking the liberty of renaming the thread so that perhaps someone more familiar with the situation can help.
You could try finding the modules and manually removing them. It sounds like you installed VMware from various sources, for example, once from source and once from rpm.

You could do something like
updatedb

This will update your search database.

Then you can do locate vmnet and the others, and try to manually remove them. However, that seems a bit dangerous, which is why I'm renaming your thread.
Reply With Quote
  #10  
Old 5th December 2008, 11:50 AM
OralDeckard Offline
Registered User
 
Join Date: Nov 2006
Posts: 474
Thank you Scott. Renaming the thread is the correct thing to do since it has turned out to be not a generic removal of modules but something particular to VMware.

Actually what happened is I decided to upgrade my wife's VMware Player to the latest version, 2.5, and it didn't work. I first tried with the RPM, and found that there was no longer any /usr/bin/vmware-config.pl. It seems it was supposed to do its configuration when I ran it. But it couldn't. So I uninstalled it and tried again with something called "The Bundle," which is simply the RPM in an executable .bin wrapper. That wouldn't work either, so in desperation to go back to what worked I decided to uninstall and reinstall version 2.0.5.

Well, 2.0.5 installed, but during the running of /usr/binvmware-config.pl it complained about the modules installed by the future version of the player.

So I'm in the dawg haus now. My wife's Windows is gone, and when Momma ain't happy, ain't nobody happy.
Reply With Quote
Reply

Tags
modules, remove, vmware

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware faild compiling modules in 2.6.24.3-50.fc8-i686 kernel -DarkMind- Using Fedora 11 16th April 2008 01:00 AM
keep having to recompile vmware modules DJSpite Using Fedora 10 21st November 2007 12:29 AM
trying to compile vmware modules bytesniper Fedora Core 5 - Dev 3 12th March 2006 09:28 PM
vmware and modules compiling errors FC4 x86_64 aaraya1516 Using Fedora 1 15th September 2005 03:16 PM


Current GMT-time: 02:33 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat