openwrt / openwrt/asu

Bad message (77)

Open
#596 3 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

Xiaomi Mi Router 4A (100M International Edition)
ramips/mt76x8
OpenWrt SNAPSHOT r24054-fe10f97439 / LuCI Master git-23.266.27574-7744ad0
5.15.132

I'm trying to update my router through the auc command and I get the following error:

root@OpenWrt:~# auc
auc/0.3.2-1
Server: https://sysupgrade.openwrt.org
Running: SNAPSHOT r24054-fe10f97439 on ramips/mt76x8 (xiaomi,mi-router-4a-100m-intl)
Available: SNAPSHOT r24067-c354c069b3
Requesting package lists...
libopenssl: 3.0.11-1 -> 3.0.10-1
luci-app-opkg: git-23.267.29502-3e7fe9f -> git-23.009.82915-ec3aac4
base-files: 1542-r24054-fe10f97439 -> 1535-r24002-e3559fb445
netifd: 2023-09-19-7a58b995-2 -> 2023-09-19-7a58b995-1
dnsmasq: 2.89-6 -> 2.89-4
luci-i18n-base-ru: git-23.270.68722-cbe0748 -> git-23.263.30531-f59a194
luci-app-firewall: git-23.267.29502-3e7fe9f -> git-23.212.18089-5d1e581
luci-base: git-23.266.27574-7744ad0 -> git-23.236.53281-98e3743
luci-app-attendedsysupgrade: git-23.265.60357-d7e905e -> git-23.223.40904-987ae1a
luci-mod-network: git-23.264.73274-598b1eb -> git-23.233.29374-a6a428f
Are you sure you want to continue the upgrade process? [N/y] y
Requesting build...................................aircrack-ng - 1.6-3
airmon-ng - 1.6-3
attendedsysupgrade-common - 8
auc - 0.3.2-1
base-files - 1542-r24067-c354c069b3
busybox - 1.36.1-1
ca-bundle - 20230311-1
cgi-io - 2022-08-10-901b0f04-21
dnsmasq - 2.89-6
dropbear - 2022.82-5
ethtool - 6.4-1
firewall4 - 2023-09-01-598d9fbb-1
fstools - 2023-02-28-bfe882d5-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2022-08-13-4c7b720b-2
hostapd-common - 2023-09-08-e5ccbfc6-4
htop - 3.2.2-1
iw - 5.19-1
iwinfo - 2023-07-01-ca79f641-1
jansson - 2.14-3
jshn - 2023-05-23-75a3b870-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.15.132-1-993c4b695a7624047a1e8e8d6bad2b25
kmod-cfg80211 - 5.15.132+6.5-1
kmod-crypto-acompress - 5.15.132-1
kmod-crypto-aead - 5.15.132-1
kmod-crypto-ccm - 5.15.132-1
kmod-crypto-cmac - 5.15.132-1
kmod-crypto-crc32c - 5.15.132-1
kmod-crypto-ctr - 5.15.132-1
kmod-crypto-gcm - 5.15.132-1
kmod-crypto-gf128 - 5.15.132-1
kmod-crypto-ghash - 5.15.132-1
kmod-crypto-hash - 5.15.132-1
kmod-crypto-hmac - 5.15.132-1
kmod-crypto-manager - 5.15.132-1
kmod-crypto-null - 5.15.132-1
kmod-crypto-rng - 5.15.132-1
kmod-crypto-seqiv - 5.15.132-1
kmod-crypto-sha512 - 5.15.132-1
kmod-gpio-button-hotplug - 5.15.132-3
kmod-leds-gpio - 5.15.132-1
kmod-lib-crc-ccitt - 5.15.132-1
kmod-lib-crc32c - 5.15.132-1
kmod-lib-lzo - 5.15.132-1
kmod-mac80211 - 5.15.132+6.5-1
kmod-mt76-core - 5.15.132+2023-09-18-2afc7285-1
kmod-mt7603 - 5.15.132+2023-09-18-2afc7285-1
kmod-mt76x02-common - 5.15.132+2023-09-18-2afc7285-1
kmod-mt76x2 - 5.15.132+2023-09-18-2afc7285-1
kmod-mt76x2-common - 5.15.132+2023-09-18-2afc7285-1
kmod-nf-conntrack - 5.15.132-1
kmod-nf-conntrack6 - 5.15.132-1
kmod-nf-flow - 5.15.132-1
kmod-nf-log - 5.15.132-1
kmod-nf-log6 - 5.15.132-1
kmod-nf-nat - 5.15.132-1
kmod-nf-reject - 5.15.132-1
kmod-nf-reject6 - 5.15.132-1
kmod-nfnetlink - 5.15.132-1
kmod-nft-core - 5.15.132-1
kmod-nft-fib - 5.15.132-1
kmod-nft-nat - 5.15.132-1
kmod-nft-offload - 5.15.132-1
kmod-ppp - 5.15.132-1
kmod-pppoe - 5.15.132-1
kmod-pppox - 5.15.132-1
kmod-slhc - 5.15.132-1
libatomic - 12.3.0-4
libblobmsg-json - 2023-05-23-75a3b870-1
libc - 1.2.4-4
libgcc - 12.3.0-4
libiwinfo-data - 2023-07-01-ca79f641-1
libiwinfo - 2023-07-01-ca79f641-1
libjson-c - 0.16-3
libjson-script - 2023-05-23-75a3b870-1
libkmod - 30-1
liblucihttp-ucode - 2023-03-15-9b5b683f-1
liblucihttp - 2023-03-15-9b5b683f-1
libmbedtls - 2.28.4-1
libmnl - 1.0.5-1
libncurses - 6.4-2
libnftnl - 1.2.6-1
libnl-core - 3.7.0-1
libnl-genl - 3.7.0-1
libnl-tiny - 2023-07-27-bc92a280-1
libopenssl - 3.0.11-1
libpcap - 1.10.4-1
libpci - 3.10.0-1
libpcre - 8.45-5
libpthread - 1.2.4-4
libstdcpp - 12.3.0-4
libubox - 2023-05-23-75a3b870-1
libubus - 2023-06-05-f787c97b-1
libuci - 2023-08-10-5781664d-1
libuclient - 2023-04-13-007d9454-1
libucode - 2023-06-06-c7d84aae-1
libustream-mbedtls - 2023-02-25-498f6e26-1
logd - 2022-08-13-4c7b720b-2
luci - git-23.051.66410-a505bb1
luci-app-attendedsysupgrade - git-23.265.60357-d7e905e
luci-app-firewall - git-23.267.29502-3e7fe9f
luci-app-opkg - git-23.267.29502-3e7fe9f
luci-base - git-23.266.27574-7744ad0
luci-i18n-base-ru - git-23.270.68722-cbe0748
luci-light - git-23.024.33244-34dee82
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-23.264.73274-598b1eb
luci-mod-status - git-23.261.42034-318ef4c
luci-mod-system - git-23.243.32495-038fdd9
luci-proto-ipv6 - git-21.148.48881-79947af
luci-proto-ppp - git-21.158.38888-88b9d84
luci-theme-bootstrap - git-23.249.72972-04d9820
mtd - 26
netifd - 2023-09-19-7a58b995-2
nftables-json - 1.0.8-1
odhcp6c - 2023-05-12-bcd28363-20
odhcpd-ipv6only - 2023-06-24-52112643-1
openwrt-keyring - 2022-03-25-62471e69-2
opkg - 2022-02-24-d038e5b6-2
pciids - 0.359-1
pciutils - 3.10.0-1
ppp - 2.4.9.git-2021-01-04-5
ppp-mod-pppoe - 2.4.9.git-2021-01-04-5
procd - 2023-06-25-2db83655-3
procd-seccomp - 2023-06-25-2db83655-3
procd-ujail - 2023-06-25-2db83655-3
procps-ng - 3.3.16-3
rpcd - 2023-07-01-c07ab2f9-1
rpcd-mod-file - 2023-07-01-c07ab2f9-1
rpcd-mod-iwinfo - 2023-07-01-c07ab2f9-1
rpcd-mod-luci - 20230123-1
rpcd-mod-rpcsys - 2023-07-01-c07ab2f9-1
rpcd-mod-rrdns - 20170710
rpcd-mod-ucode - 2023-07-01-c07ab2f9-1
swconfig - 12
terminfo - 6.4-2
ubox - 2022-08-13-4c7b720b-2
ubus - 2023-06-05-f787c97b-1
ubusd - 2023-06-05-f787c97b-1
uci - 2023-08-10-5781664d-1
uclient-fetch - 2023-04-13-007d9454-1
ucode - 2023-06-06-c7d84aae-1
ucode-mod-fs - 2023-06-06-c7d84aae-1
ucode-mod-html - 1
ucode-mod-math - 2023-06-06-c7d84aae-1
ucode-mod-nl80211 - 2023-06-06-c7d84aae-1
ucode-mod-rtnl - 2023-06-06-c7d84aae-1
ucode-mod-ubus - 2023-06-06-c7d84aae-1
ucode-mod-uci - 2023-06-06-c7d84aae-1
ucode-mod-uloop - 2023-06-06-c7d84aae-1
uhttpd - 2023-06-25-34a8a74d-1
uhttpd-mod-ubus - 2023-06-25-34a8a74d-1
urandom-seed - 3
urngd - 2023-07-25-7aefb47b-1
usign - 2020-05-23-f1f65026-1
wireless-regdb - 2023.09.01-1
wireless-tools - 29-6
wpad-basic-mbedtls - 2023-09-08-e5ccbfc6-4
zlib - 1.2.13-1
Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/kmods/5.15.132-1-993c4b695a7624047a1e8e8d6bad2b25/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/ramips/mt76x8/kmods/5.15.132-1-993c4b695a7624047a1e8e8d6bad2b25/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:

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 with the reported auc command and the ASU service request for the Xiaomi Mi Router 4A build. Trace the package-selection failure involving wpad-basic-mbedtls version 2023-09-08-e5ccbfc6-3 versus -4 and determine how it becomes “Bad message (77)”. Done means the failure is explained and the resulting error handling is corrected or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
backend, 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.