Opkg wont let me install any packages due to kernel version

yes ok, the firmware is:
openwrt-22.03.2-ramips-mt7621-cudy_wr1300v1-squashfs-flash.bin
tomorrow i ll try to compile a working firmware, tell me the extra package you need so you have all ready

here are the packages:
kmod-usb-core
insmod usbcore
kmod-usb-storage
kmod-usb3
insmod xhci-hcd

will opkg work if i need to install more packages?

yes, i ll compile 22.03.2

1 Like

new version didnt work sadly, opkg install still results in the same kernel issues. version installed succesfully tho

ok i ll recompile with all package you need,please tell me all the extra package.
but that is strange anyway.
so it boot?

hi any news? so you need kmod-usb-core kmod-usb-storage kmod-usb3?

sorry been really busy today, it boots correctly and a few new usb packages were installed perfectly. the problem is that i still cant use opkg to install any new programs. i was going to perform extroot to be able to increase system storage so i can install even more packages. these bigger packages wont fit on the router so if i dont perform extroot first the router will just run out of space. They therefor cant be included in the sysupgrade.bin.

but are you able to do
opkg update
opkg install kmod-usb-core kmod-usb-storage kmod-usb3?

for extroot you need
opkg update
opkg install block-mount kmod-fs-ext4 e2fsprogs parted

You can't install kmods from the official repo to a private self-compiled build.
Just build them in.

You should be able to install normal userspace packages, but not kernel kmods.

1 Like

thanks @hnyman , but why on 22.03.2 he cannot install packages, i don't get it,
are the kmods related to kernel version?

@Jackan04 you need tell me what you need in the build, all the kmods you need

oh so all kmod are kernel level? shit then this might work

well i need to perform extroot so:
kmod-usb-core
kmod-usb-storage
kmod-usb3
kmod-fs-ext4
kmod-lib-crc16
kmod-scsi-core
kmod-macvlan

but i think some of these might have dependencies, do i need to find the dependencies too?

no it will be autoselected

perfect! thank you so much again

but that will be always a problem if the dts will not be edited, you can never install next openwrt version. so you need ask to edit the dts, i ll compile now.

well either ill have to start paying you or learn to do it myself lol, really appreciate your help this time tho. mostly doing this as a small home project for now

are you sure are all kmods that you need?ΓΉ
i will never do this for money, even if i will not have the money for eat

Yes, kmods are kernel modules.
There is a strict checksum hash counting all possible kernel options, so that options present at the kmod compilation match exactly the options used when compiling the kernel itself.
In practice, you can't install kmods to private builds.

1 Like

double checked and that should be all!