openafs-modules-dkms 1.6.7-1: openafs kernel module failed to build
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | openafs (Ubuntu) |
Undecided
|
Achim Bohnet | ||
| | Trusty |
Medium
|
Louis Bouchard | ||
| | Utopic |
Medium
|
Louis Bouchard | ||
Bug Description
[SRU justification]
The openafs-
[Impact]
No longer possible to use openafs kernel module
[Fix]
Backport the dentry changes into the current package.
[Test Case]
Install the openafs-
With the fix :
$ sudo apt-get install openafs-
Loading new openafs-1.6.7 DKMS files...
Building only for 3.13.0-46-generic
Building initial module for 3.13.0-46-generic
Done.
openafs:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod....
DKMS: install completed.
Without the fix :
$ sudo apt-get install openafs-
Loading new openafs-1.6.7 DKMS files...
Building only for 3.13.0-46-generic
Building initial module for 3.13.0-46-generic
Error! Bad return status for module build on kernel: 3.13.0-46-generic (x86_64)
Consult /var/lib/
[Regression]
The applied changes are from upstream and present in Vivid.
Two #includes have been taken out of another commit to
[Original description of the problem]
fails on update
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: openafs-
ProcVersionSign
Uname: Linux 3.13.0-45-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
DKMSKernelVersion: 3.13.0-46-generic
Date: Wed Feb 18 12:19:38 2015
DuplicateSignature: dkms:openafs-
InstallationDate: Installed on 2014-12-15 (64 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitec
PackageVersion: 1.6.7-1
SourcePackage: openafs
Title: openafs-
UpgradeStatus: No upgrade log present (probably fresh install)
| tags: | removed: need-duplicate-check |
| Sergio Gelato (sergio-gelato) wrote : | #2 |
| Sergio Gelato (sergio-gelato) wrote : | #3 |
| Sergio Gelato (sergio-gelato) wrote : | #4 |
| Changed in openafs (Ubuntu): | |
| status: | New → Confirmed |
The attachment "Part 1 (upstream) patch for this problem" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]
| tags: | added: patch |
Thanks. Installing openafs-client with dependencies from debian sid will break because of Perl pre-dependencies. Picking openafs-
| ThomasA (thomas-arildsen) wrote : | #7 |
Is someone putting this into an update for Ubuntu 14.04? I rely heavily on AFS and would desparately like to get it working again.
| Patrik Lundin (patrik-lundin) wrote : | #8 |
This has also been fixed for Precise in https:/
| Amos (a-storkey) wrote : | #9 |
Not "also". It hasn't yet been fixed in -updates for 14.04.
| Achim Bohnet (allee) wrote : | #10 |
I've taken the patches Sergio provided in #3 and #4 and created a pkg out of it. Uploaded right now at:
https:/
Test: module build now again with 3.13.0-45-generic trusty kernel and find /afs/ourcell/
worked without error on cmdline or kern.log.
Warning: I've no idea about openafs kernel sources. I just happen to know how to build a package.
| Patrik Lundin (patrik-lundin) wrote : | #11 |
Amos: the "also" referred to the Debian sid package.
| Achim Bohnet (allee) wrote : | #12 |
For build log see ppa:allee/test/
| Changed in openafs (Ubuntu): | |
| assignee: | nobody → Achim Bohnet (allee) |
| status: | Confirmed → Fix Committed |
| Changed in openafs (Ubuntu Trusty): | |
| status: | New → Triaged |
| importance: | Undecided → Medium |
| assignee: | nobody → Louis Bouchard (louis-bouchard) |
| Louis Bouchard (louis) wrote : | #13 |
Marking the development release as Invalid since the vivid version (1.6.10-4) has the fix. Only trusty and utopic is concerned by that issue.
Taking care of Trusty for the time being
Achim fix works for me. I'm running 3.13.0-46-generic on Trusty
| Lucas Teixeira (weblucas) wrote : | #15 |
Achim fix works for me as well on Trusty
| Louis Bouchard (louis) wrote : | #16 |
Thanks for the tests. I'm just doing a last test at the second part of the provided patch and will take care of the SRU. I'll keep you posted here.
| tags: | added: cts |
| Changed in openafs (Ubuntu Trusty): | |
| status: | Triaged → In Progress |
| Louis Bouchard (louis) wrote : | #18 |
Achim, I adapted your patch into one single quilt patch with added DEP3 information. I also changed the changelog to include bug attribution to you.
| Louis Bouchard (louis) wrote : | #19 |
Sorry Achim, I was wrong, the attribution is to Sergio who authored the patch. My bad
Hello Fabian, or anyone else affected,
Accepted openafs into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in openafs (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Christoph (f-ubuntuone-6) wrote : | #21 |
1.6.7-1ubuntu1 from -proposed works for me. The module installs fine and I can mount and access the afs.
| tags: |
added: verification-done removed: verification-needed |
| Louis Bouchard (louis) wrote : | #22 |
I just tested the package in -propose and it builds correctly. It would be more useful if someone with a real openafs infrastructure could test it & change the tag to "verification-
| Louis Bouchard (louis) wrote : | #23 |
Thanks Christoph, I missed your update before posting :-)
| Torbjörn Moa (moa-physto) wrote : | #24 |
In case it helps anyone, I can confirm that 1.6.7-1ubuntu1 from -proposed installs and works correctly.
| Dennis Schridde (devurandom) wrote : | #25 |
Thanks! I just installed openafs-
| David Hoffman (hoffman) wrote : | #26 |
Just upgraded to openafs-
| Micheal Waltz (ecliptik) wrote : | #27 |
Tested version 1.6.7-1ubuntu1 of the openafs packages from -proposed and it installed the openafs-
||/ Name Version Architecture Description
+++-===
ii linux-image-3.13. 3.13.0-46.77 amd64 Linux kernel image for version 3.13.0 on
ii linux-image-extra 3.13.0-46.77 amd64 Linux kernel extra modules for version 3
ii linux-image-gener 3.13.0.46.53 amd64 Generic Linux kernel image
ii openafs-client 1.6.7-1ubuntu amd64 AFS distributed filesystem client suppor
ii openafs-doc 1.6.7-1ubuntu all AFS distributed filesystem documentation
ii openafs-krb5 1.6.7-1ubuntu amd64 AFS distributed filesystem Kerberos 5 in
ii openafs-modules-d 1.6.7-1ubuntu all AFS distributed filesystem kernel module
uname -a
Linux proposed-
modinfo openafs
filename: /lib/modules/
license: http://
srcversion: 8EDC2AADAC77ED4
depends:
vermagic: 3.13.0-46-generic SMP mod_unload modversions
| seth goldstein (seth-o) wrote : | #28 |
I would like to test this out (I really need afs badly), but I am not sure how do it. I followed the dirextins at https:/
Added to /etc/apt/
deb http://
Created the file /etc/apt/
Package: *
Pin: release a=trusty-proposed
Pin-Priority: 400
And tried to do an upgrade. Not sure what package to upgrade. For example, I tried:
sudo apt-get install openafs-
sudo apt-get install openafs-
and some others and they all report:
E: Release 'trusty-proposed' for 'openafs-
How do I proceed?
| seth goldstein (seth-o) wrote : | #29 |
I figured it out and installed the proposed package. It compiled and installed fine and afs is back up!
| nasim (farahini) wrote : | #30 |
Hi,
I have the same question as seth. Can you tell what the proposed packages are and how to install them??
| seth goldstein (seth-o) wrote : | #31 |
In order to get things to work I basically followed the directions at
https:/
initially work. I am not sure exactly which of the below got things
to work, but eventually it did. So here are the steps I went through:
Editted /etc/apt/
deb http://
Created file /etc/apt/
Package: *
Pin: release a=trusty-proposed
Pin-Priority: 400
In an xterm ran:
sudo aptitude -t trusty-proposed
And, there was nothing there. Then, I launched "Software & Updates"
and it showed that the pre-released updates box was checked and
exitted.
Then, I restarted apititude, did an update and voila there were 90
packages. I browsed through them and found
openafs-
packages'. I picked this with a '+' and then installed with a 'g'.
Everything worked fine.
Applied the release from trusty-proposed as well. Appears to work fine.
| Torbjörn Moa (moa-physto) wrote : | #33 |
Would it be possible to get the 1.6.7-1ubuntu1 packages into trusty-update anytime soon?
| ThomasA (thomas-arildsen) wrote : | #34 |
It seems I can install the new version from the proposed channel, but I can no longer authenticate now:
$ klog
klog: unknown RPC error (-1765328164) Unable to authenticate in realm
| Juraj (juraj-knoska) wrote : | #35 |
proposed 1.6.7-1ubuntu1 package worked for me perfectly, thanks!
| Achim Bohnet (allee) wrote : | #36 |
proposed 1.6.7-1ubuntu1 works here too!
In case someone installed my test package from comment #10
https:/
the package revision used there 1.6.7-1+
is and will be bigger than the 'offical' revision(s) used 1.6.7-1ubuntu*
So if you installed for testing the package from my ppa, please
downgrade to the official package with
sudo apt-get install $(dpkg -l \*openafs\* | awk '/^i/{print $2 "=1.6.7-
Sorry, for the additional trouble,
Achim
| ThomasA (thomas-arildsen) wrote : | #37 |
Strangely, it worked for me when I installed Achim's package above. My problems in https:/
| ThomasA (thomas-arildsen) wrote : | #38 |
I have just now confirmed that the package from trusty-proposed works for me on another computer than the one in question above. I am going to retry installing it from scratch on the above computer to see if I can fix it.
| Achim Bohnet (allee) wrote : | #39 |
@ThomasA: try klog.afs instead of klog. The error message lock like you use klog.krb5 now.
ls -l /usr/bin/klog* /etc/alternativ
If klog.afs works for you use:
sudo update-alternatives --config klog
to fix it.
The verification of the Stable Release Update for openafs has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Launchpad Janitor (janitor) wrote : | #41 |
This bug was fixed in the package openafs - 1.6.7-1ubuntu1
---------------
openafs (1.6.7-1ubuntu1) trusty; urgency=medium
[Sergio Gelato <email address hidden>]
* debian/
- Fix DKMS build failure following a rearrangement
of the dentry struct in kernel from 3.18 onward.
(LP: #1423151)
-- Louis Bouchard <email address hidden> Wed, 04 Mar 2015 10:34:14 +0100
| Changed in openafs (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Jeffrey Stern (jas-61803) wrote : | #42 |
Okay, (and sorry if this is a newbie question) .. this so far is just for Trusty, right? Will there be a separate bug posted for Utopic? thx..
| Anders Kaseorg (andersk) wrote : | #43 |
The bug for utopic is https:/
| Changed in openafs (Ubuntu Utopic): | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| assignee: | nobody → Louis Bouchard (louis-bouchard) |
| Changed in openafs (Ubuntu Utopic): | |
| status: | Confirmed → In Progress |
| Louis Bouchard (louis) wrote : | #44 |
debdiff for Utopic
| kostas (gladia26) wrote : | #45 |
package openafs-client 1.6.7-1ubuntu1 failed to install/upgrade: η υποδιεργασία installed post-installation script return eror 2
| Achim Bohnet (allee) wrote : | #46 |
@kostas: you use kernel 3.13? Or the -lts-utopic one 3.16? With lts-utopic kernel there still a problem. See https:/
| ThomasA (thomas-arildsen) wrote : | #47 |
@Achim: I have now removed the openafs packages from my system and re-installed "openafs-client" (and dependencies) from the updates channel. `klog` works again now. Hard to say exactly what went wrong in the process but at least it is back in working condition now.
Hello Fabian, or anyone else affected,
Accepted openafs into utopic-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in openafs (Ubuntu Utopic): | |
| status: | In Progress → Fix Committed |
| tags: | removed: verification-done |
| tags: | added: verification-needed |
| Micheal Waltz (ecliptik) wrote : | #49 |
Could this fix also added to precise-backports for 12.04 HWE Trusty installs?
I've filed https:/
| Micheal Waltz (ecliptik) wrote : | #50 |
My apologies, wrong copy/paste link in my comment above, the LP bug for precise-backports is:
https:/
| Achim Bohnet (allee) wrote : | #51 |
utopic: +1 Installed 1.6.9-2ubuntu1 from utopic-proposed on a utopic laptop and desktop. Kernel module builds and opeanfs-client works again (listings files and copy to from afs).
| Jeffrey Stern (jas-61803) wrote : | #52 |
success here as well: per Brian's request, I installed and minimally tested the relevant packages i needed(*) from the utopic-proposed repo. Kernel module builds, and directory listings, file create/
[utopic/Ubuntu 14.10 desktop. latest released/stable kernel (3.16.0-33-generic #44-Ubuntu SMP Thu Mar 12 12:19:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux)]
(*) openafs-client
openafs-doc (i know, optional)
openafs-krb5
openafs-
openafs-
let me know if you need anything else tested.
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #53 |
This bug was fixed in the package openafs - 1.6.9-2ubuntu1
---------------
openafs (1.6.9-2ubuntu1) utopic; urgency=medium
[Sergio Gelato <email address hidden>]
* debian/
- Fix DKMS build failure following a rearrangement
of the dentry struct in kernel from 3.18 onward.
That kernel modification has been backported to 3.16.
(LP: #1423151)
-- Louis Bouchard <email address hidden> Fri, 13 Mar 2015 10:47:56 +0100
| Changed in openafs (Ubuntu Utopic): | |
| status: | Fix Committed → Fix Released |
| seth goldstein (seth-u) wrote : | #54 |
I would like to try this out. How can I install from utopic proposed? I tried:
sudo apt-get install openafs-
sudo apt-get install openafs-
In both cases I get an error, e.g.,: E: Release 'utopic-proposed' for 'openafs-
| Achim Bohnet (allee) wrote : | #55 |
@Seth: check comment #20, #31 or #48 on how to enable proposed.
| Dennis Schridde (devurandom) wrote : | #56 |
The issue is back on 14.04 Trusty with LTS HWE from Utopic:
/var/lib/
.splice_write = generic_
| Dennis Schridde (devurandom) wrote : | #57 |
comment #56 is bug #1433411


This is due to the backport of a kernel change:
move d_rcu from overlapping d_child to overlapping d_alias
to 3.2.0-76.111 and 3.13.0-46.*.
The OpenAFS package in Debian sid (1.6.10-4) has the necessary fixes. If you want to cherry-pick them, try the patches I'll attach shortly.