|
|
|
|
|
|
|
|
|
|
xen-users
Re: [SPAM: 5.651] [Xen-users] Problems at installing Xen 3.3.0
Quoting ??? <songweijia@xxxxxxxxxxx>:
I want to install Xen 3.3.0 from source code. but I failed in doing
that in the following steps
1. download xen from
http://bits.xensource.com/oss-xen/release/3.3.0/xen-3.3.0.tar.gz
2. # tar -zxf xen-3.3.0;cd xen-3.3.0
3. # make world
......succeed
4. # cp /boot/config-2.6.18-53.el5 build-linux-2.6.18-xen_x86_64/.config
5. # make linux-2.6-xen-config CONFIGMODE=menuconfig (or
xconfig) # make linux-2.6-xen-build # make linux-2.6-xen-install
6. # depmod 2.6.18.8-xen # mkinitrd -v -f --with=aacraid
--with=sd_mod --with=scsi_mod --builtin=ata_piix
initrd-2.6.18.8-xen.img 2.6.18.8-xen
# cp initrd-2.6.18.8-xen.img /boot/
7. configure grub:
default=0timeout=10splashimage=(hd0,0)/grub/splash.xpm.gzhiddenmenutitle
xen-dom0 kernel /xen.gz dom0_mem=2097152 module
/vmlinuz-2.6.18.8-xen ro root=LABEL=/ rhgb quiet
crashkernel=128M@16M module /initrd-2.6.18.8-xen.imgtitle Red
Hat Enterprise Linux Server (2.6.18-53.el5) root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/ rhgb quiet
crashkernel=128M@16M initrd /initrd-2.6.18-53.el5.img8.
reboot and wait...
it says:
...
scsi_mod: version magic '2.6.18.8-xen SMP mod_unload gcc-4.1' should
be '2.6.18.8-xen SMP mod_unload Xen gcc-4.1'.......................
insmod: error inserting '/lib/scsi_mod.ko' -1 Invalid module format
sd_mod: version magic '2.6.18.8-xen SMP mod_unload gcc-4.1' should
be '2.6.18.8-xen SMP mod_unload Xen gcc-4.1' warnings
insmod: error inserting '/lib/sd_mod.ko' -1 Invalid module format
...
Kernel panic - not syncing: Attempted to kill init!
You don't show that you did a make 'modules_install' and a 'depmod -a'
after building your new kernel. The 'make' will build the kernel and
the modules but you still have to run make 'modules_install' and
'depmod -a' after that is done.
Hope that helps,
Jon
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|