"NMI watchdog: BUG: soft lockup" and "page allocation stalls" errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Yakkety |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
My computer running Ubuntu Yakkety with 32 bit 4.8.0-41-generic kernel often locks up. Error messages like this appear in syslog:
Mar 10 09:49:22 ReThinkCentre kernel: [47896.075600] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [kswapd0:38]
In later mainline kernels (4.10.0, or maybe even 4.9.0), the error message changes to this:
Mar 4 22:07:04 ReThinkCentre kernel: [ 2815.183424] kthreadd: page allocation stalls for 11600ms, order:1, mode:0x17000c0(
I believe the root cause is the same behind the two kinds of error messages, the latter being more specific. One kernel version never shows these messages mixed, they either log "NMI watchdog" or "page allocation stalls", there is no kernel version which logs both.
With kernel bisection, I found that the following commit solves the problem in the mainline kernel:
71ab6cfe88dcf9f
However, this patch doesn't easily apply to 4.8.0. I tried to backport it with git cherry-pick, but it run into conflicts.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.8.0-41-generic i686
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Date: Fri Mar 10 09:53:23 2017
HibernationDevice: RESUME=
InstallationDate: Installed on 2014-08-16 (936 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
MachineType: Hewlett-Packard HP Compaq dc5800 Small Form Factor
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=hu_HU.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.161.1
RfKill:
SourcePackage: linux
UpgradeStatus: Upgraded to yakkety on 2017-01-22 (47 days ago)
dmi.bios.date: 02/13/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786F2 v01.55
dmi.board.
dmi.board.name: 2820h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.
dmi.chassis.type: 4
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP Compaq dc5800 Small Form Factor
dmi.sys.vendor: Hewlett-Packard
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in linux (Ubuntu Yakkety): | |
status: | New → Triaged |
importance: | Undecided → Medium |
This change was made by a bot.