FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
I have screw up my system. I downloaded and installed module-init-tools-3.0-pre5 from /////kernel.org/pub/linux/kernel/people/rusty/modules///// . But I forgot to read README.
When you want to install module-init-tools-3.0-pre5, you have to do like this:
./configure
make moveold
make
su
make install
But because I forgot to read README, I do like this:
./configure
make
su
make install
It means that I HAVE REMOVED MY OLD MODUTILS. And......., when I try to install NVIDIA driver in any kernel ( I have couples kernel in my system ), it failed with following reason:
-> Kernel module load error: Kernel requires old insmod, but couldn't run
/usr/local/sbin/insmod.old: No such file or directory
Any idea how to recover my old modutils???
If the answer for my problem is reinstalling the old package, where can I get one???? Is it in Fedora cd???
# rpm -e modutils
error: Failed dependencies:
modutils >= 2.3.11-5 is needed by (installed) kudzu-1.1.36-1
modutils >= 2.4.18 is needed by (installed) kernel-2.4.22-1.2115.nptl
modutils >= 2.3.21-4 is needed by (installed) irda-utils-0.9.15-1.1
modutils >= 2.3.11-5 is needed by (installed) initscripts-7.42.2-1
/sbin/insmod.static is needed by (installed) mkinitrd-3.5.14-1
# apt-get install modutils
Reading Package Lists... Done
Building Dependency Tree... Done
modutils is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 1 not upgraded.
#apt-get remove modutils
Never think to try it........
ok, it works but........... still can't install nvidia kernel
Ok, I have successfully install old modutils but when I try to install nvidia driver, I got the same error.
-> Kernel module load error: Kernel requires old insmod, but couldn't run
/usr/local/sbin/insmod.old: No such file or directory
So I try to make symbolic link to insmod:
# ln -s /usr/local/sbin/insmod /usr/local/sbin/insmod.old
I did this because I think /usr/local/sbin/insmod is from old package now because I have installed old modutils package from Fedora cd. But I got error:
-> Kernel module load error: WARNING: /usr/local/sbin/insmod.old: I am not the
old version!
insmod: error inserting './usr/src/nv/nvidia.o': -1 Unknown symbol in
module
From your error message, it seems that you've installed the module inits into /usr/local/bin .. I'm not sure if module inits have uninstall option at the makefile level .. you need to remove them first ..
First there were insmod, insmod.static, insmod_ksymoops_clean files in /usr/local/sbin and /sbin directory. So I removed them. No!!!! I just renamed them. And when I installed modutils-2.4.25-13.i386.rpm from the Fedora cd 1, it put the insmod, insmod.static, insmod_ksymoops_clean files in /sbin directory. So I just copied them into /usr/local/sbin directory.
I tried to install Nvidia driver. And it successed. But I got following error.
executing: '/usr/local/sbin/depmod -aq'...
Version requires old depmod, but couldn't run /usr/local/sbin/depmod.old: No
such file or directory
ERROR: Failed to execute `/usr/local/sbin/depmod -aq`: Version requires old
depmod, but couldn't run /usr/local/sbin/depmod.old: No such file or
directory
-> The installer has encountered the following error during installation: 'Fail
ed to execute `/usr/local/sbin/depmod -aq`'. Continue anyway? ("no" will ab
ort)? (Answer: Yes)
With that following error, I know that Nvidia always use modules related command ( insmod, rmmod, depmod ) in /usr/local/sbin directory. But the files in that directory are from new version and Nvidia need the old version which are in /sbin directory. So to handle that error, I think I just need to copy depmod files from /sbin to /usr/local/sbin directory. Now I can play Neverwinternights smoothly. Thanx U.
However why Nvidia try to use modules related command from /usr/local/sbin directory not from /sbin directory is still mistery for me.
Now I wonder why you need to manually install modules0init-tools? Any good reason behind it? If you want to run the latest and greatest kernel 2.6.1, FC1 modutils has already been updated and ready for it .. you do not need to upgrade anything ..
Yup, it because I want to install the greatest kernel 2.6.1
It is because when I run "make modules_install" for kernel 2.6.1, I got the following warning or error:
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/post-halloween-2.5.txt
INSTALL drivers/net/dummy.ko
INSTALL drivers/block/floppy.ko
INSTALL drivers/usb/host/ohci-hcd.ko
INSTALL sound/pci/snd-intel8x0.ko
INSTALL sound/drivers/mpu401/snd-mpu401-uart.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.1; fi
Ngak payah .. I have no problem running kernel 2.6.1 (recompiled it myself) with FC1 .. no additional mod-utils installed .. I could recompile nvidia driver w/o any problem too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.