Ubuntu 24.04 freezes after plug in power cable

Bug #2061840 reported by Zakaria Farhati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Kleber Sacilotto de Souza
Noble
Confirmed
Undecided
Kleber Sacilotto de Souza

Bug Description

I have Ubuntu 24.04 installed on my laptop, when I plug in my power cable to my laptop, the whole Ubuntu freezes and nothing is responds, so I have to force shutdown my laptop and restart it. I want to make notice that all other version Ubuntu 23.10, 22.04... with all different flavors work perfect without any issue

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-22-generic 6.8.0-22.22
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: zakaria 1758 F.... pipewire
 /dev/snd/controlC0: zakaria 1765 F.... wireplumber
 /dev/snd/controlC1: zakaria 1765 F.... wireplumber
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 16 14:40:45 2024
InstallationDate: Installed on 2024-04-14 (2 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240410.2)
MachineType: Dell Inc. Latitude E7450
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-22-generic root=UUID=63a3cbd0-c29b-4ef3-8be8-7c43b782a9b9 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-22-generic N/A
 linux-backports-modules-6.8.0-22-generic N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/11/2020
dmi.bios.release: 65.24
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A24
dmi.board.name: 0D8H72
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA24:bd04/11/2020:br65.24:svnDellInc.:pnLatitudeE7450:pvr:rvnDellInc.:rn0D8H72:rvrA00:cvnDellInc.:ct9:cvr:sku062E:
dmi.product.name: Latitude E7450
dmi.product.sku: 062E
dmi.sys.vendor: Dell Inc.

Revision history for this message
Zakaria Farhati (farhatizakaria) wrote :
Changed in linux (Ubuntu):
assignee: nobody → Kleber Sacilotto de Souza (kleber-souza)
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Hello,

Could you please try again with the latest 24.04 image? It has a more recent kernel version (6.8.0-31.31) and before we start investigating we need to know if it is still reproducible with the latest kernel available.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Zakaria Farhati (farhatizakaria) wrote :

Hello Kleber, I have installed the lastest 24.04 image with Linux ubuntu 6.8.0-31-generic. The issue still exist !

Revision history for this message
Mariusz Ostrowski (mariuszostrowski) wrote :

Hello everyone,
I have exactly the same problem. The computer works perfectly on the power supply, but on the battery, especially when the power supply is connected, it freezes completely. It works flawlessly on Windows. Previously - 23.10 - it also worked properly

Changed in linux (Ubuntu Noble):
status: Incomplete → New
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Juerg Haefliger (juergh) wrote :

Does this also happen with the latest kernel 6.8.0-35? Is there anything in the log from the freeze? After a freeze, reboot and pull the log from the previous boot (journalctl -b -1).

Revision history for this message
Zakaria Farhati (farhatizakaria) wrote :

Yes it still happens with the latest kernel 6.8.0-35. And, here's the log extracted after reboot: https://paste.ubuntu.com/p/GvXgHk29CX/

Revision history for this message
Zakaria Farhati (farhatizakaria) wrote :

After further testing, I wanted to share additional information that might assist in diagnosing the issue. I have tested kernel version 6.4.0-060400-generic as an alternative and found that the issue does not occur when I plug in or plug out the power cable (everything works fine). This kernel version (6.4.0) appears to handle power state transitions correctly compared to kernel 6.8 (also I tested 6.9.3-060903 and I found that it has the same issue/bug as 6.8).

$ apt list --installed | grep linux-image (Here're the kernels that I have at this moment, only 6.4.0 runs without any issue)

linux-image-6.8.0-35-generic/noble-updates,noble-security,now 6.8.0-35.35+1 amd64 [installed,automatic]
linux-image-generic-hwe-24.04/noble-updates,noble-security,now 6.8.0-35.35 amd64 [installed,automatic]
linux-image-unsigned-6.4.0-060400-generic/now 6.4.0-060400.202306271339 amd64 [installed,local]
linux-image-unsigned-6.9.3-060903-generic/now 6.9.3-060903.202405300957 amd64 [installed,local]

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu Noble):
status: New → Confirmed
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.