Nick Lunt wrote:
Hi

kernel-xen-2.6.18-92.el5

xen-libs-3.0.3-64.el5

xen-3.0.3-64.el5

We have a RHEL 5.2 host running a RHAS 2.1 guest OS. I cannot get the
guest to see more than 4GB RAM.

The server has 8 GB RAM. I have allocated 800M to the host and 7168MB to
the guest.

However the guest is only seeing 4GB.

Here is my xen config file for the guest:

name = "fsprof1"

uuid = "5d10ad03-4604-355e-5d8e-c9d8f5486178"

maxmem = 7168

memory = 7168

vcpus = 7

builder = "hvm"

kernel = "/usr/lib/xen/boot/hvmloader"

boot = "c"

pae = 1

acpi = 1

apic = 1

localtime = 0

on_poweroff = "destroy"

on_reboot = "restart"

on_crash = "restart"

device_model = "/usr/lib/xen/bin/qemu-dm"

sdl = 0

vnc = 1

vncunused = 0

keymap = "en-us"

vncdisplay = "5"

disk = [ "phy:/dev/vgxen/lvol00,hda,w", ",hdc:cdrom,r" ]

vif = [ "mac=00:16:3e:77:ad:ba,bridge=xenbr0",
"mac=00:16:3e:7a:82:0e,bridge=xenbr1,script=vif-bridge" ]

serial = "pty"

Here is the kernel entry from grub.conf on the host:

        kernel /xen.gz-2.6.18-92.el5 dom0_mem=800M dom0_max_vcpus=1

        module /vmlinuz-2.6.18-92.el5xen ro root=/dev/vg00/lvol00

        module /initrd-2.6.18-92.el5xen.img

Here is the kernel entry from grub.conf on the guest:

        kernel /vmlinuz-2.4.9-e.57smp ro root=/dev/hda8 mem=7168M

        initrd /initrd-2.4.9-e.57smp.img

Is there any reason why the guest can only see 4GB ?

My first guess is that it's because you are running kernel-smp.

the RHAS 2.1 Kernel that supports more than 4GB of RAM is:

kernel-enterprise-2.4.9-e.57.i686 "The Linux Kernel compiled with options for machines with more than 4 Gigabyte of memory."
https://rhn.redhat.com/rhn/software/packages/details/Overview.do?pid=287793

--
Sam

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to