Hi, I encounter a error when installing the latest kernel 2.6.34 in centos. Steps: 1. download source code. 2.tar -xvf 2.6.34.tar.gz 3.use the .config file of current system in /boot directory. 4.make ,make modules_install, make install, 5.reboot. 6.error:: accur. Reading all physical volumes. This may take a while ... Activating logical volumes Volume group "VolGroup00" not found Creating root device. Mounting root filesystem. mount: could not find filesystem"/dev/root" setting up other filesystems. ... After comparing the latest initrd.img and the current system initrd.img . The differnce below:
the currenet system has more modules before excuting the LVM operations. these modules is dm-mem-cache.ko , dm-message.ko and dm-raid45.ko which depends the others. I know the centos 5.5 ' s kernel is 2.6.18. which has dm-raid45.ko module. I do not know which changes to 2.6.34 about LVM. I think the errro is about the LVM. Anyone can give me answer or advice. Thanks.
(2010/06/01 12:52), 886886 backyes wrote:
3.use the .config file of current system in /boot directory.
Hi, You can check your .config file and CentOS config file. (/boot/config-2.6.18-194.3.1.el5) Many options must be =Y in the file. and Re-building kernel is much taking your time.
Shortly, rebuild centos5.5 without LVM(root=/dev/hda) is a answer your question.
Tsuyoshi.
(2010/06/01 13:19), Tsuyoshi Nagata wrote:
(2010/06/01 12:52), 886886 backyes wrote:
3.use the .config file of current system in /boot directory.
You can access more latest kernel config file is available in the fedora project
http://srv2.ftp.ne.jp/Linux/distributions/fedora/development/rawhide/x86_64/...
Tsuyoshi
Hi, I encounter a error when installing the latest kernel 2.6.34 in centos.
What is your purpose to try to run a recent vanilla kernel?
Steps:
- download source code.
2.tar -xvf 2.6.34.tar.gz 3.use the .config file of current system in /boot directory. 4.make ,make modules_install, make install,
That should be "make oldconfig", shouldn't it?
5.reboot.
[ ... ]
Best regards to you !
From Yanfei wang
Alexander
Thanks. I want to use a patch for 2.6.34 about zero-overhead . The error also occurs in some early kernel version. TO do make menuconfig and load current system config in /boot, but it is not OK. ---
Hi,
I encounter a error when installing the latest kernel 2.6.34 in centos.
What is your purpose to try to run a recent vanilla kernel?
Steps:
- download source code.
2.tar -xvf 2.6.34.tar.gz 3.use the .config file of current system in /boot directory. 4.make ,make modules_install, make install,
That should be "make oldconfig", shouldn't it?
5.reboot.
[ ... ]
Best regards to you !
From Yanfei wang
Alexander
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Mabe I can change another Distributtion OS, but I want to get the reason about it for deep study.
On Tue, Jun 1, 2010 at 5:18 PM, Alexander Dalloz <ad+lists@uni-x.orgad%2Blists@uni-x.org
wrote:
Hi, I encounter a error when installing the latest kernel 2.6.34 in centos.
What is your purpose to try to run a recent vanilla kernel?
Steps:
- download source code.
2.tar -xvf 2.6.34.tar.gz 3.use the .config file of current system in /boot directory. 4.make ,make modules_install, make install,
That should be "make oldconfig", shouldn't it?
5.reboot.
[ ... ]
Best regards to you !
From Yanfei wang
Alexander
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I have resolve the problem by add CONFIG_SYSFS_DEPRECATED_V2=y, thank you.
https://bugzilla.redhat.com/show_bug.cgi?id=489151
On Tue, Jun 1, 2010 at 5:18 PM, Alexander Dalloz <ad+lists@uni-x.orgad%2Blists@uni-x.org
wrote:
Hi, I encounter a error when installing the latest kernel 2.6.34 in centos.
What is your purpose to try to run a recent vanilla kernel?
Steps:
- download source code.
2.tar -xvf 2.6.34.tar.gz 3.use the .config file of current system in /boot directory. 4.make ,make modules_install, make install,
That should be "make oldconfig", shouldn't it?
5.reboot.
[ ... ]
Best regards to you !
From Yanfei wang
Alexander
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos