Lubuntu 16.04 gets stuck at shutdown (nmi watchdog bug soft lockup - cpu#1 stuck for 22s)

8,173

I had the same bug on my machine, I fixed it by appending nouveau.modeset=0 to the grub command line

To do so, when you're in grub menu, press e to edit the command line. Then append nouveau.modeset=0 at the end of the line beginning with linux. Then press F10 to continue to boot, login into your user session, then try to reboot the computer to see if the problem is gone or if you still have the issue.

If the problem is gone, you can make the change permanent by editing the grub config.

sudo nano /etc/default/grub, append nouveau.modeset=0 in the quotes of the line GRUB_CMDLINE_LINUX_DEFAULT="...". Then update your grub setup with sudo update-grub.

Related to

NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [nvidia-smi:566]
Share:
8,173
New to Ubuntu
Author by

New to Ubuntu

Updated on September 18, 2022

Comments

  • New to Ubuntu
    New to Ubuntu over 1 year

    Occasionally my computer(Lubuntu 16.04 64 Bit) gets stuck at shutdown. It shows the message nmi watchdog bug soft lockup - cpu#1 stuck for 22s and never finishes shutdown.This message comes after the message Reached target shutdown.. What causes this error? How do I resolve this?

  • Kubuntuer82
    Kubuntuer82 almost 6 years
    Could you explain why this worked in your opinion? Or, if you found this on some source, what the source says in terms of explanation of why it works?