532910
November 14, 2024, 6:41am
1
Why installation of kmod-kvm-amd
with opkg fails (while via imagebuilder it works fine):
# opkg install kmod-kvm-amd
Unknown package 'kmod-kvm-amd'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-59d1431675acc6823a33c7eb2323daeb) for kmod-irqbypass
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-irqbypass found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-59d1431675acc6823a33c7eb2323daeb) for kmod-kvm-x86
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-kvm-x86 found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-59d1431675acc6823a33c7eb2323daeb) for kmod-kvm-amd
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-kvm-amd found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-kvm-amd.
Why installation of kmod-kvm-amd
via imagebuilder is not listed in opkg, thoug it works fine:
# opkg list | grep kvm
<no output here>
# ls -l /lib/modules/5.15.167/kvm-amd.ko
-rw-r--r-- 1 root root 147K 2024-09-23 15:34 /lib/modules/5.15.167/kvm-amd.ko
# lsmod | grep kvm
kvm_amd 77824 0
kvm 417792 1 kvm_amd
irqbypass 12288 1 kvm
frollic
November 14, 2024, 7:06am
2
532910
November 14, 2024, 7:55am
3
This not an answer. I'm using 23.05.5, freshly built with imagebuilder.
Moreover, I have no “Cannot satisfy the following dependencies for...” or “The installed version of package kernel is not compatible, require...”
trendy
November 14, 2024, 8:48am
4
Which device is this?
Did you already run opkg update
before the opkg install
?
532910
November 14, 2024, 10:01am
5
% wget https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/openwrt-imagebuilder-23.05.5-x86-64.Linux-x86_64.tar.xz
% tar xf openwrt-imagebuilder-23.05.5-x86-64.Linux-x86_64.tar.xz
% cd openwrt-imagebuilder-23.05.5-x86-64.Linux-x86_64
% make PROFILE=generic image
OpneWrt # ls -l /lib/modules
OpneWrt # uname -r
5.15.167
OpneWrt # opkg list-installed | grep kernel
kernel - 5.15.162-1-59d1431675acc6823a33c7eb2323daeb
What the hell is going on?
_bernd
November 14, 2024, 11:46am
6
If you use the image builder why don't you make the image with kvm included?
532910
November 14, 2024, 8:43pm
7
it was because of stalled /overlay/upper/usr/lib/opkg/status
, my own issues, don't take in mind
system
Closed
November 24, 2024, 8:43pm
8
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.