Stuck after `random: crng init done`

i'm trying to boot with openwrt

i'm having this problem

serial log:

Digital core power voltage set to 0.9375V
Decompressing...done


CFE version 6.37.14.62 (r437318) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Dec 23 17:19:11 KST 2014 (bcmac@ski)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=800,*400*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.62 (r437318)
CPU type 0x0: 800MHz
Tot mem: 262144 KBytes

CFE mem:    0x00F00000 - 0x00FCCB88 (838536)
Data:       0x00F41814 - 0x00F41C64 (1104)
BSS:        0x00F41C70 - 0x00F66B88 (151320)
Heap:       0x00F66B88 - 0x00FCAB88 (409600)
Stack:      0x00FCAB88 - 0x00FCCB88 (8192)
Text:       0x00F00000 - 0x00F398C4 (235716)

Device eth0:  hwaddr 90-9F-33-65-3B-60, ipaddr 192.168.0.1, mask 255.255.255.0
        gateway not set, nameserver not set
Startup canceled
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> ^C
CFE> flash -noheader : flash0.trx
Reading :: Done. 5967872 bytes read
Programming...done. 5967872 bytes written
*** command status = 0
CFE> go
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: ... 2397098 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.96 (djdisodo@localhost.localdomain) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0-cd2b661)) #0 SMP Tue Feb 9 12:58:18 2021
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: ipTIME A5004NS (BCM4708)
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu s26700 r8192 d22452 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65248
[    0.000000] Kernel command line: console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 250916K/262144K available (4960K kernel code, 149K rwdata, 1240K rodata, 1024K init, 283K bss, 11228K reserved, 0K cma-reserved, 131072K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x0a130000 -> 0x3a530000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x7e530001
[    0.000000] random: get_random_bytes called from start_kernel+0x2f0/0x49c with crng_init=0
[    0.000012] sched_clock: 64 bits at 400MHz, resolution 2ns, wraps every 4398046511103ns
[    0.000034] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
[    0.000062] Switching to timer-based delay loop, resolution 2ns
[    0.000308] Calibrating delay loop (skipped), value calculated using timer frequency.. 800.00 BogoMIPS (lpj=4000000)
[    0.000323] pid_max: default: 32768 minimum: 301
[    0.000483] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000495] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001369] CPU: Testing write buffer coherency: ok
[    0.001418] CPU0: Spectre v2: using BPIALL workaround
[    0.001787] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002387] Setting up static identity map for 0x100000 - 0x10003c
[    0.002555] rcu: Hierarchical SRCU implementation.
[    0.002904] smp: Bringing up secondary CPUs ...
[    0.003778] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003788] CPU1: Spectre v2: using BPIALL workaround
[    0.003920] smp: Brought up 1 node, 2 CPUs
[    0.003932] SMP: Total of 2 processors activated (1600.00 BogoMIPS).
[    0.003940] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x13)
[    0.003946] CPU: This may indicate a broken bootloader or firmware.
[    0.006542] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006570] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.006755] pinctrl core: initialized pinctrl subsystem
[    0.007182] NET: Registered protocol family 16
[    0.008430] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.025377] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.027428] clocksource: Switched to clocksource arm_global_timer
[    0.028165] thermal_sys: Registered thermal governor 'step_wise'
[    0.028584] NET: Registered protocol family 2
[    0.029132] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.029171] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.029192] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.029214] TCP: Hash tables configured (established 1024 bind 1024)
[    0.029321] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.029358] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.029617] NET: Registered protocol family 1
[    0.029661] PCI: CLS 0 bytes, default 64
[    0.032001] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.038214] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.038234] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.039599] bounce: pool size: 64 pages
[    0.043443] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.044351] printk: console [ttyS0] disabled
[    0.044449] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 18, base_baud = 6250000) is a 16550
[    0.492654] printk: console [ttyS0] enabled
[    0.497625] bcm2835-rng 18004000.rng: hwrng registered
[    0.503898] nand: No NAND device found
[    0.508401] random: fast init done
[    0.524750] random: crng init done
[   60.510152] rcu: INFO: rcu_sched self-detected stall on CPU
[   60.515707] rcu:     0-....: (1 GPs behind) idle=0ea/1/0x40000004 softirq=82/82 fqs=3000
[   60.523580]  (t=6000 jiffies g=-1167 q=72)
[   60.527659] NMI backtrace for cpu 0
[   60.531137] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.96 #0
[   60.537022] Hardware name: BCM5301X
[   60.540526] [<c01094a8>] (unwind_backtrace) from [<c0105d3c>] (show_stack+0x10/0x14)
[   60.548241] [<c0105d3c>] (show_stack) from [<c05bcc58>] (dump_stack+0x94/0xa8)
[   60.555446] [<c05bcc58>] (dump_stack) from [<c05c3000>] (nmi_cpu_backtrace+0x90/0xc4)
[   60.563246] [<c05c3000>] (nmi_cpu_backtrace) from [<c05c3158>] (nmi_trigger_cpumask_backtrace+0x124/0x138)
[   60.572863] [<c05c3158>] (nmi_trigger_cpumask_backtrace) from [<c016c8d4>] (rcu_dump_cpu_stacks+0xa4/0xcc)
[   60.582480] [<c016c8d4>] (rcu_dump_cpu_stacks) from [<c017085c>] (rcu_sched_clock_irq+0x62c/0x808)
[   60.591413] [<c017085c>] (rcu_sched_clock_irq) from [<c0174f70>] (update_process_times+0x30/0x60)
[   60.600253] [<c0174f70>] (update_process_times) from [<c0182620>] (tick_handle_periodic+0x2c/0xa4)
[   60.609182] [<c0182620>] (tick_handle_periodic) from [<c0108ab0>] (twd_handler+0x30/0x38)
[   60.617331] [<c0108ab0>] (twd_handler) from [<c0165d20>] (handle_percpu_devid_irq+0x78/0x138)
[   60.625830] [<c0165d20>] (handle_percpu_devid_irq) from [<c0160454>] (generic_handle_irq+0x24/0x34)
[   60.634837] [<c0160454>] (generic_handle_irq) from [<c0160a4c>] (__handle_domain_irq+0x5c/0xb4)
[   60.643509] [<c0160a4c>] (__handle_domain_irq) from [<c03937c4>] (gic_handle_irq+0x4c/0x90)
[   60.651821] [<c03937c4>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0x90)
[   60.659263] Exception stack(0xc782bb00 to 0xc782bb48)
[   60.664297] bb00: 0635e000 00000000 0635e000 c083a880 00000282 00000000 00000001 00000000
[   60.672436] bb20: c7810000 ffffe000 00000000 c0903080 00200140 c782bb50 00200140 c0102178
[   60.680568] bb40: 60000113 ffffffff
[   60.684040] [<c0101a8c>] (__irq_svc) from [<c0102178>] (__do_softirq+0xb0/0x2b0)
[   60.691415] [<c0102178>] (__do_softirq) from [<c011c688>] (irq_exit+0x78/0x84)
[   60.698610] [<c011c688>] (irq_exit) from [<c0160a50>] (__handle_domain_irq+0x60/0xb4)
[   60.706409] [<c0160a50>] (__handle_domain_irq) from [<c03937c4>] (gic_handle_irq+0x4c/0x90)
[   60.714718] [<c03937c4>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0x90)
[   60.722161] Exception stack(0xc782bbe8 to 0xc782bc30)
[   60.727185] bbe0:                   c7838000 c70d0c8c c70d0c8c 00000001 c70d0c84 0000000a
[   60.735325] bc00: c70d0c88 ffffe000 00000002 00000000 00000000 ffffffff c88ac014 c782bc38
[   60.743461] bc20: c05d476c c05d4804 60000013 ffffffff
[   60.748507] [<c0101a8c>] (__irq_svc) from [<c05d4804>] (wait_for_completion_timeout+0xb4/0x148)
[   60.757187] [<c05d4804>] (wait_for_completion_timeout) from [<c04212f4>] (brcmnand_waitfunc+0x5c/0x170)
[   60.766546] [<c04212f4>] (brcmnand_waitfunc) from [<c0422944>] (brcmnand_cmdfunc+0xac/0x29c)
[   60.774951] [<c0422944>] (brcmnand_cmdfunc) from [<c04151c4>] (nand_reset_op+0x16c/0x1a0)
[   60.783089] [<c04151c4>] (nand_reset_op) from [<c04197d4>] (nand_reset+0x88/0xe4)
[   60.790535] [<c04197d4>] (nand_reset) from [<c0419e08>] (nand_scan_with_ids+0x2ac/0x1630)
[   60.798675] [<c0419e08>] (nand_scan_with_ids) from [<c0424374>] (brcmnand_probe+0x728/0x964)
[   60.807091] [<c0424374>] (brcmnand_probe) from [<c03f087c>] (platform_drv_probe+0x34/0x70)
[   60.815318] [<c03f087c>] (platform_drv_probe) from [<c03eeef8>] (really_probe+0x1f0/0x358)
[   60.823542] [<c03eeef8>] (really_probe) from [<c03ef448>] (device_driver_attach+0x58/0x60)
[   60.831766] [<c03ef448>] (device_driver_attach) from [<c03ef4a8>] (__driver_attach+0x58/0xcc)
[   60.840250] [<c03ef4a8>] (__driver_attach) from [<c03ed44c>] (bus_for_each_dev+0x68/0x8c)
[   60.848389] [<c03ed44c>] (bus_for_each_dev) from [<c03ee3d0>] (bus_add_driver+0x1c8/0x1d8)
[   60.856615] [<c03ee3d0>] (bus_add_driver) from [<c03efa30>] (driver_register+0x74/0x108)
[   60.864668] [<c03efa30>] (driver_register) from [<c0102768>] (do_one_initcall+0x84/0x1d8)
[   60.872813] [<c0102768>] (do_one_initcall) from [<c0800fcc>] (kernel_init_freeable+0x1c4/0x26c)
[   60.881475] [<c0800fcc>] (kernel_init_freeable) from [<c05d29c4>] (kernel_init+0x8/0x114)
[   60.889619] [<c05d29c4>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[   60.897147] Exception stack(0xc782bfb0 to 0xc782bff8)
[   60.902169] bfa0:                                     00000000 00000000 00000000 00000000
[   60.910310] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   60.918448] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000

factory firmware log:link

Looks like you are using a snapshot build from master branch, which is always considered beta

you're welcome to report these kernel traces

http://bugs.openwrt.org/index.php

1 Like