Hi, i have some problem with the sysupgrade command. Basically it works only if i do not ask to save the conf files (-n option). Otherwise after rebooting i get the following error:
List of all partitions: 0300 990864 hda driver: ide-disk 0301 4504 hda1 0302 49360 hda2 No filesystem could mount root, tried: ext2 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,2) It seems that the problem is with this line: mtd jffs2write "$CONF_TAR" rootfs where CONF_TAR is /tmp/conffiles.tgz I'm calling sysupgrade with the url of the new image. sysupgrade http://x.x.x.x/openwrt-x86-ext2.image Any hints? ----- "Frédéric Moulins" <[EMAIL PROTECTED]> ha scritto: > On Thu, 13 Nov 2008 23:06:46 +0200 > Acinonyx <[EMAIL PROTECTED]> wrote: > > > Στις Thursday 13 November 2008 22:57:26 ο/η Brian J. Murrell έγραψε: > > > On Thu, 2008-11-13 at 21:48 +0100, Frédéric Moulins wrote: > > > > Depending on your platform you will be able to upgrade while > > > > keeping config files. > > > > > > Will sysupgrade refuse to execute (and say why) on unsupported > > > platforms or does one not find out that it didn't work until after > > > the upgrade? :-/ > > > > > > b. > > > > It may execute and then find out you lost all your settings. I've > had > > such an experience with x86 target and ext2 fs. :( If there aren't > > any major changes in sysupgrade scripts since my last tests (a > couple > > of months ago), sysupgrade config backups are broken for this > > platform. > > > > > > If the platform dependant '/lib/upgrade/platform.sh' does not define > the > function 'platform_check_image' it will fail with : > "Firmware upgrade is not implemented for this platform." > > This function is supposed to check the given firmware image for the > platform. > > Other parameters and functions needed are defined in this file. It is > implemented for a few platforms, at least for x86, broadcom and > adm5120 (cf. 809rc1 anouncement). > _______________________________________________ > openwrt-users mailing list > [email protected] > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users -- -------------------------------------------------------- Roberto Riggio, PhD CREATE-NET Via alla Cascata 56/C 38100 Trento (Italy) E-mail: [EMAIL PROTECTED] HomePage: http://disi.unitn.it/~riggio/ Tel: +39.0461.40.84.00 (ext. 708) Fax: +39.0461.314.972 -------------------------------------------------------- _______________________________________________ openwrt-users mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
