FYI,
I noticed that sound occasionally stops working
for me under kernel version 2.6.18-4-k7.
I fixed it by removing and replacing two sound
modules as root
rmmod snd_via82xx
rmmod snd_mpu401
modprobe snd_via82xx
modprobe snd_mpu401
Thanks,
Kingsley