LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2016, 10:14 PM   #1
AdbekunkusMX
LQ Newbie
 
Registered: Nov 2014
Posts: 9

Rep: Reputation: Disabled
NMI watchdog on Debian Stretch after kernel update


Hi.

I've been getting this error a few seconds after the GRUB screen on Debian Stretch, kernel 4.5.0-2
Code:
NMI Watchdog: watchdog detected hard LOCKUP on cpu0
Browsing through the logs I noticed that the last upgrade included some linux headers packages, specifically:
Code:
2016-06-05 15:55:03 upgrade linux-compiler-gcc-5-x86:amd64 4.5.4-1 4.5.5-1
2016-06-05 15:55:04 upgrade linux-headers-4.5.0-2-all:amd64 4.5.4-1 4.5.5-1
2016-06-05 15:55:04 upgrade linux-headers-4.5.0-2-all-amd64:amd64 4.5.4-1 4.5.5-1
2016-06-05 15:55:06 upgrade linux-headers-4.5.0-2-amd64:amd64 4.5.4-1 4.5.5-1
2016-06-05 15:55:12 upgrade linux-headers-4.5.0-2-common:amd64 4.5.4-1 4.5.5-1
2016-06-05 15:55:23 upgrade linux-kbuild-4.5:amd64 4.5.4-1 4.5.5-1
2016-06-05 15:55:25 upgrade linux-image-4.5.0-2-amd64:amd64 4.5.4-1 4.5.5-1
2016-06-05 15:55:40 upgrade linux-libc-dev:amd64 4.5.4-1 4.5.5-1
I can acces my system by booting into recovery mode and then resume booting with Ctrl+D when prompted for root password. Any ideas of why this happens? Any suggestions? Thanks in advance
 
Old 06-06-2016, 04:02 PM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 952
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
Hi,

the NMI watchdog is a hardware watchdog for (hard)lockups. Meaning that if you get a hard lockup, it fires, and might trigger a hard reboot. ( I use it this way on my home server)

As for why it happens, getting a log from a locked up boot would be the greatest solution.
My first guess would be a bug in hw initialization. If it started happening after a kernel update, try downgrading (or upgrading more )

NMI kernel doc

Serafean.
 
Old 06-06-2016, 04:06 PM   #3
AdbekunkusMX
LQ Newbie
 
Registered: Nov 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by serafean View Post
Hi,

the NMI watchdog is a hardware watchdog for (hard)lockups. Meaning that if you get a hard lockup, it fires, and might trigger a hard reboot. ( I use it this way on my home server)

As for why it happens, getting a log from a locked up boot would be the greatest solution.
My first guess would be a bug in hw initialization. If it started happening after a kernel update, try downgrading (or upgrading more )

NMI kernel doc

Serafean.
Hi Serafean, thanks.

How do I get a log from a locked up boot?

How can I safely downgrade the kernel?

Thanks! Cheers!
 
Old 06-09-2016, 09:49 AM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 952
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by AdbekunkusMX View Post
Hi Serafean, thanks.

How do I get a log from a locked up boot?
I've never done it, but IMO netconsole is the way to do it.
https://wiki.archlinux.org/index.php/Netconsole

Quote:
How can I safely downgrade the kernel?
AFAIK Debian leaves old kernels installed, just use the older one.
I don't use debian, so can't help you much there.
 
  


Reply

Tags
debian testing, kernel, watchdog


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
powertop orders to disable NMI watchdog hanamilani Linux - Newbie 1 06-17-2012 12:36 PM
RH WS 4.0 - Kernel Panic not sycing : NMI watchdog jonty_11 Red Hat 2 01-09-2010 06:30 PM
Hardware watchdog in BIOS and Linux watchdog driver are different? travishein Linux - Hardware 1 12-22-2008 09:41 PM
games don't stretch to fill screen after X11 update quip Slackware 10 02-04-2006 10:24 AM
Kernel NMI error msrinath Linux - General 0 09-17-2003 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration