Kubuntu 23.10 freezes

Bug #2042706 reported by Kyrylo Bohdanenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have upgraded from Kubuntu 23.04 to Kubuntu 23.10.

After working for 2-7 minutes, everything becomes extremely unresponsive and freezes afterwards. The screen goes black (as if graphical shell has crashed and I am in the terminal). However, the whole system remains unresponsive. I cannot switch between terminals too (Ctrl+Alt+F<num>)

There was one symptom. When I was working in a Konsole window, and it went unresponsive. Then I managed to launch another window, and every single command returned "Input/output error" e.g.:

$ ls
bash: /usr/bin/ls: Input/output error

I noticed I can work around the issue by switching from the 6.5.0 kernel to the older 6.2.0 one which was left from Kubuntu 23.04.

The exact kernel package versions are:
* linux-image-6.5.0-10-generic
* linux-image-6.2.0-36-generic

How can I debug the issue?
---
ProblemType: Bug
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kyrboh 1215 F.... wireplumber
 /dev/snd/seq: kyrboh 1212 F.... pipewire
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: KDE
DistroRelease: Ubuntu 23.10
InstallationDate: Installed on 2023-11-04 (0 days ago)
InstallationMedia: Kubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. Touchscreen
 Bus 001 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
 Bus 001 Device 004: ID 0c45:6713 Microdia Integrated_Webcam_HD
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-36-generic root=UUID=db41af68-2c72-4fc6-a654-5b0f2be10d62 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.2.0-36.37-generic 6.2.16
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.2.0-36-generic N/A
 linux-backports-modules-6.2.0-36-generic N/A
 linux-firmware 20230919.git3672ccab-0ubuntu2.1
Tags: mantic wayland-session
Uname: Linux 6.2.0-36-generic x86_64
UpgradeStatus: Upgraded to mantic on 2023-11-04 (0 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/10/2022
dmi.bios.release: 1.31
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.31.0
dmi.board.name: 05FFDN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.31.0:bd11/10/2022:br1.31:svnDellInc.:pnXPS159560:pvr:rvnDellInc.:rn05FFDN:rvrA00:cvnDellInc.:ct10:cvr:sku07BE:
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote (last edit ):

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Bug reporting is about finding & fixing problems thus preventing future users from hitting the same bug.

I suspect a Support site would be more appropriate, eg. https://answers.launchpad.net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org, or for more support options please look at https://discourse.ubuntu.com/t/community-support/709

If you upgraded to (k)Ubuntu 23.10 and rebooted & were able to login, then the ubuntu-release-upgrader package this bug has been filed against is no longer involved, and from your description, this reads as a support issue more than a bug report. This report can be converted to a question (making it about support) and even returned to bug report if after support it does look like you've discovered a bug, but I suggest seeking support first. I've thus changed status to "incomplete".

IO error would imply a problem that needs exploration; if you can get SysRq responses then its not a crash/freeze of the base system, maybe free of GUI/or display output only. You can explore systemd logs (journalctl) & look for clues (dmesg being an example of a command only showing details of current boot thus won't be helpful if you've rebooted). This though is support related.

I'll change package to 'linux' due to it working with older 6.2 kernel & reported issue only when using newer 6.5 kernel.

Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 2042706

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
affects: ubuntu-release-upgrader (Ubuntu) → linux (Ubuntu)
Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote :

Thank you for the advice, however today I was unable to boot Kubuntu 23.10 with the 6.5 kernel. I.e. I was not able to login and run the `apport-collect 2042706` command: the system went to the "IO error" state.

Occasionally, after reboots to the 6.5 kernel, my computer's UEFI would state that "hard drive is missing". E.g. today I made around 10 reboots already and seen this happen once. But after another reboot, the error goes away and boot sequence proceeds to the bootloader.

Also there are some occasional messages about errors with my NVME drive.

I have made a few photos (sorry, there isn't much else I can do in this state of my system). Hopefully, that hints towards something.

It may seem like my NVME drive is failing, but that does not explain the fact that with the 6.2 kernel everything just works (I am writing this comment using the 6.2 kernel).

I will run the suggested apport-collect command using the 6.2 kernel (since I am unable to do so with the 6.5 kernel).

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote :
Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote :
tags: added: apport-collected mantic wayland-session
description: updated
Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : AlsaInfo.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : IwConfig.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : Lspci.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : Lspci-vt.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : Lsusb-t.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : Lsusb-v.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : PaInfo.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : ProcEnviron.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : ProcModules.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : RfKill.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : UdevDb.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : WifiSyslog.txt

apport information

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote :

So I found this mainstream bug where users reported very similar problem with very similar (or even the same) hardware:
https://bugzilla.kernel.org/show_bug.cgi?id=217802

As the first workaround, I tried adding "nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" to kernel boot parameters.
That did not work for me.

As the ticket claims that the problem was fixed in 6.6 (rc) and 6.5.6 kernels, I tried installing the mainline kernels from
here: https://kernel.ubuntu.com/mainline/?C=N;O=D

I have tried the 6.5.7 and 6.6-rc kernels:
* 6.5.7-060507.202310102154
* 6.6.0-060600rc5.202310081731

Both worked fine (writing this comment using the 6.6 kernel). So this probably means I have hit the same issue here.
Can the patch be backported into Ubuntu 6.5 kernel?

Revision history for this message
Juerg Haefliger (juergh) wrote :

The fix is in 6.5.6
f8d2e6429139 misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe
and will be included in Mantic 6.5 eventually.

Revision history for this message
MoRoZ (moroz0) wrote :

Whe will it be fixed?

Revision history for this message
Kyrylo Bohdanenko (kyrboh) wrote :

The 6.5.0-14 kernel works for me - probably the fix got included into that kernel.

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.