From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: status of PV drivers in Xen 4.0 Date: Mon, 12 Apr 2010 14:21:12 +0300 Message-ID: <20100412112112.GN1878@reaktio.net> References: <4BB11551.5010707@inria.fr> <20100330060411.GT1878@reaktio.net> <4BBA14E6.70208@inria.fr> <20100410125850.GH1878@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Lyon Cc: Guillaume Rousse , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sat, Apr 10, 2010 at 02:17:57PM +0100, Andrew Lyon wrote: > On Sat, Apr 10, 2010 at 1:58 PM, Pasi K=E4rkk=E4inen wro= te: > > On Sat, Apr 10, 2010 at 01:31:08PM +0100, Andrew Lyon wrote: > >> On Mon, Apr 5, 2010 at 5:50 PM, Guillaume Rousse > >> wrote: > >> > Le 30/03/2010 08:04, Pasi K=E4rkk=E4inen a =E9crit : > >> >> On Mon, Mar 29, 2010 at 11:02:09PM +0200, Guillaume Rousse wrote: > >> >>> Hello. > >> >>> > >> >>> The directory 'unmodified_drivers', in Xen-4.0rc8, seems to stil= l > >> >>> requires a 2.6.18 XenLinux kernel to build. For instance, overri= des.mk > >> >>> still refers to $(objtree)/include/linux/autoconf.h, instead of > >> >>> $(objtree)/include/generated/autoconf.h in recent kernels. > >> >>> > >> >> > >> >> I believe it should compile with 2.6.27 aswell.. or if it doesn't= , > >> >> please let us know. > >> >> > >> >> See here for PV-on-HVM drivers building instructions for SLES11 2= .6.27: > >> >> http://wp.colliertech.org/cj/?p=3D653 > >> >> > >> >> If the unmodified_drivers from Xen 4.0 doesn't build for 2.6.27, > >> >> then we should definitely add the (possible) patches from Novell. > >> > Whatever XenLinux tree I tried (xensource 2.6.18, or novell 2.6.32= ), it > >> > fails to build for 2.6.33. It's probably a trivial error, such as = a > >> > missing header file, but I'm really not enough kernel-aware to fin= d > >> > which one: > >> > > >> > >> Have you been successful building the drivers for .31 or .32? > >> > >> I'd like to make a set of patches available to apply to Xen 3.4.2 or > >> 4.0 to enable building the drivers with recent kernels and the forwa= rd > >> ported kernels I usually use, but while I've been able to rebuild th= em > >> on a opensuse 11.2 system running 2.6.31.12 I am finding it hard to > >> work out which patches need to be applied and what else the rpm buil= d > >> process does to enable compilation. > >> > >> Any pointers would be much appreciated. > >> > > > > Did you take a look at novell's sles11 sp1 kernel? it's 2.6.32 and > > should have pv-on-hvm drivers included? > > > > -- Pasi > > > >> Andy >=20 > Yes, thats where I take the 2.6.32 kernel patches from, .31 from > openSUSE-11.2 and .32 from SLE11-SP1, but they both fail to compile in > similar ways, I followed a similar process to > http://wp.colliertech.org/cj/?p=3D653 : >=20 > pwd > /home/admin/hg/xen-3.4-testing.hg > cd unmodified_drivers/linux-2.6/ > ubermicro linux-2.6 # XEN=3D/home/admin/hg/xen-3.4-testing.hg/ > XL=3D/usr/src/linux-2.6.32-xen/ ./mkbuildtree x86_64 > Xen tree: /home/admin/hg/xen-3.4-testing.hg > Linux tree: /usr/src/linux-2.6.32-xen > /usr/src/linux-2.6.32-xen/include/xen/interface: > interface: File exists >=20 > To start with I tried to build the modules for the same kernel: >=20 Hmm.. see these emails: http://lists.xensource.com/archives/html/xen-devel/2010-03/msg01597.html and http://lists.xensource.com/archives/html/xen-devel/2010-03/msg01570.html So, somehow they should build :)=20 Maybe we should take a look at the sles/opensuse rpms?=20 -- Pasi