ma qiang
2010-May-14 03:32 UTC
[Xen-users] how to resolve the problem: xen 3.4 & centos 64bit & raid& reboot volume group not found ?
Hi all, I have installed centos 5.4, and installed xen from source by "make world & make install". Then, I edited grub as below: title Xen 3.4.2 / XenLinux 2.6.18 root (hd0,0) kernel /xen-3.4.2.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img and no error until now. I reboot my system and boot from Xen 3.4.2 / XenLinux 2.6.18. Then, error printed like this: Reading all physical volumes. This may take a while... Activating logical volumes Volume group "VolGroup00" not found Trying to resume from /dev/VolGroup00/LogVol01 Unable to access resume device (/dev/VolGroup00/LogVol01) setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory ... Switching to new root and running init. Kernel panic - not syncing: Attempted to kill init! To be noted, I did have mkinitrd. Who can help? Thanks a lot. Best Wishes! Qiang Ma _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-14 04:18 UTC
Re: [Xen-users] how to resolve the problem: xen 3.4 & centos 64bit & raid& reboot volume group not found ?
On Fri, May 14, 2010 at 10:32 AM, ma qiang <maqiang1984@gmail.com> wrote:> Hi all, > I have installed centos 5.4, and installed xen from source by > "make world & make install". Then, I edited grub as below: > > title Xen 3.4.2 / XenLinux 2.6.18 > root (hd0,0) > kernel /xen-3.4.2.gz > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 > rhgb quiet > module /initrd-2.6.18.8-xen.imgThe easiest way to use Xen 3.4.2 on Centos is: - install xen and kernel-xen from Centos repositories - add http://www.gitco.de/repo/GITCO-XEN3.4.2_x86_64.repo to /etc/yum.repos.d, and do a "yum update" In your particular case, you might be missing some necessary options in the deafult kernel config (like driver for harddisk controller). It''s simpler to just use Centos'' kernel-xen rpm. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ma qiang
2010-May-14 04:54 UTC
Re: [Xen-users] how to resolve the problem: xen 3.4 & centos 64bit & raid& reboot volume group not found ?
Thanks for you reply. In my case, I have some experiments need to add a few code in the source. So I recompiled and installed the xen from source. This computer is 64bit and RAID. And I do this successful in another computer, but difference is that 32bit and no RAID. Thanks a lot. Best Wishes! Qiang Ma On Fri, May 14, 2010 at 12:18 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Fri, May 14, 2010 at 10:32 AM, ma qiang <maqiang1984@gmail.com> wrote: >> Hi all, >> I have installed centos 5.4, and installed xen from source by >> "make world & make install". Then, I edited grub as below: >> >> title Xen 3.4.2 / XenLinux 2.6.18 >> root (hd0,0) >> kernel /xen-3.4.2.gz >> module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 >> rhgb quiet >> module /initrd-2.6.18.8-xen.img > > > The easiest way to use Xen 3.4.2 on Centos is: > - install xen and kernel-xen from Centos repositories > - add http://www.gitco.de/repo/GITCO-XEN3.4.2_x86_64.repo to > /etc/yum.repos.d, and do a "yum update" > > In your particular case, you might be missing some necessary options > in the deafult kernel config (like driver for harddisk controller). > It''s simpler to just use Centos'' kernel-xen rpm. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-14 06:25 UTC
Re: [Xen-users] how to resolve the problem: xen 3.4 & centos 64bit & raid& reboot volume group not found ?
On Fri, May 14, 2010 at 11:54 AM, ma qiang <maqiang1984@gmail.com> wrote:> Thanks for you reply. > In my case, I have some experiments need to add a few code in the > source. So I recompiled and installed the xen from source.xen or the kernel? If you only change xen (hypervisor and userland), you can use Centos'' kernel-xen with your self-compiled xen. If you change the kernel, then perhaps you''re just missing the raid drivers. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ma qiang
2010-May-14 07:06 UTC
Re: [Xen-users] how to resolve the problem: xen 3.4 & centos 64bit & raid& reboot volume group not found ?
Now xen, but later I want to change kernel too. Yes, maybe missing the raid drivers. I want to add raid driver, can you tell me how? On Fri, May 14, 2010 at 2:25 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Fri, May 14, 2010 at 11:54 AM, ma qiang <maqiang1984@gmail.com> wrote: >> Thanks for you reply. >> In my case, I have some experiments need to add a few code in the >> source. So I recompiled and installed the xen from source. > > xen or the kernel? > > If you only change xen (hypervisor and userland), you can use Centos'' > kernel-xen with your self-compiled xen. > If you change the kernel, then perhaps you''re just missing the raid drivers. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-14 07:11 UTC
Re: [Xen-users] how to resolve the problem: xen 3.4 & centos 64bit & raid& reboot volume group not found ?
On Fri, May 14, 2010 at 2:06 PM, ma qiang <maqiang1984@gmail.com> wrote:> Now xen, but later I want to change kernel too. > > Yes, maybe missing the raid drivers. > I want to add raid driver, can you tell me how?The usual methods for compiling a kernel. go to kernel source directory, make menuconfig, and so on. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users