|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] config dump for success with Xen 4.0 rc8 + 2.6.32.10 pv_ops
Hello,
Build: Xen 4.0 rc8 + 2.6.32.10 pv_ops kernel
Following the post by Thiago
http://lists.xensource.com/archives/html/xen-users/2010-03/msg00913.html
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.
http://paste.ubuntu.com/407166/
---------- 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
linux-2.6-xen
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-2.6.32.10-pvops ./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*2.6.32.10*.deb
126 sudo depmod 2.6.32.10
127 sudo update-initramfs -c -k 2.6.32.10
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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] config dump for success with Xen 4.0 rc8 + 2.6.32.10 pv_ops kernel,
Mark Pryor <=
|
|
|
|
|