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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-04-2004, 09:55 PM
|
#1
|
Member
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32
Rep:
|
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 ??
|
|
|
07-04-2004, 11:39 PM
|
#2
|
Member
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32
Original Poster
Rep:
|
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 ???
|
|
|
07-04-2004, 11:42 PM
|
#3
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
Have you installed the latest module-init-tools?
|
|
|
07-04-2004, 11:48 PM
|
#4
|
Member
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32
Original Poster
Rep:
|
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 !!!
|
|
|
07-04-2004, 11:49 PM
|
#5
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
have you removed your old modutils binaries?
|
|
|
07-05-2004, 12:30 AM
|
#6
|
Member
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32
Original Poster
Rep:
|
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
|
|
|
07-05-2004, 12:54 AM
|
#7
|
Member
Registered: Oct 2003
Location: Iowa
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.
>>edit What does
depmod -V
return?
Last edited by kevinalm; 07-05-2004 at 01:00 AM.
|
|
|
07-05-2004, 01:23 AM
|
#8
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
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.
|
|
|
07-05-2004, 01:37 AM
|
#9
|
Member
Registered: Oct 2003
Location: Iowa
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.
|
|
|
07-05-2004, 01:41 AM
|
#10
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
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 01:47 AM.
|
|
|
07-05-2004, 02:20 AM
|
#11
|
Member
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32
Original Poster
Rep:
|
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 ???
|
|
|
07-05-2004, 04:51 AM
|
#12
|
Member
Registered: Jun 2004
Location: Hong Kong
Distribution: debian
Posts: 32
Original Poster
Rep:
|
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 !
|
|
|
07-28-2004, 12:10 PM
|
#13
|
LQ Newbie
Registered: Jul 2004
Posts: 6
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 02:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|