r/AMDSupport • u/y_shr • Oct 15 '26
Solved Ubuntu kernel update blocked by amdgpu
I have Ubuntu installed on my machine with the amdgpu package providing drivers. Aptitude now distributes a kernel upgrade which fails to install on my computer. An excerpt from the logs:
Building module:
Cleaning build area...(bad exit status: 2)
'make' KERNELVER=6.8.0-147-generic.................(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-147-generic (x86_64)
Consult /var/lib/dkms/amdgpu/6.16.13-2278356.24.04/build/make.log for more information.Consulting the log file, I see a compile error, but I don't know how to handle it. What should I do?
EDIT: The answer is simply that there is a compatibility issue with the older kernel version. The recommended solution from AMD was to update to Ubuntu 26, and it did indeed fix the problem. A bit unfortunate to drop support like this given that Ubuntu 24 is still LTS.
1
u/OwlGroundbreaking573 20d ago edited 18d ago
I had this when the kernel version changed 6.8.0-146 -> 6.8.0-147 on Ubuntu 24.04. It worked a bit, crashed and had a kernel panic. I upgraded to 26.04 and a newer version 7 of the kernel and it worked splendidly albeit I think with the open source drivers, pushing the gpu to the max in a webGL test, I’ll give it a few days and report back.
edit: Seems stable, no crashes, good performance.
1
u/C1REX Oct 15 '26
This seems to be Ubuntu specific error. Potentially a bug. I have few Linux distros installed that I update often and I've never see this error before. Are you compiling the kernel yourself?
1
u/DerHolo Oct 20 '26
I'm getting the same for the lowlatency kernel: