I have a HP EliteBook 2540p laptop with Intel audio card. I have 12.04 and 3.2.0-24-generic kernel. When I boot audio works OK. After some time audio crashes and it stops to work (input and output, not always together). I cannot reproduce this yet, but it happens often if I use Skype or flash webpages that need audio.

How could I inspect what actually happens? Which logs should I check for more info?