FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Development

 
 
LinkBack Thread Tools
 
Old 01-24-2012, 01:52 PM
kasi viswanath
 
Default centOS 6.0 custom kernel load fails

HI,
*
I'm trying to build centOS6.0 custom kernel using the steps given at URL http://wiki.centos.org/HowTos/Custom_Kernel
Kernel: 2.6.32-71.el6.x86_64.
*
I'm following centOS5.0 steps for building custom kernel (This is the latest one to refer). After I get rpms in `/rpmbuild/RPMS'
i installed the following RPMS to boot with the new custom kernel.
su -c "rpm -ivh $HOME/rpmbuild/RPMS/x86_64/kernel-2.6.32-71.el6.kasivj.x86_64.rpm
*$HOME/rpmbuild/RPMS/x86_64/kernel-firmware-2.6.32-71.el6.kasivj.x86_64.rpm *$HOME/rpmbuild/RPMS/x86_64/kernel-headers-2.6.32-71.el6.kasivj.x86_64.rpm *$HOME/rpmbuild/RPMS/x86_64/kernel-devel-2.6.32-71.el6.kasivj.x86_64.rpm"
*
This will add a new kernel entry in /boot/grub/menu.lst along with oldone. (default 0) followed by new kenel.
I checked for initramfs, vmlinuz, config, system-map files created for new kernel as shown below.
*
bash-4.1$ ls /boot/
=============config-2.6.32-71.el6.kasivj.x86_64******** symvers-2.6.32-71.el6.kasivj.x86_64.gz
config-2.6.32-71.el6.x86_64*************** symvers-2.6.32-71.el6.x86_64.gz
efi*************************************** System.map-2.6.32-71.el6.kasivj.x86_64
grub**************************************
System.map-2.6.32-71.el6.x86_64
initramfs-2.6.32-71.el6.kasivj.x86_64.img* vmlinuz-2.6.32-71.el6.kasivj.x86_64
initramfs-2.6.32-71.el6.x86_64.img******** vmlinuz-2.6.32-71.el6.x86_64
initrd-2.6.32-71.el6.x86_64kdump.img

menu.lst:-
========
default=0
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS Linux (2.6.32-71.el6.kasivj.x86_64)
******* root (hd0,5)
******* kernel /boot/vmlinuz-2.6.32-71.el6.kasivj.x86_64 ro root=UUID=d755a526-1318-4ee0-91e5-439b978c1d80 console=tty0 console=ttyS0,9600n8 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb
******* initrd /boot/initramfs-2.6.32-71.el6.kasivj.x86_64.img
title CentOS Linux (2.6.32-71.el6.x86_64)
******* root (hd0,5)
******* kernel /boot/vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=d755a526-1318-4ee0-91e5-439b978c1d80 console=tty0 console=ttyS0,9600n8 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb
******* initrd /boot/initramfs-2.6.32-71.el6.x86_64.img
*
two questions:-
1. Grub menu centOS6-2.6.32-71.el6.kasivj is not displayed
2. If I remove old kernel and keep the new kenel, then new kernel is not booting.
*
*I suspect that below step given in the URL I was not able to do it for centOS6.0.
*
[[[Starting at line 698, there is a 25 line block of code that needs to be commented out to build customised CentOS-5 kernels ( " alt="" src="" width=15 height=15> This step is not required to build customised CentOS-4 kernels): ]]]]]
*
Am I missing somethign here to build custom kernel centOS6.0
*
Reason for building: LKLM modules built on 2.6.32-71.el6.x86_64 i'm not able to load them.
thanks and regards,
Viswa_____________________________________________ __
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 01-24-2012, 09:34 PM
Phil Schaffner
 
Default centOS 6.0 custom kernel load fails

kasi viswanath wrote on 01/24/2012 09:52 AM:
> HI,
> I'm trying to build centOS6.0 custom kernel using the steps given at
> URL http://wiki.centos.org/HowTos/Custom_Kernel
> Kernel: 2.6.32-71.el6.x86_64.

This list is for discussion of CentOS development and not for support.
Please post on the users list or the forum.

_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 

Thread Tools




All times are GMT. The time now is 06:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org