Web lists-archives.com

Re: Machine freezes and crashes with the message "soft lockup - CPU#0 stuck for 22s!"




On Sat, 30 Dec 2017 11:47:23 +0100
Alex ARNAUD <alexarnaud@xxxxxxxx> wrote:

> Hello all,
> 
> I'm helping a user to figure out an issue. On her syslog file I could
> find:
> > BUG: soft lockup - CPU#0 stuck for 22s!  
> 

> 
> - Package version of firmware-amd-graphics: 20161130-3~bpo8+1
> - The graphic card named obtained from lscpi tells "VGA compatible 
> controller: Advanced Micro Devices, Inc.
> [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]"
> 
> The output of lspci could be get here: 
> https://framabin.org/?2ea8b0daa0892459#YEAgTr5Tt3SrdU7hoySOE4e1iTrKtaGSmqiGNSoRm48=
> 
> 
> The issue appears more frequently recently, I suspect a graphic card 
> issue due to the stack trace obtained from syslog but I can't
> understand how can I determine exactly where the issue comes from and
> how I could resolve it. I've Googling a lot without find any
> information that could help me.
> 

I do wish I'd start keeping a log...

I had a lot of this, and in my case it was due to a problem with the
HDMI sound output of the Radeon, which I never use, I'm on VGA with USB
sound.

I have a feeling this was my fix:

new file: /etc/modprobe.d/hdmi.conf
contents:
blacklist snd_hda_codec_hdmi
blacklist snd_hda_intel
install snd_hda_codec_hdmi /bin/false

Inevitably, I found this somewhere on the Net, and after having a lot of
trouble, this cured it, so I didn't experiment further. It may be that
there is a more elegant solution.

If the HDMI output is being used, try this anyway to see if it helps,
if so at least you know where the problem is and may be able to search
better.

-- 
Joe