OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Toolchain
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by amaumene - 02.11.2020

FS#3427 - ImageBuilder images break Xiaomi Redmi 2100


I’m building image for my Xiaomi Redmi 2100 using the imagebuilder, but when I flash my router it never comes back and the amber LED is on. I’m building my image this way:
make image PROFILE=xiaomi_redmi-router-ac2100 PACKAGES=”luci -luci-proto-ppp wpad-wolfssl iperf3 ethtool mtr iwinfo kmod-tcp-bbr kmod-mtd-rw libustream-wolfssl ca-bundle -ppp -ppp-mod-pppoe -kmod-pppox -kmod-pppoe -kmod-ppp -wpad-basic-wolfssl” I’m using GitHub actions to automate it, you can check the workflow here: I’ve restored the original firmware and flashed with the latest snapshot from without any issue. The only error that I can see is this “/home/alex/openwrt-imagebuilder-ramips-mt7621.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/lib/functions/ line 43: /home/alex/openwrt-imagebuilder-ramips-mt7621.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/usr/share/libubox/ No such file or directory”

Matthew Gyurgyik commented on 05.11.2020 16:09

I've encountered the same issue with my x86_64 build using the imagebuilder. I was able to attach a serial console and noticed that no kernel modules were loaded.

root@OpenWrt:/# uname -a
Linux OpenWrt 5.4.74 #0 SMP Tue Nov 3 17:34:10 2020 x86_64 GNU/Linux
root@OpenWrt:/# lsmod
root@OpenWrt:/lib/modules/5.4.70# modprobe e1000e
no module folders for kernel version 5.4.74 found
root@OpenWrt:/lib/modules/5.4.70# modprobe e1000
no module folders for kernel version 5.4.74 found

Looks like there is a mismatch in the kernel module directory versus the installed kernel.

EDIT: Disregard the above. The USB image and physical disk had the same UUID. So when booting from the USB drive, the physical disk was being mounted as root.

Matthew Gyurgyik commented on 06.11.2020 04:22

Based on this thread it seems like there may be some config incompatibilities that are causing ubus to fail to start.

I flashed my image without restoring config and everything worked as expected.


Available keyboard shortcuts


Task Details

Task Editing