@zika
As this was already asked a number of times, you have the answer above. Whenever Canonical decides a mainline kernel is needed for their testing a new kernel will be provided.
Not the answer I wanted either but if you need a kernel take the time and build it yourself. Happy config editing … rinse and repeat.
Would there be a way to upgrade the kernel in the update GUI in the future? This is one thing I liked about Lunux Mint – that I could update to newer kernels within update manager.
Thanks I disagree removing the mainline kernels…
With the latest approved Kernel for Ubuntu is the at most approved
kernel by Canonical… https://ubuntu.com/community/canonical
Their are a lot more… Server ? https://ubuntu.com/download/server https://canonical.com/ https://ubuntu.com/download/desktop https://www.kernel.org/
How often does a Ubuntu Kernel change versions ?
Yearly or just by version release of the kernel ?
I have installed the bleeding edge kernel a few times.
Worked … other times I helped with the bugs…
Persistence makes Ubuntu better.
How does Ubuntu decide to go with New kernel releases?
You would think that Ubuntu would be appreciative of users testing kernels on their systems and reporting any issues they find, even if it were the non-rc one’s like 6.0, 6.1 and 6.1.1 stable.
Canonical has a business to run. If their business does not need a new kernel built for their testing then no one has the time or resources to fix any breakage with the automated mainline kernel builds.
Until Canonical chooses which new Linux kernel to use for Lunar Lobster testing it is unlikely for these mainline kernel builds to be fixed. I suspect Canonical will pick 6.1 as it is an LTS kernel but the Lunar release is not an Ubuntu LTS so who knows ?
Anyway Feature Freeze is the end of February, so for sure it will be fixed by sometime in February.
Also Ubuntu Testing week is in March.
See Lunar Lobster Release Schedule
I want to specify the kernel version to 5.4.0-125, but the code i use in user-data doesn’t work . When install the OS , it will always update to 5.4.0-150.
kernel:
package: linux-image-5.4.0-125-generic
Yes, I use the cloud-init user-data to install os automatically.
My config file :
autoinstall:
version: 1
refresh-installer:
update: no #Network configuration for DHCP
network:
network:
version: 2
ethernets:
any:
match:
name: eno*
dhcp4: true
In general, Ubuntu updates are rolling, meaning your kernel just like all the other packages will be upgraded. 5.4.0-125 is a very old kernel build which is no longer supported. It is not recommended to install individual kernel ABI packages, and instead you should only install the meta that will keep your systems updated (as is done by default).
Why are you trying to install an obsolete and security vulnerable build of v5.4 kernel, when latest abi is 150?
Did you make your customer at least aware that you are installing something with well known and documented vulnerabilities so that hackers even have a tutorial how to break in ? You seem to be doing your customer quite a disservice here if you do not try to convince them to use a kernel with the fixes…
I am trying to build kernel 6.2.0-26 on jammy for amd64-generic with unchanged configuration. Unfortunately, it does not run through, tools/bpf/bpftool/vmlinux cannot be found.
For the build I have installed the following packages:
$ make olddefconfig
[...]
# using defaults found in /boot/config-6.2.0-26-generic
#
#
# configuration written to .config
$ LANG=C fakeroot debian/rules clean
[...]
$ LANG=C fakeroot debian/rules binary
[...]
CC util/expr-flex.o
CC pmu-events/pmu-events.o
LD util/intel-pt-decoder/perf-in.o
LD util/perf-in.o
LD pmu-events/pmu-events-in.o
LD perf-in.o
LINK perf
make[1]: Leaving directory '/[...]/debian/build/tools-perarch/tools/perf'
mv /[...]/debian/build/tools-perarch/tools/bpf/bpftool/vmlinux /[...]/debian/build/tools-perarch/vmlinux
mv: cannot stat '/[...]/debian/build/tools-perarch/tools/bpf/bpftool/vmlinux': No such file or directory
make: *** [debian/rules.d/2-binary-arch.mk:749: /[...]/debian/stamps/stamp-build-perarch] Error 1
Note that ubuntu kernels do not use “make olddefconfig” to compile the kernel, instead we use annotations, and you can use commands like fakeroot debian/rules editconfigs if you want to change them.