Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3427 - ImageBuilder images break Xiaomi Redmi 2100 #6579

Open
openwrt-bot opened this issue Nov 2, 2020 · 2 comments
Open

FS#3427 - ImageBuilder images break Xiaomi Redmi 2100 #6579

openwrt-bot opened this issue Nov 2, 2020 · 2 comments
Labels
flyspray toolchain pull request/issue with toolchain related changes

Comments

@openwrt-bot
Copy link

amaumene:

Hi,

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: https://github.com/amaumene/xiaomi_redmi-router-ac2100_openwrt_mesh/blob/master/.github/workflows/build-openwrt.yml
I've restored the original firmware and flashed with the latest snapshot from openwrt.org 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/procd.sh: line 43: /home/alex/openwrt-imagebuilder-ramips-mt7621.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/usr/share/libubox/jshn.sh: No such file or directory"

@openwrt-bot
Copy link
Author

pyther:

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.

@openwrt-bot
Copy link
Author

pyther:

Based on this thread it seems like there may be some config incompatibilities that are causing ubus to fail to start. https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg55380.html

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

@aparcar aparcar added the toolchain pull request/issue with toolchain related changes label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray toolchain pull request/issue with toolchain related changes
Projects
None yet
Development

No branches or pull requests

2 participants