[Librecmc-users] Another Upgrade Failure

Robert Call bob at librecmc.org
Wed Apr 11 22:11:54 EDT 2018


On Wed, 2018-04-11 at 20:50 -0400, Michael Vincent wrote:
> Hi,
> 
> This is the file that I flashed, which I got from the LibreCMC site:
> 
>      librecmc-ar71xx-generic-tpe-r1100-squashfs-sysupgrade.bin
> 
> Does that file include LuCI?
> 

It depends on where you got the file. Did you get it from :

https://librecmc.org/librecmc/downloads/snapshots/v1.4.3/ar71xx/generic
/librecmc-ar71xx-generic-tpe-r1100-squashfs-sysupgrade.bin


> Here's what I did after logging into the router via ssh:
> 
>      root at libreCMC:~# df -h
>      Filesystem Size Used Available Use% Mounted on
>      /dev/root 2.3M 2.3M 0 100% /rom
>      tmpfs 29.4M 64.0K 29.3M 0% /tmp
>      tmpfs 29.4M 32.0K 29.4M 0% /tmp/root
>      tmpfs 512.0K 0 512.0K 0% /dev
>      /dev/mtdblock5 12.1M 588.0K 11.5M 5% /overlay
>      overlayfs:/overlay 12.1M 588.0K 11.5M 5% /
> 
>      root at libreCMC:~# firstboot
>      This will erase all settings and remove any installed packages.
> Are you sure? [N/y]
>      y
>      /dev/mtdblock5 is mounted as /overlay, only erasing files
> 
> I waited several minutes, then:
> 
>      root at libreCMC:~# reboot
> 
> Once the router was back up, I verified that it was still not working
> right. I then entered these commands:
> 
>      root at libreCMC:~# ps | grep uhttpd
>       1211 root      1184 S    grep uhttpd
> 
>      root at libreCMC:~# logread | grep -i warn
>      Mon Apr  2 07:13:52 2018 kern.warn kernel: [    0.000000] No
> valid device tree found, continuing without
>      Mon Apr  2 07:13:52 2018 kern.warn kernel: [    0.000000]
> Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
>      Mon Apr  2 07:13:52 2018 kern.warn kernel: [    0.000000]
> Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32
> bytes
>      Mon Apr  2 07:13:52 2018 kern.warn kernel: [    0.673747]
> Crashlog allocated RAM at address 0x3f00000
>      Mon Apr  2 07:13:52 2018 kern.warn kernel: [    0.765877] m25p80
> spi0.0: found w25q128, expected m25p80
>      Mon Apr  2 07:13:52 2018 user.warn kernel: [    9.153809]
> urandom-seed: Seed file not found (/etc/urandom.seed)
>      Mon Apr  2 07:14:04 2018 daemon.warn odhcpd[851]: DHCPV6 CONFIRM
> IA_NA from 0004c5b7260c8756f364cb3425ef953493a2 on br-lan: not on-
> link
>      Mon Apr  2 07:14:05 2018 daemon.warn odhcpd[851]: DHCPV6 SOLICIT
> IA_NA from 0004c5b7260c8756f364cb3425ef953493a2 on br-lan: ok
> fd0e:bdfd:8187::3cc/128
>      Mon Apr  2 07:14:06 2018 daemon.warn odhcpd[851]: DHCPV6 REQUEST
> IA_NA from 0004c5b7260c8756f364cb3425ef953493a2 on br-lan: ok
> fd0e:bdfd:8187::3cc/128
>      Mon Apr  2 07:14:12 2018 daemon.warn dnsmasq[1168]: no servers
> found in /tmp/resolv.conf.auto, will retry
> 
>      root at libreCMC:~# logread | grep -i err
>      Mon Apr  2 07:13:52 2018 kern.info kernel: [    0.000000]
> Writing ErrCtl register=00000000
>      Mon Apr  2 07:13:52 2018 kern.info kernel: [    0.000000]
> Readback ErrCtl register=00000000
>      Mon Apr  2 07:13:57 2018 daemon.err mount_root: failed to sync
> jffs2 overlay
>      Mon Apr  2 07:14:07 2018 daemon.err hostapd: Configuration file:
> /var/run/hostapd-phy0.conf
>      Mon Apr  2 07:14:07 2018 daemon.err hostapd: Using interface
> wlan0 with hwaddr e4:95:6e:4e:f3:e8 and ssid "libreCMC"
> 
>      root at libreCMC:~# logread | grep -i uhttpd
> 
>      root at libreCMC:~#
> 
> What next? 
> 
> 

You can reflash the router with a proper image or install the luci
packages (if it is connected to the internet) :

opkg update

opkg install luci-ssl


--
Robert Call (Bob)
bob at librecmc.org
https://librecmc.org



More information about the Librecmc-users mailing list