LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 04: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, 04:42 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

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


Cheers,
Tink
 
Old 10-29-2004, 05: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, 11: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 05:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration