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-devel

Re: [Xen-devel] Attempt to compile 2.6.29-rc3 with pv_ops suppot for Dom

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Attempt to compile 2.6.29-rc3 with pv_ops suppot for Dom0
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Mon, 2 Feb 2009 05:22:15 -0800 (PST)
Cc: Todd Deshane <deshantm@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Andrew Lyon <andrew.lyon@xxxxxxxxx>
Delivery-date: Mon, 02 Feb 2009 05:22:45 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=KBe+cLRvqu39gqFx81vuTOxB/a8Lmtk75EjYQAV9YoOCmx7pMLXxcmsh5WbIXyfeuYHDcreCySuuRKQly6STrlkvADggWDtZdtwPbKiw36atbaH2DS5Yi/bZzgTAIpP9jRHxna43mrNQg1BOfO6md1oAYFuMJKwwWnZFR/LpGJ8=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1233578522.9970.69.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Build is currently running. However, modules bellow gets compiled OK :-
root@ServerUbuntu:/usr/src/linux-2.6/drivers/xen/netback# ls -l *.o
-rw-r--r-- 1 root src 727940 2009-02-02 08:15 built-in.o
-rw-r--r-- 1 root src 195560 2009-02-02 08:15 interface.o
-rw-r--r-- 1 root src 350464 2009-02-02 08:15 netback.o
-rw-r--r-- 1 root src 727940 2009-02-02 08:15 netbk.o
-rw-r--r-- 1 root src 188416 2009-02-02 08:15 xenbus.o


--- On Mon, 2/2/09, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Attempt to compile 2.6.29-rc3 with pv_ops suppot for Dom0
To: bderzhavets@xxxxxxxxx
Cc: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>, "Todd Deshane" <deshantm@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Andrew Lyon" <andrew.lyon@xxxxxxxxx>
Date: Monday, February 2, 2009, 7:42 AM

I pushed a fix this morning, could you try it again please ?

Ian.

On Mon, 2009-02-02 at 04:32 -0800, Boris Derzhavets wrote:
> That's right i've tried to compile on 64-bit Ubuntu 8.10 Server.
>
> root@ServerUbuntu:~# gcc -v
> Using built-in specs.
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
> 4.3.2-1ubuntu11'
> --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
> --enable-shared --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
> --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11)
>
> Boris
> --- On Mon, 2/2/09, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
> Subject: Re: [Xen-devel] Attempt to compile 2.6.29-rc3 with
> pv_ops suppot for Dom0
> To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
> Cc: "Todd Deshane" <deshantm@xxxxxxxxx>,
> bderzhavets@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, "Andrew
> Lyon" <andrew.lyon@xxxxxxxxx>
> Date: Monday, February 2, 2009, 4:53 AM
>
> On Sun, 2009-02-01 at 17:14 -0800, Jeremy Fitzhardinge wrote:
> > Boris Derzhavets wrote:
> > >
> > > Follow http://wiki.xensource.com/xenwiki/XenParavirtOps
on Ubuntu
> 8.10
> > > Server
> > >
> > > To get a working tree:
> > >
> > > 1. hg clone http://www.kernel.org/hg/linux-2.6
> > > 2. cd linux-2.6/.hg
> > > 3. hg clone
> http://xenbits.xensource.com/paravirt_ops/patches.hg
> > > patches
> > > 4. cd ..
> > > 5. ln -s .hg/patches . # for convenience
> > > 6. hg update `cat patches/KERNEL_VERSION`
> > > 7. hg qpush -a
> > >
> > > Get the recent patch,in particular :-
> > >
> > > root@ServerUbuntu:/usr/src/linux-2.6/.hg/patches# ls -l
> > > xen-netback-porting.patch
> > > -rw-r--r-- 1 root src 28228 2009-01-31 08:18
> xen-netback-porting.patch
> > >
> >
> > Netback support was just added, and it didn't compile for
me last time
> I
> > tried. I think Ian has a fix, but I'm not sure if
he's committed
> it yet.
>
> It was compiling and working for me on 32 bit. I hadn't tried
64 bit
> (which I guess you both are using). netback.c:207 is
"headlen =
> nskb->end - nskb->data" and the type of ->end is
sk_buff_data_t
> which
> differs with 32 vs 64
> bitness. Will investigate.
>
>
> Ian.
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>


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