LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-01-2003, 09:05 AM   #1
raylpc
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Rep: Reputation: 15
2.6.0-test2 doesn't boot (now boots, however modules problem)


The kernel just finished uncompressed, then stopped. Then there were some occasional reads from the harddisk. If I disabled the power management, then the box would do the same, then did a reboot. What could be the problem? (I didn't copy the System.map, could this be the one? I dare not copy it, for fear that I couldn't use my old kernel)

Last edited by raylpc; 08-01-2003 at 11:13 PM.
 
Old 08-01-2003, 11:44 AM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
I had the same problem. No matter what I tried it just wouldn't boot. I recompiled the 2.4.21-Stable kernel and it works great.
Unless you specifically need something offered only in the new test kernel I would stick with the Stable version.
 
Old 08-01-2003, 01:13 PM   #3
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
Read the following it may shed some light on the problems you are having

http://www.codemonkey.org.uk/post-halloween-2.5.txt
 
Old 08-01-2003, 01:26 PM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Very nice. Thanks for the link. :-)
 
Old 08-01-2003, 11:10 PM   #5
raylpc
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Original Poster
Rep: Reputation: 15
I recompiled the kernel with a trim-down config - no extra stuff. A very plain kernel. It finally boots. However, I can't load any modules. The message said, QM_MODULES function not implemented. What does it mean? How can I implement it? I have checked all options regarding loading modules in the .config.

Any input would be appreciated. Thanks.
 
Old 08-02-2003, 01:22 AM   #6
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
i had the same QM_MODULES function not implemented. problem when trying to load modules off the 2.6.0-test2, i had it with all the 2.5.x's as well, i tried modprobe and insmod neither seemed ot know what was goin on, the modules some of them look like they have a .ko extention (i think) that i dont remember seeing in the /lib/modules of any of the 2.4.x's. i was thinking possibly you might need a "newer version" of the modprobe, insmod and what not to be able to use with the newer kernels with the new module form.
 
Old 08-02-2003, 01:26 AM   #7
raylpc
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Original Poster
Rep: Reputation: 15
From what I heard, the .ko extension is just a cosmetic change, it doesn't really matter. modprobe will figure it out, but insmod (seemingly) can't.

PS. just wondering how many ppl have this problem.
 
Old 08-02-2003, 01:33 AM   #8
max2003
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.1
Posts: 26

Rep: Reputation: 15
You must install the new module-init-tools.
 
Old 08-02-2003, 01:45 AM   #9
raylpc
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Original Poster
Rep: Reputation: 15
Thanks, max2003.

I did a google search and found this:
Additional note: in future kernels (newer 2.5 series and above), the module loader mechanism was changed. The new configuration file has to be named /etc /modprobe.conf instead of /etc/modules.conf but there is a translate-script available. For further details see [http://his.luky.org/ftp/mirrors/linu...rusty/modules/] module-init-tool.

http://www.duzijanca.co.yu/tepa/9448.htm


Do the new module-init-tools work with 2.4.21? I don't want to mess up my old kernel.

Last edited by raylpc; 08-02-2003 at 01:59 AM.
 
Old 08-02-2003, 08:06 AM   #10
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Quote:
Do the new module-init-tools work with 2.4.21? I don't want to mess up my old kernel.
No they don't! But when installing the new mod utils, you can choose to move your current modultils. When you boot with the 2.4.21 kernel, the old modutils will be used, and if you boot with the 2.6-test kernel, the new one will be used. But you have to explicitly say you want to do that when installing the new version. Read the readme file for details.
 
Old 08-02-2003, 11:13 AM   #11
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
thank you, the module-init-tools seemed to make it work correctly, i also reinstalled a 2.5 version of modutils for good measure before i used the module-init-tools.
 
Old 08-02-2003, 09:21 PM   #12
raylpc
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Original Poster
Rep: Reputation: 15
Thank you all. I finally got 2.6 working. I guess my kernel not boot issue is solved by unchecking the Ram disk and initrd in .config.

Some advices after my experience:
The README comes with kernel source is helpful coz there may be some changes on kernel compilation method.
And the Documentation/Changes tells you what the softwares (and what versions) are required.

When updating the module-init-tool, remember to do
./configure --prefix=/
make moveold (if installing for the first time).
so the old version still works.

Enjoy your new kernel.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 test2 RottenMutt Fedora 1 05-05-2005 12:19 PM
FC4 Test2 Readonly boot problem FUZiON_v1 Fedora 1 04-14-2005 01:55 AM
About NVIDIA on Fedora test2 !! jin.liu Linux - Software 5 10-07-2003 06:50 AM
2.6.0-test2 problem mmm Linux - General 4 08-17-2003 03:06 PM
2.6.0-test2 almost a success jymbo Slackware 4 08-12-2003 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:47 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