LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 02-05-2011, 02:52 PM   #1
yannifan
Member
 
Registered: Feb 2007
Location: Bangalore, India
Distribution: Ubuntu Feisty, Fedora 6 dual boot
Posts: 36

Rep: Reputation: 15
Kernel compilation


Hello

I have Ubuntu 10.10 installed running kernel 2.6.35

I have to compile a kernel with some changes and tried the same with 2.6.36.

Instructions followed :
http://www.cyberciti.biz/tips/compil...kernel-26.html

/boot listing after the process
abi-2.6.35-22-generic memtest86+_multiboot.bin
abi-2.6.35-24-generic System.map-2.6.35-22-generic
config-2.6.35-22-generic System.map-2.6.35-24-generic
config-2.6.35-24-generic System.map-2.6.36
config-2.6.36 vmcoreinfo-2.6.35-22-generic
grub vmcoreinfo-2.6.35-24-generic
initrd.img-2.6.35-22-generic vmlinuz-2.6.35-22-generic
initrd.img-2.6.35-24-generic vmlinuz-2.6.35-24-generic
initrd.img-2.6.36 vmlinuz-2.6.36
memtest86+.bin
sudhix@sudhix:/boot$


Error received during boot :
http://img18.imageshack.us/i/06022011111.jpg/

Am I missing any step here.

Please help
Thanks.
 
Old 02-05-2011, 03:12 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Forgot to make or install the modules?
 
Old 02-05-2011, 10:43 PM   #3
yannifan
Member
 
Registered: Feb 2007
Location: Bangalore, India
Distribution: Ubuntu Feisty, Fedora 6 dual boot
Posts: 36

Original Poster
Rep: Reputation: 15
Nope, Im sure i ran
make modules
make modules_install
 
Old 02-07-2011, 09:28 AM   #4
yannifan
Member
 
Registered: Feb 2007
Location: Bangalore, India
Distribution: Ubuntu Feisty, Fedora 6 dual boot
Posts: 36

Original Poster
Rep: Reputation: 15
Fixed this issues
Ran this command
update-inintramfs -c -k 2.6.20

Source : http://www.linuxquestions.org/questi...es-dep-335214/
 
Old 02-08-2011, 12:17 PM   #5
Nominal Animal
Senior Member
 
Registered: Dec 2010
Location: Finland
Distribution: Xubuntu, CentOS, LFS
Posts: 1,723
Blog Entries: 3

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Instead of doing manual installs, I build installable kernel packages using
Code:
make menuconfig

NICE="nice -n 15 ionice -n 7"
SUFFIX="myown"

$NICE make-kpkg clean && $NICE fakeroot make-kpkg --initrd --revision=1 --append-to-version=-$SUFFIX kernel_image kernel_headers
The packages will be saved in the parent directory.

In the kernel image package the source and build symlinks will point to your build tree instead of the /usr/src/linux-.../ directory (where the headers are saved at if installed), but I just fix them after installation if/when installing any external kernel modules; I haven't bothered to find the fix yet. The nice and ionice I use to reduce the CPU and I/O priority, so that building a kernel won't affect anything else I might be running.

Hope this is useful to you,
Nominal Animal

Last edited by Nominal Animal; 03-21-2011 at 08:15 AM.
 
  


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
NO /usr/src/kernel directory & Kernel Compilation PankajDS Linux - Kernel 5 01-24-2008 02:48 AM
understanding kernel .config file (for kernel compilation) sudhirkumar Linux - General 2 09-07-2007 07:55 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 12:35 PM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 11:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 08:33 AM


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