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#3531 - snapshot-r15299-5fc28ef479-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade softbricks device #8581

Closed
openwrt-bot opened this issue Dec 24, 2020 · 8 comments
Labels

Comments

@openwrt-bot
Copy link

jmthill:

  • Device problem occurs on:

tplink_archer-c7-v2

  • Software versions of OpenWrt/LEDE release, packages, etc.

from snapshot-r15299-5fc28ef479 on

  • Steps to reproduce

CONFIG_TARGET_ath79=y
CONFIG_TARGET_ath79_generic=y
CONFIG_TARGET_ath79_generic_DEVICE_tplink_archer-c7-v2=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_BUILD_PATENTED=y
CONFIG_IMAGEOPT=y
CONFIG_PACKAGE_atftp=y
CONFIG_PACKAGE_htop=y
CONFIG_PACKAGE_atop=y
CONFIG_PACKAGE_iftop=y
CONFIG_PACKAGE_hostapd-utils=y
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_luci-app-statistics=y
CONFIG_PACKAGE_collectd=y
CONFIG_PACKAGE_nano=y
CONFIG_PACKAGE_ethtool=y
CONFIG_VERSIONOPT=y
CONFIG_VERSION_BUG_URL=""
CONFIG_VERSION_CODE=""
CONFIG_VERSION_CODE_FILENAMES=y
CONFIG_VERSION_DIST="OpenWrt"
CONFIG_VERSION_FILENAMES=y
CONFIG_VERSION_HOME_URL=""
CONFIG_VERSION_HWREV=""
CONFIG_VERSION_MANUFACTURER=""
CONFIG_VERSION_MANUFACTURER_URL=""
CONFIG_VERSION_NUMBER=""
CONFIG_VERSION_PRODUCT=""
CONFIG_VERSION_REPO="https://downloads.openwrt.org/snapshots"
CONFIG_VERSION_SUPPORT_URL=""

make defconfig
&& make -j5

Build procedure works fine but after sysupgrade the device bootloops, and it has to be recovered by tftp method (using version patched (12 bytes of 0 from 0x40 on) original firmware).
Does anybody else encouter this problem from r15299 on?
r15298 still works fine.

@openwrt-bot
Copy link
Author

jmthill:

The bootloop also occurs using the current precompiled version from the buildbot:

downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin from Thu Dec 24 04:09:18 2020

@openwrt-bot
Copy link
Author

ivanich:

I've had similar bootloops with archer c7 v5 and wdr4300 yesterday also noticed message in the logs after tftp recover on both devices(not sure if these messages was before)
[ 11.920218] jffs2: notice: (564) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (13 unchecked, 1 orphan) and 19 of xref (1 dead, 0 orphan) found.

On the other hand same revision flashed fine on the ath79 gl.inet-ar750s

@openwrt-bot
Copy link
Author

jmthill:

Do you know by any luck if for you the build number was also >=r15299 ?

@openwrt-bot
Copy link
Author

ivanich:

The last commit I built was https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=920b692667470cf666ebb573f9213eccf3117702

Haven't tried snapshots from buildbot

@openwrt-bot
Copy link
Author

jmthill:

Ok so you are also in the >=r15299 range.
I tired recompiling commit by commit and where it broke was r15299:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=5fc28ef47959c1256f2553d507224bb481b08494

@openwrt-bot
Copy link
Author

swegener:

The IMAGE/sysupgrade.bin/squashfs definition from commit 5fc28e is leaking into other devices and the generated sysupgrade.bin images are actually tarballs, which do not boot.

@openwrt-bot
Copy link
Author

swegener:

I created #3714

@openwrt-bot
Copy link
Author

jmthill:

I can confirm it works fine again. Thank you very much for the fast fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant