HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Xen On CentOS 6.2 (x86_64) (http://www.howtoforge.com/forums/showthread.php?t=56706)

sania9 28th March 2012 14:42

Xen On CentOS 6.2 (x86_64)
 
I follow this "http://www.howtoforge.com/virtualization-with-xen-on-centos-6.2-x86_64-paravirtualization-and-hardware-virtualization"
After reboot system,i got this mistake "kernel panic -not syncing:attempted to kill init"
Code:

[root@link2~]# uname -r
2.6.32-220.7.1.el6.x86_64
[root@link2 src]#

system can boot with the second select "title CentOS (2.6.32-220.el6.x86_64)"
Code:

title CentOS (2.6.32.57-1.el6xen.x86_64)
        root (hd0,0)
        kernel /xen-4.1.2.gz
        module /vmlinuz-2.6.32.57-1.el6xen.x86_64 ro root=/dev/mapper/vg00-LogVol00 rd_NO_LUKS rd_NO_MD rd_LVM_LV=vg00/LogVol00 quiet rhgb crashkernel=128M LANG=zh_CN.UTF-8  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
        module /initramfs-2.6.32.57-1.el6xen.x86_64.img
title CentOS (2.6.32-220.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/vg00-LogVol00 rd_NO_LUKS rd_NO_MD rd_LVM_LV=vg00/LogVol00 quiet rhgb crashkernel=128M LANG=zh_CN.UTF-8  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
        initrd /initramfs-2.6.32-220.el6.x86_64.img


falko 29th March 2012 15:08

Have you tried to use the same options that I use in /boot/grub/menu.lst? For example
Code:

kernel /xen.gz dom0_mem=1024M cpufreq=xen dom0_max_vcpus=1 dom0_vcpus_pin
instead of
Code:

kernel /xen-4.1.2.gz
?

Do xen-4.1.2.gz, /vmlinuz-2.6.32.57-1.el6xen.x86_64, and /initramfs-2.6.32.57-1.el6xen.x86_64.img exist?

sania9 30th March 2012 06:33

Quote:

Originally Posted by falko (Post 276378)
Have you tried to use the same options that I use in /boot/grub/menu.lst? For example
Code:

kernel /xen.gz dom0_mem=1024M cpufreq=xen dom0_max_vcpus=1 dom0_vcpus_pin
instead of
Code:

kernel /xen-4.1.2.gz
?

Do xen-4.1.2.gz, /vmlinuz-2.6.32.57-1.el6xen.x86_64, and /initramfs-2.6.32.57-1.el6xen.x86_64.img exist?

1.yes ,i did that,but got the same mistake.
2.
Code:

[root@belink1 boot]# ls -l xen*
[root@link1 boot]# ls xen*
xen-4.1.2.gz  xen-4.1.gz  xen.gz  xen-syms-4.1.2
[root@link1 boot]#


falko 31st March 2012 11:37

What's the output of
Code:

ls -la /boot/
?

sania9 31st March 2012 11:47

Quote:

Originally Posted by falko (Post 276539)
What's the output of
Code:

ls -la /boot/
?

Code:

[root@link ~]# ls -la /boot/
总用量 84756
dr-xr-xr-x.  5 root root    4096  3月 28 13:48 .
dr-xr-xr-x. 27 root root    4096  3月 28 14:33 ..
-rw-r--r--  1 root root  100947  3月  7 09:40 config-2.6.32-220.7.1.el6.x86_64
-rw-r--r--.  1 root root  100943 12月  7 04:35 config-2.6.32-220.el6.x86_64
-rw-r--r--  1 root root    95612  3月 20 07:34 config-2.6.32.57-1.el6xen.x86_64
drwxr-xr-x.  3 root root    4096  3月  3 16:15 efi
drwxr-xr-x.  2 root root    4096  3月 30 17:32 grub
-rw-r--r--  1 root root 15955643  3月 28 09:34 initramfs-2.6.32-220.7.1.el6.x86_64.img
-rw-r--r--.  1 root root 15894056  3月  3 16:17 initramfs-2.6.32-220.el6.x86_64.img
-rw-r--r--  1 root root 13527165  3月 28 12:50 initramfs-2.6.32.57-1.el6xen.x86_64.img
-rw-------  1 root root  4211226  3月 28 13:48 initrd-2.6.32-220.7.1.el6.x86_64kdump.img
-rw-------.  1 root root  4223656  3月 16 11:32 initrd-2.6.32-220.el6.x86_64kdump.img
drwx------.  2 root root    16384  3月  3 16:05 lost+found
-rw-r--r--  1 root root  171216  3月  7 09:41 symvers-2.6.32-220.7.1.el6.x86_64.gz
-rw-r--r--.  1 root root  171087 12月  7 04:36 symvers-2.6.32-220.el6.x86_64.gz
-rw-r--r--  1 root root  157712  3月 20 07:34 symvers-2.6.32.57-1.el6xen.x86_64.gz
-rw-r--r--  1 root root  2313972  3月  7 09:40 System.map-2.6.32-220.7.1.el6.x86_64
-rw-r--r--.  1 root root  2312369 12月  7 04:35 System.map-2.6.32-220.el6.x86_64
-rw-r--r--  1 root root  2178713  3月 20 07:34 System.map-2.6.32.57-1.el6xen.x86_64
-rwxr-xr-x  1 root root  3941040  3月  7 09:40 vmlinuz-2.6.32-220.7.1.el6.x86_64
-rw-r--r--  1 root root      170  3月  7 09:40 .vmlinuz-2.6.32-220.7.1.el6.x86_64.hmac
-rwxr-xr-x.  1 root root  3938288 12月  7 04:35 vmlinuz-2.6.32-220.el6.x86_64
-rw-r--r--.  1 root root      166 12月  7 04:35 .vmlinuz-2.6.32-220.el6.x86_64.hmac
-rw-r--r--  1 root root  3495856  3月 20 07:34 vmlinuz-2.6.32.57-1.el6xen.x86_64
-rw-r--r--  1 root root  732388  2月 20 09:52 xen-4.1.2.gz
lrwxrwxrwx  1 root root      12  3月 28 12:50 xen-4.1.gz -> xen-4.1.2.gz
lrwxrwxrwx  1 root root      12  3月 28 12:50 xen.gz -> xen-4.1.2.gz
-rw-r--r--  1 root root 13192209  2月 20 09:52 xen-syms-4.1.2
[root@link ~]#

Thank you ,falko,i have to installed vmware last night because have no time.
THANK YOU FOR HELP!

linux2man 24th July 2012 11:46

Same problem here


All times are GMT +2. The time now is 08:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.