I am running Debian Squeeze. I installed and removed Gnome3 and reinstalled Gnome2.x (epic fail and stupidity) and in the process I have lost audio, lspci returns following
# lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
But lsmod doesn't return any thing.
$ lsmod |grep audio
Any idea what could be wrong?
Here is an update, I tried to install whatever possible package was removed by studying /var/log/dpkg.log. This fixed my other issues like no right click on desktop and blunt looking buttons etc. Now I have everything in order but sound is missing. I don't see sound section in gnome-control-center. Here are some findings:
kumar@debian-box:/$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
kumar@debian-box:/$ lsmod |grep audio
kumar@debian-box:/$ lsmod |grep snd
kumar@debian-box:/$ lsmod |grep sound
kumar@debian-box:/$ cat alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
Hope this helps in helping me. Its really hard for me to concentrate w/out headphones :(
Last update, I fixed it using sudo modprobe snd-hda-intel, it seems I messed up kernel headers.

/var/log/dpkg.logsay that any audio-related packages were removed? – Mikel Apr 7 '11 at 10:51lsmod | grep audioshould return anything (most sound-related drivers havesndor just a technology or chip designation in their name). If you try to play a sound, do you get any error message (try from the command line to be sure to see any message) or just no sound? If there's no error message, start a mixer and make sure all relevant volume controls are not muted. – Gilles Apr 7 '11 at 20:19audioI didgrep audio, you can notice the second one issndand third one issound, I am frustrated :-( – Kumar Apr 8 '11 at 4:01