LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2009, 06:04 AM   #1
JonesD1
LQ Newbie
 
Registered: May 2009
Posts: 15

Rep: Reputation: 0
How to build /lib/modules/2.6.30.3 ?


Running Debian, which was loaded as a complete system with linux-2.6.26-2-686. I downloaded and compiled linux-2.6.30.3.

When getting into the boot phase using grub, it stops with a demand for /lib/modules/2.6.30.3/modules.dep...

I do not have this directory at all.
I do have a directory /lib/modules/2.6.26-2-686

I should I create it?

Thanks you,..
 
Old 08-14-2009, 06:30 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
It is created when you run
Code:
make modules_install
after compiling the kernel.
So, what steps did you follow to compile your kernel?
 
Old 08-14-2009, 09:19 AM   #3
JonesD1
LQ Newbie
 
Registered: May 2009
Posts: 15

Original Poster
Rep: Reputation: 0
I followed the linux-2.6.30.3/README file.
Obviously I missed this order.

Thank you for your promptly answer.
 
Old 08-14-2009, 10:44 AM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Have you tried the make-kpkg method? I've never run into any of these issues that keep popping up about kernel compiles, etc. Here is my make script:
Code:
#!/bin/sh
export CONCURRENCY_LEVEL=4
make-kpkg clean
fakeroot make-kpkg --append_to_version -k8 --revision=0.1 --initrd kernel_image
Added:
The result is a .deb file.

Last edited by Quakeboy02; 08-14-2009 at 10:46 AM.
 
Old 08-15-2009, 12:03 PM   #5
JonesD1
LQ Newbie
 
Registered: May 2009
Posts: 15

Original Poster
Rep: Reputation: 0
I haven't try it. I am not familiar with it.
Looking into man page of make-kpkg gives me a hard time understanding your line.
I need to give it another try.
Anyway, I wrote it down for the future kernels to build.

Thanks you.
 
Old 08-15-2009, 12:08 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
You'll find more information here. Ignore the fact that it says Etch. It's the same.

http://howtoforge.com/kernel_compilation_debian_etch
 
Old 08-16-2009, 09:26 AM   #7
JonesD1
LQ Newbie
 
Registered: May 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you Quakeboy02, the recommended site looks promising.
 
  


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
Missing /lib/modules/<build name>/build for installing HP PSPs mikemc58 Linux - Server 1 06-10-2009 10:18 AM
No /lib/modules/2.6.10-5-386/build kheno Ubuntu 1 05-25-2005 09:46 AM
/lib/modules/2.6.7/build/ - where is it? bobbens Debian 3 11-25-2004 11:46 AM
No build file in lib/modules/* Mlehliw Linux - Newbie 1 08-06-2004 10:40 AM
Pointing /lib/modules/2.4.20-6/build at sources Myrdos Linux - Wireless Networking 3 02-17-2004 09:13 PM


All times are GMT -5. The time now is 03:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration