Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-29-2004, 03:36 PM   #1
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 source
- in Makefile by default, EXTRAVERSION variable is defined (= .1-12mdkcustom) so modules directory (/lib/modules/ is not erased, modules are installed under /lib/modules/
- I created the initrd.img file corresponding to this new kernel
- I modified /etc/lilo.conf to enable this kernel

My problem is that during boot, modules are not looked for under "/lib/modules/" directory but under "/lib/modules/"

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

Old 10-29-2004, 03:42 PM   #2
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?

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

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

Original Poster
Rep: Reputation: 0

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


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 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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration