Comment 9 for bug 601342

Revision history for this message
James Kevin Jones (james-jones) wrote : Re: [Bug 601342] Re: kernel update breaks oss4

I got the same thing...I installed 10.10 and ditched 10.04

Kevin
http://free4leafclover.com/

________________________________
From: M Richard Weiss <email address hidden>
To: <email address hidden>
Sent: Tue, November 16, 2010 10:30:38 AM
Subject: [Bug 601342] Re: kernel update breaks oss4

I am getting this error whenever I install or update packages.
I am a relatively new user of UBUNTU and wondered if I could get some
instructions of how to download and apply this patch.

Thanks,

Richard

--
kernel update breaks oss4
https://bugs.launchpad.net/bugs/601342
You received this bug notification because you are a direct subscriber
of a duplicate bug (618053).

Status in “oss4” package in Ubuntu: Confirmed

Bug description:
# BUG IMPACT:
Module fails FTBFS in lucid rendering oss4 unusable, fix at least allows the
modules to build

# DEVELOPMENT BRANCH FIX:
oss4-4.2-build2003 dkms.conf in maverick uses
/lib/modules/${kernelver}/build/include/linux/limits.h, this is the fix
backported, currently lucid version uses
/lib/modules/${kernelver}/source/include/linux/limits.h

# MINIMAL PATCH
oss4_4.2-build2002-2ubuntu0.1.debdiff attached to end of bug report

# TEST CASE
$ sudo apt-get install oss4-dkms
Building module:
cleaning build area....
cp /lib/modules/2.6.35-22-generic/source/include/linux/limits.h
/var/lib/dkms/oss4/4.2-build2002/build/core && make -C
/lib/modules/2.6.35-22-generic/build
SUBDIRS=/var/lib/dkms/oss4/4.2-build2002/build/core modules && make -C
/var/lib/dkms/oss4/4.2-build2002/build/drivers osscore_symbols.inc && make -C
/lib/modules/2.6.35-22-generic/build
SUBDIRS=/var/lib/dkms/oss4/4.2-build2002/build/drivers modules....(bad exit
status: 1)

Error! Bad return status for module build on kernel: 2.6.35-22-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/oss4/4.2-build2002/build/ for more information.
0
0
dpkg: error processing oss4-dkms (--install):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 oss4-dkms

nb: 2.6.35 kernel in example but verified broken on 2.6.32 lucid kernels too

# REGRESSION POTENTIAL:
The package is unusable as the module fails to build. Problems that could be
caused by actually using the oss4 modules
are unknown but certainly possible

********** ORIGINAL MESSAGE **********
After running an update to a new kernel I got an error about packacge oss4-dkms.
I ignored it, alas, and rebooted the next day. After reboot, all sound was gone.
Indeed, no modules for sound were loaded. I remembered the error and forced a
reinstall:

apt-get --reinstall install oss4-base oss4-dkms

This went wrong when installing oss4-dkms: it tried to update the new kernel
(2.6.32-23-generic on 10.04 x64) to include the oss4 modules but couldn't
proceed since /lib/modules/2.6.32-23-generic/source/ doesn't exist. I checked,
kernel sources are installed. A simple ln -s
/usr/src/linux-headers-2.6.32-23-generic/ /lib/modules/2.6.32-23-generic/source
solved the problem.

Proposed solution: either have the oss4-dms package look in
/usr/src/linux-headers-xxx for it's files, or create the symlink given above by
default.

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/601342/+subscribe