[FS#1437] Trunk r6421 not save configuration on ER3.

LEDE Bugs lede-bugs at lists.infradead.org
Fri Mar 16 13:53:20 PDT 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - Andy Lee (linhtinh) 

Attached to Project - OpenWrt/LEDE Project
Summary - Trunk r6421 not save configuration on ER3.
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details -   
Problem on ER3 r6421.

Flashing success, but not save configuration. Every time i'm reboot, router roll back to default config.

Here are serial output:

## Loading Linux kernel with entry point: 0xffffffff815efa20 ...
Bootloader: Done loading app on coremask: 0x3
[    0.000000] Linux version 4.14.25 (teq at teqdesk) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6302-0f54d96d24)) #0 SMP Sun Mar 18
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0000000005400000 @ 0000000002a00000 (usable)
[    0.000000]  memory: 0000000007c00000 @ 0000000008200000 (usable)
[    0.000000]  memory: 000000000fc00000 @ 0000000410000000 (usable)
[    0.000000]  memory: 0000000001826e20 @ 0000000001100000 (usable)
[    0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using internal Device Tree.
[    0.000000] software IO TLB [mem 0x0398e000-0x0798e000] (64MB) mapped at [800000000398e000-800000000798dfff]
[    0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[    0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000efffffff]
[    0.000000]   Normal   [mem 0x00000000f0000000-0x000000041fbfffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000002925fff]
[    0.000000]   node   0: [mem 0x0000000002a00000-0x0000000007dfffff]
[    0.000000]   node   0: [mem 0x0000000008200000-0x000000000fdfffff]
[    0.000000]   node   0: [mem 0x0000000410000000-0x000000041fbfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000041fbfffff]
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 19 pages/cpu @80000000079f9000 s39344 r8192 d30288 u77824
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 126539
[    0.000000] Kernel command line: mtdparts=phys_mapped_flash:512k(boot0)ro,512k(boot1)ro,64k(eeprom)ro root=/dev/sda2 root0
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Memory: 396916K/513176K available (5086K kernel code, 330K rwdata, 1236K rodata, 1328K init, 16731K bss, 1162)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 127
[   13.844962] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[   13.855830] Calibrating delay loop (skipped) preset value.. 1000.00 BogoMIPS (lpj=2000000)
[   13.864040] pid_max: default: 32768 minimum: 301
[   13.868767] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[   13.875252] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[   13.882962] Checking for the daddi bug... no.
[   13.888198] Hierarchical SRCU implementation.
[   13.893207] smp: Bringing up secondary CPUs ...
[   13.898265] SMP: Booting CPU01 (CoreId  1)...
[   13.902655] CPU1 revision is: 000d0601 (Cavium Octeon+)
[   13.902885] smp: Brought up 1 node, 2 CPUs
[   13.916204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[   13.925852] futex hash table entries: 512 (order: 4, 65536 bytes)
[   13.932600] NET: Registered protocol family 16
[   13.947309] Not in host mode, PCI Controller not initialized
[   13.968490] SCSI subsystem initialized
[   13.972686] usbcore: registered new interface driver usbfs
[   13.978233] usbcore: registered new interface driver hub
[   13.983653] usbcore: registered new device driver usb
[   13.990959] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[   13.998255] NET: Registered protocol family 2
[   14.003415] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   14.010447] TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
[   14.016998] TCP: Hash tables configured (established 4096 bind 4096)
[   14.023382] UDP hash table entries: 256 (order: 2, 24576 bytes)
[   14.029247] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes)
[   14.035842] NET: Registered protocol family 1
[   14.041861] Crashlog allocated RAM at address 0x3f00000
[   14.047176] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[   14.065676] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   14.071763] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   14.086436] io scheduler noop registered
[   14.090468] io scheduler deadline registered (default)
[   14.096184] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[   14.103985] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.111417] console [ttyS0] disabled
[   14.114893] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 31250000) is a OCTEON
[   14.124683] console [ttyS0] enabled
[   14.124683] console [ttyS0] enabled
[   14.131607] bootconsole [early0] disabled
[   14.131607] bootconsole [early0] disabled
[   14.140285] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 42, base_baud = 31250000) is a OCTEON
[   14.150793] octeon_rng octeon_rng: Octeon Random Number Generator
[   14.157467] cacheinfo: Failed to find cpu0 device node
[   14.162685] cacheinfo: Unable to detect cache hierarchy for CPU 0
[   14.175673] loop: module loaded
[   14.179780] of-flash 1f400000.nor: Can't get bank width from device tree
[   14.187061] libphy: mdio_octeon: probed
[   14.191005] [Firmware Warn]: /soc at 0/mdio at 1180000001800/ethernet-phy at 7: Whitelisted compatible string. Please remove
[   14.202182] [Firmware Warn]: /soc at 0/mdio at 1180000001800/ethernet-phy at 6: Whitelisted compatible string. Please remove
[   14.213362] [Firmware Warn]: /soc at 0/mdio at 1180000001800/ethernet-phy at 5: Whitelisted compatible string. Please remove
[   14.224507] mdio_octeon 1180000001800.mdio: Probed
[   14.229932] libphy: Fixed MDIO Bus: probed
[   14.234303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.240892] ehci-platform: EHCI generic platform driver
[   14.246401] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   14.252671] ohci-platform: OHCI generic platform driver
[   14.258302] usbcore: registered new interface driver usb-storage
[   14.264425] octeon_wdt: Initial granularity 5 Sec
[   14.273052] Interface 0 has 3 ports (RGMII)
[   14.281525] octeon-hcd 16f0010000000.usbc: Octeon Host Controller
[   14.287752] octeon-hcd 16f0010000000.usbc: new USB bus registered, assigned bus number 1
[   14.295976] octeon-hcd 16f0010000000.usbc: irq 56, io mem 0x00000000
[   14.303455] hub 1-0:1.0: USB hub found
[   14.307394] hub 1-0:1.0: 1 port detected
[   14.311991] octeon-hcd 16f0010000000.usbc: Registered HCD for port 0 on irq 56
[   14.320877] NET: Registered protocol family 10
[   14.327445] Segment Routing with IPv6
[   14.331299] NET: Registered protocol family 17
[   14.335870] 8021q: 802.1Q VLAN Support v1.8
[   14.340407] Bootbus flash: Setting flash for 4MB flash at 0x1f800000
[   14.346967] phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0000a7
[   14.357360] Amd/Fujitsu Extended Query Table at 0x0040
[   14.362566]   Amd/Fujitsu Extended Query version 1.1.
[   14.367649] phys_mapped_flash: Swapping erase regions for top-boot CFI table.
[   14.374815] number of CFI chips: 1
[   14.378278] 3 cmdlinepart partitions found on MTD device phys_mapped_flash
[   14.385191] Creating 3 MTD partitions on "phys_mapped_flash":
[   14.390979] 0x000000000000-0x000000080000 : "boot0"
[   14.397066] 0x000000080000-0x000000100000 : "boot1"
[   14.403212] 0x000000100000-0x000000110000 : "eeprom"
[   14.411056] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[   14.418316] Waiting for root device /dev/sda2...
[   14.694990] usb 1-1: new high-speed USB device number 2 using octeon-hcd
[   15.157589] usb-storage 1-1:1.0: USB Mass Storage device detected
[   15.164285] scsi host0: usb-storage 1-1:1.0
[   16.377528] scsi 0:0:0:0: Direct-Access     SRT      USB              1100 PQ: 0 ANSI: 4
[   16.387726] sd 0:0:0:0: [sda] 15765504 512-byte logical blocks: (8.07 GB/7.52 GiB)
[   16.396124] sd 0:0:0:0: [sda] Write Protect is off
[   16.401790] sd 0:0:0:0: [sda] No Caching mode page found
[   16.407211] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   16.417477]  sda: sda1 sda2
[   16.423799] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   16.435439] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[   16.443711] Freeing unused kernel memory: 1328K
[   16.448300] This architecture does not have kernel memory protection.
[   16.979499] init: Console is alive
[   16.983324] init: - watchdog -
[   17.607797] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   17.722469] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   17.740277] init: - preinit -
[   18.930430] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   20.963071] eth0: 1000 Mbps Full duplex, port 0, queue 0
[   20.968484] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.208639] mount_root: rootdisk overlay filesystem has not been formatted yet
sh: mkfs.f2fs: not found
[   22.221786] mount_root: no usable overlay filesystem found, using tmpfs overlay
[   23.377720] random: crng init done
[   23.407105] urandom-seed: Seed file not found (/etc/urandom.seed)
[   23.538293] eth0: Link down
[   23.551669] procd: - early -
[   23.554692] procd: - watchdog -
[   24.221523] procd: - watchdog -
[   24.225235] procd: - ubus -
[   24.364194] procd: - init -
Please press Enter to activate this console.
[   24.943579] kmodloader: loading kernel modules from /etc/modules.d/*
[   24.964605] l2tp_core: L2TP core driver, V2.0
[   24.970234] l2tp_netlink: L2TP netlink interface
[   24.980069] gre: GRE over IPv4 demultiplexor driver
[   24.987409] ip_gre: GRE over IPv4 tunneling driver
[   25.001262] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   25.289771] Netfilter messages via NETLINK v0.30.
[   25.297611] ip_set: protocol 6
[   25.337788] cryptodev: driver 1.9 loaded.
[   25.358006] u32 classifier
[   25.360794]     input device check on
[   25.364596]     Actions configured
[   25.371338] Mirror/redirect action on
[   25.386211] nf_conntrack version 0.5.0 (3584 buckets, 14336 max)
[   25.405328] ip_tables: (C) 2000-2006 Netfilter Core Team
[   25.553490] ctnetlink v0.93: registering with nfnetlink.
[   25.698364] wireguard: WireGuard 0.0.20180304 loaded. See www.wireguard.com for information.
[   25.706931] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld . All Rights Reserved.
[   25.765405] xt_time: kernel timezone is -0000
[   25.858495] PPP generic driver version 2.4.2
[   25.865711] PPP MPPE Compression module registered
[   25.872986] NET: Registered protocol family 24
[   25.879616] PPTP driver version 0.8.5
[   25.888062] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   25.896812] kmodloader: done loading kernel modules from /etc/modules.d/*
[   32.622166] br-lan: port 1(eth0) entered blocking state
[   32.627510] br-lan: port 1(eth0) entered disabled state
[   32.633218] device eth0 entered promiscuous mode
[   32.648210] br-lan: port 1(eth0) entered blocking state
[   32.653545] br-lan: port 1(eth0) entered forwarding state
[   32.659197] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   32.700308] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   33.645742] br-lan: port 1(eth0) entered disabled state
[   34.746429] eth0: 1000 Mbps Full duplex, port 0, queue 0
[   34.763064] br-lan: port 1(eth0) entered blocking state
[   34.768376] br-lan: port 1(eth0) entered forwarding state
[   34.807116] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   35.811122] eth1: 1000 Mbps Full duplex, port 1, queue 1
[   35.816578] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   39.261056] MTD: Attempt to mount non-MTD device "/dev/loop0"


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1437



More information about the lede-bugs mailing list