Page 1 of 1

Gargoyle cannot save settings

Posted: Fri Oct 08, 2010 7:05 am
by pbix
Folks,
There have been several reports from users that they cannot save settings on their routers. There is no known cause of this issue and no known way to reproduce it. The only way known to recover from this has been to re-flash the routers.

I saw it once on my WRT54GL and an examination of the syslog produced by the "logread" command immediately after booting revealed an interesting entry as follows:

Dec 31 19:00:12 OpenWrt user.info kernel: mini_fo: using base directory: /
Dec 31 19:00:12 OpenWrt user.info kernel: mini_fo: using storage directory: /overlay
Dec 31 19:00:12 OpenWrt user.warn kernel: Erase at 0x00070000 failed immediately: -EROFS. Is the sector locked?

I was able to restore normal function in my router with the following command: "mtd unlock rootfs_data".

If any user suffers from the problem of not being able to save configuration data please do us a favor. Reboot your router and check if the above lines are in your logread output. Try the above command and report if it restores the normal function of your router. Please post your results and the make/model of the router you are using.

Your beleaguered developers appreciate your support.

Re: Gargoyle cannot save settings

Posted: Thu Nov 04, 2010 12:44 pm
by maxmonroe
I have WRT54GL. Gargoyle 1.3.6. Connection to internet pppoe
This is ma log after reboot:

Jan 1 01:00:12 Gargoyle user.warn kernel: Registering mini_fo version $Id$
Jan 1 01:00:12 Gargoyle user.info kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
Jan 1 01:00:12 Gargoyle user.info kernel: devfs: boot_options: 0x1
Jan 1 01:00:12 Gargoyle user.notice kernel: JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Jan 1 01:00:12 Gargoyle user.info kernel: squashfs: version 3.0 (2006/03/15) Phillip Lougher
Jan 1 01:00:12 Gargoyle user.warn kernel: pty: 256 Unix98 ptys configured
Jan 1 01:00:12 Gargoyle user.info kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Jan 1 01:00:12 Gargoyle user.info kernel: ttyS00 at 0xb8000300 (irq = 3) is a 16550A
Jan 1 01:00:12 Gargoyle user.info kernel: ttyS01 at 0xb8000400 (irq = 3) is a 16550A
Jan 1 01:00:12 Gargoyle user.info kernel: b44.c:v0.93 (Mar, 2004)
Jan 1 01:00:12 Gargoyle user.debug kernel: PCI: Setting latency timer of device 00:01.0 to 64
Jan 1 01:00:12 Gargoyle user.info kernel: eth0: Broadcom 47xx 10/100BaseT Ethernet 00:18:f8:7a:6b:17
Jan 1 01:00:12 Gargoyle user.debug kernel: Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Jan 1 01:00:12 Gargoyle user.debug kernel: Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Jan 1 01:00:12 Gargoyle user.debug kernel: Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Jan 1 01:00:12 Gargoyle user.debug kernel: Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Jan 1 01:00:12 Gargoyle user.debug kernel: Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Jan 1 01:00:12 Gargoyle user.debug kernel: Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Jan 1 01:00:12 Gargoyle user.debug kernel: Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Jan 1 01:00:12 Gargoyle user.notice kernel: Amd/Fujitsu Extended Query Table v3.3 at 0x0040
Jan 1 01:00:12 Gargoyle user.notice kernel: number of CFI chips: 1
Jan 1 01:00:12 Gargoyle user.notice kernel: cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Jan 1 01:00:12 Gargoyle user.notice kernel: Flash device: 0x400000 at 0x1c000000
Jan 1 01:00:12 Gargoyle user.notice kernel: bootloader size: 262144
Jan 1 01:00:12 Gargoyle user.info kernel: Physically mapped flash: Filesystem type: squashfs, size=0x2403b6
Jan 1 01:00:12 Gargoyle user.notice kernel: Creating 5 MTD partitions on "Physically mapped flash":
Jan 1 01:00:12 Gargoyle user.notice kernel: 0x00000000-0x00040000 : "cfe"
Jan 1 01:00:12 Gargoyle user.notice kernel: 0x00040000-0x003f0000 : "linux"
Jan 1 01:00:12 Gargoyle user.notice kernel: 0x000bb400-0x00300000 : "rootfs"
Jan 1 01:00:12 Gargoyle user.warn kernel: mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
Jan 1 01:00:12 Gargoyle user.notice kernel: 0x003f0000-0x00400000 : "nvram"
Jan 1 01:00:12 Gargoyle user.notice kernel: 0x00300000-0x003f0000 : "rootfs_data"
Jan 1 01:00:12 Gargoyle user.err kernel: sflash: found no supported devices
Jan 1 01:00:12 Gargoyle user.info kernel: Initializing Cryptographic API
Jan 1 01:00:12 Gargoyle user.info kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Jan 1 01:00:12 Gargoyle user.info kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Jan 1 01:00:12 Gargoyle user.info kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Jan 1 01:00:12 Gargoyle user.info kernel: TCP: Hash tables configured (established 1024 bind 2048)
Jan 1 01:00:12 Gargoyle user.info kernel: Linux IP multicast router 0.06 plus PIM-SM
Jan 1 01:00:12 Gargoyle user.info kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Jan 1 01:00:12 Gargoyle user.info kernel: NET4: Ethernet Bridge 008 for NET4.0
Jan 1 01:00:12 Gargoyle user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Jan 1 01:00:12 Gargoyle user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Jan 1 01:00:12 Gargoyle user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
Jan 1 01:00:12 Gargoyle user.info kernel: Mounted devfs on /dev
Jan 1 01:00:12 Gargoyle user.info kernel: Freeing unused kernel memory: 84k freed
Jan 1 01:00:12 Gargoyle user.warn kernel: diag: Detected 'Linksys WRT54G/GS/GL'
Jan 1 01:00:12 Gargoyle user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Jan 1 01:00:12 Gargoyle user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Jan 1 01:00:12 Gargoyle user.info kernel: roboswitch: Probing device eth0: found a 5325! It's a 5350.
Jan 1 01:00:12 Gargoyle user.info kernel: mini_fo: using base directory: /
Jan 1 01:00:12 Gargoyle user.info kernel: mini_fo: using storage directory: /overlay
Jan 1 01:00:12 Gargoyle user.warn kernel: jffs2.bbc: SIZE compression mode activated.
Jan 1 01:00:14 Gargoyle user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Jan 1 01:00:14 Gargoyle user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Jan 1 01:00:16 Gargoyle user.debug kernel: eth0.0: add 01:00:5e:00:00:01 mcast address to master interface
Jan 1 01:00:16 Gargoyle user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Jan 1 01:00:16 Gargoyle user.info kernel: eth0.0: dev_set_promiscuity(master, 1)
Jan 1 01:00:16 Gargoyle user.info kernel: device eth0 entered promiscuous mode
Jan 1 01:00:16 Gargoyle user.info kernel: device eth0.0 entered promiscuous mode
Jan 1 01:00:16 Gargoyle user.info kernel: br-lan: port 1(eth0.0) entering learning state
Jan 1 01:00:16 Gargoyle user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Jan 1 01:00:16 Gargoyle user.info kernel: br-lan: topology change detected, propagating
Jan 1 01:00:17 Gargoyle user.info kernel: CSLIP: code copyright 1989 Regents of the University of California
Jan 1 01:00:19 Gargoyle user.info kernel: PPP generic driver version 2.4.2
Jan 1 01:00:20 Gargoyle user.debug kernel: PCI: Setting latency timer of device 00:05.0 to 64
Jan 1 01:00:20 Gargoyle user.emerg kernel: PCI/DMA
Jan 1 01:00:20 Gargoyle user.emerg kernel: wl0: wlc_attach: chiprev 0 coreunit 0 corerev 9 cccap 0x4787aa maccap 0x0 band 2.4G, phy_type 2 phy_rev 7 ana_rev 2
Jan 1 01:00:20 Gargoyle user.info sysinit: Error 1 looking up hostname 2.europe.pool.ntp.org
Jan 1 01:00:20 Gargoyle user.info sysinit: Error 1 looking up hostname 1.europe.pool.ntp.org
Jan 1 01:00:20 Gargoyle user.info sysinit: Error 1 looking up hostname 0.europe.pool.ntp.org
Jan 1 01:00:20 Gargoyle user.warn kernel: wl0: Broadcom BCM4320 802.11 Wireless Controller 4.150.10.5
Jan 1 01:00:21 Gargoyle user.info sysinit: Warning: loading wl will taint the kernel: non-GPL license - Proprietary
Jan 1 01:00:21 Gargoyle user.info sysinit: See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Jan 1 01:00:22 Gargoyle user.warn kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan 1 01:00:22 Gargoyle daemon.info pppd[320]: Plugin rp-pppoe.so loaded.
Jan 1 01:00:22 Gargoyle daemon.notice pppd[320]: pppd 2.4.4 started by root, uid 0
Jan 1 01:00:23 Gargoyle daemon.err pppd[320]: Interface eth0.1 has MTU of 1492 -- should be 1500. You may have serious connection problems.
Jan 1 01:00:24 Gargoyle user.warn kernel: ip_conntrack version 2.1 (5953 buckets, 5953 max) - 352 bytes per conntrack
Jan 1 01:00:26 Gargoyle user.info kernel: ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/
Jan 1 01:00:30 Gargoyle user.info kernel: Hooked IMQ after mangle on PREROUTING
Jan 1 01:00:30 Gargoyle user.info kernel: Hooked IMQ after nat on POSTROUTING
Jan 1 01:00:30 Gargoyle user.info kernel: imq driver loaded.
Jan 1 01:05:03 Gargoyle user.info sysinit: Error 1 looking up hostname 2.europe.pool.ntp.org
Jan 1 01:05:03 Gargoyle user.info sysinit: Error 1 looking up hostname 1.europe.pool.ntp.org
Jan 1 01:05:03 Gargoyle user.info sysinit: Error 1 looking up hostname 0.europe.pool.ntp.org
Jan 1 01:05:04 Gargoyle user.info sysinit: Loading defaults
Jan 1 01:05:05 Gargoyle user.info sysinit: Loading synflood protection
Jan 1 01:05:05 Gargoyle user.info sysinit: Adding custom chains
Jan 1 01:05:06 Gargoyle user.info sysinit: Loading zones
Jan 1 01:05:07 Gargoyle user.info sysinit: Loading forwarding
Jan 1 01:05:07 Gargoyle user.info sysinit: Loading redirects
Jan 1 01:05:07 Gargoyle daemon.warn pppd[320]: Timeout waiting for PADO packets
Jan 1 01:05:07 Gargoyle daemon.err pppd[320]: Unable to complete PPPoE Discovery
Jan 1 01:05:09 Gargoyle user.info sysinit: Loading rules
Jan 1 01:05:09 Gargoyle user.info sysinit: Loading includes
Jan 1 01:05:10 Gargoyle user.info sysinit: iptables -t filter -A input_wan -p tcp --dport 443 -m connmark --mark 0x0080/0x0080 -j ACCEPT
Jan 1 01:05:10 Gargoyle user.info sysinit: uci: Entry not found
Jan 1 01:05:11 Gargoyle user.info sysinit: l7 used = "skypetoskype dns httpvideo"
Jan 1 01:05:14 Gargoyle user.info sysinit: iptables -t filter -A egress_restrictions -p tcp -j REJECT --reject-with tcp-reset
Jan 1 01:05:14 Gargoyle user.info sysinit: iptables -t filter -A egress_restrictions -j REJECT
Jan 1 01:05:16 Gargoyle user.info sysinit: Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`).
Jan 1 01:05:16 Gargoyle user.info sysinit: Bad argument `iptables'
Jan 1 01:05:16 Gargoyle user.info sysinit: Try `iptables -h' or 'iptables --help' for more information.
Jan 1 01:05:16 Gargoyle user.info sysinit: Loading zone defaults
Jan 1 01:05:17 Gargoyle user.notice root: adding lan (br-lan) to firewall zone lan
Jan 1 01:05:18 Gargoyle cron.err crond[992]: crond (busybox 1.15.3) started, log level 5
Jan 1 01:05:19 Gargoyle authpriv.info dropbear[999]: Running in background
Jan 1 01:05:20 Gargoyle daemon.crit httpd_gargoyle[1021]: socket :: - Address family not supported by protocol
Jan 1 01:05:20 Gargoyle daemon.err httpd_gargoyle[1021]: unknown sockaddr family on listen socket - 0
Jan 1 01:05:20 Gargoyle daemon.warn httpd_gargoyle[1025]: started as root without requesting chroot(), warning only
Jan 1 01:05:20 Gargoyle daemon.notice httpd_gargoyle[1025]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jan 1 01:05:25 Gargoyle authpriv.info dropbear[1303]: Child connection from 192.168.1.102:2254
Jan 1 01:05:37 Gargoyle authpriv.notice dropbear[1303]: password auth succeeded for 'root' from 192.168.1.102:2254
Jan 1 01:05:37 Gargoyle daemon.err pppd[320]: Interface eth0.1 has MTU of 1492 -- should be 1500. You may have serious connection problems.
Jan 1 01:05:38 Gargoyle cron.err crond[2162]: crond (busybox 1.15.3) started, log level 5
Jan 1 01:05:39 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan 1 01:05:43 Gargoyle daemon.info dnsmasq[2181]: started, version 2.55 cachesize 150
Jan 1 01:05:43 Gargoyle daemon.info dnsmasq[2181]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Jan 1 01:05:43 Gargoyle daemon.info dnsmasq-dhcp[2181]: DHCP, IP range 192.168.1.185 -- 192.168.1.200, lease time 1d
Jan 1 01:05:43 Gargoyle daemon.info dnsmasq[2181]: using local addresses only for domain lan
Jan 1 01:05:43 Gargoyle daemon.info dnsmasq[2181]: reading /tmp/resolv.conf.auto
Jan 1 01:05:43 Gargoyle daemon.warn dnsmasq[2181]: ignoring nameserver 192.168.1.1 - local interface
Jan 1 01:05:43 Gargoyle daemon.info dnsmasq[2181]: using local addresses only for domain lan
Jan 1 01:05:43 Gargoyle daemon.info dnsmasq[2181]: read /etc/hosts - 18 addresses
Jan 1 01:05:43 Gargoyle daemon.info dnsmasq-dhcp[2181]: read /etc/ethers - 16 addresses
Jan 1 01:05:43 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jan 1 01:05:43 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jan 1 01:05:52 Gargoyle daemon.warn pppd[320]: Timeout waiting for PADO packets
Jan 1 01:05:52 Gargoyle daemon.err pppd[320]: Unable to complete PPPoE Discovery
root@Gargoyle:~#


command: "mtd unlock rootfs_data" dosen't work, i can't save settings (qos downloads).