From mboxrd@z Thu Jan 1 00:00:00 1970 From: InterNetX - Juergen Gotteswinter Subject: Re: RHEL6 xen and dom0 kernel to test Date: Sun, 31 Jul 2011 22:31:30 +0200 (CEST) Message-ID: <577748610.8096.1312144290850.JavaMail.open-xchange@ox-groupware-node01.internetx.de> References: <4E32BD40.1030806@internetx.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1249116456==" Return-path: In-Reply-To: <4E32BD40.1030806@internetx.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" Cc: "xen-users@lists.xensource.com List" List-Id: xen-devel@lists.xenproject.org --===============1249116456== Content-Type: multipart/alternative; boundary="----=_Part_8095_371470977.1312144290836" ------=_Part_8095_371470977.1312144290836 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Juergen Gotteswinter hat am 29. Juli 2011 um 16:01 geschrieben: > Am 20.05.11 23:27, schrieb M A Young: > > I have been working on xen and dom0 kernel packages for RHEL6 and they > > are now at the stage where they are suitable for wider testing. > > > > There are xen 4.1 RPMs at http://xenbits.xen.org/people/mayoung/EL6.xen= / > > which are simply the Fedora 15 package recompiled for RHEL6. > > > > The dom0 kernel packages are at > > http://xenbits.xen.org/people/mayoung/testing/ and are basically the > > 2.6.32-71.29.1.el6 kernel with the addition of xen specific patches fro= m > > Jeremy's xen/stable-2.6.32.x branch at the 2.6.32.39 merge, and a few > > code and configuration changes to get it to build. It isn't ABI > > compatible with true RHEL6 kernels because of the changes. It should se= t > > up grub correctly for a dom0 boot if the hypervisor is present (though = I > > suggest you check the grub.conf file until it is better tested). > > > > Let me know if you see any problems. > > > > Michael Young > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > Works fine for me so far, no issues at all. Using it on SL6 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users Hi, =C2=A0 works fine so far, but when i try to compile drbd against this xen / kernel pacakges this errors show up: =C2=A0 /usr/src/kernels/2.6.32-71.29.1.el6.xendom0.x86_64/arch/x86/include/asm/io.= h:10:21: =C2=A0error: error: xen/xen.h: No such file or directoryxen/xen.h: No such = file or directory=C2=A0 =C2=A0 In file included from include/linux/scatterlist.h:8,=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from include/linux/dma-mapping.h:7,=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0from include/linux/dmaengine.h:26,=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0from include/linux/skbuff.h:30,=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from include/linux/if_ether= .h:124,=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from include/linux/netdevice.h:29,=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0from include/net/sock.h:50,=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from include/linux/connector.h:80,=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /root/rpmbuild/BUILD/drbd-8.3.10/drbd/linux/drbd.h:28,=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /root/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_worker.c:28:/usr/src/kernels/2.6= .32-71.29.1.el6.xendom0.x86_64/arch/x86/include/asm/io.h:10:21: error: xen/xen.h: No such file or directorymake[3]: *** [/root/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_buildtag.o] Error 1make[3]: *** Waiting for unfinished jobs....make[3]: *** [/root/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_proc.o] Error 1make[3]: *** [/root/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_bitmap.o] Error 1make[3]: *** [/root/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_worker.o] Error 1make[2]: *** [_module_/root/rpmbuild/BUILD/drbd-8.3.10/drbd] Error 2make[2]: Leaving directory `/usr/src/kernels/2.6.32-71.29.1.el6.xendom0.x86_64'make[1]: *** [kbuild] Error 2make[1]: Leaving directory `/root/rpmbuild/BUILD/drbd-8.3.10/drbd'make: *** [module] Error 2error: Bad= exit status from /var/tmp/rpm-tmp.XO5eV5 (%build)=C2=A0 =C2=A0 =C2=A0 and so on...=C2=A0 =C2=A0 development rpms are all installed. any ideas how to fix this? =C2=A0 cheers,=C2=A0 =C2=A0 juergen =C2=A0 =C2=A0 ------=_Part_8095_371470977.1312144290836 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Juergen Gotteswinter <jg@internetx.de> = hat am 29. Juli 2011 um 16:01 geschrieben:


> Am 20.05.11 23:27, schrieb M A Young:
> > I have been working on xen and dom0 kernel packages for RHE= L6 and they
> > are now at the stage where they are suitable for wider test= ing.
> >
> > There are xen 4.1 RPMs at http://xenbits.xen.org/people/may= oung/EL6.xen/
> > which are simply the Fedora 15 package recompiled for RHEL6= .
> >
> > The dom0 kernel packages are at
> > http://xenbits.xen.org/people/mayoung/testing/ and are basi= cally the
> > 2.6.32-71.29.1.el6 kernel with the addition of xen specific= patches from
> > Jeremy's xen/stable-2.6.32.x branch at the 2.6.32.39 me= rge, and a few
> > code and configuration changes to get it to build. It isn&#= 39;t ABI
> > compatible with true RHEL6 kernels because of the changes. = It should set
> > up grub correctly for a dom0 boot if the hypervisor is pres= ent (though I
> > suggest you check the grub.conf file until it is better tes= ted).
> >
> > Let me know if you see any problems.
> >
> > Michael Young
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users
>
> Works fine for me so far, no issues at all. Using it on SL6
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users

Hi,

 

works fine so far, but when i try to compile = drbd against this xen / kernel pacakges this errors show up:

 

/usr/src/kernels/2.6.32-71.29.1.el6.xendom0.x= 86_64/arch/x86/include/asm/io.h:10:21:  error: error: xen/xen.h: No su= ch file or directoryxen/xen.h: No such file or directory 

 

In file included from include/linux/scatterli= st.h:8,                 from i= nclude/linux/dma-mapping.h:7,            = 0;    from include/linux/dmaengine.h:26,      = 0;          from include/linux/skbuff.h:30,  =                from include/linux/i= f_ether.h:124,                 = ;from include/linux/netdevice.h:29,           = ;      from include/net/sock.h:50,       = ;          from include/linux/connector.h:80, = ;                from /root/rpmbuil= d/BUILD/drbd-8.3.10/drbd/linux/drbd.h:28,         =        from /root/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd= _worker.c:28:/usr/src/kernels/2.6.32-71.29.1.el6.xendom0.x86_64/arch/x86/in= clude/asm/io.h:10:21: error: xen/xen.h: No such file or directorymake[3]: *= ** [/root/rpmbuild/BUILD/drbd-8.3.10/drbd/drbd_buildtag.o] Error 1make[3]: = *** Waiting for unfinished jobs....make[3]: *** [/root/rpmbuild/BUILD/drbd-= 8.3.10/drbd/drbd_proc.o] Error 1make[3]: *** [/root/rpmbuild/BUILD/drbd-8.3= .10/drbd/drbd_bitmap.o] Error 1make[3]: *** [/root/rpmbuild/BUILD/drbd-8.3.= 10/drbd/drbd_worker.o] Error 1make[2]: *** [_module_/root/rpmbuild/BUILD/dr= bd-8.3.10/drbd] Error 2make[2]: Leaving directory `/usr/src/kernels/2.6.32-= 71.29.1.el6.xendom0.x86_64'make[1]: *** [kbuild] Error 2make[1]: Leavin= g directory `/root/rpmbuild/BUILD/drbd-8.3.10/drbd'make: *** [module] E= rror 2error: Bad exit status from /var/tmp/rpm-tmp.XO5eV5 (%build) 

 

 

and so on... 

 

development rpms are all installed. any ideas= how to fix this?

 

cheers, 

 

juergen

 

 

------=_Part_8095_371470977.1312144290836-- --===============1249116456== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1249116456==--