[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. (Apologies, but it slipped my
mind!)<br><br>
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?<br><br>
At 05:12 PM 1/28/2006, Russ Allbery wrote:<br>
<blockquote type=cite class=cite cite="">Ryan Propper
<rpropper@stanford.edu> writes:<br><br>
> I was trying to install the OpenAFS client on an Ubuntu
5.10/Breezy<br>
> Badger laptop today, according to the directions at<br>
>
<a href="http://www.equivalentsystems.net/marten/ubuntuafs.php.%A0" eudora="autourl">
http://www.equivalentsystems.net/marten/ubuntuafs.php. </a>
Specifically:<br><br>
> sudo apt-get install module-assistant<br>
> sudo module-assistant prepare
openafs-modules<br>
> sudo module-assistant auto-build
openafs-modules<br>
> sudo dpkg -i /usr/src/openafs-modules*<br>
> sudo apt-get install openafs-client
openafs-krb5 krb5-user krb4-config<br><br>
> Unfortunately, when I finished editing my site-specific
configuration <br>
> files and tried to start the client, I got:<br><br>
> Starting AFS services:FATAL: Error inserting
openafs <br>
> (/lib/modules/2.6.12-10-386/fs/openafs.ko): Invalid module
format<br><br>
> Why is my module format "invalid" if I just built it from
source? Does<br>
> anyone know how to resolve this? Any help is greatly
appreciated.<br><br>
What version of the OpenAFS package is in Ubuntu 5.10? 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. 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>
* New upstream version.<br>
- Builds correctly with 2.6.13 kernels and software
suspend.<br>
- Builds correctly with 2.6.12-10. (Closes:
#337883)<br><br>
although that problem was a compilation error.<br><br>
-- <br>
Russ Allbery
(rra@stanford.edu)
<<a href="http://www.eyrie.org/~eagle/" eudora="autourl">
http://www.eyrie.org/~eagle/</a>></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--