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.
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.