-   Linux - Newbie (
-   -   Loading modules error after loading compiled kernel (

td0l2 07-04-2004 09:55 PM

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 ??

td0l2 07-04-2004 11:39 PM

The similar problem ocurrs !!

When i try to recompile the kernel and "make modules", there is a error message
"depmod: QM_MODULES: Function not impleted"

What does it mean ???

Demonbane 07-04-2004 11:42 PM

Have you installed the latest module-init-tools?

td0l2 07-04-2004 11:48 PM

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"
make install

I have done that several times !!!

Demonbane 07-04-2004 11:49 PM

have you removed your old modutils binaries?

td0l2 07-05-2004 12:30 AM

What ?? Are old modutils replaced by new modutils ??

I don't know !! I've not removed any old modutils binaries. How do i do ??
How do i remove those old one ??

Please help me ! Demonbane

kevinalm 07-05-2004 12:54 AM

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.

>>edit What does

depmod -V


Demonbane 07-05-2004 01:23 AM

remove the current ones which are in /usr/local first
then install it again by doing

./configure --prefix=/
make moveold
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.

kevinalm 07-05-2004 01:37 AM

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.

Demonbane 07-05-2004 01:41 AM

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.

td0l2 07-05-2004 02:20 AM

Thanks both of you.

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 install

Am i right ??

Furthermore, when i type the command "make moveold", it produces the following message :

make : ** No rule to make target 'moveold'. Stop

What should i do ???

td0l2 07-05-2004 04:51 AM

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 !!

Thank again !

libertyboy 07-28-2004 12:10 PM

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?!


All times are GMT -5. The time now is 07:40 AM.