LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-07-2004, 07:06 AM   #1
Janfi
LQ Newbie
 
Registered: Aug 2003
Location: France
Distribution: Mandrake 10.0 Community
Posts: 10

Rep: Reputation: 0
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 !
 
Old 03-07-2004, 07:33 AM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
module-init-tools
 
Old 03-07-2004, 10:32 AM   #3
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
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.
 
Old 03-07-2004, 10:54 AM   #4
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
modutils replacement for 2.6 kernels. understands the new file naming format for kernel modules.
 
Old 03-07-2004, 11:02 AM   #5
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
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
 
Old 03-07-2004, 05:59 PM   #6
Janfi
LQ Newbie
 
Registered: Aug 2003
Location: France
Distribution: Mandrake 10.0 Community
Posts: 10

Original Poster
Rep: Reputation: 0
Question

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 ?
 
Old 03-07-2004, 07:01 PM   #7
Janfi
LQ Newbie
 
Registered: Aug 2003
Location: France
Distribution: Mandrake 10.0 Community
Posts: 10

Original Poster
Rep: Reputation: 0
Talking

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 , but the result is here. Now, after some sleep, let's fight with ACPI
 
Old 03-08-2004, 01:05 PM   #8
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
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.
 
Old 03-09-2004, 04:23 PM   #9
Janfi
LQ Newbie
 
Registered: Aug 2003
Location: France
Distribution: Mandrake 10.0 Community
Posts: 10

Original Poster
Rep: Reputation: 0
Post

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.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups problem in Mandrake 10.1 community nouvellebie Mandriva 19 12-03-2004 06:26 AM
mandrake community 10.1 kernel boot problem ali_azarnoosh Mandriva 5 11-03-2004 01:25 AM
mandrake 10 community kernel update ? bigjohn Mandriva 5 03-25-2004 02:11 AM
Mandrake 10.0 Community Problem NoviceW Mandriva 12 03-18-2004 01:36 PM
kernel recompilation problem iquadri1 Linux - Networking 2 10-06-2001 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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