This post is more than 5 years old
1 Rookie
•
96 Posts
1
6435
January 30th, 2019 21:00
Inspiron 7786 - Hard and soft lockup on reload/shutdown
I can run Linux from a USB stick, but, when I try to reload or shut down the laptop, I get messages like these:
[1505.800899] NMI watchdog: Watchdog detected hard LOCKUP on cpu 1 [1512.035856] watchdog: BUG: soft lockup - CPU0 stuck for 23s| [kworker/0:2:61]
If I keep it on (until my patience lasts, lol), I will get multiple messages like the second line (with varying numbers), and the only way to turn the computer off is by long-pressing the power button.
I don't want to install it on HDD at this time (neither as dual boot, nor as the sole system), just need to run it off the USB pen drive (VM & WSL are not options). All I want is to be able to run a proper Linux distro (Ubuntu, Fedora, or Debian) off the stick with persistence. Currently, these distros will run off the live USB, but won't close. The OEM's Windows 10 works without a slightest problem (it's blazing fast, Optane+HDD).
Are there any processor settings in the BIOS that should be tweaked, to enable normal reload/shutdown for Linux, or is this a hardware defect (I should be able to run Linux properly, right)?
Any thoughts are welcome, thank you!
timelessdell
2 Posts
1
April 28th, 2019 17:00
Wow. Seek on the Internets... and ye shall find.
1) Need to add "nouveau.modeset=0" to the Linux line on Grub. https://askubuntu.com/questions/875173/nmi-watchdog-bug-soft-lockup-cpu2-stuck-for-23s-plymouthd305
2) How to do that? Here's an article about how to edit your Grub menu: https://askubuntu.com/questions/16042/how-to-get-to-the-grub-menu-at-boot-time
So I did those things... and my system has been stable now for ~30 minutes, and have been able to do all sorts of things with it that crashed it before. So I guess this is the magic incantation.
Takedo
1 Message
0
March 14th, 2019 07:00
The same problem after Linux installation. Dell inspiron 7577
speedstep
9 Legend
•
47K Posts
0
March 19th, 2019 11:00
The issue is the device itself.
If you install on a SANDISK Extreme SDSSDEXT-240G-G25
and have a CASPER PERSISTENCE FILE it will be more stable, faster, and shutdown without hanging.
https://www.amazon.com/gp/product/B00ZTRY5IW/
unBIOSed
1 Rookie
•
96 Posts
0
March 26th, 2019 22:00
@speedstep
I have my doubts that it has anything to do with the disk. The same live USB works without problems on two other computers (Toshiba and HP), I have the reboot/shutdown problem only on this Dell.
timelessdell
2 Posts
0
April 28th, 2019 17:00
Did anyone in this thread solve this problem? I have the same thing. Installed Fedora Workstation to the hard drive. Everything worked fine for almost 1.5 day. Finally needed to restart, and nothing worked. Couldn't shut down laptop properly.
Now everytime I boot up, I get maybe 1-2 minutes in before the mouse freezes, the CPU/loadavg goes to max, and errors start spewing to console:
NMI watchdog: Watchdog detected hard LOCKUP on cpu 4.
Sometimes I get the soft CPU error as well but don't see it on the console this moment.
Anyone figured out a solution?
unBIOSed
1 Rookie
•
96 Posts
0
May 5th, 2019 20:00
Booted Fedora off USB successfully, just added "nouveau.modeset=0" before loading it. Didn't have any errors during shutdown.
I only need to boot Linux from Live USB, and not every day, so typing this line every time before bootup should be fine.
Thank you so much!