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

Re: [Xen-users] Windows assigned 4GB RAM BSOD with GPLPV (0.9.10)


  • To: terii@xxxxxxxxxxxxxxx
  • From: "Thiago Camargo Martins Cordeiro" <thiagocmartinsc@xxxxxxxxx>
  • Date: Thu, 9 Oct 2008 16:11:54 -0300
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 09 Oct 2008 12:12:43 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=fUk8MS6LEEGhlc6te7lF8iirVEkM7Jn6rqCabAztBKiG9f3/Z0CzUthTydmTirDEJN h3lzW+FOys953gAXO4yXdMmPNbzzJbzX3pKPGeyHbHoWRjtPnpuhQ936kAIgPLBXf/DH K4Yzpz7fjmwC3ZPM2AnSwrYCtl778qKrpVlDk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Terii,

 Try do add this lines to your /etc/apt/sources.list:

deb http://us.archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse]

 And, "aptitude update;aptitude dist-upgrade", you will got linux-2.6.24-21-xen and see if your problems go away.

 However, Ubuntu Xen Kernel is not officially supported by Xen.org, if you really want a stable Xen system, you must use a linux-2.6.18.8-xen from xen.org, until dom0 support merges to vanilla Linux at kernel.org.  ;-)

 To compile new xen-3.3.0 on your Ubuntu, you need:

aptitude install --without-recommends bcc bin86 build-essential comerr-dev debhelper defoma diffstat dpkg-dev fontconfig fontconfig-config g++ g++-4.2 gawk gettext ghostscript graphviz gs-common gsfonts html2text intltool-debian libc6-dev-i386 libc6-i386 libcairo2 libcupsimage2 libcupsys2 libcurl4-openssl-dev libdatrie0 libdrm2 libfontconfig1 libfreetype6 libgd2-noxpm libgl1-mesa-dev libgl1-mesa-glx libglib2.0-0 libglu1-mesa libglu1-mesa-dev libglu1-xorg-dev libgraphviz4 libgs8 libice6 libidn11-dev libjpeg62 libjpeg62-dev libkadm55 libkpathsea4 libkrb5-dev libldap2-dev libltdl3 libncurses5-dev libpango1.0-0 libpango1.0-common libpaper1 libpcre3 libpixman-1-0 libpng12-0 libpoppler2 libpthread-stubs0 libpthread-stubs0-dev libsdl1.2-dev libsm6 libssl-dev libstdc++6-4.2-dev libthai-data libthai0 libtiff4 libtimedate-perl libvncserver-dev libvncserver0 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxaw7 libxcb-xlib0 libxcb-xlib0-dev libxcb1 libxcb1-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext6 libxfixes3 libxft2 libxml2-dev libxmu6 libxpm4 libxrender1 libxt6 libxxf86vm1 make mesa-common-dev mercurial patch pciutils-dev pkg-config po-debconf python-all python-all-dev python2.4 python2.4-dev python2.4-minimal quilt tex-common texinfo texlive-base texlive-base-bin texlive-common texlive-doc-base texlive-fonts-recommended texlive-latex-base texlive-latex-recommended transfig ttf-dejavu ttf-dejavu-core ttf-dejavu-extra x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev zlib1g-dev


 Now to run your compiled Xen-3.3, you need:

aptitude install --without-recommends binutils binutils-static bridge-utils debootstrap gcc gcc-4.2 libasound2 libbeecrypt6 libc6-dev libconfig-inifiles-perl libcurl3 libdirectfb-1.0-0 libexpect-perl libgomp1 libio-pty-perl libio-stty-perl libneon27 librpm4.4 libsdl1.2debian libsdl1.2debian-alsa libterm-readline-gnu-perl libterm-size-perl libtext-template-perl libxml2 linux-libc-dev linux-restricted-modules-common nvidia-kernel-common perl-doc python-dev python2.5-dev rinse rpm screen sgml-base vnstat xen-shell xen-tools xfsprogs xml-core

 To finalize, tun this commands:

depmod -a 2.6.18.8-xen
update-initramfs -k 2.6.18.8-xen -c -u
vi /boot/grub/menu.lst # and configure your Xen options, like "nosmp" and "dom0_mem=512M", for example...
update-grub
update-rc.d xend defaults 20 21
update-rc.d xendomains defaults 21 20
reboot


 NOTE: If you use LVM, Ubuntu refuses to boot, dropping you to a (initramfs) promtp, all you need to do is:

lvm vgchange -ay
exit

 ...and your system will bootup normally.

 I don't know why Ubuntu has this BUG with self compiled kernels from Xen but, if anyone knows how to configure initramdisk to avoid this in each reboot, I will apreciate any info!   :-P

Good Luck!
Thiago

2008/10/9 terii wang <terii@xxxxxxxxxxxxxxx>
On Wed, 8 Oct 2008 19:26:19 -0300
"Thiago Camargo Martins Cordeiro" <thiagocmartinsc@xxxxxxxxx> wrote:

> What version of Xen are you using?
>

Ubuntu Hardy
Xen 3.2.1


root@lonvm01: /etc/xen
# uname -a
Linux lonvm01 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64
GNU/Linux

root@lonvm01: /etc/xen
# xm info
host                   : lonvm01
release                : 2.6.24-19-xen
version                : #1 SMP Wed Aug 20 21:08:51 UTC 2008
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2992
hw_caps                :
bfebfbff:20100800:00000000:00000140:000ce3bd:00000000:00000001
total_memory           : 16378 free_memory            : 4144
max_free_memory        : 7569
max_para_memory        : 7565
max_hvm_memory         : 7539
node_to_cpu            : node0:0-7
xen_major              : 3
xen_minor              : 2
xen_extra              : .1-rc1-pre
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
cc_compile_by          : buildd
cc_compile_domain      : buildd
cc_compile_date        : Fri Apr 11 01:13:51 UTC 2008
xend_config_format     : 4

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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