[LEDE-DEV] Mikrotik sysupgrade install not working on sxt lite2.

Alen Opacic subixonfire at gmail.com
Sun Feb 26 12:45:38 PST 2017


951Ui2HnD

same problem after flashing, stuck in net boot.

log:

root at LEDE:~# dmesg
[    0.000000] Linux version 4.4.50 (buildbot at builds) (gcc version
5.4.0 (LEDE GCC 5.4.0 r3576-ea24d87) ) #0 Sun Feb 26 12:32:26 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 804904d0,
node_mem_map 81000000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    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: 32512
[    0.000000] Kernel command line: parts=1 boot_part_size=4194304
gpio=130603 HZ=300000000 mem=128M kmac=D4:CA:6D:CA:14:5E board=951HnD
ver=3.18 boot=1 mlc=6 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 122832K/131072K available (3409K kernel code,
178K rwdata, 840K rodata, 2028K init, 204K bss, 8240K reserved, 0K
cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz,
Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 6370868154 ns
[    0.000009] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps
every 7158278654ns
[    0.008847] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[    0.081948] pid_max: default: 32768 minimum: 301
[    0.087307] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094822] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.105442] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.117861] NET: Registered protocol family 16
[    0.124363] MIPS: machine is MikroTik RouterBOARD 951Ui-2HnD
[    0.586796] clocksource: Switched to clocksource MIPS
[    0.593854] NET: Registered protocol family 2
[    0.599697] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.607661] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.614879] TCP: Hash tables configured (established 1024 bind 1024)
[    0.622191] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.628857] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.636234] NET: Registered protocol family 1
[    0.641261] PCI: CLS 0 bytes, default 32
[    2.897839] futex hash table entries: 256 (order: -1, 3072 bytes)
[    2.904837] Crashlog allocated RAM at address 0x3f00000
[    2.925067] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.931754] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.998826] io scheduler noop registered
[    3.003287] io scheduler deadline registered (default)
[    3.009450] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    3.019346] console [ttyS0] disabled
[    3.043561] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
base_baud = 1562500) is a 16550A
[    3.053358] console [ttyS0] enabled
[    3.136854] bootconsole [early0] disabled
[    3.238584] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    3.314848] nand: Samsung NAND 128MiB 3,3V 8-bit
[    3.370220] nand: 128 MiB, SLC, erase size: 128 KiB, page size:
2048, OOB size: 64
[    3.461128] Scanning device for bad blocks
[    3.533267] Bad eraseblock 193 at 0x000001820000
[    3.631087] Bad eraseblock 550 at 0x0000044c0000
[    3.714898] Bad eraseblock 790 at 0x0000062c0000
[    3.772611] Bad eraseblock 810 at 0x000006540000
[    3.845866] Bad eraseblock 961 at 0x000007820000
[    3.908604] Creating 3 MTD partitions on "ar934x-nfc":
[    3.970276] 0x000000000000-0x000000040000 : "booter"
[    4.031231] 0x000000040000-0x000000400000 : "kernel"
[    4.092363] 0x000000400000-0x000008000000 : "ubi"
[    4.232936] libphy: ag71xx_mdio: probed
[    4.868865] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04
[uid=004dd042, driver=Generic PHY]
[    4.979181] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    5.638648] ag71xx-mdio.1: Found an AR934X built-in switch
[    5.740922] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    5.815348] NET: Registered protocol family 10
[    5.873268] NET: Registered protocol family 17
[    5.926701] bridge: automatic filtering via arp/ip/ip6tables has
been deprecated. Update your scripts to load br_netfilter if you need
this.
[    6.078196] 8021q: 802.1Q VLAN Support v1.8
[    6.132093] UBI: auto-attach mtd2
[    6.169798] ubi0: attaching mtd2
[    6.786832] random: nonblocking pool is initialized
[    7.836701] ubi0: scanning is finished
[    7.899286] ubi0: attached mtd2 (name "ubi", size 124 MiB)
[    7.965137] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    8.047618] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    8.128044] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    8.209518] ubi0: good PEBs: 987, bad PEBs: 5, corrupted PEBs: 0
[    8.281604] ubi0: user volume: 3, internal volumes: 1, max. volumes
count: 128
[    8.368296] ubi0: max/mean erase counter: 1/0, WL threshold: 4096,
image sequence number: 779778859
[    8.476892] ubi0: available PEBs: 0, total reserved PEBs: 987, PEBs
reserved for bad PEB handling: 15
[    8.587625] ubi0: background thread "ubi_bgt0d" started, PID 309
[    8.661530] block ubiblock0_1: created from ubi0:1(rootfs)
[    8.727407] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    8.821589] Freeing unused kernel memory: 2028K (804b5000 - 806b0000)
[    8.911961] init: Console is alive
[    8.952966] init: - watchdog -
[    9.003285] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    9.087424] kmodloader: done loading kernel modules from
/etc/modules-boot.d/*
[    9.184504] init: - preinit -
[    9.392674] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.899011] eth0: link up (100Mbps/Full duplex)
[   11.953395] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.605990] eth0: link down
[   12.650060] procd: - early -
[   12.684680] procd: - watchdog -
[   13.279768] procd: - ubus -
[   13.365535] procd: - init -
[   13.560183] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.640779] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.716976] Loading modules backported from Linux version
wt-2017-01-31-0-ge882dff19e7f
[   13.813093] Backport generated by backports.git
backports-20160324-13-g24da7d3c
[   13.904068] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.980015] nf_conntrack version 0.5.0 (1950 buckets, 7800 max)
[   14.097213] xt_time: kernel timezone is -0000
[   14.209009] PPP generic driver version 2.4.2
[   14.262650] NET: Registered protocol family 24
[   14.360302] ath: EEPROM regdomain: 0x0
[   14.360323] ath: EEPROM indicates default country code should be used
[   14.360332] ath: doing EEPROM country->regdmn map search
[   14.360352] ath: country maps to regdmn code: 0x3a
[   14.360363] ath: Country alpha2 being used: US
[   14.360373] ath: Regpair used: 0x3a
[   14.372766] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.377774] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47
[   14.578803] kmodloader: done loading kernel modules from /etc/modules.d/*
[   21.443387] device eth1 entered promiscuous mode
[   21.607885] br-lan: port 1(eth1) entered forwarding state
[   21.672714] br-lan: port 1(eth1) entered forwarding state
[   21.909201] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.396929] br-lan: port 1(eth1) entered disabled state
[   22.979058] eth0: link up (100Mbps/Full duplex)
[   23.216848] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   60.027780] eth0: link down
[   60.638526] eth1: link up (1000Mbps/Full duplex)
[   60.694074] br-lan: port 1(eth1) entered forwarding state
[   60.758911] br-lan: port 1(eth1) entered forwarding state
[   62.756800] br-lan: port 1(eth1) entered forwarding state

2017-02-26 18:46 GMT+01:00 Denis Periša <darkman.hr at gmail.com>:
> I dont see issues in boot log? I had problem with sysupgrade on rb435g
> with kernel partition nand had bad sectors so kernel was too big. it
> rebooted without warning and I was left in net boot.. and since make
> kernel_menuconfig is not working I cannot shrink it. If anyone have
> suggestion... or fix to enable some check if the firmware was updated
> good or not without rebooting it.
>
>
> tnx
>
> On Sun, Feb 26, 2017 at 6:20 PM, Alen Opacic <subixonfire at gmail.com> wrote:
>> log from initramfs while routeros on nand:
>> root at LEDE:~# dmesg
>> [    0.000000] Linux version 4.4.50
>> (buildbot at builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE
>> GCC 5.4.0 r3103-1b51a49) ) #0 Mon Feb 20 17:13:44 2017
>> [    0.000000] bootconsole [early0] enabled
>> [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
>> [    0.000000] SoC: Atheros AR9344 rev 3
>> [    0.000000] Determined physical RAM map:
>> [    0.000000]  memory: 04000000 @ 00000000 (usable)
>> [    0.000000] User-defined physical RAM map:
>> [    0.000000]  memory: 04000000 @ 00000000 (usable)
>> [    0.000000] Initrd not found or empty - disabling initrd
>> [    0.000000] No valid device tree found, continuing without
>> [    0.000000] Zone ranges:
>> [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
>> [    0.000000] Movable zone start for each node
>> [    0.000000] Early memory node ranges
>> [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
>> [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
>> [    0.000000] On node 0 totalpages: 16384
>> [    0.000000] free_area_init_node: node 0, pgdat 8042e4d0,
>> node_mem_map 81000000
>> [    0.000000]   Normal zone: 128 pages used for memmap
>> [    0.000000]   Normal zone: 0 pages reserved
>> [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
>> [    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: 16256
>> [    0.000000] Kernel command line: parts=1 boot_part_size=4194304
>> gpio=228923 HZ=300000000 mem=64M kmac=4C:5E:0C:DD:A5:54 board=sxt5n
>> boot=0 mlc=7 rootfstype=squashfs noinitrd
>> [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
>> [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
>> [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
>> [    0.000000] Writing ErrCtl register=00000000
>> [    0.000000] Readback ErrCtl register=00000000
>> [    0.000000] Memory: 57988K/65536K available (3394K kernel code,
>> 174K rwdata, 468K rodata, 2292K init, 203K bss, 7548K reserved, 0K
>> cma-reserved)
>> [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
>> [    0.000000] NR_IRQS:51
>> [    0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz,
>> Ref:25.000MHz
>> [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
>> 0xffffffff, max_idle_ns: 6370868154 ns
>> [    0.000009] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps
>> every 7158278654ns
>> [    0.008859] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
>> [    0.081947] pid_max: default: 32768 minimum: 301
>> [    0.087321] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
>> [    0.094846] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
>> [    0.105537] clocksource: jiffies: mask: 0xffffffff max_cycles:
>> 0xffffffff, max_idle_ns: 19112604462750000 ns
>> [    0.117936] NET: Registered protocol family 16
>> [    0.124541] MIPS: machine is Mikrotik RouterBOARD SXT Lite5
>> [    0.361624] clocksource: Switched to clocksource MIPS
>> [    0.368540] NET: Registered protocol family 2
>> [    0.374515] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
>> [    0.382497] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
>> [    0.389718] TCP: Hash tables configured (established 1024 bind 1024)
>> [    0.397039] UDP hash table entries: 256 (order: 0, 4096 bytes)
>> [    0.403721] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
>> [    0.411130] NET: Registered protocol family 1
>> [    0.416150] PCI: CLS 0 bytes, default 32
>> [    3.059448] futex hash table entries: 256 (order: -1, 3072 bytes)
>> [    3.066513] Crashlog allocated RAM at address 0x3f00000
>> [    3.087978] squashfs: version 4.0 (2009/01/31) Phillip Lougher
>> [    3.094653] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
>> (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
>> [ 3.108704] io scheduler noop registered
>> [    3.113217] io scheduler deadline registered (default)
>> [    3.119339] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
>> [    3.129464] console [ttyS0] disabled
>> [    3.153707] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
>> base_baud = 1562500) is a 16550A
>> [    3.163506] console [ttyS0] enabled
>> [    3.246999] bootconsole [early0] disabled
>> [    3.348877] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
>> [    3.425110] nand: Toshiba NAND 128MiB 3,3V 8-bit
>> [    3.480472] nand: 128 MiB, SLC, erase size: 128 KiB, page size:
>> 2048, OOB size: 64
>> [    3.571393] Scanning device for bad blocks
>> [    3.727044] Bad eraseblock 768 at 0x000006000000
>> [    3.817732] Creating 3 MTD partitions on "ar934x-nfc":
>> [    3.879403] 0x000000000000-0x000000040000 : "booter"
>> [    3.940552] 0x000000040000-0x000000400000 : "kernel"
>> [    4.002003] 0x000000400000-0x000008000000 : "ubi"
>> [    4.078242] libphy: ag71xx_mdio: probed
>> [    4.713381] ag71xx-mdio.1: Found an AR934X built-in switch
>> [    4.815812] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
>> [    4.890329] NET: Registered protocol family 10
>> [    4.948470] NET: Registered protocol family 17
>> [    5.001898] bridge: automatic filtering via arp/ip/ip6tables has
>> been deprecated. Update your scripts to load br_netfilter if you need
>> this.
>> [    5.153388] 8021q: 802.1Q VLAN Support v1.8
>> [    5.207548] UBI error: no valid UBI magic found inside mtd2
>> [    5.287623] Freeing unused kernel memory: 2292K (80453000 - 80690000)
>> [    5.381163] init: Console is alive
>> [    5.422276] init: - watchdog -
>> [    5.480010] init: - preinit -
>> [    5.716917] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
>> [    5.808548] random: procd: uninitialized urandom read (4 bytes
>> read, 71 bits of entropy available)
>> [    7.412870] eth0: link up (1000Mbps/Full duplex)
>> [    7.468325] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>> [    9.048069] eth0: link down
>> [    9.093218] procd: - early -
>> [    9.127952] procd: - watchdog -
>> [    9.723266] procd: - ubus -
>> [    9.764582] random: ubusd: uninitialized urandom read (4 bytes
>> read, 77 bits of entropy available)
>> [    9.874143] random: ubusd: uninitialized urandom read (4 bytes
>> read, 77 bits of entropy available)
>> [    9.982299] random: ubusd: uninitialized urandom read (4 bytes
>> read, 77 bits of entropy available)
>> [   10.090048] random: ubusd: uninitialized urandom read (4 bytes
>> read, 77 bits of entropy available)
>> [   10.197943] random: ubusd: uninitialized urandom read (4 bytes
>> read, 77 bits of entropy available)
>> [   10.305638] random: ubusd: uninitialized urandom read (4 bytes
>> read, 77 bits of entropy available)
>> [   10.413459] random: ubusd: uninitialized urandom read (4 bytes
>> read, 78 bits of entropy available)
>> [   10.521340] random: ubusd: uninitialized urandom read (4 bytes
>> read, 78 bits of entropy available)
>> [   10.629430] procd: - init -
>> [   10.833748] ip6_tables: (C) 2000-2006 Netfilter Core Team
>> [   10.909722] Loading modules backported from Linux version
>> wt-2016-10-03-1-g6fcb1a6
>> [   11.000647] Backport generated by backports.git backports-20160324-9-g0e38f5c
>> [   11.089492] ip_tables: (C) 2000-2006 Netfilter Core Team
>> [   11.161967] nf_conntrack version 0.5.0 (941 buckets, 3764 max)
>> [   11.270519] xt_time: kernel timezone is -0000
>> [   11.385821] PPP generic driver version 2.4.2
>> [   11.439758] NET: Registered protocol family 24
>> [   11.541226] ath: EEPROM regdomain: 0x0
>> [   11.541248] ath: EEPROM indicates default country code should be used
>> [   11.541257] ath: doing EEPROM country->regdmn map search
>> [   11.541279] ath: country maps to regdmn code: 0x3a
>> [   11.541290] ath: Country alpha2 being used: US
>> [   11.541299] ath: Regpair used: 0x3a
>> [   11.554767] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
>> [   11.560747] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
>> [   12.018618] random: jshn: uninitialized urandom read (4 bytes read,
>> 79 bits of entropy available)
>> [   19.078173] device eth0 entered promiscuous mode
>> [   19.252891] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
>> [   20.672910] eth0: link up (1000Mbps/Full duplex)
>> [   20.791686] br-lan: port 1(eth0) entered forwarding state
>> [   20.856490] br-lan: port 1(eth0) entered forwarding state
>> [   21.051685] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
>> [   22.851637] br-lan: port 1(eth0) entered forwarding state
>>
>>
>> log frmo initramfs after sysupgrade:
>> root at LEDE:~# dmesg
>> [    0.000000] Linux version 4.4.50
>> (buildbot at builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE
>> GCC 5.4.0 r3103-1b51a49) ) #0 Mon Feb 20 17:13:44 2017
>> [    0.000000] bootconsole [early0] enabled
>> [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
>> [    0.000000] SoC: Atheros AR9344 rev 3
>> [    0.000000] Determined physical RAM map:
>> [    0.000000]  memory: 04000000 @ 00000000 (usable)
>> [    0.000000] User-defined physical RAM map:
>> [    0.000000]  memory: 04000000 @ 00000000 (usable)
>> [    0.000000] Initrd not found or empty - disabling initrd
>> [    0.000000] No valid device tree found, continuing without
>> [    0.000000] Zone ranges:
>> [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
>> [    0.000000] Movable zone start for each node
>> [    0.000000] Early memory node ranges
>> [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
>> [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
>> [    0.000000] On node 0 totalpages: 16384
>> [    0.000000] free_area_init_node: node 0, pgdat 8042e4d0,
>> node_mem_map 81000000
>> [    0.000000]   Normal zone: 128 pages used for memmap
>> [    0.000000]   Normal zone: 0 pages reserved
>> [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
>> [    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: 16256
>> [    0.000000] Kernel command line: parts=1 boot_part_size=4194304
>> gpio=261675 HZ=300000000 mem=64M kmac=4C:5E:0C:DD:A5:54 board=sxt5n
>> ver=3.22 hw_opt=00200001 boot=1 mlc=8 rootfstype=squashfs noinitrd
>> [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
>> [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
>> [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
>> [    0.000000] Writing ErrCtl register=00000000
>> [    0.000000] Readback ErrCtl register=00000000
>> [    0.000000] Memory: 57988K/65536K available (3394K kernel code,
>> 174K rwdata, 468K rodata, 2292K init, 203K bss, 7548K reserved, 0K
>> cma-reserved)
>> [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
>> [    0.000000] NR_IRQS:51
>> [    0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz,
>> Ref:25.000MHz
>> [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
>> 0xffffffff, max_idle_ns: 6370868154 ns
>> [    0.000009] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps
>> every 7158278654ns
>> [    0.008860] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
>> [    0.081947] pid_max: default: 32768 minimum: 301
>> [    0.087321] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
>> [    0.094846] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
>> [    0.105579] clocksource: jiffies: mask: 0xffffffff max_cycles:
>> 0xffffffff, max_idle_ns: 19112604462750000 ns
>> [    0.117974] NET: Registered protocol family 16
>> [    0.124605] MIPS: machine is Mikrotik RouterBOARD SXT Lite5
>> [    0.361771] clocksource: Switched to clocksource MIPS
>> [    0.368684] NET: Registered protocol family 2
>> [    0.374660] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
>> [    0.382649] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
>> [    0.389870] TCP: Hash tables configured (established 1024 bind 1024)
>> [    0.397191] UDP hash table entries: 256 (order: 0, 4096 bytes)
>> [    0.403874] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
>> [    0.411283] NET: Registered protocol family 1
>> [    0.416311] PCI: CLS 0 bytes, default 32
>> [    3.060957] futex hash table entries: 256 (order: -1, 3072 bytes)
>> [    3.068028] Crashlog allocated RAM at address 0x3f00000
>> [    3.089507] squashfs: version 4.0 (2009/01/31) Phillip Lougher
>> [    3.096185] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
>> (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
>> [    3.110259] io scheduler noop registered
>> [    3.114767] io scheduler deadline registered (default)
>> [    3.120890] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
>> [    3.131017] console [ttyS0] disabled
>> [    3.155264] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
>> base_baud = 1562500) is a 16550A
>> [    3.165065] console [ttyS0] enabled
>> [    3.248553] bootconsole [early0] disabled
>> [    3.350438] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
>> [    3.426664] nand: Toshiba NAND 128MiB 3,3V 8-bit
>> [    3.482025] nand: 128 MiB, SLC, erase size: 128 KiB, page size:
>> 2048, OOB size: 64
>> [    3.572940] Scanning device for bad blocks
>> [    3.728580] Bad eraseblock 768 at 0x000006000000
>> [    3.819237] Creating 3 MTD partitions on "ar934x-nfc":
>> [    3.880853] 0x000000000000-0x000000040000 : "booter"
>> [    3.942066] 0x000000040000-0x000000400000 : "kernel"
>> [    4.003494] 0x000000400000-0x000008000000 : "ubi"
>> [    4.079865] libphy: ag71xx_mdio: probed
>> [    4.713528] ag71xx-mdio.1: Found an AR934X built-in switch
>> [    4.815955] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
>> [    4.890531] NET: Registered protocol family 10
>> [    4.948671] NET: Registered protocol family 17
>> [    5.002095] bridge: automatic filtering via arp/ip/ip6tables has
>> been deprecated. Update your scripts to load br_netfilter if you need
>> this.
>> [    5.153583] 8021q: 802.1Q VLAN Support v1.8
>> [    5.207734] UBI: auto-attach mtd2
>> [    5.245407] ubi0: attaching mtd2
>> [    5.891298] random: nonblocking pool is initialized
>> [    6.975271] ubi0: scanning is finished
>> [    7.039354] ubi0: attached mtd2 (name "ubi", size 124 MiB)
>> [    7.105208] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
>> [    7.187682] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
>> [    7.268108] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
>> [    7.349580] ubi0: good PEBs: 991, bad PEBs: 1, corrupted PEBs: 0
>> [    7.421668] ubi0: user volume: 3, internal volumes: 1, max. volumes
>> count: 128
>> [    7.508360] ubi0: max/mean erase counter: 1/0, WL threshold: 4096,
>> image sequence number: 1976066036
>> [    7.617998] ubi0: available PEBs: 0, total reserved PEBs: 991, PEBs
>> reserved for bad PEB handling: 19
>> [    7.728736] ubi0: background thread "ubi_bgt0d" started, PID 302
>> [    7.802978] block ubiblock0_1: created from ubi0:1(rootfs)
>> [    7.868834] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
>> [    7.968092] Freeing unused kernel memory: 2292K (80453000 - 80690000)
>> [    8.059771] init: Console is alive
>> [    8.100901] init: - watchdog -
>> [    8.158582] init: - preinit -
>> [    8.387088] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
>> [    9.983020] eth0: link up (1000Mbps/Full duplex)
>> [   10.038568] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>> [   11.615684] eth0: link down
>> [   11.660217] procd: - early -
>> [   11.695544] procd: - watchdog -
>> [   12.298030] procd: - ubus -
>> [   12.384225] procd: - init -
>> [   12.588293] ip6_tables: (C) 2000-2006 Netfilter Core Team
>> [   12.664281] Loading modules backported from Linux version
>> wt-2016-10-03-1-g6fcb1a6
>> [   12.755187] Backport generated by backports.git backports-20160324-9-g0e38f5c
>> [   12.844109] ip_tables: (C) 2000-2006 Netfilter Core Team
>> [   12.916425] nf_conntrack version 0.5.0 (941 buckets, 3764 max)
>> [   13.025079] xt_time: kernel timezone is -0000
>> [   13.138101] PPP generic driver version 2.4.2
>> [   13.192061] NET: Registered protocol family 24
>> [   13.293835] ath: EEPROM regdomain: 0x0
>> [   13.293857] ath: EEPROM indicates default country code should be used
>> [   13.293867] ath: doing EEPROM country->regdmn map search
>> [   13.293888] ath: country maps to regdmn code: 0x3a
>> [   13.293899] ath: Country alpha2 being used: US
>> [   13.293908] ath: Regpair used: 0x3a
>> [   13.307324] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
>> [   13.313386] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
>> [   20.778235] device eth0 entered promiscuous mode
>> [   20.953094] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
>> [   22.373025] eth0: link up (1000Mbps/Full duplex)
>> [   22.491841] br-lan: port 1(eth0) entered forwarding state
>> [   22.556693] br-lan: port 1(eth0) entered forwarding state
>> [   22.751859] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
>> [   24.551849] br-lan: port 1(eth0) entered forwarding state
>>
>>
>>
>> 2017-02-23 20:46 GMT+01:00 Alen Opacic <subixonfire at gmail.com>:
>>> Sxt LIte2(sxt2ndr2) boot log:
>>>
>>> [    0.000000] Linux version 4.4.49 (buildbot at builds) (gcc version
>>> 5.4.0 (LEDE GCC 5.4.0 r3511-04c4b6f) ) #0 Mon Feb 20 09:21:42 2017
>>> [    0.000000] bootconsole [early0] enabled
>>> [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
>>> [    0.000000] SoC: Atheros AR9344 rev 3
>>> [    0.000000] Determined physical RAM map:
>>> [    0.000000]  memory: 04000000 @ 00000000 (usable)
>>> [    0.000000] User-defined physical RAM map:
>>> [    0.000000]  memory: 04000000 @ 00000000 (usable)
>>> [    0.000000] Initrd not found or empty - disabling initrd
>>> [    0.000000] No valid device tree found, continuing without
>>> [    0.000000] Zone ranges:
>>> [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
>>> [    0.000000] Movable zone start for each node
>>> [    0.000000] Early memory node ranges
>>> [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
>>> [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
>>> [    0.000000] On node 0 totalpages: 16384
>>> [    0.000000] free_area_init_node: node 0, pgdat 804904d0,
>>> node_mem_map 81000000
>>> [    0.000000]   Normal zone: 128 pages used for memmap
>>> [    0.000000]   Normal zone: 0 pages reserved
>>> [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
>>> [    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: 16256
>>> [    0.000000] Kernel command line: parts=1 boot_part_size=4194304
>>> gpio=228923 HZ=300000000 mem=64M kmac=4C:5E:0C:DD:A5:54 board=sxt5n
>>> boot=0 mlc=7 rootfstype=squashfs noinitrd
>>> [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
>>> [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
>>> [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
>>> [    0.000000] Writing ErrCtl register=00000000
>>> [    0.000000] Readback ErrCtl register=00000000
>>> [    0.000000] Memory: 57856K/65536K available (3408K kernel code,
>>> 179K rwdata, 840K rodata, 2028K init, 204K bss, 7680K reserved, 0K
>>> cma-reserved)
>>> [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
>>> [    0.000000] NR_IRQS:51
>>> [    0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz,
>>> Ref:25.000MHz
>>> [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
>>> 0xffffffff, max_idle_ns: 6370868154 ns
>>> [    0.000009] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps
>>> every 7158278654ns
>>> [    0.008859] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
>>> [    0.081948] pid_max: default: 32768 minimum: 301
>>> [    0.087320] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
>>> [    0.094840] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
>>> [    0.105794] clocksource: jiffies: mask: 0xffffffff max_cycles:
>>> 0xffffffff, max_idle_ns: 19112604462750000 ns
>>> [    0.118345] NET: Registered protocol family 16
>>> [    0.125038] MIPS: machine is Mikrotik RouterBOARD SXT Lite5
>>> [    0.363076] clocksource: Switched to clocksource MIPS
>>> [    0.370196] NET: Registered protocol family 2
>>> [    0.376159] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
>>> [    0.384143] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
>>> [    0.391366] TCP: Hash tables configured (established 1024 bind 1024)
>>> [    0.398691] UDP hash table entries: 256 (order: 0, 4096 bytes)
>>> [    0.405370] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
>>> [    0.412832] NET: Registered protocol family 1
>>> [    0.417871] PCI: CLS 0 bytes, default 32
>>> [    2.689687] futex hash table entries: 256 (order: -1, 3072 bytes)
>>> [    2.696780] Crashlog allocated RAM at address 0x3f00000
>>> [    2.718540] squashfs: version 4.0 (2009/01/31) Phillip Lougher
>>> [    2.725241] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
>>> (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
>>> [    2.798025] io scheduler noop registered
>>> [    2.802493] io scheduler deadline registered (default)
>>> [    2.808701] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
>>> [    2.818749] console [ttyS0] disabled
>>> [    2.842979] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
>>> base_baud = 1562500) is a 16550A
>>> [    2.852789] console [ttyS0] enabled
>>> [    2.936349] bootconsole [early0] disabled
>>> [    3.038841] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
>>> [    3.115086] nand: Toshiba NAND 128MiB 3,3V 8-bit
>>> [    3.170445] nand: 128 MiB, SLC, erase size: 128 KiB, page size:
>>> 2048, OOB size: 64
>>> [    3.261370] Scanning device for bad blocks
>>> [    3.416114] Bad eraseblock 768 at 0x000006000000
>>> [    3.506563] Creating 3 MTD partitions on "ar934x-nfc":
>>> [    3.568229] 0x000000000000-0x000000040000 : "booter"
>>> [    3.629341] 0x000000040000-0x000000400000 : "kernel"
>>> [    3.690716] 0x000000400000-0x000008000000 : "ubi"
>>> [    3.840290] libphy: ag71xx_mdio: probed
>>> [    4.474837] ag71xx-mdio.1: Found an AR934X built-in switch
>>> [    4.577232] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
>>> [    4.651863] NET: Registered protocol family 10
>>> [    4.710174] NET: Registered protocol family 17
>>> [    4.763658] bridge: automatic filtering via arp/ip/ip6tables has
>>> been deprecated. Update your scripts to load br_netfilter if you need
>>> this.
>>> [    4.915148] 8021q: 802.1Q VLAN Support v1.8
>>> [    4.969495] UBI: auto-attach mtd2
>>> [    5.007162] ubi0: attaching mtd2
>>> [    5.655900] random: nonblocking pool is initialized
>>> [    6.735488] ubi0: scanning is finished
>>> [    6.799577] ubi0: attached mtd2 (name "ubi", size 124 MiB)
>>> [    6.865403] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
>>> [    6.947872] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
>>> [    7.028304] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
>>> [    7.109774] ubi0: good PEBs: 991, bad PEBs: 1, corrupted PEBs: 0
>>> [    7.181864] ubi0: user volume: 3, internal volumes: 1, max. volumes
>>> count: 128
>>> [    7.268553] ubi0: max/mean erase counter: 1/0, WL threshold: 4096,
>>> image sequence number: 1570949006
>>> [    7.378191] ubi0: available PEBs: 0, total reserved PEBs: 991, PEBs
>>> reserved for bad PEB handling: 19
>>> [    7.488932] ubi0: background thread "ubi_bgt0d" started, PID 304
>>> [    7.563139] block ubiblock0_1: created from ubi0:1(rootfs)
>>> [    7.628983] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
>>> [    7.726732] Freeing unused kernel memory: 2028K (804b5000 - 806b0000)
>>> [    7.818293] init: Console is alive
>>> [    7.859421] init: - watchdog -
>>> [    7.911490] kmodloader: loading kernel modules from /etc/modules-boot.d/*
>>> [    7.995762] kmodloader: done loading kernel modules from
>>> /etc/modules-boot.d/*
>>> [    8.092963] init: - preinit -
>>> [    8.338394] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
>>> [    9.934325] eth0: link up (1000Mbps/Full duplex)
>>> [    9.989779] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>>> [   11.567712] eth0: link down
>>> [   11.612223] procd: - early -
>>> [   11.647569] procd: - watchdog -
>>> [   12.249537] procd: - ubus -
>>> [   12.335764] procd: - init -
>>> [   12.544516] kmodloader: loading kernel modules from /etc/modules.d/*
>>> [   12.625395] ip6_tables: (C) 2000-2006 Netfilter Core Team
>>> [   12.702140] Loading modules backported from Linux version
>>> wt-2017-01-31-0-ge882dff19e7f
>>> [   12.798300] Backport generated by backports.git
>>> backports-20160324-13-g24da7d3c
>>> [   12.893549] ip_tables: (C) 2000-2006 Netfilter Core Team
>>> [   12.966578] nf_conntrack version 0.5.0 (935 buckets, 3740 max)
>>> [   13.087835] xt_time: kernel timezone is -0000
>>> [   13.205582] PPP generic driver version 2.4.2
>>> [   13.259654] NET: Registered protocol family 24
>>> [   13.362601] ath: EEPROM regdomain: 0x0
>>> [   13.362624] ath: EEPROM indicates default country code should be used
>>> [   13.362634] ath: doing EEPROM country->regdmn map search
>>> [   13.362655] ath: country maps to regdmn code: 0x3a
>>> [   13.362666] ath: Country alpha2 being used: US
>>> [   13.362675] ath: Regpair used: 0x3a
>>> [   13.376151] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
>>> [   13.382048] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
>>> [   13.588578] kmodloader: done loading kernel modules from /etc/modules.d/*
>>> [   20.649641] device eth0 entered promiscuous mode
>>> [   20.824351] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
>>> [   22.244326] eth0: link up (1000Mbps/Full duplex)
>>> [   22.363167] br-lan: port 1(eth0) entered forwarding state
>>> [   22.427999] br-lan: port 1(eth0) entered forwarding state
>>> [   22.623138] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
>>> [   24.423129] br-lan: port 1(eth0) entered forwarding state
>>>
>>> For the sxtg-2hnd (the version with usb, gb lan that newer worked with
>>> openwrt) i cant send a boot log, as it doesn't boot and I didn't get
>>> serial to work, at least for now.
>>>
>>> 2017-02-21 0:29 GMT+01:00 Alen Opacic <subixonfire at gmail.com>:
>>>> On sxt lite 2 (older version with 128mb nand flash) using
>>>> lede-17.01.0-rc2-r3131-42f3c1f-ar71xx-mikrotik-vmlinux-initramfs.elf image,
>>>> than sysupgrade to
>>>> lede-17.01.0-rc2-r3131-42f3c1f-ar71xx-mikrotik-nand-
>>>> large-squashfs-sysupgrade.bin.
>>>> After reboot sxt is in a boot loop state, boots allways from network boot
>>>> (tftp). This can be called a regresion since this sxt works fine with CC
>>>> and wget2nand.
>>>>
>>>> How can i help debug this ishue.
>>>>
>>>> Ps: if someone can help maybe we can get sxtg2hnd
>>>> (not lite version) to work with
>>>> openwrt. This one as far as i know newer worked with openwrt/lede.
>>>
>>>
>>>
>>> --
>>> <a href="//ipv6.he.net/certification/scoresheet.php?pass_name=subixonfire"
>>> target="_blank"><img
>>> src="//ipv6.he.net/certification/create_badge.php?pass_name=subixonfire&badge=1"
>>> style="border: 0; width: 128px; height: 128px" alt="IPv6 Certification
>>> Badge for subixonfire"></img></a>
>>
>>
>>
>> --
>> <a href="//ipv6.he.net/certification/scoresheet.php?pass_name=subixonfire"
>> target="_blank"><img
>> src="//ipv6.he.net/certification/create_badge.php?pass_name=subixonfire&badge=1"
>> style="border: 0; width: 128px; height: 128px" alt="IPv6 Certification
>> Badge for subixonfire"></img></a>
>>
>> _______________________________________________
>> Lede-dev mailing list
>> Lede-dev at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/lede-dev
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev



-- 
<a href="//ipv6.he.net/certification/scoresheet.php?pass_name=subixonfire"
target="_blank"><img
src="//ipv6.he.net/certification/create_badge.php?pass_name=subixonfire&badge=1"
style="border: 0; width: 128px; height: 128px" alt="IPv6 Certification
Badge for subixonfire"></img></a>



More information about the Lede-dev mailing list