package oss4-dkms 4.2-build2003-1ubuntu1 failed to install/upgrade: oss4 kernel module failed to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oss4 (Debian) |
Fix Released
|
Unknown
|
|||
oss4 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Natty |
Fix Released
|
Medium
|
Daniel van Vugt |
Bug Description
IMPACT:
oss4-dkms 4.2-build2003-
http://
FIX:
Used the patch from upstream:
http://
which is already in oneiric (via v4.2-build2004).
The fix simply omits structure fields that no longer exist in kernel 2.6.36 and later.
TEST CASE:
1. sudo apt-get install oss4-dkms
2. Terminal output shows an error:
Error! Bad return status for module build on kernel: 2.6.38-8-generic (x86_64)
Consult the make.log in the build directory
/var/lib/
* Unloading Open Sound System kernel modules: [ OK ]
* Starting Open Sound System: [fail]
REGRESSION POTENTIAL:
Minimal. It really can't be worse than never having worked at all in natty.
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: oss4-dkms 4.2-build2003-
ProcVersionSign
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelMo
Architecture: amd64
DKMSBuildLog:
DKMS make.log for oss4-4.2-build2003 for kernel 2.6.38-7-generic (x86_64)
Wed Mar 30 22:05:56 BST 2011
Date: Wed Mar 30 22:06:02 2011
ErrorMessage: oss4 kernel module failed to build
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110312)
PackageVersion: 4.2-build2003-
SourcePackage: oss4
Title: package oss4-dkms 4.2-build2003-
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Marc Deslauriers: Pending requested
- Stefano Rivera: Pending requested
- Ubuntu branches: Pending requested
-
Diff: 60 lines (+39/-1)3 files modifieddebian/changelog (+7/-0)
debian/patches/missing_fop_ioctl_2.6.36.patch (+31/-0)
debian/patches/series (+1/-1)
Changed in oss4 (Ubuntu): | |
status: | Triaged → Confirmed |
assignee: | nobody → Torin Ireland (coldnitro) |
assignee: | Torin Ireland (coldnitro) → nobody |
description: | updated |
Changed in oss4 (Debian): | |
status: | Unknown → New |
Changed in oss4 (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | Confirmed → In Progress |
description: | updated |
Changed in oss4 (Ubuntu Natty): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in oss4 (Ubuntu): | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
importance: | High → Medium |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in oss4 (Debian): | |
status: | New → Fix Released |
Here is the error on natty:
cp /lib/modules/ 2.6.38- 8-generic/ build/include/ linux/limits. h /var/lib/ dkms/oss4/ 4.2-build2003/ build/core && make -C /lib/modules/ 2.6.38- 8-generic/ build SUBDIRS= /var/lib/ dkms/oss4/ 4.2-build2003/ build/core modules && make -C /var/lib/ dkms/oss4/ 4.2-build2003/ build/drivers osscore_symbols.inc && make -C /lib/modules/ 2.6.38- 8-generic/ build SUBDIRS= /var/lib/ dkms/oss4/ 4.2-build2003/ build/drivers modules >> /var/lib/ dkms/oss4/ 4.2-build2003/ build/make. log 2>&1 linux-headers- 2.6.38- 8-generic » dkms/oss4/ 4.2-build2003/ build/core/ oss_core. o dkms/oss4/ 4.2-build2003/ build/core/ oss_core. c: In function ‘alloc_fop’: dkms/oss4/ 4.2-build2003/ build/core/ oss_core. c:956:6: error: ‘struct file_operations’ has no member named ‘ioctl’ dkms/oss4/ 4.2-build2003/ build/core/ oss_core. c:960:14: warning: assignment from incompatible pointer type dkms/oss4/ 4.2-build2003/ build/core/ oss_core. c: In function ‘oss_pci_ read_devpath’ : dkms/oss4/ 4.2-build2003/ build/core/ oss_core. c:1634: 3: warning: return discards qualifiers from pointer target type dkms/oss4/ 4.2-build2003/ build/core/ oss_core. o] Erreur 1 /var/lib/ dkms/oss4/ 4.2-build2003/ build/core] Erreur 2 linux-headers- 2.6.38- 8-generic »
make: entrant dans le répertoire « /usr/src/
CC [M] /var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
make[1]: *** [/var/lib/
make: *** [_module_
make: quittant le répertoire « /usr/src/
(bad exit status: 2)