[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Broblem With Xen Booting



On Wed, Sep 21, 2016 at 11:45 PM, Kenneth 1 Miller
<kenneth_1_miller@xxxxxxxxxxxx> wrote:
> All,
>
> This is a first time trying to get Xen 4.7.0 going on a RHEL 6.6. Server
> platform.  The platform this is running on is a laptop.
>
> Followed the guides and have an appropriate xen based kernel. Have the
> hypervisor and licenses successfully installed.
>
> After selecting to boot xen, the system starts the process.  Then the
> console logs a number of messages, and the last message seen before the
> system seems to go off into never-never land is:
>
> SCRUBBING RAM .........
>
> Notes:   If RHEL 6 (the usual server build) is selected, all runs just fine.
>             SELinux is disabled
>             chkconfig ksm off
>             chkconfig ksmtuned off
>
> Thoughts?
>
> grub.conf is below.
>
> 73,
>
> Kenneth V. Miller
> Senior Principal Software Engineer
> Raytheon Company
>
>
> # 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,0)
> #          kernel /vmlinuz-version ro root=/dev/mapper/vg_vmserver-lvroot
> #          initrd /initrd-[generic-]version.img
> #boot=/dev/sda
> default=0
> timeout=15
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Red Hat Enterprise Linux 6 (2.6.32-504.el6.x86_64)
> root (hd0,0)
> kernel /vmlinuz-2.6.32-504.el6.x86_64 ro root=/dev/mapper/vg_vmserver-lvroot
> rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_vmserver/lvswap rd_NO_MD
> SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us
> rd_LVM_LV=vg_vmserver/lvroot rd_NO_DM rhgb quiet
> initrd /initramfs-2.6.32-504.el6.x86_64.img
> title Xen  with Linux 2.6.32.71 dom0
> root (hd0,0)
> kernel /xen-4.7.0.gz dom0_mem=512M loglvl=all guest_loglvl=all
> module /vmlinuz-2.6.32.71 ro root=/dev/mapper/vg_vmserver-lvroot
> rd_LVM_LV=vg_vmserver/lvroot nomodeset
> module /initrd-2.6.32.71.img

It looks like you're using the stock RHEL kernel for your dom0.  To
run a kernel as dom0, it needs to be compiled with dom0 support, and
RHEL specifically disable that in their kernels from 6 onwards.

You might consider using the CentOS Virt SIG kernel (and Xen packages
even), or building your own kernel with dom0 support enabled.

https://wiki.centos.org/HowTos/Xen/Xen4QuickStart

 -George

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.