[OpenAFS] cofiguring OpenAFS on Xen

Pucky Loucks ploucks@pixpo.com
Tue, 31 Oct 2006 13:12:34 -0800


This is a multi-part message in MIME format.

------_=_NextPart_001_01C6FD31.65D73E10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


got it working, followed what was done in the following thread.
http://www.openafs.org/pipermail/openafs-devel/2006-April/013777.html


-----Original Message-----
From: Pucky Loucks
Sent: Tue 10/31/2006 12:08 PM
To: Pucky Loucks; openafs-info@openafs.org
Subject: RE:  Re: [OpenAFS] cofiguring OpenAFS on Xen
=20
I just got the latest openafs-kernel-1.4.2-2.6.16_xenU_1.i686.rpm =
installed and dmesg is now giving me a different error.

Remember I'm in a CentOS instance on XEN.

openafs: version magic '2.6.16-xenU SMP 686 gcc-4.1' should be =
'2.6.16-xenU SMP 686 gcc-4.0'
openafs: module license 'http://www.openafs.org/dl/license10.html' =
taints kernel.
openafs: Unknown symbol force_evtchn_callback
openafs: Unknown symbol xen_features
openafs: Unknown symbol force_evtchn_callback
openafs: Unknown symbol xen_features

Anyone have any ideas?

Thanks pucky.




-----Original Message-----
From: openafs-info-admin@openafs.org on behalf of Pucky Loucks
Sent: Tue 10/31/2006 12:06 PM
To: openafs-info@openafs.org
Subject:  Re: [OpenAFS] cofiguring OpenAFS on Xen
=20

HI Derek,

> Where did you get this RPM?

I built it i.e. rpmbuild --rebuild --target=3Di686 openafs-1.4.2-src.rpm


>How did it get there?  Did you put it there yourself or did it get
>there by an RPM?  What do you get from:

>rpm -qf /boot/config-2.6.16-xenU

I got it from the kernel i.e.
make all
make modules_install
make install

put that file there.

I ended up just doing a rpm --Uhv --nodeps =
openafs-kernel-1.4.2-2.6.16_xenU_1.i686.rpm

and it installed.  Now my issue is that I've got the wrong compiler.  =
the module won't load.

This is what I get when I do "dmesg"
openafs: version magic '2.6.16-xenU SMP 686 gcc-3.4' should be =
'2.6.16-xenU SMP 686 gcc-4.0'

So I'm now compiling it with gcc4
[root@AMZServer01 ~]# gcc -dumpversion
4.0.0

I'm on Centos4, and I'm not sure how to make it so that gcc4 is used so =
I made a symbolic link
ln -s /usr/bin/gcc4 /usr/bin/gcc

will that work?

I just tried to recompile the kernel modules with gcc4 and got an error =
not sure what to do.

Pucky
-----Original Message-----
From: Derek Atkins [mailto:warlord@MIT.EDU]
Sent: Tue 10/31/2006 5:58 AM
To: Pucky Loucks
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] cofiguring OpenAFS on Xen

Hi,

"Pucky Loucks" <ploucks@pixpo.com> writes:

> I'm in the public beta testing of the EC2 Service from Amazon and I've =
tried
> to get openafs installed on an instance, but I'm having issues.
>
> Here is my post on the EC2 Forum. =
http://developer.amazonwebservices.com/
> connect/thread.jspa?threadID=3D11858&tstart=3D0
>
> I've got the it's compiled and ready to install, but the following =
error is my
> issue now.
>
> [root@AMZServer01 i386]# rpm -Uhv ../i686/
> openafs-kernel-1.4.2-2.6.16_xenU_1.i686.rpm

Where did you get this RPM?



> error: Failed dependencies:
> /boot/config-2.6.16-xenU is needed by =
openafs-kernel-1.4.2-2.6.16_xenU_1.i686
>
> Is there something in /boot/config-2.6.16-xenU that is misssing? The =
file is
> there...

How did it get there?  Did you put it there yourself or did it get
there by an RPM?  What do you get from:

  rpm -qf /boot/config-2.6.16-xenU

> Hope someone can help.
>
> Cheers,
> Pucky

-derek





------_=_NextPart_001_01C6FD31.65D73E10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7638.1">
<TITLE>RE: Re: [OpenAFS] cofiguring OpenAFS on Xen</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=3D2>got it working, followed what was done in the =
following thread.<BR>
<A =
HREF=3D"http://www.openafs.org/pipermail/openafs-devel/2006-April/013777.=
html">http://www.openafs.org/pipermail/openafs-devel/2006-April/013777.ht=
ml</A><BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Pucky Loucks<BR>
Sent: Tue 10/31/2006 12:08 PM<BR>
To: Pucky Loucks; openafs-info@openafs.org<BR>
Subject: RE:&nbsp; Re: [OpenAFS] cofiguring OpenAFS on Xen<BR>
<BR>
I just got the latest openafs-kernel-1.4.2-2.6.16_xenU_1.i686.rpm =
installed and dmesg is now giving me a different error.<BR>
<BR>
Remember I'm in a CentOS instance on XEN.<BR>
<BR>
openafs: version magic '2.6.16-xenU SMP 686 gcc-4.1' should be =
'2.6.16-xenU SMP 686 gcc-4.0'<BR>
openafs: module license '<A =
HREF=3D"http://www.openafs.org/dl/license10.html'">http://www.openafs.org=
/dl/license10.html'</A> taints kernel.<BR>
openafs: Unknown symbol force_evtchn_callback<BR>
openafs: Unknown symbol xen_features<BR>
openafs: Unknown symbol force_evtchn_callback<BR>
openafs: Unknown symbol xen_features<BR>
<BR>
Anyone have any ideas?<BR>
<BR>
Thanks pucky.<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: openafs-info-admin@openafs.org on behalf of Pucky Loucks<BR>
Sent: Tue 10/31/2006 12:06 PM<BR>
To: openafs-info@openafs.org<BR>
Subject:&nbsp; Re: [OpenAFS] cofiguring OpenAFS on Xen<BR>
<BR>
<BR>
HI Derek,<BR>
<BR>
&gt; Where did you get this RPM?<BR>
<BR>
I built it i.e. rpmbuild --rebuild --target=3Di686 =
openafs-1.4.2-src.rpm<BR>
<BR>
<BR>
&gt;How did it get there?&nbsp; Did you put it there yourself or did it =
get<BR>
&gt;there by an RPM?&nbsp; What do you get from:<BR>
<BR>
&gt;rpm -qf /boot/config-2.6.16-xenU<BR>
<BR>
I got it from the kernel i.e.<BR>
make all<BR>
make modules_install<BR>
make install<BR>
<BR>
put that file there.<BR>
<BR>
I ended up just doing a rpm --Uhv --nodeps =
openafs-kernel-1.4.2-2.6.16_xenU_1.i686.rpm<BR>
<BR>
and it installed.&nbsp; Now my issue is that I've got the wrong =
compiler.&nbsp; the module won't load.<BR>
<BR>
This is what I get when I do &quot;dmesg&quot;<BR>
openafs: version magic '2.6.16-xenU SMP 686 gcc-3.4' should be =
'2.6.16-xenU SMP 686 gcc-4.0'<BR>
<BR>
So I'm now compiling it with gcc4<BR>
[root@AMZServer01 ~]# gcc -dumpversion<BR>
4.0.0<BR>
<BR>
I'm on Centos4, and I'm not sure how to make it so that gcc4 is used so =
I made a symbolic link<BR>
ln -s /usr/bin/gcc4 /usr/bin/gcc<BR>
<BR>
will that work?<BR>
<BR>
I just tried to recompile the kernel modules with gcc4 and got an error =
not sure what to do.<BR>
<BR>
Pucky<BR>
-----Original Message-----<BR>
From: Derek Atkins [<A =
HREF=3D"mailto:warlord@MIT.EDU">mailto:warlord@MIT.EDU</A>]<BR>
Sent: Tue 10/31/2006 5:58 AM<BR>
To: Pucky Loucks<BR>
Cc: openafs-info@openafs.org<BR>
Subject: Re: [OpenAFS] cofiguring OpenAFS on Xen<BR>
<BR>
Hi,<BR>
<BR>
&quot;Pucky Loucks&quot; &lt;ploucks@pixpo.com&gt; writes:<BR>
<BR>
&gt; I'm in the public beta testing of the EC2 Service from Amazon and =
I've tried<BR>
&gt; to get openafs installed on an instance, but I'm having issues.<BR>
&gt;<BR>
&gt; Here is my post on the EC2 Forum. <A =
HREF=3D"http://developer.amazonwebservices.com/">http://developer.amazonw=
ebservices.com/</A><BR>
&gt; connect/thread.jspa?threadID=3D11858&amp;tstart=3D0<BR>
&gt;<BR>
&gt; I've got the it's compiled and ready to install, but the following =
error is my<BR>
&gt; issue now.<BR>
&gt;<BR>
&gt; [root@AMZServer01 i386]# rpm -Uhv ../i686/<BR>
&gt; openafs-kernel-1.4.2-2.6.16_xenU_1.i686.rpm<BR>
<BR>
Where did you get this RPM?<BR>
<BR>
<BR>
<BR>
&gt; error: Failed dependencies:<BR>
&gt; /boot/config-2.6.16-xenU is needed by =
openafs-kernel-1.4.2-2.6.16_xenU_1.i686<BR>
&gt;<BR>
&gt; Is there something in /boot/config-2.6.16-xenU that is misssing? =
The file is<BR>
&gt; there...<BR>
<BR>
How did it get there?&nbsp; Did you put it there yourself or did it =
get<BR>
there by an RPM?&nbsp; What do you get from:<BR>
<BR>
&nbsp; rpm -qf /boot/config-2.6.16-xenU<BR>
<BR>
&gt; Hope someone can help.<BR>
&gt;<BR>
&gt; Cheers,<BR>
&gt; Pucky<BR>
<BR>
-derek<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C6FD31.65D73E10--