LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Mandrake 10.0 community - Kernel 2.6.3 recompilation problem (https://www.linuxquestions.org/questions/mandriva-30/mandrake-10-0-community-kernel-2-6-3-recompilation-problem-154525/)

Janfi 03-07-2004 07:06 AM

Mandrake 10.0 community - Kernel 2.6.3 recompilation problem
 
Hello,

I've installed Mandrake 10.0 Community on my laptop. It running fine, but I need to recompile the kernel for some specifics settings (like Powernow etc...). I've ever done these operations with previous Mandrake 9.2 and kernel versions (9.2 with 2.4.x kernel) without problem.

But with 10.0, after recompilation, when the systems booting, many errors appears when loading modules (invalid module format). So, I can't use LAN, floppy, and software like harddrake (hangs when detecting hardware).

I made the traditionnals make clean && make bzImage && make modules && make modules_install && make install (make dep is unnecessary with 2.6).

Anyone can help me please ? Thanks in advance !

ugenn 03-07-2004 07:33 AM

module-init-tools

iainr 03-07-2004 10:32 AM

Quote:

Originally posted by ugenn
module-init-tools
Almost helpful ;). What does module-init-tools do and at what point do I need to run it; and where is it? Thanks.

ugenn 03-07-2004 10:54 AM

modutils replacement for 2.6 kernels. understands the new file naming format for kernel modules.

iainr 03-07-2004 11:02 AM

Quote:

Originally posted by ugenn
modutils replacement for 2.6 kernels. understands the new file naming format for kernel modules.
Thanks. I've got that installed :
module-init-tools-3.0-0.pre9.2mdk

Should that be sufficient, or is there something more I need to do. The really wierd thing now is that not only is my newly compiled kernel not booting, the default 2.6.3 one from Mandrake is suddenly coming up with the same errors :

Code:

Loading reiserfs.ko module
Reiserfs disagrees about version of symbol struct_module
Error inserting '/lib/reiserfs.ko' : -1 Invalid module format

- followed by kernel panic shortly afterwards :mad:

Janfi 03-07-2004 05:59 PM

Arf...same problem...
The module-init-tools are already installed.
I don't know what I must do.
I searched on web and newsgroups, but nothing was enough clear for me.

Any help ?

Janfi 03-07-2004 07:01 PM

Okay, problem solved using this sequence to recompile : :)
make mrproper
make xconfig
make
make modules_install
make install

instead using make bzImage && make modules etc...

I don't understand why :confused: , but the result is here. Now, after some sleep, let's fight with ACPI :jawa:

iainr 03-08-2004 01:05 PM

Well that certainly helped. The kernel recompile went OK, but on reboot the screen just goes black after lilo like the graphics get screwed up. Oh well.

Janfi 03-09-2004 04:23 PM

I had same problem with my mobo (Asus A7N8X Deluxe rev2.0). Some suggestions from my experience with these symptoms :
press ESC on lilo screen, enter these parameters after name of the kernel you want to boot on :
- noacpi acpi=off (to disable ACPI)
- noapic nolapic (to disable APIC wich is a nightmare and the true problem source for the mobo)
- nopnpbios (the bios of my laptop was a shit which needs this or the system hangs after lilo)

After many tests, I removed one by one and let the APIC which was the real problem. I don't know for your case, but I hope it help you.


All times are GMT -5. The time now is 07:34 PM.