From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id 244A721F1F3 for ; Tue, 29 Apr 2014 00:02:51 -0700 (PDT) Received: from mr4.cc.vt.edu (mr4.cc.vt.edu [198.82.164.236]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id s3T71n8l031675; Tue, 29 Apr 2014 03:01:49 -0400 Received: from auth1.smtp.vt.edu (auth1.smtp.vt.edu [198.82.161.152] (may be forged)) by mr4.cc.vt.edu (8.14.4/8.14.4) with ESMTP id s3T71ipE013926; Tue, 29 Apr 2014 03:01:49 -0400 Received: from turing-police.cc.vt.edu ([128.173.39.19]) (authenticated bits=0) by auth1.smtp.vt.edu (8.14.4/8.14.4) with ESMTP id s3T71hDn018835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Apr 2014 03:01:43 -0400 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5+dev To: Justin Madru In-Reply-To: Your message of "Mon, 28 Apr 2014 20:56:45 -0700." From: Valdis.Kletnieks@vt.edu References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1398754776_2212P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 29 Apr 2014 02:59:36 -0400 Message-ID: <16255.1398754776@turing-police.cc.vt.edu> X-Spam-Status: No, score=-0.7 required=5.0 tests=RP_MATCHES_RCVD autolearn=disabled version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mr4.cc.vt.edu Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] 3.10.38-1 sysupgrade not working X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2014 07:02:53 -0000 --==_Exmh_1398754776_2212P Content-Type: text/plain; charset=us-ascii On Mon, 28 Apr 2014 20:56:45 -0700, Justin Madru said: > I'm trying to flash the new version (3.10.38-1) using the > openwrt-ar71xx-generic-wndr3800-squashfs-sysupgrade.bin image, but I'm > getting the following error in the web ui. > > "The uploaded image file does not contain a supported format. Make sure > that you choose the generic image format for your platform." Ah.. somebody else with the problem :) Following up on my previous testing - I was on 36-3, and 36-4 and 38-1 both failed with that same error. So as suggested by somebody, I scp'ed the 38-1 over to my 3800, and I got the following results from the command line: First, try in 'test' mode - this returned *very* fast, as in sub-second: root@bogon-gateway-1:~# sysupgrade -d 60 -v -T /tmp/openwrt-ar71xx-generic-wndr3800-squashfs-sysupgrade.bin and no output. So then try for real - and that worked and rebooted to 38-1 with all my config settings preserved. Not sure what the TRX header issue is - but it seemed to come far too late in the process to explain my problems with Luci. root@bogon-gateway-1:~# sysupgrade -d 60 -v /tmp/openwrt-ar71xx-generic-wndr380 0-squashfs-sysupgrade.bin Saving config files... etc/xinetd.conf etc/sysctl.conf etc/shells etc/shadow etc/rc.local etc/profile etc/passwd etc/opkg.conf etc/lighttpd/lighttpd.conf etc/inittab etc/hosts etc/group etc/fw_env.config etc/firewall.user etc/dropbear/dropbear_rsa_host_key etc/dropbear/dropbear_dss_host_key etc/dropbear/authorized_keys etc/dnsmasq.conf etc/crontabs/root etc/config/wol etc/config/wireless etc/config/upnpd etc/config/ucitrack etc/config/ubootenv etc/config/transmission etc/config/system etc/config/sqm etc/config/snmpd etc/config/samba etc/config/radvd etc/config/qos etc/config/polipo etc/config/network etc/config/natpmp etc/config/minissdpd etc/config/luci etc/config/fstab etc/config/firewall etc/config/etherwake etc/config/dropbear etc/config/dhcp6c etc/config/dhcp etc/config/debloat etc/config/ddns etc/config/bcp38 etc/config/babeld etc/config/aqm etc/config/alttcp etc/config/ahcpd etc/config/6relayd etc/babeld.conf etc/avahi/avahi-daemon.conf killall: watchdog: no process killed Sending TERM to remaining processes ... lighttpd logd netifd odhcpd lighttpd cro nd snmpd pimd xinetd dbus-daemon smbd nmbd avahi-daemon babeld ahcpd rngd ntpd d nsmasq ubusd askfirst miniupnpd Sending KILL to remaining processes ... askfirst Switching to ramdisk... Performing system upgrade... Unlocking firmware ... Writing from to firmware ... Appending jffs2 data from /tmp/sysupgrade.tgz to firmware...TRX header not found Error fixing up TRX header Upgrade completed Rebooting system... (And when it came back, it was on 38-1. Pondering /rom/usr/lib/lua/luci/view/admin_system/flashops.htm didn't help much. Down around line 83 we have this: <% if image_invalid then %> iv class="cbi-section-error"><%:The uploaded image file does not contain a supported format. Make sure that you choose the generic image format f <% end %> but damned if I can figure out where/how image_invalid gets set on return from the 'form method=post' above it.... --==_Exmh_1398754776_2212P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Exmh version 2.5 07/13/2001 iQIVAwUBU19N1wdmEQWDXROgAQL33Q/+PG0G7cuWhO9xgk+eW59zt/HmReI+/ZGB XFKJWbTPzafWRt3vHzUOKOxqeBN2UrB57RmTzy8O0WwWKySxrxvvyJcynHz1veOp 59JOiHSCGF+7Uz+hYtRpKIC3gVbuPuC4TqtZjaNkZGOLRY9/fOcInt5JE1goPPfl o2qyTuqdNXzeJtWQ4n+MvOHuthFPbRvyMBk92KQKNtAscGfGTxJPsk9XbWWtQylY U47pljq7oQ0+o+L4MwtsnnOQLlYjnQWyPs4+3mfGOh42dtSKFedByhQqpHYnT8tY F8HY/9stojJrIRzlHR8zNJ427TLT7PLrm9rmRI02Or18OuuxaOHtsclbpb6jnDnT iSHDIcQx9AibGgStRWMkBGnXpSpXay/juOVGgu4Qk9MGynWwEEeWDrpClybKUh/k VCjoc46bp8r1lkOkvbhfhjiwrpgLcZ2xp3IKx/fOPxwExdQ51orOHdhYSzT8GoZT 4FhfwOHylcsRRPPYOPJxT85UoxNBo9+RdhqGd0I6rik8u25Cr0xqewZFfBq/ejA0 eE1xTD+K75sBdy6bfivIP0VpKidftJPgyoQyw0jonzl/PvdF/41UwnUlKan6mIBK T1cLm4Gd/dA/UCf5hk7ydjoInW5n1NYQ5ApmhvNxg3BATnoHjCjNqzv0fZfW6ONy j8vc2sUUIvc= =eyS3 -----END PGP SIGNATURE----- --==_Exmh_1398754776_2212P--