yekejiang
2008-Aug-07 14:25 UTC
[Xen-users] Booting Problem after compiling Xen 3.2.1 on 2.6.25-14.fc9.x86_64
Hello everyone, I''m a new one in xen and linux. I am trying to compile
and boot Xen 3.2.1 on 2.6.25-14.fc9.x86_64 and faced some problems:
I have done the following steps:
(1)#tar zxvf xen-3.2.1.tar.gz
(2)#hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
(3)#cd xen-3.2.1
(4)#make world
(5)#make install
(6)#make dist
(7)#./install.sh
all the above steps went well without any errors.
Then I created the initrd-2.6.18.8-xen.img using the following step:
(8)#depmod 2.6.18.8-xen
(9)#mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod
initrd-2.6.18.8-xen.img 2.6.18.8-xen
And then I change the grub.conf file:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/sda4
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25-14.fc9.x86_64)
root (hd0,2)
kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro
root=UUID=d5766f23-8458-446f-852a-55fb8279f93f rhgb quiet
initrd /initrd-2.6.25-14.fc9.x86_64.img
title WindowXP
rootnoverify (hd0,0)
chainloader +1
title Xen 3.2 / XenLinux 2.6.18.8
root (hd0,2)
kernel /xen-3.2.1.gz
module /vmlinuz-2.6.18.8-xen root=/dev/sda4 ro console=tty0
module /initrd-2.6.18.8-xen.img
(10)After that I reboot the system, and at begin it seems started well with
several "OK"s, but it stopped with the following error:
Kernel panic - not syncing: Alee, killing interrupt handler!
while I tried creating initrd-2.6.18.8-xen.img without any parameters:
(11)#mkinitrd initrd-2.6.18.8-xen.img 2.6.18.8-xen
The error is:
Kernel panic - not syncing: Attempted to kill init!
So I guess the there are some problems in creating the img file.
Are there any problems in my steps or any problems in my grub.conf file?
Any help will be greatly appreciated!
Thanks!
2008-08-07
yekejiang
yekejiang@gmail.com
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users