I just installed the new Ubuntu 8.10 and I have no sound.I have fixed this problem by installing following commands.
sudo killall pulseaudio
sudo alsa force-reload
and then go to System>Preferences>Sound and change everything to ALSA
Credit Goes here
Feed