LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-04-2004, 08:55 PM   #1
td0l2
Member
 
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Rep: Reputation: 15
Unhappy 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 ??
 
Old 07-04-2004, 10:39 PM   #2
td0l2
Member
 
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Original Poster
Rep: Reputation: 15
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 ???
 
Old 07-04-2004, 10:42 PM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Have you installed the latest module-init-tools?
 
Old 07-04-2004, 10:48 PM   #4
td0l2
Member
 
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Original Poster
Rep: Reputation: 15
Unhappy

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

I have done that several times !!!
 
Old 07-04-2004, 10:49 PM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
have you removed your old modutils binaries?
 
Old 07-04-2004, 11:30 PM   #6
td0l2
Member
 
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 07-04-2004, 11:54 PM   #7
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
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

return?

Last edited by kevinalm; 07-05-2004 at 12:00 AM.
 
Old 07-05-2004, 12:23 AM   #8
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.
 
Old 07-05-2004, 12:37 AM   #9
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
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.
 
Old 07-05-2004, 12:41 AM   #10
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.

Last edited by Demonbane; 07-05-2004 at 12:47 AM.
 
Old 07-05-2004, 01:20 AM   #11
td0l2
Member
 
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Original Poster
Rep: Reputation: 15
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
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 ???
 
Old 07-05-2004, 03:51 AM   #12
td0l2
Member
 
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32

Original Poster
Rep: Reputation: 15
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 !
 
Old 07-28-2004, 11:10 AM   #13
libertyboy
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
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?!

Thanks!
 
  


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
Loading module compiled on differenet version in 2.6 kernel shrey_j Programming 8 09-04-2006 08:03 AM
Loading Kernel Modules superdude_876 Linux - Software 1 10-28-2005 11:46 PM
Problem loading the kernel that i compiled natsirc Fedora - Installation 5 11-22-2004 11:42 PM
error loading modules at startup archish Slackware 7 05-01-2004 01:52 AM
error loading a kernel module, "compiled using gcc2" taozilla Linux - Software 0 11-21-2003 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 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
Open Source Consulting | Domain Registration