Hi guys,
I have been hit by the amdgpu bug which is described in detail in this thread:
Journalctl -S -1h | grep amdgpu yielded this info in line with the aforementioned thread.
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: [mmhub0] no-retry page fault (src_id:0 ring:40 vmid:5 pasid:0, for process pid 0 thread pid 0)
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: in page starting at address 0x0000800109820000 from IH client 0x12 (VMC)
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00540050
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: Faulty UTCL2 client ID: MP1 (0x0)
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: MORE_FAULTS: 0x0
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: WALKER_ERROR: 0x0
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: PERMISSION_FAULTS: 0x5
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: MAPPING_ERROR: 0x0
mar 16 20:17:12 parrot kernel: amdgpu 0000:07:00.0: amdgpu: RW: 0x1
It seems that the Linux Kernel 6.1 has the fix, and since I’m running the 6.0 included in Parrot 5.2 I got the bug a few times the last few weeks. Interestingly both times it happened it was when I open the lid on my laptop and browse the slack app (from snap store).
How do I install the 6.1 linux Kernel they mention?
uname -a yields:
Linux parrot 6.0.0-12parrot1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.12-1parrot1 (2023-01-12) x86_64 GNU/Linux
I went ahead and installed the package. I got the following message during installation:
Error! Your kernel headers for kernel 6.1.0-0.deb11.5-amd64 cannot be found at /lib/modules/6.1.0-0.deb11.5-amd64/build or /lib/modules/6.1.0-0.deb11.5-amd64/source.
Please install the linux-headers-6.1.0-0.deb11.5-amd64 package or use the --kernelsourcedir option to tell DKMS where it’s located.
I went ahead and installed the mentioned package as well. I’m now running:
└──╼ $uname -a
Linux parrot 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux
I will report back what happens. I’m using Slack on a daily basis, so if I have a problem still I expect it within 2 weeks.
You can install another kernel, yes, if you do it manually, then you ‘may’ have to alter your boot config to suit.
This will help you to configurte a different boot kernel;
It made me realize I had chosen a wrong boot entry because the uppermost one did not mention the kernel version. But it is the 6.1 kernel in the first option as grub-customizer shows me. So the package installation must have gone alright.
I booted the Noveau/Nvidia Off boot option (second from top), which I guess is pretty much without effect since I have a Ryzen CPU with integrated GPU
So i guess everything is fine now
p/s: just in case you didn’t know: linux-kernel-image is the binary file of the kernel. The header is short of “table of contents” so the drivers can use the data in kernel’s libraries.