Linux - GeneralThis 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
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.
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.
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.
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...?
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
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
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.