LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-19-2003, 05:45 AM   #1
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Rep: Reputation: 15
HELP!!! Kernel WON'T WORK!!


Sorry guys, I know I've posted several times almsot about the same thing... but I'm getting extremely frustrated with Linux so much that I'm about to just screw it... This SHOULD NOT be this difficult. I decided the last time that I probably screwed up my installation so much I just reinstalled Mandrake 9.2 Final. Here's a breakdown of what I've done.

1. Installed Mandrake 9.2 Final. Works OK, but has NO support for my Dell Inspiron 8000, power management is horrible, and it will lock up any time I close the LCD or use any of the Fn keys.

2. I have been told I need to upgrade the Kernel or AT LEAST recompile. I tried recompiling with the 2.4.22 source. I was able to get the recompile to boot, but then lots of stuff didn't work, and I KNOW i selected all of the options I needed in xconfig.

3. I am now trying Kernel version 2.6.0-test9. I know its in development still, but I've heard plenty of times that it works just fine. I selected all of the options I needed, and got this to boot. Here's what happens:

-- I get QM_MODULE : function not implemented for any modules I need to load.

-- I have three FAT32 Partitions (all on the same drive) that should be mounted at boot. I get this error, related to devfs I believe:

mount: fs type devpts not supported by kernel
mount: fs type supermount not supported by kernel
mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems

-- Initializing firewire controller (ohci1394): failed (it used to tell me it couldn't find the module or something for it).

-- Can't locate module maestro3


WHAT'S WRONG!!?

Ok, let me know if I am doing something wrong here:

1. I unpacked the kernel source to /usr/src/kernel-2.6.0-test9
2. I ran make clean and mrproper
3. I ran make xconfig
4. I ran make bzImage, copied it to /boot and set up LILO
5. I refreshed my MBR (since I dual boot using NTLOADER)
6. I ran make modules and modules_install

Everything worked fine except for references to unlinked symbols... I have NO CLUE how to resolve these... I don't understand why this stuff doesn't just work out of the package (or bz2 file). Since I didn't change anything, why does it have to be fixed? It did tell me I would have to install modtools.



SOOO


I downloaded the latest module init tools. I ran ./configure --prefix=/ and it completed. I did everything else the README said to do. When I try to generate the modprobe.conf file, it says it can't find an old one. How do I regenerate this from scratch?

I'm sure there's more problems going on... It just doesn't make sense as to why there should be so many issues.

Any help would be great.
 
Old 11-19-2003, 06:59 AM   #2
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Rep: Reputation: 30
MAN! you need to CONFIGURE your kernel too anyway, mandrake's full of bugs, switch to SuSE or Slackware anyways, BE SURE to enable everything you need when your configuring your kernel. you should load your old settings first, then maybe add some new stuff if you feel like doing so...?

good luck
 
Old 11-19-2003, 10:12 AM   #3
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15
Yup... Did that...

How does SuSE compare with Mandrake?
 
Old 11-19-2003, 03:00 PM   #4
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Slowly slowly...
Switching to a new kernel is just not that easy....
You're very right, kernel 2.6-test9 is pretty stable. I just don't know whether it has some rather major ACPI flaws... I don't know. So, if you switch kernels, you should always copy it to an alternate location, so you still have the old kernel, which is basically working (I assume you have done this)
If you use a 2.6 kernel, make sure you also have the newest version of modutils. The device driver interface has been rewritten.
Also, mandrake proably uses a highly patched kernel. So if you've some program which require a certain patch, it will not work anymore. This is rather the exception than the rule, but there are always pitfalls. You would encounter the same thing if you'd switch to SuSE (which I used some time ago)
Switching to 2.4.22 is proably a bit easier because of this very reason (Module handling).
I think the best thing you can do is start switching and tinker with it until it really works. I don't think it can be done flawlessly within minutes.
Just keep trying
Good luck
 
Old 11-19-2003, 03:05 PM   #5
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
As for the unresolved symbols: Without posting the actual errormessage, I wont be able to help you any bit. Its very important that you give as much information as possibel. Also, tell what module ohci1394 couldn't find etc.
As for the QM_MODULE, I cannot help you, because I don't know about this error. I'm sorry
 
Old 11-19-2003, 04:47 PM   #6
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15
QM_MODULE : function not implemented

That's the actual error. I know its because of the Module Init package... However, I tried updating that, and it wouldn't compile (./configure or make).

I think I'm going to give Slackware 9.1 a try.. For as much updating of stuff as I'm going to need to do for it to support my laptop, I think I'm better off with a less patched Kernel... which I hear Slackware is good for?
 
Old 11-20-2003, 12:59 AM   #7
angel666
LQ Newbie
 
Registered: Nov 2003
Location: Palo Alto, California
Distribution: Gentoo, Stage1
Posts: 5

Rep: Reputation: 0
same thing here

I get the same problem. I am running Gentoo 1.4, and just upgraded from 2.4.20-gentoo-r8 to 2.6.0-test9.

I configured, compiled, and booted from the new kernel.

On startup, it cannot compute the dependencies, so none of my modules are loaded on startup.

When i try to modprobe something, here is what happens

Code:
bash-2.05b# modprobe e100

Unable to compute dependencies //note-general idea, cant remember exactly
QM_MODULE: Function is not implemented

bash-2.05b#
Gentoo 1.4
Pentium 4 2.8 ghz, SMP
GeForce 4 MX 440
SoundBlaster Live! Value
60 gb,
256 mb RAM

Thanks for all the help!
 
Old 01-20-2004, 05:30 PM   #8
mashenka
LQ Newbie
 
Registered: Aug 2002
Location: Long Island, NY
Distribution: RedHat 9.0, Mandrake 10.0, FC3
Posts: 12

Rep: Reputation: 0
I figure this reply is coming too late, but I guess some people could use it later if searching through the threads.

One thing that I learned hard way and haven't found specifically written in most of the
"kernel compilation howto-s" is that one should first & foremost have all of the needed programs as specified in
e.g. /usr/src/linux-2.6.1/Documentation/Changes.

I realized that almost 9 of the required programs on my system (Mandrake9.2, kernel 2.4.22, on a HP Pavilion ze4430us laptop ) were either not there or needed an upgrade for 2.6.1 kernel compilation!

On of such programs is module-init-tools(version 0.9.10 at least) which will solve the problem of
QM_MODULES function not implemented.
Mandrake9.2 comes with modutils-2.4.25 which is (I guess) being deprecated.
 
  


Reply



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
program compiled under kernel <=2.4 don't work under kernel 2.6 mihaimdl Linux - Software 3 11-08-2005 06:09 PM
Can't get ANY Kernel to work thorax Linux - Software 2 07-20-2004 12:52 PM
X doesn't work with new kernel LUB997 Linux - General 1 08-31-2003 12:26 PM
Kernel doesn't work... Solean Slackware 8 05-19-2003 02:59 PM
i got my kernel to work!! but... im1crazyassmofo Linux - General 7 03-16-2003 11:32 PM

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

All times are GMT -5. The time now is 04:33 PM.

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