Kernel version not supported (v1.6.8)
Closed this issue · 2 comments
Hello,
I just tried to install the latest release of the UDM-Kernel (v4.1.37-edge2) using the latest Version of UDM-Kernel-Tools (v1.0.0) and received this Error:
Kernel version not supported (v1.6.8)
Make sure you have installed the latest version of udm-kernel-tools...
Details:
root@ubnt:/home# wget https://github.com/fabianishere/udm-kernel/releases/download/v4.1.37-edge2/udm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb
--2021-04-14 16:39:36-- https://github.com/fabianishere/udm-kernel/releases/download/v4.1.37-edge2/udm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/331129522/a593ca00-9b05-11eb-89a1-69fd59ea2b76?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210414T143937Z&X-Amz-Expires=300&X-Amz-Signature=c2c785c23482767cbb843bd0703a69505609bb6e2559a9a95b797088bf2e6be9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=331129522&response-content-disposition=attachment%3B%20filename%3Dudm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb&response-content-type=application%2Foctet-stream [following]
--2021-04-14 16:39:37-- https://github-releases.githubusercontent.com/331129522/a593ca00-9b05-11eb-89a1-69fd59ea2b76?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210414T143937Z&X-Amz-Expires=300&X-Amz-Signature=c2c785c23482767cbb843bd0703a69505609bb6e2559a9a95b797088bf2e6be9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=331129522&response-content-disposition=attachment%3B%20filename%3Dudm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.108.154, 185.199.109.154, 185.199.110.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6059460 (5.8M) [application/octet-stream]
Saving to: 'udm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb'
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'udm-kernel-4.1.37-edge2' instead of './udm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb'
Suggested packages:
udm-firmware-4.1.37-edge2
The following NEW packages will be installed:
udm-kernel-4.1.37-edge2
0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded.
Need to get 0 B/6059 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Get:1 /home/udm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb udm-kernel-4.1.37-edge2 arm64 4.1.37-edge2-1 [6059 kB]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package udm-kernel-4.1.37-edge2.
(Reading database ... 27406 files and directories currently installed.)
Preparing to unpack .../udm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb ...
Unpacking udm-kernel-4.1.37-edge2 (4.1.37-edge2-1) ...
udm-kernel-4.1.37-edge2: action=unpack, package=/data/dpkg-cache/stretch/packages/udm-kernel-4.1.37-edge2_4.1.37-edge2-1_arm64.deb
Setting up udm-kernel-4.1.37-edge2 (4.1.37-edge2-1) ...
root@ubnt:/home# udm-bootctl list
bash: udm-bootctl: command not found
root@ubnt:/home# wget https://github.com/fabianishere/udm-kernel-tools/releases/download/v1.0.0/udm-kernel-tools_1.0.0_arm64.deb
--2021-04-14 16:41:07-- https://github.com/fabianishere/udm-kernel-tools/releases/download/v1.0.0/udm-kernel-tools_1.0.0_arm64.deb
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/340867405/65b7de80-9a42-11eb-8fae-49f1a83c1d47?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210414T144107Z&X-Amz-Expires=300&X-Amz-Signature=359af9dcdaba54ce70d3528e1426dff46694a18ce3e5b7d8918e26dcbf56d677&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=340867405&response-content-disposition=attachment%3B%20filename%3Dudm-kernel-tools_1.0.0_arm64.deb&response-content-type=application%2Foctet-stream [following]
--2021-04-14 16:41:07-- https://github-releases.githubusercontent.com/340867405/65b7de80-9a42-11eb-8fae-49f1a83c1d47?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210414T144107Z&X-Amz-Expires=300&X-Amz-Signature=359af9dcdaba54ce70d3528e1426dff46694a18ce3e5b7d8918e26dcbf56d677&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=340867405&response-content-disposition=attachment%3B%20filename%3Dudm-kernel-tools_1.0.0_arm64.deb&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.111.154, 185.199.110.154, 185.199.109.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.111.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25656 (25K) [application/octet-stream]
Saving to: 'udm-kernel-tools_1.0.0_arm64.deb'
udm-kernel-tools_1. 100%[===================>] 25.05K --.-KB/s in 0.009s
2021-04-14 16:41:07 (2.78 MB/s) - 'udm-kernel-tools_1.0.0_arm64.deb' saved [25656/25656]
root@ubnt:/home# apt install ./udm-kernel-tools_1.0.0_arm64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Setting up kmod (23-2) ...
Setting up kexec-tools (1:2.0.14-1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Configuring kexec-tools
-----------------------
If you choose this option, a system reboot will trigger a restart into a kernel
loaded by kexec instead of going through the full system boot loader process.
Should kexec-tools handle reboots (sysvinit only)? [yes/no] yes
Generating /etc/default/kexec...
Processing triggers for systemd (241-5~bpo9+1) ...
Setting up busybox-static (1:1.22.0-19+deb9u2) ...
Setting up udm-kernel-tools (1.0.0) ...
udm-init: configuring...
udm-init: generating initramfs for kernel 4.1.37-edge2...
9113 blocks
udm-autoboot.service is a disabled or a static unit, not starting it.
root@ubnt:/home# udm-bootctl list
Version Initrd
4.1.37-edge2 yes
root@ubnt:/home# udm-bootctl boot 4.1.37-edge2
Loading kernel 4.1.37-edge2...
Inserting kexec kernel modules...
Kernel version not supported (v1.6.8)
Make sure you have installed the latest version of udm-kernel-tools...
root@ubnt:/home#
Hi, you are using a really old firmware version (v1.6.8). The oldest firmware version for which the module is build is v1.8.6, see here for the full list.
Is there a reason you have not upgraded to a more recent version yet?
Hi, first of all thank you so much for this fast reply :) You just saved my day. I actually didn't upgrade because I was afraid I could run into an unsupported firmware version. Turned out the opposite is true. - BTW: Awesome work, thank you very much for sharing with the community.