LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2004, 08:09 PM   #1
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

Rep: Reputation: 30
Unhappy Broke modprobe


Hi everyone, can anyone fix my problem?

I installed a newer version of module-init-tools from source but I forgot to use "make moveold" to keep my old modprobe stuff. Now whenever I try to run modprobe, I get this error message:

Code:
Kernel requires old modprobe, but couldn't run modprobe.old: No such file or directory
Anyone know how I can get modprobe to work again? I can't run most of my RedHat configuration tools without loading the python module which I can't do without modprobe!

Things I have already tried:
-------------------------------
1.) Uninstalling the new version using make uninstall, then downloading the old version of modprobe and compiling and installing it. Then reinstalling the new version using make moveold before doing make and make install.

2.) Doing the above using ./configure --prefix=/

Neither has worked.

Thanks,
Vince

Last edited by vincebs; 01-01-2004 at 08:28 PM.
 
Old 01-01-2004, 09:05 PM   #2
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
Ugh. Sounds ugly.

I've had a few redhat kernels that wouldn't compile or wouldn't work correctly after a compile because the source tree was dirty. "make clean" doesn't completely clean out the source tree, here's how to do it right:
1. Backup the config you are going to use; it will probably be deleted!
2. Run "make mrproper".
3. Restore the config file.
4. "make clean dep bzImage modules install modules_install"

I don't actually think this will solve your problem, but it's something to try if you've run out of ideas.
 
Old 01-02-2004, 11:32 AM   #3
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

Original Poster
Rep: Reputation: 30
Thanks, but what do you mean by "the source tree was dirty"? Everything in the kernel works perfectly except for the modules.

Okay, looks like modprobe has failed for my old kernel as well now. Now I can't even get on the Internet or mount my VFAT filesystem because they're in modules on my old kernel. All I did was use ./configure --prefix=/, now my old kernel is messed up too.

What does it mean when modprobe declares "modprobe.old -- I am not the old version!"? Does that mean each kernel needs a specific version of modprobe? if so, how do I know which version? That's the message I get after I reinstall mod-init-tools 0.9.10 and then module-init-tools-0.9.14 using make moveold > make > make install.
 
Old 01-02-2004, 12:46 PM   #4
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Quote:
Originally posted by vincebs
Thanks, but what do you mean by "the source tree was dirty"? Everything in the kernel works perfectly except for the modules.

Okay, looks like modprobe has failed for my old kernel as well now. Now I can't even get on the Internet or mount my VFAT filesystem because they're in modules on my old kernel. All I did was use ./configure --prefix=/, now my old kernel is messed up too.

What does it mean when modprobe declares "modprobe.old -- I am not the old version!"? Does that mean each kernel needs a specific version of modprobe? if so, how do I know which version? That's the message I get after I reinstall mod-init-tools 0.9.10 and then module-init-tools-0.9.14 using make moveold > make > make install.
kernel 2.6 requires mod-init-tools. when u built and installed mod init tools, they overwrote your old modutils and did not convert your modules.conf -> modprobe.conf. at least that's what i presume. what you must do now is generate the modprobe.conf manually from your old modules.conf and the hard-coded aliases in the old modprobe. These aliases are available from util/alias.h in the modutils source tarball. the format for modprobe.conf and modules.conf is exactly the same.
 
Old 01-02-2004, 06:28 PM   #5
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

Original Poster
Rep: Reputation: 30
So modutils is different from module-init-tools? And where do I get my old modules.conf from?
 
Old 01-03-2004, 01:13 AM   #6
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
yes. they're different. 2.6 uses modinittools, modinittool can be used with the older kernels PROVIDED you have the old modutils and successfully converted them to the *.old names successfully. modules.conf should have already been in your old system under /etc if you didnt muck with it.

Last edited by ugenn; 01-03-2004 at 07:25 AM.
 
  


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
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 08:04 AM
2.6 broke X xKintaro Slackware 2 09-15-2005 10:59 AM
Making modprobe pcspkr stick with modprobe.preload? gm4jjj Fedora 3 06-16-2004 04:27 AM
modprobe: modprobe: Couldn't locate module nvnet.o/nvaudio.o xiojqwnko Linux - Newbie 2 12-08-2003 06:41 PM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration