Page 1 of 1

[SOLVED]The system doesn't start after kernel 5.5.15 update.

PostPosted: May 25th, '20, 11:02
by delasol
Hi,
after kernel upgrade to 5.5.15 system does not start any more. Cannot switch to other tty (ctrl+alt+F2...7) or start recovery mode. The only possible thing is to reset by ctrl+alt-del.
The same for kernel 5.6.6, 5.6.8 and 5.6.14.
After a downgrade to 5.5.14 system start and works normally.

Code: Select all
bash-4.4$ inxi -F
System:    Host: localhost.localdomain Kernel: 5.5.14-desktop-1.mga7 x86_64 bits: 64 Desktop: KDE Plasma 5.15.4
           Distro: Mageia 7 mga7
Machine:   Type: Desktop System: Gigabyte product: AB350M-D3H v: N/A serial: <root required>
           Mobo: Gigabyte model: AB350M-D3H-CF v: x.x serial: <root required> UEFI: American Megatrends v: F50a
           date: 11/27/2019
CPU:       Topology: Quad Core model: AMD Ryzen 3 2200G with Radeon Vega Graphics bits: 64 type: MCP L2 cache: 2048 KiB
           Speed: 1472 MHz min/max: 1600/3500 MHz Core speeds (MHz): 1: 1507 2: 1933 3: 1381 4: 1572
Graphics:  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel
           Display: x11 server: Mageia X.org 1.20.8 driver: amdgpu resolution: 1920x1080~60Hz
           OpenGL: renderer: AMD RAVEN (DRM 3.36.0 5.5.14-desktop-1.mga7 LLVM 8.0.0) v: 4.6 Mesa 20.0.7
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel
           Sound Server: ALSA v: k5.5.14-desktop-1.mga7
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: 1c:1b:0d:ef:0d:00
Drives:    Local Storage: total: 223.57 GiB used: 88.80 GiB (39.7%)
           ID-1: /dev/nvme0n1 model: IRU-SSDPR-P34A-240-80A size: 223.57 GiB
Partition: ID-1: / size: 49.25 GiB used: 9.79 GiB (19.9%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: /home size: 165.33 GiB used: 79.01 GiB (47.8%) fs: ext4 dev: /dev/nvme0n1p4
           ID-3: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p3
Sensors:   System Temperatures: cpu: 29.8 C mobo: N/A gpu: amdgpu temp: 29 C
           Fan Speeds (RPM): N/A
Info:      Processes: 223 Uptime: 16m Memory: 13.68 GiB used: 1.68 GiB (12.3%) Shell: bash inxi: 3.0.33

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 25th, '20, 16:16
by doktor5000
delasol wrote:after kernel upgrade to 5.5.15 system does not start any more

Up to what point does it start - you select the grub entry, and what happens then ?
Same question for the recovery mode - you select it, and what happens then ?

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 25th, '20, 17:21
by delasol
It starts loading until:
- in normal mode
[0.499756] pci 0000:00:00.2 : AMD-Vi unable to read/write to IOMMU perf counter

- in recovery mode
[2.322547] fb0: switching to amdgpudrmfb from EFI VEGA

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 25th, '20, 17:49
by doktor5000
What happens if you try with amdgpu.runpm=0 or iommu=off or iommu=soft as kernel boot option ?

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 25th, '20, 18:34
by delasol
The same for recovery mode. In normal mode almost the same (it doesn't show any output - just a blank screen which can be only treated with ctrl+alt+del)

In 5.5.14 kernel it starts normally (just showing IOMMU error)

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 25th, '20, 23:52
by doktor5000
You could try booting both normal or recovery mode without any option if it doesn't make a difference, then reboot to your working kernel, and get the logs from previous boot, as root via:
Code: Select all
journalctl -ab-1 > /tmp/journalctl.log

-b-1 means previous boot, then simply attach /tmp/journalctl.log here

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 27th, '20, 10:53
by delasol
Log attached.

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 27th, '20, 17:46
by doktor5000
Well, I don't see an issue. Your system starts successfully up to graphical.target / runlevel 5, and a ~minute afterwards you seem to have triggered a reboot.

The last line is where the reboot is triggered:

maj 27 10:46:52 localhost.localdomain systemd[1]: Reached target Multi-User System.
maj 27 10:46:52 localhost.localdomain systemd[1]: Reached target Graphical Interface.
maj 27 10:46:52 localhost.localdomain systemd[1]: Starting Update UTMP about System Runlevel Changes...
maj 27 10:46:52 localhost.localdomain systemd[1]: systemd-update-utmp-runlevel.service: Succeeded.
maj 27 10:46:52 localhost.localdomain systemd[1]: Started Update UTMP about System Runlevel Changes.
maj 27 10:46:52 localhost.localdomain systemd[1]: Startup finished in 9.581s (firmware) + 3.829s (loader) + 2.670s (kernel) + 9.146s (userspace) = 25.229s.
maj 27 10:47:42 localhost.localdomain systemd[1]: Received SIGINT.

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 27th, '20, 18:00
by delasol
I know, but despite this the screen remains blank. Maybe that's the cause:

maj 27 10:46:44 localhost.localdomain kernel: amdgpu 0000:08:00.0: Direct firmware load for amdgpu/raven_gpu_info.bin failed with error -2
maj 27 10:46:44 localhost.localdomain kernel: amdgpu 0000:08:00.0: Failed to load gpu_info firmware "amdgpu/raven_gpu_info.bin"
maj 27 10:46:44 localhost.localdomain kernel: amdgpu 0000:08:00.0: Fatal error during GPU init
maj 27 10:46:44 localhost.localdomain kernel: [drm] amdgpu: finishing device.
maj 27 10:46:44 localhost.localdomain kernel: amdgpu: probe of 0000:08:00.0 failed with error -2

Re: The system doesn't start after kernel 5.5.15 update.

PostPosted: May 27th, '20, 18:14
by doktor5000
That would explain why the graphics driver does not load. Do you have the package radeon-firmware installed ? You need the most recent one, that is radeon-firmware-20200416-1.mga7
Apart from that, the first changes to amdgpu after 5.5.15 are from 5.6.5.

In the meantime, you could also try a different driver, for example xdriver=vesa - see https://wiki.mageia.org/en/How_to_set_u ... oot_loader

delasol wrote:I know, but despite this the screen remains blank.

Well, you didn't mention that, you mentioned that your system does not boot, that's why I asked for specifics initially.
Does not boot, and boots but has a blank screen are two different things.

[SOLVED]Re: The system doesn't start after kernel 5.5.15 upd

PostPosted: May 30th, '20, 13:30
by delasol
After installing "radeon-firmware" (i had this package before, don't know when and why it disappeared), and reinstalling the kernel (5.6.14) everything seems to be working fine :D

Thank's!