OpenAFS kernel modules don't build with Feisty kernel 2.6.20

Bug #76967 reported by Anders Kaseorg
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openafs (Debian)
Fix Released
Unknown
openafs (Ubuntu)
Fix Released
Low
Michael Bienia

Bug Description

openafs 1.4.2-4 fails to build on Feisty (kernel 2.6.20-2-generic):

openafs/src/libafs/MODLOAD-2.6.20-2-generic-MP/rx_kmutex.c: In function ‘afs_cv_wait’:
openafs/src/libafs/MODLOAD-2.6.20-2-generic-MP/rx_kmutex.c:122: error: ‘struct task_struct’ has no member named ‘todo’
openafs/src/libafs/MODLOAD-2.6.20-2-generic-MP/rx_kmutex.c:128: warning: implicit declaration of function ‘refrigerator’

(This is different from bug 52298, which is presumably fixed in Feisty's openafs 1.4.2-4.)

Related branches

Revision history for this message
Anders Kaseorg (andersk) wrote :

There is a patch available at <http://rt.central.org/rt/index.html?q=49890>.

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Björn Torkelsson (torkel) wrote :

Well, it was not enough to add that upstream delta. I had to add the following deltas:

STABLE14-linux-config-h-died-20061109
STABLE14-linux-2620-rc1-update-20061228
STABLE14-freezer-h-existance-20070104

as well as patch src/afs/sysincludes.h to check for the existance of linux/config.h (I couldn't find any upstream delta for that).

With the attached debdiff the kernel module builds fine.

Changed in openafs:
status: Unconfirmed → Confirmed
Revision history for this message
Björn Torkelsson (torkel) wrote :

I have been running the openafs client with the patch applied for two weeks without any regression. I Guess it is safe to do an upload of the package. Any MOTU that can do it for me?

Changed in openafs:
status: Unknown → Unconfirmed
Revision history for this message
John Dong (jdong) wrote :

Also tried patch here to connect to MIT's OpenAFS cluster -- works fine.

Revision history for this message
Michael Bienia (geser) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.7
Date: Fri, 5 Jan 2007 20:05:06 +0100
Source: openafs
Binary: openafs-krb5 openafs-client libopenafs-dev openafs-modules-source openafs-kpasswd
+libpam-openafs-kaserver openafs-dbserver openafs-dbg openafs-fileserver openafs-doc
Architecture: source
Version: 1.4.2-4ubuntu1
Distribution: feisty
Urgency: low
Maintainer: Sam Hartman <email address hidden>
Changed-By: Bjoern Torkelsson <email address hidden>
Description:
 libopenafs-dev - AFS distributed filesystem development libraries
 libpam-openafs-kaserver - AFS distributed filesystem kaserver PAM module
 openafs-client - AFS distributed filesystem client support
 openafs-dbg - AFS distributed filesystem debugging information
 openafs-dbserver - AFS distributed filesystem database server
 openafs-doc - AFS distributed filesystem documentation
 openafs-fileserver - AFS distributed filesystem file server
 openafs-kpasswd - AFS distributed filesystem old password changing
 openafs-krb5 - AFS distributed filesystem Kerberos 5 integration
 openafs-modules-source - AFS distributed filesystem kernel module source
Launchpad-Bugs-Fixed: 76967
Changes:
 openafs (1.4.2-4ubuntu1) feisty; urgency=low
 .
   * Applied upstream delta STABLE14-linux-config-h-died-20061109 to make it
     compile on kernels without linux/config.h.
   * patch src/afs/sysincludes.h to check for existance of linux/config.h
   * Applied upstream delta STABLE14-linux-2620-rc1-update-20061228 to make it
     build with 2.6.20.
   * Applied upstream delta STABLE14-freezer-h-existance-20070104 to only
     include freezer.h if it exists.
   * Closes LP: #76967
Files:
 f258bd6dbeb9d965eb08e2981e522ab0 996 net optional openafs_1.4.2-4ubuntu1.dsc
 a46d6d46dbddab542feb42369808b251 109934 net optional openafs_1.4.2-4ubuntu1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)

iQCVAwUBRdBhEqPP1313boLqAQOCHwQAlzQpbV1kk5pmsrI3C5P6ehvwgFJiVrkY
WbVqaOHLS/sObW/R9uLvheOE1S18Ju2hBLHWGTp/BgbfxSsjSJKE21EzufO8wKLW
YMvjx9DYyTpDNsbPpUkfQiEQSTcBOX8AdmR+lhRmh0etuLAMzfXGrTkNcqNfNP6o
CjNKgFnDbxU=
=+Ako
-----END PGP SIGNATURE-----

Changed in openafs:
assignee: nobody → geser
importance: Undecided → Low
status: Confirmed → Fix Committed
Michael Bienia (geser)
Changed in openafs:
status: Fix Committed → Fix Released
Changed in openafs:
status: Unconfirmed → Confirmed
Changed in openafs:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.