LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2004, 03:36 PM   #1
tulear
LQ Newbie
 
Registered: Oct 2002
Posts: 14

Rep: Reputation: 0
Wrong modules directory used during boot ...


I try to recompile 2.6.8 kernel on Mandrake 10.1 official :
- I install 2.6.8.1-12mdk source
- in Makefile by default, EXTRAVERSION variable is defined (= .1-12mdkcustom) so modules directory (/lib/modules/2.6.8.1-12mdk) is not erased, modules are installed under /lib/modules/2.6.8.1-12mdkcustom
- I created the initrd.img file corresponding to this new kernel
- I modified /etc/lilo.conf to enable this 2.6.8.1-12mdkcustom kernel

My problem is that during boot, modules are not looked for under "/lib/modules/2.6.8.1-12mdkcustom" directory but under "/lib/modules/2.6.8.1-12mdk"

What did I miss ? I there anything else than EXTRAVERSION to defined ?

Thanks
 
Old 10-29-2004, 03:42 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
After modifying lilo.conf, did you actually run lilo?


Cheers,
Tink
 
Old 10-29-2004, 04:50 PM   #3
tulear
LQ Newbie
 
Registered: Oct 2002
Posts: 14

Original Poster
Rep: Reputation: 0
yes,
I can boot with my compiled kernel modules are loaded from the wrong directory
 
Old 10-30-2004, 10:50 AM   #4
tulear
LQ Newbie
 
Registered: Oct 2002
Posts: 14

Original Poster
Rep: Reputation: 0
Smile

I found the solution : I needed to do "make mrproper" after source kernel installation and before compile, it works fine now
 
  


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
modprobe looking for modules in the wrong place? Jaster150 Slackware 20 09-20-2004 09:59 PM
Self compiled modules have wrong version id ewschone Linux - General 1 06-20-2004 01:13 PM
ModProbe looking for wrong modules? DragonDon Linux - Newbie 5 03-27-2004 06:35 PM
RH9 looking for wrong modules? Recirqie Red Hat 3 03-13-2004 01:56 PM
~user pointing to wrong directory jmckeown Linux - Newbie 2 11-03-2003 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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