Linux Kernel 3.0 giving me panic :)

Compiler

Disciple
I was very exited to try out new kernel version so i decided to give it a try.
http://www.conceivablytech.com/7683/products/linux-torvalds-approves-linux-3-0-rc1

So i downloaded the kernel 3.0-rc1 from
http://www.kernel.org/
It was my first kernel compilation everything went smooth until i reboot the system .New kernel is not loading and giving me following error.

The root partition is using LVM and its having no trouble booting from previous 2.6.18-92.el5 kernel .
Code:
Red Hat nash version 5.1.19.6 starting 
reading all physical volumes. This may take while...
No volume groups found
Volume group "VolGroup00" not found
mount: could not find filesystem '/dev/root'
Kernel panic - not syncing :attempted to kill init!
I m not sure why its happening.Is it because the previous kernel was el5 and not rhel5.
Code:
# uname -r
2.6.18-92.el5
# lsb_release -a
LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description:    Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release:        5.2
Codename:       Carthage
I even tried changing all md to yes
Code:
# grep -i _md .config
CONFIG_SCTP_HMAC_MD5=y
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=y
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=y
CONFIG_MD_RAID456=y
CONFIG_MD_RAID5_RESHAPE=y
CONFIG_MD_MULTIPATH=y
CONFIG_MD_FAULTY=y
CONFIG_USB_MDC800=y
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y

I was running short of disk space in / partition so i added a new disk and added to / partition using LVM.

Is this a cause of the trouble.
I have also googled the problem and found something which might be related to the error.
Gentoo Linux Documentation -- Gentoo LVM2 installation
Since this is my first kernel compilation i m little confused on what to do ?
 
It would be nice to try with 2.6 kernel if you are first timer. I used to face this problem with 2.6 kernel compilation too.

The best way to get to a successful compilation is to use `make localmodconfig`

instead of doing a manual configuration for your kernel you can use the configuration that is currently running kernel is used. This way all the necessary drivers/modules will be selected that suits your system. This has worked for me all the time.

from your linux source directory.

1. make localmodconfig.

2. make modules

3. make modules_install

4. make

5. make install
All the best with your compiling.
 
Back
Top