[OpenWrt-Tickets] [OpenWrt] #3717: sysupgrade gives ominous warnings on brcm

OpenWrt openwrt-devel at lists.openwrt.org
Sat Jul 5 17:00:31 CEST 2008


#3717: sysupgrade gives ominous warnings on brcm
---------------------------------+------------------------------------------
 Reporter:  b.candler at pobox.com  |       Owner:  developers
     Type:  defect               |      Status:  new       
 Priority:  low                  |   Milestone:            
Component:  base system          |    Keywords:            
---------------------------------+------------------------------------------
 After making the change in #3716, and running sysupgrade on an Asus WL500g
 Deluxe, this is the output I got:

 {{{
 root at OpenWrt:~# /sbin/sysupgrade /tmp/openwrt-brcm-2.4-squashfs.trx
 Saving config files...
 Switching to ramdisk...
 mount: mounting mini_fo:/jffs on /mnt failed: Function not implemented
 Performing system upgrade...
 ash: awk: not found
 ash: cannot create : nonexistent directory
 Refreshing partitions
 Refreshing mtd partition rootfs ... Could not open mtd device: rootfs
 Could not open mtd device: rootfs
 Unlocking rootfs_data ...
 Erasing rootfs_data ...
 Appending /tmp/sysupgrade.tgz to jffs2 partition rootfs_data
 root at OpenWrt:~# Connection to 192.168.1.1 closed by remote host.
 Connection to 192.168.1.1 closed.
 }}}

 The warnings about being unable to open mtd partitions, functions not
 implemented, awk not found, cannot create etc. are rather worrying - they
 imply that the upgrade has gone horribly wrong.

 In fact, it ''did'' reflash the device correctly, and appears to have
 restored changed files from /etc/config/*.

-- 
Ticket URL: <https://dev.openwrt.org/cgi-bin/trac.fcgi/ticket/3717>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology


More information about the openwrt-tickets mailing list