Kernel 5.19.0.15.15 crashes on boot (Ryzen 5 2500U)

Bug #1990068 reported by Matheus Reich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When installing the daily build ISO fo Ubuntu Kinect Kudu, the system will hang at boot, forcing a reboot and then going to Advanced Option (on GRUB) and select kernel 5.15.0.27.28, which comes preinstalled when Ubuntu is installed, which then works as it should. Testing with different Kernel versions shows that 5.18.19 works fine, without crashing on "Loading initial ramdisk...". This, unfortunately, won't create a single log file or crash dump, which makes error reporting hard, to say the least.

System info:
Laptop model: Lenovo ideapad 330S-15ARR
CPU: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx x8
GPU: AMD Radeon Vega 8 Graphics
RAM: 12GB - 2400MHz
Description: Ubuntu Kinetic Kudu (development branch)
Release: 22.10

Also, it is always necessary to add the "iommu=soft" command to the GRUB_CMDLINE_LINUX_DEFAULT line on /etc/default/grub, because no kernels will boot without it (this is an older issue). Even with this command, Kernel 5.19.X will always crash while loading the initial ramdisk.
---
ProblemType: Bug
ApportVersion: 2.23.0-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: matheus 1693 F.... wireplumber
 /dev/snd/controlC0: matheus 1693 F.... wireplumber
 /dev/snd/seq: matheus 1690 F.... pipewire
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.10
InstallationDate: Installed on 2022-09-18 (0 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Alpha amd64 (20220829)
MachineType: LENOVO 81JQ
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic root=UUID=45a8c70a-d30e-4f97-ab4f-e761450b6302 ro quiet splash iommu=soft rcu_nocbs=0-7 processor.max_cstate=1 nopti pti=off amdgpu.gpu_recovery=1 ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 clocksource=hpet amd_iommu=on amdgpu.dc=1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-27-generic N/A
 linux-backports-modules-5.15.0-27-generic N/A
 linux-firmware 20220819.git8413c63c-0ubuntu2
Tags: kinetic wayland-session
Uname: Linux 5.15.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/04/2019
dmi.bios.release: 1.38
dmi.bios.vendor: LENOVO
dmi.bios.version: 7WCN38WW
dmi.board.asset.tag: No Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40679WIN
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad 330S-15ARR
dmi.ec.firmware.release: 1.38
dmi.modalias: dmi:bvnLENOVO:bvr7WCN38WW:bd11/04/2019:br1.38:efr1.38:svnLENOVO:pn81JQ:pvrLenovoideapad330S-15ARR:rvnLENOVO:rnLNVNB161216:rvrSDK0J40679WIN:cvnLENOVO:ct10:cvrLenovoideapad330S-15ARR:skuLENOVO_MT_81JQ_BU_idea_FM_ideapad330S-15ARR:
dmi.product.family: ideapad 330S-15ARR
dmi.product.name: 81JQ
dmi.product.sku: LENOVO_MT_81JQ_BU_idea_FM_ideapad 330S-15ARR
dmi.product.version: Lenovo ideapad 330S-15ARR
dmi.sys.vendor: LENOVO

Revision history for this message
Matheus Reich (matheusr98) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected kinetic wayland-session
description: updated
Revision history for this message
Matheus Reich (matheusr98) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : IwConfig.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : Lspci.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : Lspci-vt.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : Lsusb.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : Lsusb-t.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : Lsusb-v.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : ProcEnviron.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : ProcModules.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : RfKill.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : UdevDb.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : WifiSyslog.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote : acpidump.txt

apport information

Revision history for this message
Matheus Reich (matheusr98) wrote :

If there's a way to capture or produce a crash dump while the Kernel is loading its initial ramdisk, it would be great to add here, but I'm not sure of how to force it to generate a log.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

Loading initial ramdisk... you don't happen to see an "Out of memory" error when that happens, do you?

Revision history for this message
Matheus Reich (matheusr98) wrote :

I don't, it simply hangs on that screen, without even responding to a press on NumLock, or Ctrl+Alt+Del. Interestingly, when I press on my laptop's power button, it shuts down right after, like if it didn't even moved passed the UEFI (even though I'm able to change the kernel with which to start on GRUB).

description: updated
Revision history for this message
Matheus Reich (matheusr98) wrote (last edit ):

This issue also seems to be occurring when installing kernel version 5.19.10 from the Ubuntu Kernel repositories, so it is something related to version >5.19.X (including 6.0rc and so on).

The default Ubuntu 22.10 kernel, which comes bundled with version 5.19, simply won't boot at startup, crashing right after selecting any options to install Ubuntu.

Revision history for this message
Matheus Reich (matheusr98) wrote :

After a lot of searching around, it seems that it is necessary to change the "iommu=soft" command on GRUB to "amd_iommu=off" on kernel 5.19 or higher. With that command, all kernels will boot fine afterwards.

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.