#19564: after reboot - reset to defaults / firstboot by accident
------------------------+------------------------
Reporter: bittorf@… | Owner: developers
Type: defect | Status: new
Priority: highest | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
------------------------+------------------------
Comment (by bittorf@…):
again with a "TP-LINK TL-WR1043ND" and r45455.
disc free was: 2588 Kilobytes and after a normal reboot everything is
lost/fresh:
here dmesg and some more. I can not see anything obvious.
{{{
[ 0.000000] Linux version 3.18.11 ([email protected]) (gcc
version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45453) ) #2 Thu Apr 16
08:20:44 CEST 2015
[ 0.000000] MyLoader: sysp=aaaaaaaa, boardp=abbaaa2a, parts=abaaaaa2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9132 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 8035a0f0, node_mem_map
81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32
bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases,
linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 8128
[ 0.000000] Kernel command line: board=TL-WR1043ND oops=panic
panic=10 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28456K/32768K available (2485K kernel code, 125K
rwdata, 528K rodata, 244K init, 188K bss, 4312K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz,
Ref:5.000MHz
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.100000] NET: Registered protocol family 16
[ 0.100000] MIPS: machine is TP-LINK TL-WR1043ND
[ 0.390000] Switched to clocksource MIPS
[ 0.390000] NET: Registered protocol family 2
[ 0.400000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.400000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.410000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.420000] TCP: reno registered
[ 0.420000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.420000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.430000] NET: Registered protocol family 1
[ 0.440000] PCI: CLS 0 bytes, default 32
[ 0.440000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.450000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.460000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.470000] msgmni has been set to 55
[ 0.480000] io scheduler noop registered
[ 0.490000] io scheduler deadline registered (default)
[ 0.490000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.500000] console [ttyS0] disabled
[ 0.520000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud
= 12500000) is a 16550A
[ 0.530000] console [ttyS0] enabled
[ 0.540000] bootconsole [early0] disabled
[ 0.550000] m25p80 spi0.0: found s25sl064p, expected m25p80
[ 0.560000] m25p80 spi0.0: s25sl064p (8192 Kbytes)
[ 0.560000] 5 tp-link partitions found on MTD device spi0.0
[ 0.570000] Creating 5 MTD partitions on "spi0.0":
[ 0.570000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.580000] 0x000000020000-0x000000137e00 : "kernel"
[ 0.580000] mtd: partition "kernel" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[ 0.600000] 0x000000137e00-0x0000007f0000 : "rootfs"
[ 0.600000] mtd: partition "rootfs" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[ 0.620000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.620000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.630000] 0x000000450000-0x0000007f0000 : "rootfs_data"
[ 0.640000] 0x0000007f0000-0x000000800000 : "art"
[ 0.640000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.650000] Realtek RTL8366RB ethernet switch driver version 0.2.4
[ 0.770000] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
[ 0.770000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[ 0.960000] libphy: rtl8366rb: probed
[ 1.280000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 1.280000] TCP: cubic registered
[ 1.290000] NET: Registered protocol family 17
[ 1.290000] bridge: automatic filtering via arp/ip/ip6tables has been
deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.310000] 8021q: 802.1Q VLAN Support v1.8
[ 1.320000] VFS: Mounted root (squashfs filesystem) readonly on device
31:2.
[ 1.330000] Freeing unused kernel memory: 244K (80373000 - 803b0000)
[ 2.250000] init: failed to symlink /tmp -> /var
[ 2.250000] init: Console is alive
[ 2.260000] init: - watchdog -
[ 3.760000] usbcore: registered new interface driver usbfs
[ 3.770000] usbcore: registered new interface driver hub
[ 3.770000] usbcore: registered new device driver usb
[ 3.780000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.790000] ehci-platform: EHCI generic platform driver
[ 3.800000] ehci-platform ehci-platform: EHCI Host Controller
[ 3.800000] ehci-platform ehci-platform: new USB bus registered,
assigned bus number 1
[ 3.810000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 3.840000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 3.840000] hub 1-0:1.0: USB hub found
[ 3.850000] hub 1-0:1.0: 1 port detected
[ 4.170000] usb 1-1: new high-speed USB device number 2 using ehci-
platform
[ 4.270000] init: - preinit -
[ 4.480000] random: procd urandom read with 7 bits of entropy available
[ 4.800000] ar71xx: pll_reg 0xb8050014: 0x1a000000
[ 4.800000] eth0: link up (1000Mbps/Full duplex)
[ 8.080000] jffs2: notice: (336) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 1 of xdatum (0 unchecked, 1 orphan) and 1 of
xref (1 dead, 0 orphan) found.
[ 8.100000] mount_root: overlay filesystem has not been fully
initialized yet
[ 9.080000] mount_root: switching to jffs2 overlay
[ 9.380000] eth0: link down
[ 9.400000] procd: - early -
[ 9.400000] procd: - watchdog -
[ 10.060000] procd: - ubus -
[ 11.080000] procd: - init -
[ 13.220000] NET: Registered protocol family 10
[ 13.250000] zram: Created 1 device(s) ...
[ 13.260000] tun: Universal TUN/TAP device driver, 1.6
[ 13.270000] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[ 13.290000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.340000] u32 classifier
[ 13.340000] input device check on
[ 13.350000] Actions configured
[ 13.350000] Mirror/redirect action on
[ 13.490000] Loading modules backported from Linux version
master-2015-03-09-0-g141f155
[ 13.490000] Backport generated by backports.git
backports-20150129-0-gdd4a670
[ 13.500000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.540000] nf_conntrack version 0.5.0 (448 buckets, 1792 max)
[ 13.680000] xt_time: kernel timezone is -0000
[ 13.730000] cfg80211: Calling CRDA to update world regulatory domain
[ 13.760000] cfg80211: World regulatory domain updated:
[ 13.760000] cfg80211: DFS Master region: unset
[ 13.760000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.770000] cfg80211: (2400000 KHz - 2494000 KHz @ 40000 KHz), (N/A,
3000 mBm), (N/A)
[ 13.780000] cfg80211: (4910000 KHz - 5895000 KHz @ 40000 KHz), (N/A,
3000 mBm), (N/A)
[ 14.080000] PPP generic driver version 2.4.2
[ 14.080000] NET: Registered protocol family 24
[ 14.220000] ath: EEPROM regdomain: 0x0
[ 14.220000] ath: EEPROM indicates default country code should be used
[ 14.220000] ath: doing EEPROM country->regdmn map search
[ 14.220000] ath: country maps to regdmn code: 0x3a
[ 14.220000] ath: Country alpha2 being used: US
[ 14.220000] ath: Regpair used: 0x3a
[ 14.240000] ieee80211 phy0: Selected rate control algorithm
'minstrel_ht'
[ 14.250000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF
Rev:a2 mem=0xb80c0000, irq=2
[ 14.260000] cfg80211: Calling CRDA for country: US
[ 14.260000] cfg80211: Regulatory domain changed to country: US
[ 14.270000] cfg80211: DFS Master region: unset
[ 14.280000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 14.280000] cfg80211: (2400000 KHz - 2494000 KHz @ 40000 KHz), (N/A,
3000 mBm), (N/A)
[ 14.290000] cfg80211: (4910000 KHz - 5895000 KHz @ 40000 KHz), (N/A,
3000 mBm), (N/A)
[ 18.360000] zram0: detected capacity change from 0 to 14680064
[ 18.380000] Adding 14332k swap on /dev/zram0. Priority:0 extents:1
across:14332k SS
[ 24.960000] ar71xx: pll_reg 0xb8050014: 0x1a000000
[ 24.980000] eth0: link up (1000Mbps/Full duplex)
[ 25.060000] br-lan: port 1(eth0.1) entered forwarding state
[ 25.060000] br-lan: port 1(eth0.1) entered forwarding state
[ 27.060000] br-lan: port 1(eth0.1) entered forwarding state
[ 30.060000] random: nonblocking pool is initialized
}}}
{{{
root@OpenWrt:/# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 3.6M 312.0K 3.3M 8% /
/dev/root 3.1M 3.1M 0 100% /rom
tmpfs 14.0M 724.0K 13.3M 5% /tmp
/dev/mtdblock3 3.6M 312.0K 3.3M 8% /overlay
overlayfs:/overlay 3.6M 312.0K 3.3M 8% /
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00010000 "u-boot"
mtd1: 00117e00 00010000 "kernel"
mtd2: 006b8200 00010000 "rootfs"
mtd3: 003a0000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 007d0000 00010000 "firmware"
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19564#comment:18>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets