I have been having 100% CPU usage problem that hogs my Ubuntu box ever since I was using Karmic. I scan my Ubuntu box for bad hard disk sector using:
sudo badblocks /dev/hda
Luckily and I am still thankful for this that I do not have bad sectors in my Ubuntu Box. I found the following entry in my message log. Go to your System > Administration > Log File Viewer and check the messages.
I found this message in my message log:
May 3 05:17:05 sleeper-laptop pulseaudio: alsa-util.c: snd_pcm_delay() returned a value that is exceptionally large: -12123948 bytes (-68729 ms). May 3 05:17:05 sleeper-laptop pulseaudio: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
I have been tracking down this problem on the net and it seems that the problem is affecting people who are using snd_hda_intel driver. This problem usually happen after we play an audio for 20 to 30 minutes. This problem has been logged in Launchpad and ALSA’s bug tracking system.
./configure --with-cards=hda-intel make sudo make install-modules
I’ll keep everyone posted on the result once tried it on my Lucid Box.