Dir-860l OpenWrt 21.02.2 same packages didn't install (self-built)

I have build the openwrt 21.02.02 for the dir-860l and flashed it.
It boots, but if i will install same packages it didnt work:

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-lib-crc16
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-crc16 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-crypto-hash
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-hash found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-crypto-crc32c
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-crc32c found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-fs-ext4
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-fs-ext4 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-fs-ext4.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-scsi-core
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-scsi-core found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-usb-storage
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-storage found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb-storage.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-usb-ehci
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-ehci found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-usb2
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb2 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb2.

/etc/opkg/distfeeds.conf:
src/gz openwrt_core http://ftp.snt.utwente.nl/pub/software/lede/releases/21.02.2/targets/ramips/mt7621/packages
src/gz openwrt_base http://ftp.snt.utwente.nl/pub/software/lede/releases/21.02.2/packages/mipsel_24kc/base
src/gz openwrt_luci http://ftp.snt.utwente.nl/pub/software/lede/releases/21.02.2/packages/mipsel_24kc/luci
src/gz openwrt_packages http://ftp.snt.utwente.nl/pub/software/lede/releases/21.02.2/packages/mipsel_24kc/packages
src/gz openwrt_routing http://ftp.snt.utwente.nl/pub/software/lede/releases/21.02.2/packages/mipsel_24kc/routing
src/gz openwrt_telephony http://ftp.snt.utwente.nl/pub/software/lede/releases/21.02.2/packages/mipsel_24kc/telephony

Those repositories aren't official OpenWrt. You should ask Utwente for support.

1 Like

.. Or install proper openwrt/repositories.

1 Like
/etc/opkg/distfeeds.conf:                                                                             
src/gz openwrt_core http://downloads.openwrt.org/releases/21.02.2/targets/ramips/mt7621/packages
src/gz openwrt_base http://downloads.openwrt.org/releases/21.02.2/packages/mipsel_24kc/base
src/gz openwrt_luci http://downloads.openwrt.org/releases/21.02.2/packages/mipsel_24kc/luci
src/gz openwrt_packages http://downloads.openwrt.org/releases/21.02.2/packages/mipsel_24kc/packages
src/gz openwrt_routing http://downloads.openwrt.org/releases/21.02.2/packages/mipsel_24kc/routing
src/gz openwrt_telephony http://downloads.openwrt.org/releases/21.02.2/packages/mipsel_24kc/telephony

same errors:

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-lib-crc16
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-crc16 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-crypto-hash
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-hash found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-crypto-crc32c
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-crc32c found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-fs-ext4
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-fs-ext4 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-fs-ext4.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-scsi-core
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-scsi-core found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-usb-storage
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-storage found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb-storage.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-usb-ehci
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-ehci found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.179-1-613e7cb33f069740a878d322bb79ae77) for kmod-usb2
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb2 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb2.

Do you have a proper openwrt image installed on your device?

What rev is it?

1 Like

I have build the Image with following:

# Download and update the sources
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git pull
 
# Select a specific code revision
git branch -a
git tag
git checkout v21.02.2
 
# Update the feeds
./scripts/feeds update -a
./scripts/feeds install -a
 
# Configure the firmware image and the kernel
make menuconfig
make kernel_menuconfig
 
# Build the firmware image
make -j $(nproc) defconfig download clean world

With make menuconfig i have select my Router dir 860l and after compiling i have write the Firmware to my router

ssh:

BusyBox v1.33.2 (2022-02-16 20:29:10 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 21.02.2, r16495-bf0c965af0
 -----------------------------------------------------
root@OpenWrt:~# uname -a
Linux OpenWrt 5.4.179 #0 SMP Wed Feb 16 20:29:10 2022 mips GNU/Linux
root@OpenWrt:~#

You built it by yourself, so the kernel hash will be different.
In practice, the hash checksum used for kmod compatibility will always fail with private builds.

You should include the heeded kmods in your own build, instead of trying to install them later.

2 Likes

Did you build all the packages you wanted?

Hi now, i have build the Image with Standart config.
Luci i installed with opkg.
How i can build all packages?

You should use "make menuconfig" to select the packages that you want, including LuCI...

Thank your for answers.
I have see, that only kmods can't install with opkg, if i compile the Firmware self.
This why i select the kmods in make menuconfig.
Programms can be install with opkg " luci, fdisk.."