LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-24-2010, 11:37 PM   #1
ravishekhar.82
Member
 
Registered: Feb 2010
Posts: 30

Rep: Reputation: 15
Question Compiling 2.6.23.4 Kernel on Fedora 11


Hi,

I am trying to compile older version of kernel 2.6.23.4 on my fedora 11.
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686 i686 i386 GNU/Linux


I am following below steps:
1)make menuconfig
2)make bzImage
3)make modules
4)make modules_install
5)make install

Kernel is compiling. After doing make modules_install it says:
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map 2.6.23.4check2.6.23; fi. I have no idea what is this.



My grub.config looks like

title Fedora (2.6.23.4check2.6.23)
root (hd0,0)
kernel /boot/vmlinuz-2.6.23.4check2.6.23 ro root=UUID=16daad63-5a57-45d5-adf1-8004a7d1c092 rhgb quiet
initrd /boot/initrd-2.6.23.4check2.6.23.img

title Fedora 11 (2.6.29.4-167.fc11.i686.PAE)
root (hd0,0)
kernel /boot/vmlinuz-2.6.29.4-167.fc11.i686.PAE ro root=UUID=16daad63-5a57-45d5-adf1-8004a7d1c092 rhgb quiet
initrd /boot/initrd-2.6.29.4-167.fc11.i686.PAE.img


While booting from it. It says something like
Uncompressing kernel ...booting linux..

But after that the cursor only blinks nothing happens.

Please suggest.

Last edited by ravishekhar.82; 02-24-2010 at 11:42 PM.
 
Old 02-25-2010, 03:48 AM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch
Posts: 1,599

Rep: Reputation: 97
Hya,

1. Check if kernel has all drivers for your system. I guess modules would do also, but not sure.

2. Check if your kernel supports your system.

3. Check if you see any additional error message.

Happy Penguins!
 
Old 02-25-2010, 06:16 AM   #3
ravishekhar.82
Member
 
Registered: Feb 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Question

Quote:

1. Check if kernel has all drivers for your system. I guess modules would do also, but not sure.
How to do this please tell me.


Quote:
2. Check if your kernel supports your system.
Where to get this information.

Last edited by ravishekhar.82; 02-25-2010 at 06:23 AM.
 
Old 02-25-2010, 04:56 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch
Posts: 1,599

Rep: Reputation: 97
Hya,

If you have working system on your target, use lspci, lshw or whatever to see hardware. Then, check config whether necessary options are on.

If not, make allyesconfig or make allmodconfig and see what happens. Once you have working kernel, you can step forward.

Happy Penguins!
 
Old 02-25-2010, 08:01 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,020

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
-------------------
Question
Quote:

1. Check if kernel has all drivers for your system. I guess modules would do also, but not sure.
How to do this please tell me.
--------------------------
if you do not know how to do that then DO NOT try to build the kernel on fedora. Use yum like you are supposed to do with Fedora
 
Old 02-25-2010, 11:37 PM   #6
ravishekhar.82
Member
 
Registered: Feb 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Question

Quote:
-------------------
1. Check if kernel has all drivers for your system. I guess modules would do also, but not sure.
How to do this please tell me.
--------------------------
if you do not know how to do that then DO NOT try to build the kernel on fedora. Use yum like you are supposed to do with Fedora
Hi,

I am just trying to learn kernel and want to compile older version(2.6.23) of kernel on newer one (2.6.29). I don't understand how YUM will help in this.
 
  


Reply

Tags
boot, fedora 11


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
Good but sorta easy guide to Kernel compiling/Re-Compiling? linus72 Linux - General 1 07-13-2009 01:37 PM
Compiling a module separately without compiling entire kernel kushalkoolwal Linux - Kernel 8 08-06-2008 01:45 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM


All times are GMT -5. The time now is 01:13 AM.

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