[OpenAFS] installing OpenAFS-client on Ubuntu

Ryan Propper rpropper@stanford.edu
Sun, 29 Jan 2006 01:35:41 -0800


--=====================_527750609==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

I forgot to mention one intermediate step I had to perform, though I 
don't know if it makes a difference.  (Apologies, but it slipped my mind!)

During "sudo module-assistant auto-build openafs-modules" the setup 
failed about halfway through.  I checked the error log and found that 
the install script was trying to use gcc-3.4.  Since my machine only 
has GCC 4.0, I created the symbolic link "/usr/bin/gcc-3.4" to point 
to "/usr/bin/gcc".  Afterward, the rest of the steps described below 
worked normally.  Could this be related?

At 05:12 PM 1/28/2006, Russ Allbery wrote:
>Ryan Propper <rpropper@stanford.edu> writes:
>
> > I was trying to install the OpenAFS client on an Ubuntu 5.10/Breezy
> > Badger laptop today, according to the directions at
> > http://www.equivalentsystems.net/marten/ubuntuafs.php.  Specifically:
>
> >     sudo apt-get install module-assistant
> >     sudo module-assistant prepare openafs-modules
> >     sudo module-assistant auto-build openafs-modules
> >     sudo dpkg -i /usr/src/openafs-modules*
> >     sudo apt-get install openafs-client openafs-krb5 krb5-user krb4-config
>
> > Unfortunately, when I finished editing my site-specific configuration
> > files and tried to start the client, I got:
>
> >     Starting AFS services:FATAL: Error inserting openafs
> > (/lib/modules/2.6.12-10-386/fs/openafs.ko): Invalid module format
>
> > Why is my module format "invalid" if I just built it from source?  Does
> > anyone know how to resolve this?  Any help is greatly appreciated.
>
>What version of the OpenAFS package is in Ubuntu 5.10?  That looks really
>familiar, like it's a bug that I fixed in a later release in Debian that
>may have been too late to make it into Ubuntu.  Looks like you need at
>least 1.4.0-1 to work with 2.6.12-10 presuming the Ubuntu 2.6.12-10
>matches the Linux version.
>
>openafs (1.4.0-1) unstable; urgency=low
>
>   * New upstream version.
>     - Builds correctly with 2.6.13 kernels and software suspend.
>     - Builds correctly with 2.6.12-10.  (Closes: #337883)
>
>although that problem was a compilation error.
>
>--
>Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

<http://www.stanford.edu/~rpropper>Ryan Propper
Stanford University
Department of Computer Science
Class of 2007  
--=====================_527750609==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<body>
I forgot to mention one intermediate step I had to perform, though I
don't know if it makes a difference.&nbsp; (Apologies, but it slipped my
mind!)<br><br>
During &quot;sudo module-assistant auto-build openafs-modules&quot; the
setup failed about halfway through.&nbsp; I checked the error log and
found that the install script was trying to use gcc-3.4.&nbsp; Since my
machine only has GCC 4.0, I created the symbolic link
&quot;/usr/bin/gcc-3.4&quot; to point to &quot;/usr/bin/gcc&quot;.&nbsp;
Afterward, the rest of the steps described below worked normally.&nbsp;
Could this be related?<br><br>
At 05:12 PM 1/28/2006, Russ Allbery wrote:<br>
<blockquote type=cite class=cite cite="">Ryan Propper
&lt;rpropper@stanford.edu&gt; writes:<br><br>
&gt; I was trying to install the OpenAFS client on an Ubuntu
5.10/Breezy<br>
&gt; Badger laptop today, according to the directions at<br>
&gt;
<a href="http://www.equivalentsystems.net/marten/ubuntuafs.php.%A0" eudora="autourl">
http://www.equivalentsystems.net/marten/ubuntuafs.php. </a>
Specifically:<br><br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; sudo apt-get install module-assistant<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; sudo module-assistant prepare
openafs-modules<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; sudo module-assistant auto-build
openafs-modules<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; sudo dpkg -i /usr/src/openafs-modules*<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; sudo apt-get install openafs-client
openafs-krb5 krb5-user krb4-config<br><br>
&gt; Unfortunately, when I finished editing my site-specific
configuration <br>
&gt; files and tried to start the client, I got:<br><br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Starting AFS services:FATAL: Error inserting
openafs <br>
&gt; (/lib/modules/2.6.12-10-386/fs/openafs.ko): Invalid module
format<br><br>
&gt; Why is my module format &quot;invalid&quot; if I just built it from
source?&nbsp; Does<br>
&gt; anyone know how to resolve this?&nbsp; Any help is greatly
appreciated.<br><br>
What version of the OpenAFS package is in Ubuntu 5.10?&nbsp; That looks
really<br>
familiar, like it's a bug that I fixed in a later release in Debian
that<br>
may have been too late to make it into Ubuntu.&nbsp; Looks like you need
at<br>
least 1.4.0-1 to work with 2.6.12-10 presuming the Ubuntu 2.6.12-10<br>
matches the Linux version.<br><br>
openafs (1.4.0-1) unstable; urgency=low<br><br>
&nbsp; * New upstream version.<br>
&nbsp;&nbsp;&nbsp; - Builds correctly with 2.6.13 kernels and software
suspend.<br>
&nbsp;&nbsp;&nbsp; - Builds correctly with 2.6.12-10.&nbsp; (Closes:
#337883)<br><br>
although that problem was a compilation error.<br><br>
-- <br>
Russ Allbery
(rra@stanford.edu)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;<a href="http://www.eyrie.org/~eagle/" eudora="autourl">
http://www.eyrie.org/~eagle/</a>&gt;</blockquote>
<x-sigsep><p></x-sigsep>
<font face="Verdana"><b><a href="http://www.stanford.edu/~rpropper">Ryan
Propper</a><br>
Stanford University<br>
Department of Computer Science<br>
Class of 2007</b></font> </body>
</html>

--=====================_527750609==.ALT--