From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 19D9321F112 for ; Wed, 11 Dec 2013 03:06:00 -0800 (PST) Received: from [172.30.42.112] ([87.150.22.181]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MD9uq-1VlG6T1GCS-00GWCn for ; Wed, 11 Dec 2013 12:05:57 +0100 From: Sebastian Moeller Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <5F4EAEB7-0154-48EB-8612-8E73EB5DD312@gmx.de> Date: Wed, 11 Dec 2013 12:05:56 +0100 To: =?iso-8859-1?Q?Dave_T=E4ht?= , "cerowrt-devel@lists.bufferbloat.net" Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) X-Provags-ID: V03:K0:uHVnImxyOl4nwuGQFuRuSvuajWGcBsO1rLU/88q2jcsjDlkZEs/ Wp50yUkANkSgOPw+7hSk0qruoPvg/aBY3W46paDCTm6Z0MS4Xt5Eao9sjnKiSBXXJdRzHt9 eCjJ10iGb4EfgEYChzmJT9cH+aoqdqblM9SdNqLOr9wCy51lCsGQMrICztIPOAoOo534DKp 0nKVgfXy3fznVC0F0jccw== Subject: [Cerowrt-devel] sysupgrade failure solved 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: Wed, 11 Dec 2013 11:06:00 -0000 Dear list, for some time now we had the issue that the sysupgrade command did not = work.=20 So here is the output of my first attempt to sysupgrade 3.10.18-1 to = 3.10.21-1: root@nacktmulle:~# sysupgrade -d 60 -n -v = /home/persistent/cerowrts/3.10.21-1/3.10.21-1-sysupgrade.bin=20 killall: watchdog: no process killed Sending TERM to remaining processes ... udhcpc lighttpd crond lighttpd = snmpd xinetd dbus-daemon odhcp6c zebra babeld watchquagga avahi-daemon = rngd ntpd pimd minissdpd dnsmasq sh ubusd askfirst netifd=20 Sending KILL to remaining processes ... ubusd askfirst=20 Switching to ramdisk... mount: /proc is not a block device umount: /tmp/root: not mounted Failed to switch over to ramfs. Please reboot. root@nacktmulle:~#=20 As you can see this did not work. After a reboot I removed the = mount-utils packet: root@nacktmulle:~# sysupgrade -d 60 -n -v = /home/persistent/cerowrts/3.10.21-1/3.10.21-1-sysupgrade.bin=20 killall: watchdog: no process killed Sending TERM to remaining processes ... udhcpc lighttpd crond lighttpd = snmpd xinetd dbus-daemon odhcp6c zebra babeld watchquagga avahi-daemon = rngd ntpd pimd minissdpd dnsmasq ubusd askfirst netifd=20 Sending KILL to remaining processes ... ubusd askfirst=20 Switching to ramdisk... Performing system upgrade... Unlocking firmware ... Writing from to firmware ... =20 Upgrade completed The root cause for the sysupgrade filure with installed mount-utils is = the fact that mount-utils' /usr/bin/mount has different calling = conventions than busy box's /bin/mount which in result make sysupgrade = fail. So the easiest solution for sysupgrade is to remove mount-utils = before running sysupgrade. (An alternative proposed earlier would be to = edit the sysupgrade script to always call /bin/mount and /bin/umount) Bonus, on my router I mount a swp partition and a home partition (ext4) = from an usb stick, both mount fine without mount-utils installed. So = maybe we can move mount-utils out of the default installs? Best Regards Sebastian