System unstable, kernel ring buffer flooded with "BUG: Bad page state in process swapper/0"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After upgrading a homelab 24.04 test machine from 6.6 to 6.8 kernel that was recently introduced, the test machine started flooding the terminal with following messages:
[ 1877.712068] BUG: Bad page state in process swapper/0 pfn:58919
The process name varies and appears to be whatever is currently doing something. I installed a fresh up to date copy to see if this could be replicated elsewhere and the outcome is the same. Both of the machines are VMs running under Xen with XCP-ng, although unsure if it's related.
The issue produces a notable amount of syslog entries. If left running, the system will eventually go into a state where processes get stuck and do not react to systemd control, even when there's no notable load, no memory pressure nor is the disk space low.
Booted back to 6.6 kernel the issue no longer happens.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.8.0-11-generic x86_64
AlsaDevices:
total 0
crw-rw----+ 1 root audio 116, 1 Mar 11 00:31 seq
crw-rw----+ 1 root audio 116, 33 Mar 11 00:31 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer', '/dev/snd/seq'] failed with exit code 1:
CRDA: N/A
CasperMD5CheckR
Date: Mon Mar 11 00:36:24 2024
InstallationDate: Installed on 2024-03-11 (0 days ago)
InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Daily amd64 (20240222)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
Lsusb-t:
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 002: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
MachineType: Xen HVM domU
PciMultimedia:
ProcEnviron:
LANG=en_US.UTF-8
LC_CTYPE=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
ProcFB: 0 bochs-drmdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
linux-
linux-
linux-firmware 20240202.
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/31/2024
dmi.bios.release: 4.13
dmi.bios.vendor: Xen
dmi.bios.version: 4.13
dmi.chassis.type: 1
dmi.chassis.vendor: Xen
dmi.modalias: dmi:bvnXen:
dmi.product.name: HVM domU
dmi.product.
dmi.sys.vendor: Xen
I did not have the chance to see the logs but I can confirm that 6.8.0-11 is extremely unstable.
It randomly but surely hangs under load.
It usually hangs at the beginning of default Ubuntu 24.04 ISO install on both KVM and Virtual box.
On real H/W (Dell XPS13) it hangs under load (nothing in the logs).
Sometime the UI freezes and mouse cursor continues to react, sometimes it hardlocks with 100% CPU usage on Hypervisors.
I am still baffled why Canonical decided to go with 6.8 for LTS...