LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiling 2.6.23.4 Kernel on Fedora 11 (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-2-6-23-4-kernel-on-fedora-11-a-791400/)

ravishekhar.82 02-24-2010 11:37 PM

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.

kaz2100 02-25-2010 03:48 AM

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!

ravishekhar.82 02-25-2010 06:16 AM

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.

kaz2100 02-25-2010 04:56 PM

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!

John VV 02-25-2010 08:01 PM

-------------------
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

ravishekhar.82 02-25-2010 11:37 PM

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.


All times are GMT -5. The time now is 01:56 PM.