This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] config dump for success with Xen 4.0 rc8 + pv_ops

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] config dump for success with Xen 4.0 rc8 + pv_ops kernel
From: Mark Pryor <tlviewer@xxxxxxxxx>
Date: Wed, 31 Mar 2010 10:46:44 -0700 (PDT)
Delivery-date: Wed, 31 Mar 2010 10:47:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1270057605; bh=J4UvHDg8hd0bI+EVYl4aF/kxQbomVN9WKRjY+0vY5Wg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=hSIlhKCj0jIYjdETuLpisWkpIjfI7zYS6n/j9kKHaLvHe+uxvALzUxEDIgdFEYx+H01/V/zlgKnPG2G3R3bKxtaw7rjZotz4fPVAZnSY6XN6vukv0zK8cZNSjHouqTPIXSeAgPzWYBZRBN+f4ZRhnQD44p+gfDviXON1NsU8NWI=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=MeFa+IFg66LDbt13OAIhtKIxO3cjCcawyZXkUsKUCv/CFgrEhS7xd5LfacQkardSh9lJ/bUodPDq6mYHBDfhQC+NqOom1d7yLeT1JxFQzR6rxAZZaQ20/z96hAUG2F6Sf/9oBlne/MriLjgG5XNyzKkzAN8cmRlvr9n5aeK1Z3o=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Build: Xen 4.0 rc8 + pv_ops kernel

Following the post by Thiago

and the follow-ups by Boris I succeeded with the build.
This box is server only running with Intel C2Duo on a P45 chipset.
Starting with Thiago's kernel config, I removed all sound and MM drivers.
My initrd was still 63+ MB.

The kernel build took a little over an hour and reduced free space by over 8 GB.
Here are some of my configs. I used a manual br0, so only the
(network-script network-dummy) 
was uncommented.


---------- cmd history ----------
   88  sudo apt-get install libcurl4-openssl-dev xserver-xorg-dev python2.6-dev 
mercurial gitk build-essential libncurses5-dev uuid-dev gawk gettext texinfo 
bcc bridge-utils iasl
        sudo apt-get flex bison
   89  cd ..
   90  mkdir linux
   91  cd ./linux
   92  hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg
   93  sudo apt-get install dpkg-dev debhelper fakeroot
   94  make xen
   95  cd ./xen-unstable.hg/
   96  nano Config.mk
   97  make xen
   98  ls -al /etc/
   99  sudo mkdir /etc/hotplug
  100  ls -al /etc/
  101  make tools
  102  make stubdom
  103  sudo make install-xen
  104  sudo make install-tools PYTHON_PREFIX_ARG=
  105  sudo make install-stubdom
  106  sudo update-rc.d xend defaults 20 21
  107  sudo update-rc.d xendomains defaults 21 20
  108  cd ..
  109  git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git 

  111  ls -l ./linux-2.6-xen/
  112  ls -al ./linux-2.6-xen/
  113  cd ./linux-2.6-xen/
  114  git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x
  115  git checkout origin/xen/master -b xen/master
  116  cd ~
  117  cp config-for-xen- ./linux/linux-2.6-xen/.config
  118  make menuconfig
  119  cd ./linux/linux-2.6-xen/
  120  make menuconfig
  121  make -j2
  122  make deb-pkg
  123  ls -l ../
  124  sudo make deb-pkg
  125  sudo dpkg -i ../linux-image**.deb
  126  sudo depmod
  127  sudo update-initramfs -c -k
  128  ls -l /boot/  129  exit
  130  sudo reboot
  131  ifconfig
  132  ls -al /proc/xen/
  133  sudo xm info
  134  sudo ps aux | grep xen
  135  sudo sysv-rc-conf
  136  clear
  137  sudo /etc/init.d/xend start
  138  sudo ps aux | grep xen
  139  sudo ps aux | grep -i xen
  140  uname -a
  141  which xend
  143  history | tail -n 75 > cmd_xen_pvops.txt


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] config dump for success with Xen 4.0 rc8 + pv_ops kernel, Mark Pryor <=