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@lists.xensource.com
http://lists.xensource.com/xen-users
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@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of xdub
Sent: March 9, 2008 8:34 AM
To: Xen-users@lists.xensource.com
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@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
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@lists.xensource.com
> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of xdub
> Sent: March 9, 2008 8:34 AM
> To: Xen-users@lists.xensource.com
> 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@lists.xensource.com
> http://lists.xensource.com/xen-users
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
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 optionLet 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@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of xdub >> Sent: March 9, 2008 8:34 AM >> To: Xen-users@lists.xensource.com >> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Steve, With version 3.1.3 of Xen, I am able to boot until this error message, then the server reboot. *************************************************************** *************************************************************** ** WARNING: Currently emulating unsupported memory accesses ** ** in /lib/tls glibc libraries. The emulation is ** ** slow. To ensure full performance you should ** ** install a ''xen-friendly'' (nosegneg) version of ** ** the library, or disable tls support by executing ** ** the following as root: ** ** mv /lib/tls /lib/tls.disabled ** ** Offending process: init (pid=1) ** *************************************************************** *************************************************************** But on Slackware there is no "tls" under "/lib" neither under "/usr/lib". I read on Gentoo doc that we can disable "tls" flag by setting this CFLAGS="-mno-tls-direct-seg-refs" before compilling the kernel (http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo) So, I am going to try, and rebuild a customized kernel. To make things more difficult, I am on XFS filesystem (mkinitrd resolved this issue). No need to install "swaret" for GNU GRUB support, version 0.97 do its job, even with XFS filesystem. Just follow the step by step instructions found on GNU GRUB documentation ... ;-) I keep you informed with version 3.1.3 before to make another try with version 3.2. Regards Steve Spencer wrote:> 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Krzysztof A. Adamski
2008-Mar-10  19:57 UTC
Re: [Xen-users] Frist try of Xen-3.2 on Slackware 12
On Mon, 10 Mar 2008 20:47:33 +0100 xdub <xdub@laposte.net> wrote:> I read on Gentoo doc that we can disable "tls" flag by setting this > CFLAGS="-mno-tls-direct-seg-refs" before compilling the kernel > (http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo)You are wrong. You have to set this flag and then recompile WHOLE system, not only the kernel. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users