[OpenWrt-Devel] 19.07.0 boot hang on Mikrotik device

Joe Ayers joe at ayerscasa.com
Sun Jan 26 00:31:59 EST 2020


At http:\\arednmesh.org, we've had several mikrotik devices working,
all with "LHG" motherboards.   One of the devices, RB LHG 2nD-XL no
longer boots with upgrade from 18.06.2 to 19.07.0.  Other devices with
same "LHG" mother board continue to work fine, e.g. RB LHG 5nD-XL,
LHG 5nDHP.

I'm stuck on getting this working, if you have any pointers, please
let me know.    Here's dmesg where it hangs:

[    0.000000] Linux version 4.14.162 (joe at AE6XE-VM) (gcc version
7.5.0 (OpenWrt GCC 7.5.0 r10860-a3ffeb413b)) #0 Mon Jan 6 16:47:09
2020
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    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] 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] 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] random: get_random_bytes called from 0x80477740 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: no-uart no-buzzer no-nand parts=1
boot_part_size=16777216 gpio=0 HZ=325000000 mem=64M
kmac=B8:69:F4:79:52:22 board=lhg-hb board=lhg-hb ver=6.42
hw_opt=00284001 boot=1 mlc=11 console=ttyS0,115200 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: 59928K/65536K available (3634K kernel code,
162K rwdata, 384K rodata, 228K init, 198K bss, 5608K 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:650.000MHz, DDR:600.000MHz, AHB:300.000MHz,
Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 5880801374 ns
[    0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps
every 6607641598ns
[    0.008858] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.075986] pid_max: default: 32768 minimum: 301
[    0.081432] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.088943] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099268] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110476] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.117873] NET: Registered protocol family 16
[    0.126436] MIPS: machine is MikroTik RouterBOARD LHG 2nD-XL
[    0.133043] ar71xx: invalid MDIO id 1
[    0.385180] clocksource: Switched to clocksource MIPS
[    0.391886] NET: Registered protocol family 2
[    0.397634] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.405608] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.412831] TCP: Hash tables configured (established 1024 bind 1024)
[    0.420200] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.426879] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.434266] NET: Registered protocol family 1
[    0.444824] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.457143] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.463756] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.484675] io scheduler noop registered
[    0.489176] io scheduler deadline registered (default)
[    0.495371] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.502913] console [ttyS0] disabled
[    0.527117] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
base_baud = 1562500) is a 16550A
[    0.536918] console [ttyS0] enabled
[    0.536918] console [ttyS0] enabled
[    0.544460] bootconsole [early0] disabled
[    0.544460] bootconsole [early0] disabled
[    0.556787] m25p80 spi0.0: found w25q128jv, expected m25p80
[    0.572223] m25p80 spi0.0: w25q128jv (16384 Kbytes)
[    0.577745] Creating 6 MTD partitions on "spi0.0":
[    0.582708] 0x000000000000-0x00000000e000 : "routerboot"
[    0.589854] 0x00000000e000-0x00000000f000 : "hard_config"
[    0.596836] 0x00000000f000-0x000000010000 : "bios"
[    0.603684] 0x000000010000-0x00000001f000 : "routerboot2"
[    0.610655] 0x00000001f000-0x000000020000 : "soft_config"
[    0.618205] 0x000000020000-0x000001000000 : "firmware"
[    0.624569] 2 minor-fw partitions found on MTD device firmware
[    0.630670] 0x000000020000-0x000000190000 : "kernel"
[    0.636507] 0x000000190000-0x000001000000 : "rootfs"
[    0.642258] mtd: device 7 (rootfs) set to be root filesystem
[    0.648186] 1 squashfs-split partitions found on MTD device rootfs
[    0.654578] 0x0000006f0000-0x000001000000 : "rootfs_data"
[    0.664200] libphy: Fixed MDIO Bus: probed
[    0.690987] libphy: ag71xx_mdio: probed
[    1.327500] ag71xx-mdio.1: Found an AR934X built-in switch
[    1.380907] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.388695] NET: Registered protocol family 17
[    1.393352] 8021q: 802.1Q VLAN Support v1.8
[    1.410019] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    1.418636] Freeing unused kernel memory: 228K
[    1.423222] This architecture does not have kernel memory protection.
[    2.026942] init: Console is alive
[    2.030709] init: - watchdog -
[    2.445217] random: fast init done
[    3.102742] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.154160] usbcore: registered new interface driver usbfs
[    3.159975] usbcore: registered new interface driver hub
[    3.165584] usbcore: registered new device driver usb
[    3.176012] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.183571] kmodloader: done loading kernel modules from
/etc/modules-boot.d/*
[    3.193344] init: - preinit -
[    3.630728] random: procd: uninitialized urandom read (4 bytes read)
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
[    6.266613] eth0: link up (1000Mbps/Full duplex)

It hangs at this point.   What should occur, but does not (from 18.06.2):

[    7.632244] jffs2: notice: (354) jffs2_build_xattr_subsystem:
complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan)
and 0 of xref (0 dead, 0 orphan) found.
[    7.649615] mount_root: switching to jffs2 overlay
[    7.687438] urandom-seed: Seeding with /etc/urandom.seed
[    7.841353] eth0: link down
[    7.855127] procd: - early -
[    7.858915] procd: - watchdog -
[    8.436062] procd: - watchdog -
[    8.440039] procd: - ubus -
[    8.632931] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.643930] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.651001] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.658593] procd: - init -
Please press Enter to activate this console.
[    9.049497] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.061251] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    9.089565] Loading modules backported from Linux version
wt-2017-11-01-0-gfe248fc2c180
[    9.097904] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[    9.119572] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    9.293129] xt_time: kernel timezone is -0000
[    9.447984] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.629677] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[    9.722604] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.709017] urandom_read: 5 callbacks suppressed
[   10.709024] random: jshn: uninitialized urandom read (4 bytes read)
[   17.996749] br-lan: port 1(eth0) entered blocking state
[   18.002220] br-lan: port 1(eth0) entered disabled state
[   18.007947] device eth0 entered promiscuous mode
[   19.628494] eth0: link up (1000Mbps/Full duplex)
[   19.633311] br-lan: port 1(eth0) entered blocking state
[   19.638743] br-lan: port 1(eth0) entered forwarding state
[   25.137046] wlan0: Trigger new scan to find an IBSS to join
[   29.136992] wlan0: Trigger new scan to find an IBSS to join
[   29.177032] wlan0: Creating new IBSS network, BSSID 0a:9e:06:dd:57:f0
[   73.657038] random: crng init done

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list