Re: [OpenWrt-Devel] 19.07.0 boot hang on Mikrotik device
On 27.01.20 17:14, Joe Ayers wrote: You should report this bug under "openwrt-19.07": https://bugs.openwrt.org/ You are apparently using ar71xx, did you try an ath79 19.07 image? the first mikrotik device in ath79 was merged to master last week, so ath79 is not an option here ATM. Best Adrian Regards, Baptiste The devices with this issue aren't supported with Openwrt images yet :) . Thus, submitting a defect may be problematic. I've added a few definitions on top of the openwrt "Mikrotik LHG 5" to add support (and hopefully I can find the time to submit an openwrt PR). There are 3 devices with exact same motherboard "LHG 2nD" and same behavior going from 18.06.2 to 19.07.0: LDF 2nD LHG 2nD LHG 2nD-XL I have narrowed down the problem. By removing "40_run_failsafe_hook", procd completes as expected. Something seems to be triggering failsafe mode and blocking procd. If anyone knows what might have changed or where to fix the root cause, would appreciate any information to save time. I'll dig a little more... Joe AE6XE I'm also a bit worried when seeing this: [0.133043] ar71xx: invalid MDIO id 1 Koen On 25-01-20, Joe Ayers wrote: 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: ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] 19.07.0 boot hang on Mikrotik device
> > > > You should report this bug under "openwrt-19.07": > > https://bugs.openwrt.org/ > > > > You are apparently using ar71xx, did you try an ath79 19.07 image? > > the first mikrotik device in ath79 was merged to master last week, so ath79 > is not an option here ATM. > > Best > > Adrian > > > > > Regards, > > Baptiste > > The devices with this issue aren't supported with Openwrt images yet :) . Thus, submitting a defect may be problematic. I've added a few definitions on top of the openwrt "Mikrotik LHG 5" to add support (and hopefully I can find the time to submit an openwrt PR). There are 3 devices with exact same motherboard "LHG 2nD" and same behavior going from 18.06.2 to 19.07.0: LDF 2nD LHG 2nD LHG 2nD-XL I have narrowed down the problem. By removing "40_run_failsafe_hook", procd completes as expected. Something seems to be triggering failsafe mode and blocking procd. If anyone knows what might have changed or where to fix the root cause, would appreciate any information to save time. I'll dig a little more... Joe AE6XE > > On 25-01-20, Joe Ayers wrote: > > > 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: > > > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] 19.07.0 boot hang on Mikrotik device
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Baptiste Jonglez > Sent: Montag, 27. Januar 2020 00:10 > To: Joe Ayers > Cc: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] 19.07.0 boot hang on Mikrotik device > > Hi, > > You should report this bug under "openwrt-19.07": > https://bugs.openwrt.org/ > > You are apparently using ar71xx, did you try an ath79 19.07 image? the first mikrotik device in ath79 was merged to master last week, so ath79 is not an option here ATM. Best Adrian > > Regards, > Baptiste > > On 25-01-20, Joe Ayers wrote: > > 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.00] Linux version 4.14.162 (joe@AE6XE-VM) (gcc version > > 7.5.0 (OpenWrt GCC 7.5.0 r10860-a3ffeb413b)) #0 Mon Jan 6 16:47:09 > > 2020 > > [0.00] bootconsole [early0] enabled > > [0.00] CPU0 revision is: 00019374 (MIPS 24Kc) > > [0.00] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 > > [0.00] Determined physical RAM map: > > [0.00] memory: 0400 @ (usable) > > [0.00] User-defined physical RAM map: > > [0.00] memory: 0400 @ (usable) > > [0.00] Initrd not found or empty - disabling initrd > > [0.00] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 > > bytes. > > [0.00] Primary data cache 32kB, 4-way, VIPT, cache aliases, > > linesize 32 bytes > > [0.00] Zone ranges: > > [0.00] Normal [mem 0x-0x03ff] > > [0.00] Movable zone start for each node > > [0.00] Early memory node ranges > > [0.00] node 0: [mem 0x-0x03ff] > > [0.00] Initmem setup node 0 [mem 0x- > 0x03ff] > > [0.00] random: get_random_bytes called from 0x80477740 with > crng_init=0 > > [0.00] Built 1 zonelists, mobility grouping on. Total pages: 16256 > > [0.00] Kernel command line: no-uart no-buzzer no-nand parts=1 > > boot_part_size=16777216 gpio=0 HZ=32500 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.00] PID hash table entries: 256 (order: -2, 1024 bytes) > > [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) > > [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) > > [0.00] Writing ErrCtl register= > > [0.00] Readback ErrCtl register= > > [0.00] Memory: 59928K/65536K available (3634K kernel code, > > 162K rwdata, 384K rodata, 228K init, 198K bss, 5608K reserved, 0K > > cma-reserved) > > [0.00] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, > Nodes=1 > > [0.00] NR_IRQS: 51 > > [0.00] Clocks: CPU:650.000MHz, DDR:600.000MHz, AHB:300.000MHz, > > Ref:25.000MHz > > [0.00] clocksource: MIPS: mask: 0x max_cycles: > > 0x, max_idle_ns: 5880801374 ns > > [0.09] 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: 0x max_cycles: > > 0x, max_idle_ns: 1911260446275 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 (ord
Re: [OpenWrt-Devel] 19.07.0 boot hang on Mikrotik device
Hi, You should report this bug under "openwrt-19.07": https://bugs.openwrt.org/ You are apparently using ar71xx, did you try an ath79 19.07 image? Regards, Baptiste On 25-01-20, Joe Ayers wrote: > 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.00] Linux version 4.14.162 (joe@AE6XE-VM) (gcc version > 7.5.0 (OpenWrt GCC 7.5.0 r10860-a3ffeb413b)) #0 Mon Jan 6 16:47:09 > 2020 > [0.00] bootconsole [early0] enabled > [0.00] CPU0 revision is: 00019374 (MIPS 24Kc) > [0.00] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 > [0.00] Determined physical RAM map: > [0.00] memory: 0400 @ (usable) > [0.00] User-defined physical RAM map: > [0.00] memory: 0400 @ (usable) > [0.00] Initrd not found or empty - disabling initrd > [0.00] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. > [0.00] Primary data cache 32kB, 4-way, VIPT, cache aliases, > linesize 32 bytes > [0.00] Zone ranges: > [0.00] Normal [mem 0x-0x03ff] > [0.00] Movable zone start for each node > [0.00] Early memory node ranges > [0.00] node 0: [mem 0x-0x03ff] > [0.00] Initmem setup node 0 [mem > 0x-0x03ff] > [0.00] random: get_random_bytes called from 0x80477740 with > crng_init=0 > [0.00] Built 1 zonelists, mobility grouping on. Total pages: 16256 > [0.00] Kernel command line: no-uart no-buzzer no-nand parts=1 > boot_part_size=16777216 gpio=0 HZ=32500 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.00] PID hash table entries: 256 (order: -2, 1024 bytes) > [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) > [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) > [0.00] Writing ErrCtl register= > [0.00] Readback ErrCtl register= > [0.00] Memory: 59928K/65536K available (3634K kernel code, > 162K rwdata, 384K rodata, 228K init, 198K bss, 5608K reserved, 0K > cma-reserved) > [0.00] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 > [0.00] NR_IRQS: 51 > [0.00] Clocks: CPU:650.000MHz, DDR:600.000MHz, AHB:300.000MHz, > Ref:25.000MHz > [0.00] clocksource: MIPS: mask: 0x max_cycles: > 0x, max_idle_ns: 5880801374 ns > [0.09] 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: 0x max_cycles: > 0x, max_idle_ns: 1911260446275 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 0x1802 (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,
[OpenWrt-Devel] 19.07.0 boot hang on Mikrotik device
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.00] Linux version 4.14.162 (joe@AE6XE-VM) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10860-a3ffeb413b)) #0 Mon Jan 6 16:47:09 2020 [0.00] bootconsole [early0] enabled [0.00] CPU0 revision is: 00019374 (MIPS 24Kc) [0.00] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 [0.00] Determined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] User-defined physical RAM map: [0.00] memory: 0400 @ (usable) [0.00] Initrd not found or empty - disabling initrd [0.00] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [0.00] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [0.00] Zone ranges: [0.00] Normal [mem 0x-0x03ff] [0.00] Movable zone start for each node [0.00] Early memory node ranges [0.00] node 0: [mem 0x-0x03ff] [0.00] Initmem setup node 0 [mem 0x-0x03ff] [0.00] random: get_random_bytes called from 0x80477740 with crng_init=0 [0.00] Built 1 zonelists, mobility grouping on. Total pages: 16256 [0.00] Kernel command line: no-uart no-buzzer no-nand parts=1 boot_part_size=16777216 gpio=0 HZ=32500 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.00] PID hash table entries: 256 (order: -2, 1024 bytes) [0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [0.00] Writing ErrCtl register= [0.00] Readback ErrCtl register= [0.00] Memory: 59928K/65536K available (3634K kernel code, 162K rwdata, 384K rodata, 228K init, 198K bss, 5608K reserved, 0K cma-reserved) [0.00] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [0.00] NR_IRQS: 51 [0.00] Clocks: CPU:650.000MHz, DDR:600.000MHz, AHB:300.000MHz, Ref:25.000MHz [0.00] clocksource: MIPS: mask: 0x max_cycles: 0x, max_idle_ns: 5880801374 ns [0.09] 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: 0x max_cycles: 0x, max_idle_ns: 1911260446275 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 0x1802 (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] 0x-0xe000 : "routerboot" [0.589854] 0xe000-0xf000 : "hard_config" [0.596836] 0xf000-0x0001 : "bios" [0.603684] 0x0001-0x0001f000 : "routerboot2" [0.610655]