Temat: Loco M5 Openwrt- nie zapisuje ustawień
Witam.
Mam problem z zapisem ustawień na obydwóch urządzeniach Ubiquiti Loco M5 jakie mam. Przy uruchomieniu:
U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)
DRAM: 32 MB
Flash: 8 MB
PCIe WLAN Module found (#1).
Net: eth0, eth1
Board: Ubiquiti Networks XM board (rev 1.0 e8a5)
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS OpenWrt Linux-3.18.20
Created: 2015-09-04 20:00:45 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1098519 Bytes = 1 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 21:55:57 CEST 2015
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 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] 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=UBNT-NM console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro 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: 28516K/32768K available (2621K kernel code, 129K rwdata, 344K rodata, 224K init, 194K bss, 4252K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:5.000MHz
[ 0.000000] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] MIPS: machine is Ubiquiti Nanostation M
[ 0.100000] registering PCI controller with io_map_base unset
[ 0.550000] PCI host bridge to bus 0000:00
[ 0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.560000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.560000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.570000] pci 0000:00:00.0: fixup device configuration
[ 0.570000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 0.580000] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.580000] Switched to clocksource MIPS
[ 0.590000] NET: Registered protocol family 2
[ 0.590000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.590000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.600000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.610000] TCP: reno registered
[ 0.610000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.610000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.620000] NET: Registered protocol family 1
[ 0.630000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.650000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.660000] msgmni has been set to 55
[ 0.680000] io scheduler noop registered
[ 0.680000] io scheduler deadline registered (default)
[ 0.680000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.690000] console [ttyS0] disabled
[ 0.720000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[ 0.730000] console [ttyS0] enabled
[ 0.730000] console [ttyS0] enabled
[ 0.730000] bootconsole [early0] disabled
[ 0.730000] bootconsole [early0] disabled
[ 0.740000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.750000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.760000] 5 cmdlinepart partitions found on MTD device spi0.0
[ 0.760000] Creating 5 MTD partitions on "spi0.0":
[ 0.770000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.770000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.780000] 0x000000050000-0x0000007b0000 : "firmware"
[ 0.810000] 2 uimage-fw partitions found on MTD device firmware
[ 0.810000] 0x000000050000-0x00000015c357 : "kernel"
[ 0.820000] 0x00000015c357-0x0000007b0000 : "rootfs"
[ 0.830000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.830000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.840000] 0x000000390000-0x0000007b0000 : "rootfs_data"
[ 0.850000] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.850000] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.870000] libphy: ag71xx_mdio: probed
[ 1.470000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.480000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.070000] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.110000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.120000] TCP: cubic registered
[ 2.120000] NET: Registered protocol family 17
[ 2.120000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 2.140000] Bridge firewalling registered
[ 2.140000] 8021q: 802.1Q VLAN Support v1.8
[ 2.150000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.160000] Freeing unused kernel memory: 224K (80368000 - 803a0000)
[ 3.520000] init: Console is alive
[ 3.520000] init: - watchdog -
[ 5.190000] usbcore: registered new interface driver usbfs
[ 5.200000] usbcore: registered new interface driver hub
[ 5.210000] usbcore: registered new device driver usb
[ 5.220000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.220000] ehci-platform: EHCI generic platform driver
[ 5.230000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.240000] ohci-platform: OHCI generic platform driver
[ 5.530000] init: - preinit -
[ 6.240000] random: procd urandom read with 9 bits of entropy available
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
[ 8.800000] eth0: link up (100Mbps/Full duplex)
[ 9.610000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 9.660000] eth0: link down
[ 9.670000] procd: - early -
[ 9.680000] procd: - watchdog -
[ 10.370000] procd: - ubus -
[ 11.380000] procd: - init -
Please press Enter to activate this console.
[ 12.380000] NET: Registered protocol family 10
[ 12.400000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.420000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[ 12.430000] Backport generated by backports.git backports-20150129-0-gdd4a670
[ 12.440000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.450000] nf_conntrack version 0.5.0 (449 buckets, 1796 max)
[ 12.500000] xt_time: kernel timezone is -0000
[ 12.530000] cfg80211: Calling CRDA to update world regulatory domain
[ 12.560000] cfg80211: World regulatory domain updated:
[ 12.560000] cfg80211: DFS Master region: unset
[ 12.570000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 12.580000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.580000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.590000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.600000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.610000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 12.620000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 12.630000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.630000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 12.720000] PPP generic driver version 2.4.2
[ 12.730000] NET: Registered protocol family 24
[ 12.780000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 12.820000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[ 12.830000] cfg80211: Calling CRDA for country: US
[ 12.830000] cfg80211: Regulatory domain changed to country: US
[ 12.840000] cfg80211: DFS Master region: FCC
[ 12.840000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 12.850000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 12.860000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[ 12.870000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[ 12.880000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 12.890000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 23.590000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 23.620000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 23.620000] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 24.270000] jffs2: Newly-erased block contained word 0x0 at offset 0x00390000
[ 24.290000] jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00380000
[ 24.300000] jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00370000
[ 24.320000] jffs2: Newly-erased block contained word 0x4a75fa8e at offset 0x00360000
[ 27.310000] device eth0 entered promiscuous mode
[ 27.310000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 27.400000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 28.740000] jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00000000
[ 28.780000] done.
[ 28.780000] jffs2: notice: (972) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 29.230000] eth0: link up (100Mbps/Full duplex)
[ 29.230000] br-lan: port 1(eth0) entered forwarding state
[ 29.240000] br-lan: port 1(eth0) entered forwarding state
[ 29.270000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 31.240000] br-lan: port 1(eth0) entered forwarding state
[ 78.630000] random: nonblocking pool is initializedmount:
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/mtdblock5 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)Czy linie:
[ 24.270000] jffs2: Newly-erased block contained word 0x0 at offset 0x00390000
[ 24.290000] jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00380000
[ 24.300000] jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00370000
[ 24.320000] jffs2: Newly-erased block contained word 0x4a75fa8e at offset 0x00360000
oznaczają uszkodzenie fizyczne pamięci, może można to jakość naprawić? Na obydwóch antenach podobny przypadek.
