ubuntu-mainline-kernel.sh icon indicating copy to clipboard operation
ubuntu-mainline-kernel.sh copied to clipboard

Handle kernel build failures

Open rogersa2k opened this issue 4 years ago • 9 comments

Here is what I am seeing this morning:

Finding latest version available on kernel.ubuntu.com Latest version is: v5.9.5 Abort, the amd64 build has not succeeded

I still get the desktop alert that a newer kernel is available. Maybe this could be handled better?

rogersa2k avatar Nov 05 '20 14:11 rogersa2k

Not sure what you mean?

If there is a newer kernel version then it should still be reported, regardless if there was a build error over at Ubuntu. They often fix these build errors within a couple of days/weeks

pimlie avatar Nov 08 '20 10:11 pimlie

Well, today's build seems to have failed again. I guess what I mean is that maybe the desktop notification could indicate the failure.

Finding latest version available on kernel.ubuntu.com Latest version is: v5.9.7 Abort, the amd64 build has not succeeded

rogersa2k avatar Nov 10 '20 14:11 rogersa2k

since v5.7.2, amd64/self-tests failed in almost all builds see: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7.2/ ... https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.9.12/

last "all tests success" kernel: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7.1/

from what I read online, there is nothing "wrong" with the kernel itself and installations on amd systems seems fine. Bugreport: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1885267

maybe a force flag that ignores failed tests? it's extremely dangerous but atm this script is for AMD based systems not useable

brannow avatar Dec 04 '20 09:12 brannow

A force flag would be good for many reasons. Is there anyone working on that?

jonseppanen avatar Dec 09 '20 00:12 jonseppanen

@brannow We dont check amd64/self-tests atm, we only check amd64/build? Maybe something changes in the mean time but if I run sudo ./ubuntu-mainline-kernel.sh -i 5.7.2 now it will just install that kernel?

@jonseppanen Im not sure about that, eg the build for 5.9.13 is just really broken atm. If we are matching the wrong error messages for the build check we should just fix that I suppose

pimlie avatar Dec 09 '20 10:12 pimlie

@pimlie as far as I can see, the error messages rightfully correspond to failed builds only - thus no changes should be needed. This though seems to come up more often recently as builds seem to fail more often for whatever reasons.

gothicVI avatar Dec 09 '20 11:12 gothicVI

I have the same issue, how can you still install the newest kernel?

hundehausen avatar Dec 12 '20 21:12 hundehausen

@hundehausen install the latest that has built fine...

gothicVI avatar Dec 13 '20 07:12 gothicVI

@pimlie tested with the latest script version, install kernel version 5.10.1 ... works without any problems,

for me everything is working.

brannow avatar Dec 17 '20 13:12 brannow