[closed] Ubuntu 24.04 crashed multiple times

Bug #2064291 reported by Bernard Stafford
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Ubuntu 24.04 crashed multiple times due to unstable kernel.
Crashed 8 times attempting to file this bug report.
Recently installed the new updates for 24.04.
Steps to reproduce: Open "Show Apps"-Crash, Open Firefox -Crash,
Open Terminal -Crash, Setting idle does not crash.
Installed synaptic -Crashed 2 times.
Check for broken packages - None, no missing dependencies.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-31-generic 6.8.0-31.31
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: b3 1256 F.... pipewire
 /dev/snd/controlC0: b3 1260 F.... wireplumber
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 30 09:07:32 2024
InstallationDate: Installed on 2024-04-25 (5 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
IwConfig:
 lo no wireless extensions.

 enp0s3 no wireless extensions.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=ohci-pci/12p, 12M
     |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
 /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/12p, 480M
MachineType: innotek GmbH VirtualBox
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 vmwgfxdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-31-generic root=UUID=381f85c9-ec76-4686-aaa1-aa5e3673ec82 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-31-generic N/A
 linux-backports-modules-6.8.0-31-generic N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:sku:
dmi.product.family: Virtual Machine
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

Revision history for this message
Bernard Stafford (bernard010) wrote :
description: updated
Revision history for this message
Bernard Stafford (bernard010) wrote (last edit ):

Logged out & logged in no crash.
Clicked on "Show Apps" -Crash

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Hi Bernard,

Can you have a look at your /var/log/kern.log and /var/log/syslog files, and look for what is known as a kernel oops? It looks like some of the examples in this bug:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919

Would you be able to copy and paste any you find into a text file and upload to the bug? I will have a look.

Thanks,
Matthew

Revision history for this message
Bernard Stafford (bernard010) wrote :
Revision history for this message
Bernard Stafford (bernard010) wrote :
Revision history for this message
Bernard Stafford (bernard010) wrote :
Revision history for this message
Bernard Stafford (bernard010) wrote :

Woopsie

Revision history for this message
Bernard Stafford (bernard010) wrote (last edit ):

The crashing problem has stopped, I will keep testing to confirm first.
I opened terminal, imputed:
  echo 0 | sudo tee /sys/kernel/mm/ksm/run
disable kernel samepage merging
  echo 1000 | sudo tee /sys/kernel/mm/lru_gen/min_ttl_ms
trashing mitigation
  echo 5 | sudo tee /proc/sys/vm/dirty_ratio
  echo 5 | sudo tee /proc/sys/vm/dirty_background_ratio
prevent stuttering behavior during intense I/O writes
reboot
Source of information:
https://discourse.ubuntu.com/t/fine-tuning-the-ubuntu-24-04-kernel-for-low-latency-throughput-and-power-efficiency/44834/1

Revision history for this message
Bernard Stafford (bernard010) wrote (last edit ):

Still crashed - Opened "APP Center" Clicked on Games, Crash.
Will continue testing.

Went back through all of the app center items, did reproduce crash twice.

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Hi Bernard,

The crash seems to bring your system down before the logs are able to be written to disk, so there is no oops present in your dmesg.

Its pretty common. Would you be able to capture a kernel crashdump (kdump).

Follow the instructions in:

https://ubuntu.com/server/docs/kernel-crash-dump

All you really need to do is:

$ sudo apt install linux-crashdump

Say yes twice.

Then reboot.

Attempt to open app center or something to cause the crash.

When the system crashes, it will take a minute or so, as it copies the system memory to a file.

When the system comes back, see if there is a crashdump in /var/crash/<date>

If there is, see if there is a dmesg.log in that folder. If there is, upload that file. You don't have to upload the whole kdump.

Thanks,
Matthew

Revision history for this message
Bernard Stafford (bernard010) wrote :

Crash for May 07, 2024

Revision history for this message
Bernard Stafford (bernard010) wrote :

Crash report for May 03, 2024

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Hi Bernard,

These are userspace application crashes.

Try and wait for a kernel crash to occur.

Thanks,
Matthew

Revision history for this message
Bernard Stafford (bernard010) wrote :

Thank You for your assistance on this bug report.
Removing the Ubuntu from virtual box.
Closing this bug report.

Changed in linux (Ubuntu):
status: New → Invalid
summary: - Ubuntu 24.04 crashed multiple times
+ [closed] Ubuntu 24.04 crashed multiple times
Revision history for this message
Bernard Stafford (bernard010) wrote (last edit ):

I use Oracle Virtual Box 7.0.14
Host is MX-Linux 23.2
Ubuntu 24.04 notated that the hypervisor was unsupported, change to a supported hypervisor. It must of been the version of virtual box.
Just updated to version: Virtual Box 7.0.18

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.