openwrt / openwrt/asu

MTC Wireless Router WR1201 32Mb flash Failed to open firmware file No such file or directory

Open
#471 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
450
Forks
111
PR merge metrics
No merged PRs in 30d

Description

STDERR:

Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/22.03.3/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/22.03.3/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/22.03.3/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:

  • resolve_conffiles: Existing conffile /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/etc/ppp/options is different from the conffile in the new package. The new conffile will be placed at /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/etc/ppp/options-opkg.
  • resolve_conffiles: Existing conffile /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/etc/ppp/chap-secrets is different from the conffile in the new package. The new conffile will be placed at /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/etc/ppp/chap-secrets-opkg.
    /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/etc/init.d/nginx: line 12: /usr/bin/nginx-util: No such file or directory
    ./etc/init.d/nginx: line 12: /usr/bin/nginx-util: No such file or directory
    Pseudo file "/dev" exists in source filesystem "/home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/root-ramips/dev".
    Ignoring, exclude it (-e/-ef) to override.
    5265+1 records in
    5265+1 records out
    2695782 bytes (2.7 MB, 2.6 MiB) copied, 0.0241055 s, 112 MB/s
    53050+1 records in
    53050+1 records out
    27161814 bytes (27 MB, 26 MiB) copied, 0.163785 s, 166 MB/s
    padding image to 01c7a000
    padding image to 01c7c000
    padding image to 01c80000
    bash: line 1: 8: Bad file descriptor
    Failed to open firmware file
    sha256sum: /home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/openwrt-22.03.3-046039f0753d-ramips-mt7621-mtc_wr1201-squashfs-sysupgrade.bin: No such file or directory
    cp: cannot stat '/home/aparcar/asu/worker1/cache/22.03.3/ramips/mt7621/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/openwrt-22.03.3-046039f0753d-ramips-mt7621-mtc_wr1201-squashfs-sysupgrade.bin': No such file or directory

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the 22.03.3 ramips/mt7621 build for the MTC WR1201 and inspect the image-generation step around the reported “Bad file descriptor” and “Failed to open firmware file” errors. The logs also show /etc/init.d/nginx invoking a missing /usr/bin/nginx-util. Done means the build produces the expected squashfs-sysupgrade.bin and its checksum and copy steps succeed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.