[OpenAFS] can't install on FC 10

Ethan Tira-Thompson ejt@andrew.cmu.edu
Thu, 25 Jun 2009 14:42:59 -0400


I just clean installed Fedora 10, and applied available updates to the
system.

I then added this to /etc/yum.repos.d/openafs.repo:
[openafs]
name=OpenAFS 1.4.10 for Fedora $releasever - $basearch
baseurl=http://dl.openafs.org/dl/openafs/1.4.10/fedora-$releasever/$basearch/
enabled=1
gpgcheck=0

Then I installed:
sudo yum install openafs dkms-openafs openafs-client

When I try to launch the client:
$ sudo /sbin/service openafs-client start
Updating CellServDB:
Starting openafs-client: FATAL: Module openafs not found.
failed to load openafs kernel module.                      [FAILED]

So there appears to be no openafs kernel module:
lsmod | grep afs
<empty>

But the module won't install:
$ sudo yum install openafs-kernel
Loaded plugins: refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kmod-openafs.i686 0:1.4.10-1.1.2.6.29.5_84.fc10 set to be
installed
--> Processing Dependency: kernel-i686 = 2.6.29.5-84.fc10 for package:
kmod-openafs-1.4.10-1.1.2.6.29.5_84.fc10.i686
--> Finished Dependency Resolution
kmod-openafs-1.4.10-1.1.2.6.29.5_84.fc10.i686 from openafs has depsolving
problems
  --> Missing Dependency: kernel-i686 = 2.6.29.5-84.fc10 is needed by
package kmod-openafs-1.4.10-1.1.2.6.29.5_84.fc10.i686 (openafs)
Error: Missing Dependency: kernel-i686 = 2.6.29.5-84.fc10 is needed by
package kmod-openafs-1.4.10-1.1.2.6.29.5_84.fc10.i686 (openafs)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest


So I tried reinstalling:
$ sudo dkms remove -m openafs -v fc10.1.1 --all
$ sudo yum reinstall dkms-openafs
[sudo] password for ejt:
Loaded plugins: refresh-packagekit
Setting up Reinstall Process
Resolving Dependencies
--> Running transaction check
---> Package dkms-openafs.i386 0:1.4.10-fc10.1.1 set to be erased
---> Package dkms-openafs.i386 0:1.4.10-fc10.1.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch        Version                 Repository       
Size
================================================================================
Installing:
 dkms-openafs        i386        1.4.10-fc10.1.1         openafs         
934 k
Removing:
 dkms-openafs        i386        1.4.10-fc10.1.1         installed       
4.1 M

Transaction Summary
================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       1 Package(s)

Total download size: 934 k
Is this ok [y/N]: y
Downloading Packages:
dkms-openafs-1.4.10-fc10.1.1.i386.rpm                    | 934 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : dkms-openafs-1.4.10-fc10.1.1.i386                      
 1/2
  Installing     : dkms-openafs-1.4.10-fc10.1.1.i386                      
 1/2

Creating symlink /var/lib/dkms/openafs/fc10.1.1/source ->
                 /usr/src/openafs-fc10.1.1

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....(bad exit status: 2)
SMP=SP; eval `grep CONFIG_SMP /boot/config-2.6.27.25-170.2.72.fc10.i686`;
[ -n "$CONFIG_SMP" ] && SMP=MP; KMODNAME=openafs.ko; DSTKMOD="."; [ "`echo
"2.6.27.25-170.2.72.fc10.i686" | sed -e 's/^\([0-9]*\.[0-9]*\)\..*/\1/'`"
= "2.4" ] && KMODNAME="libafs-*" && DSTKMOD=openafs.o; ./configure
--with-linux-kernel-headers=/lib/modules/2.6.27.25-170.2.72.fc10.i686/build;
make MPS=$SMP; mv src/libafs/MODLOAD-*/$KMODNAME $DSTKMOD....(bad exit
status: 1)

Error! Bad return status for module build on kernel:
2.6.27.25-170.2.72.fc10.i686 (i686)
Consult the make.log in the build directory
/var/lib/dkms/openafs/fc10.1.1/build/ for more information.
0
0

Error! Could not locate openafs.ko for module openafs in the DKMS tree.
You must run a dkms build for kernel 2.6.27.25-170.2.72.fc10.i686 (i686)
first.
Non-fatal POSTIN scriptlet failure in rpm package
dkms-openafs-1.4.10-fc10.1.1.i386
Non-fatal POSTIN scriptlet failure in rpm package
dkms-openafs-1.4.10-fc10.1.1.i386
warning: %post(dkms-openafs-1.4.10-fc10.1.1.i386) scriptlet failed, exit
status 4

Removed:
  dkms-openafs.i386 0:1.4.10-fc10.1.1

Installed:
  dkms-openafs.i386 0:1.4.10-fc10.1.1

Complete!



So now I'm stuck... what's wrong?

Thanks,
  -Ethan