After I upgraded to the current kernel version (2.6.24-21) the sound suddenly stopped working on my Dell D830 laptop running Ubuntu Hardy 8.04.
Today I tried to solve it and found the solution on this page (http://linux.dell.com/wiki/index.php/Ubuntu_8.04/Issues/No_Sound_After_Distribution_Or_Kernel_Upgrade). Although it speaks of kernel 2.6.24-17 it also applies to 2.6.24-21.
Here are the steps I had to do (copied from the mentioned site):
- Restore name of sound driver that old modem driver renamed:
$ cd /lib/modules/2.6.24-21-generic/ubuntu/sound/alsa-driver/pci/hda $ sudo mv snd-hda-intel.ko.REPLACEDBYhsfmodem snd-hda-intel.ko
- Remove old sound drivers from kernel module directory:
$ cd /lib/modules/2.6.24-21-generic/updates $ sudo rm snd-hda-intel.ko $ sudo rm snd-hda-codec.ko
- Rebuild initrd:
$ sudo depmod -a $ sudo update-initramfs -u