WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Frist try of Xen-3.2 on Slackware 12

To: xdub <xdub@xxxxxxxxxxx>
Subject: Re: [Xen-users] Frist try of Xen-3.2 on Slackware 12
From: Steve Spencer <sspencer@xxxxxxxx>
Date: Mon, 10 Mar 2008 08:44:27 -0500
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Mar 2008 06:45:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47D459C1.2060303@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <000701c88217$d0c5c5e0$c801a8c0@localnet> <47D459C1.2060303@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080213)
Xdub,

I can get you past your compile errors, I believe, even to the point of installing the kernel, but I have not as yet been able to get the kernel to actually boot on Slackware 12. Here is what I've done to get to the point of booting, and if you can get past this to a working boot, then I'd love to hear how you got it accomplished:

1.) Install Slackware 12 with X and all development packages, ext3 filesystem.
2.) Install swaret for slackware updates, modify the config and run:
    a.) swaret --update
    b.) swaret --upgrade
3.) Install grub: swaret --install grub
4.) Run grubconfig
5.) Reboot and verify grub install
6.) Download and untar xen-3.2.0.tar.gz
7.) Run hg clone -r 406 http://xenbits.xensource.com/linux-2.6.18-xen.hg
8.) cd xen-3.2.0
9.) Run make world and then make install
10.) vi /boot/grub/menu.lst and add the kernel as a boot option

Let me know if you get a compiled kernel after that. Then, if you boot successfully, let me know how you did it! :-)

Thanks,

Steven G. Spencer, Network Administrator
KSC Corporate - The Kelly Supply Family of Companies
Office 308-382-8764 Ext. 231
Mobile 308-380-7957


xdub wrote:
Hi Ein

Thank for information, so after installing Mercurial, again a new error message
come regarding xml stuffs... :-(

Version "xen-3.1.3" do not need those dependencies, wget do the job... ;-)

# ---------------------------------------------------
Cannot find linux-2.6.18.8.tar.bz2 in path .:..
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.8.tar.bz2 -O./linux-2.6.18.8.tar.bz2 --22:23:23-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.8.tar.bz2
          => `./linux-2.6.18.8.tar.bz2'
Resolving www.kernel.org... 204.152.191.5, 204.152.191.37
Connecting to www.kernel.org|204.152.191.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
# ---------------------------------------------------

Again, thanks for your reply.


[STD]Ein wrote:
You don't. Due to a really, really, badly designed build process, mercucial
and a few other tools you might not expect are required, and required at
recent versions. Even if you have the repositories on your filesystem and
it doesn't need to actually download anything, it will barf if mercucial
isn't present.

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of xdub
Sent: March 9, 2008 8:34 AM
To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Frist try of Xen-3.2 on Slackware 12

Hi Xen'ist

New on virtualization and as usual some issues when I try to install
Xen, from source packages, especially version 3.2

All prerequisites are done,

So, I unpacked both source packages : xen-3.2.0.tar.gz &
linux-2.6.18-xen-3.2.0.tar.gz inside "/usr/src" directory.

Move to "/usr/src"

root@xen-master:/usr/src# ll
total 64
lrwxrwxrwx 1 root root 24 2008-03-09 12:46 linux ->
./linux-2.6.18-xen-3.2.0/
drwxr-xr-x 20 root root 4096 2008-03-09 13:19 linux-2.6.18-xen-3.2.0/
drwxr-xr-x 12 root root 4096 2008-03-09 13:47 xen-3.1.3/
drwxr-xr-x 10 root root 4096 2008-03-09 13:36 xen-3.2.0/

Change to directory "xen-3.2.0" and execute "make world" and got the
following error message:

#---------------------------------------------------------------------------
---------------
make[3]: Entering directory `/usr/src/xen-3.2.0'
set -e ; \
if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \
__repo=$(sh buildconfigs/select-repository
linux-2.6.18-xen.hg .:..) ; \
if [ -d ${__repo} ] ; then \
echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \
ln -s ${__repo} linux-2.6.18-xen.hg ; \
else \
echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \
hg clone ${__repo#file://} linux-2.6.18-xen.hg ; \
fi ; \
else \
__parent=$(hg -R linux-2.6.18-xen.hg path default) ; \
echo "Pulling changes from ${__parent} into
linux-2.6.18-xen.hg." ; \
hg -R linux-2.6.18-xen.hg pull ${__parent} ; \
fi
select-repository: Searching `.:..' for linux-2.6.18-xen.hg
select-repository: Ignoring `.'
buildconfigs/select-repository: line 35: hg: command not found
select-repository: Unable to determine Xen repository parent.
make[3]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1
make[3]: Leaving directory `/usr/src/xen-3.2.0'
make[2]: *** [linux-2.6-xen-install] Error 2
make[2]: Leaving directory `/usr/src/xen-3.2.0'
make[1]: *** [install-kernels] Error 1
make[1]: Leaving directory `/usr/src/xen-3.2.0'
make: *** [world] Error 2
#---------------------------------------------------------------------------
---------------

It seems that Mercurial tools must be installed and are also
prerequisites (?)

Whereas from version 3.1.3, things seem to be good. At the time of
writing Linux Kernel Linux-2.6.18.8 is building itself.


Q. How to build Xen-3.2 without Mercurial tools ?


Many Thanks for your help.

--
xdub





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


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



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



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