Loading modules error after loading compiled kernel
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Loading modules error after loading compiled kernel
Hi all,
I have compiled a new kernel 2.6.7 that is successfully loaded and worked but there are some modules error when booting up linux.
The error messages are show below :
modprobe: QM_MODULES: Function not implemented
modprobe: QM_MODULES: Function not implemented
modprobe: QM_MODULES: Function not implemented
modprobe: Can't locate modules usbcore
Furthermore, i use notebook with PCMCIA NIC to install linux with 2.6.7 kernel. But, after i use new kernel, the PCMCIA NIC does not work but it works in old kernel 2.4.7-10.
I have checked the "messages" and "dmesg" that PCMCIA is loaded [ok]
How do i fix them ??
Yes ! I have installed the "module-init-tools-3.0" tarball file. The following is my steps :
under the directory of "modules-init-tools-3.0"
./configure
make
make install
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
What is supposed to happen is that the original (2.4 kernel) modutils are renamed with .old appended (ie modprobe.old). Then the 2.6 kernel versions are installed. It is important to read _all_ the documentation in the module-init-utils package so this is done correctly, as the old versions are called when running a 2.4 kernel.
remove the current ones which are in /usr/local first
then install it again by doing
Code:
./configure --prefix=/
make moveold
make
make install
You'll also need to generate a /etc/modprobe.conf if you havem't already done so, there's a script called "generate-modprobe.conf" included in the module-init-tools tarball.
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
Actually, he needs to determine the state of module utilities on his system first so he doesn't lose the ability to boot 2.4.x . That's why the depmod -V test.
If he did ./configure without specifying the prefix then module-init-tools would've been installed into /usr/local/sbin, with modutils for 2.4 left inside /sbin, therefore "make moveold" should take care of that.
When i type "depmod -V", it produces "module-init-tools 3.0"
Then, i don't know you said
"remove the current ones which are in /usr/local first"
Am i going to erase all "depmod, insmod, modinfo, modprobe ..." files then recompile the modutils-init-tools_3.0 by input the code
./configure --prefix=/
make moveold
make
make install
Am i right ??
Furthermore, when i type the command "make moveold", it produces the following message :
Thank all !!
I havn't got any error message about "QM_MODULES: Function not implemented ". I just follow the coding from Demonbane and read the README of modules-init-tools 3.0. It works !!
I basically had the same problem when upgrading my RH 2.4.20 kernel to 2.6.7. I had the QM_MODULES error all over the place. I read everything you mentioned above and it did fix my problem of the QM_MODULES error.
However...I still can't get anything in my PCMCIA slots to work. It appears that cardmgr keeps exiting saying in my /var/log/messages:
cardmgr: starting, version is 3.1.31
cardmgr: no sockets found!
cardmgr: exiting
I also noticed that when booting I get a message stating:
Databook TCIC-2 PCMCIA probe: not found.
When I boot to 2.4.20 kernel everything works as it should. Any clues folks?!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.