Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2202 - brcm63xx: Hg556a: 4.14 kernel boot stuck at "random: crng init done" #7864

Closed
openwrt-bot opened this issue Mar 23, 2019 · 35 comments
Labels

Comments

@openwrt-bot
Copy link

sirrion:

The kernel 4.14.107 is unable to boot on the Hg556a (BCM6358).

Steps to reproduce:

Intall the latest trunk version kernel 4.14.107

Sympthoms:

No Boot
It stucks at “random: fast init done”, and apparently no more kernel messages
But after a minute it spits the last message random: crng init done

Boot Log:
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.14.107 (hg556a@localhost.localdomain) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9015-34696ce25e)) #0 Thu Mar 10 15:47:43 2019
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33313330, got 3c502ae7)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_B
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version B)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 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 start_kernel+0x80/0x488 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 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] Memory: 54392K/65536K available (6369K kernel code, 343K rwdata, 2132K rodata, 1324K init, 256K bss, 11144K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000026] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[ 1.034043] random: fast init done
[ 53.820705] random: crng init done

@openwrt-bot
Copy link
Author

gaddman:

Confirming this is affecting me too. HG556a_A with 4.14.114 kernel (OpenWRT 18.06.2).

@openwrt-bot
Copy link
Author

ynezz:

4.14.114 kernel (OpenWRT 18.06.2).

This information isn't correct, you can't have 4.14.114 kernel in 18.06.2, so maybe it's 18.06-SNAPSHOT?

kernel boot stuck at "random: crng init done"

What does it mean exactly? Some kind of kernel crash? Or do you mean, that the booting of the device has stuck at this point? If so, do you run clean snapshot image or you've installed some packages on top as well?

@openwrt-bot
Copy link
Author

sapi69:

Same error in openwrt 19.07

@openwrt-bot
Copy link
Author

ynezz:

Same error in openwrt 19.07

Please try latest snapshot image, they contain urngd which should help with random: crng init done, so worth the try. For details please see https://openwrt.org/docs/guide-quick-start/developmentinstallation

@openwrt-bot
Copy link
Author

sapi69:

same after flash, boot failed in 19.07 and master.
power led not blinking.
normally after flash router reboot and power led blink.
no log

@openwrt-bot
Copy link
Author

ynezz:

Can you please attach complete log from the snapshot image?

@openwrt-bot
Copy link
Author

sapi69:

[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33313330, got 3c502ae7)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_B
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version B)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 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 start_kernel+0x80/0x488 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 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] Memory: 54392K/65536K available (6369K kernel code, 343K rwdata, 2132K rodata, 1324K init, 256K bss, 11144K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000026] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[ 1.034043] random: fast init done
[ 53.820705] random: crng init done

@openwrt-bot
Copy link
Author

ynezz:

[ 0.000000] Detected Broadcom 0x6358 CPU revision a1

This is not complete log, please provide complete log. Can you please provide information about last working OpenWrt version on this device?

@openwrt-bot
Copy link
Author

sapi69:

lede 17.01.7 and openwrt 18.06.4 working fine
but openwrt 19.07 and trunk router can't boot after flashing.

@openwrt-bot
Copy link
Author

sapi69:

log openwrt 19.07

Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.14.133 (buildbot@ac6fd5897912) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10252-7a4acfce6d)) #0 Wed Jul 17 11:13:11 2019
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33323530, got 1937be34)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_C
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version C)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 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 0x804c0738 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 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] Memory: 58536K/65536K available (4051K kernel code, 194K rwdata, 548K rodata, 1280K init, 209K bss, 7000K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000023] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[ 1.031466] random: fast init done
[ 53.685889] random: crng init done

@openwrt-bot
Copy link
Author

sapi69:

log trunk

Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.14.132 (builder@buildhost) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10560-04cb651376)) #0 Fri Jul 19 20:11:15 2019
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33323530, got 1937be34)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_C
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version C)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 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 start_kernel+0x88/0x4b0 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 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] Memory: 57764K/65536K available (4281K kernel code, 215K rwdata, 992K rodata, 1288K init, 215K bss, 7772K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000021] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[ 1.032522] random: fast init done
[ 53.740682] random: crng init done

@openwrt-bot
Copy link
Author

sapi69:

up up

@openwrt-bot
Copy link
Author

ynezz:

Thanks for the logs, I don't see any issues in those logs, can you provide log from working 18.06.4 so I can compare them with something?

lede 17.01.7 and openwrt 18.06.4 working fine
but openwrt 19.07 and trunk router can't boot after flashing.

Ok, that's probably something we could use for a start, so if you're able to compile your own firmware image, you could try to find the offending commit which has broken your device with [[https://flaviocopes.com/git-bisect/|git bisect]]. It's something like this:

git bisect start git bisect good v18.06.4 git bisect bad openwrt-19.07 (compile & flash) git bisect bad (or git bisect good) (compile & flash) git bisect bad (or git bisect good) etc..

until you get to <offending git hash> is the first bad commit message.

@openwrt-bot
Copy link
Author

sapi69:

i'm busy now, maybe sunday for 18.06.4 log

this log lede 17.01.7
[ 0.000000] Linux version 4.4.182 (awih@winda-amelia) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4030-6028f00df0) ) #0 Thu Jun 20 10:53:53 2019
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33323530, got 1937be34)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_C
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version C)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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 803f0450, node_mem_map 81004170
[ 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 32kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=132768
[ 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: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 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] Memory: 59264K/65536K available (3091K kernel code, 150K rwdata, 840K rodata, 1288K init, 190K bss, 6272K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000022] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[ 0.008136] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[ 0.046817] pid_max: default: 32768 minimum: 301
[ 0.051911] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.058749] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.077311] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.087451] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.095872] NET: Registered protocol family 16
[ 0.125414] registering PCI controller with io_map_base unset
[ 0.161625] PCI host bridge to bus 0000:00
[ 0.165915] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.173008] pci_bus 0000:00: root bus resource [io 0x8000000-0x800ffff]
[ 0.179925] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.186921] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.195169] pci 0000:00:01.0: [1814:3592] type 00 class 0x028000
[ 0.196287] pci 0000:00:01.0: reg 0x10: [mem 0xffff0000-0xffffffff]
[ 0.202569] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[ 0.203797] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.203881] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[ 0.213850] clocksource: Switched to clocksource MIPS
[ 0.223387] NET: Registered protocol family 2
[ 0.230187] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.237507] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.244151] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.251215] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.257363] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.264594] NET: Registered protocol family 1
[ 0.269384] PCI: CLS 0 bytes, default 16
[ 0.287504] Crashlog allocated RAM at address 0x3f00000
[ 0.347709] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.353818] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.373499] io scheduler noop registered
[ 0.377628] io scheduler deadline registered (default)
[ 0.385802] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[ 0.395509] console [ttyS0] enabled
[ 0.402691] bootconsole [early0] disabled
[ 0.413698] 1e000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.424098] 1e000000.nor: Found an alias at 0x1000000 for the chip at 0x0
[ 0.424147] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.429459] Amd/Fujitsu Extended Query version 1.3.
[ 0.434663] number of CFI chips: 1
[ 0.447019] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[ 0.454690] 6 bcm63xxpart partitions found on MTD device 1e000000.nor
[ 0.461358] Creating 6 MTD partitions on "1e000000.nor":
[ 0.466851] 0x000000000000-0x000000020000 : "CFE"
[ 0.475765] 0x000000020100-0x000000169324 : "kernel"
[ 0.486088] 0x000000169324-0x000000ee0000 : "rootfs"
[ 0.496282] mtd: device 2 (rootfs) set to be root filesystem
[ 0.502215] 1 squashfs-split partitions found on MTD device rootfs
[ 0.508615] 0x000000720000-0x000000ee0000 : "rootfs_data"
[ 0.519258] 0x000000020000-0x000000ee0000 : "linux"
[ 0.529425] 0x000000ee0000-0x000000fe0000 : "cal_data"
[ 0.539917] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.554951] bcm63xx-spi bcm6358-spi: at [mem 0xfffe0800-0xfffe0f0b flags 0x200] (irq 9, FIFOs size 542)
[ 0.577432] libphy: bcm63xx_enet MII bus: probed
[ 0.648711] b53_common: found switch: BCM5325, rev 0
[ 0.653926] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0 [Broadcom B53 (1)]
[ 0.664495] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.679412] NET: Registered protocol family 10
[ 0.703294] NET: Registered protocol family 17
[ 0.708130] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.721207] 8021q: 802.1Q VLAN Support v1.8
[ 0.739642] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.765234] Freeing unused kernel memory: 1288K
[ 5.744001] init: Can't open /sys/block/zram0/disksize: No such file or directory
[ 5.756415] init: Console is alive
[ 5.760430] init: - watchdog -
[ 5.829286] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 6.127737] usbcore: registered new interface driver usbfs
[ 6.133749] usbcore: registered new interface driver hub
[ 6.139523] usbcore: registered new device driver usb
[ 6.162790] exFAT: Version 1.2.9
[ 6.199561] SCSI subsystem initialized
[ 6.221195] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.232162] ehci-platform: EHCI generic platform driver
[ 6.237944] ehci-platform ehci-platform: EHCI Host Controller
[ 6.243978] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 6.252698] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
[ 6.269939] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 6.280851] hub 1-0:1.0: USB hub found
[ 6.285772] hub 1-0:1.0: 2 ports detected
[ 6.298933] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.309012] ohci-platform: OHCI generic platform driver
[ 6.314712] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 6.321899] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 6.330275] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
[ 6.396697] hub 2-0:1.0: USB hub found
[ 6.401655] hub 2-0:1.0: 2 ports detected
[ 6.418190] usbcore: registered new interface driver usb-storage
[ 6.426245] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.435876] init: - preinit -
[ 7.108871] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 7.362212] random: procd: uninitialized urandom read (4 bytes read, 28 bits of entropy available)
[ 7.490219] usb 1-2: new high-speed USB device number 3 using ehci-platform
[ 7.783193] hub 1-2:1.0: USB hub found
[ 7.792067] hub 1-2:1.0: 4 ports detected
[ 8.088328] usb 1-2.1: new high-speed USB device number 4 using ehci-platform
[ 8.231819] random: jshn: uninitialized urandom read (4 bytes read, 33 bits of entropy available)
[ 8.324231] usb-storage 1-2.1:1.0: USB Mass Storage device detected
[ 8.342608] scsi host0: usb-storage 1-2.1:1.0
[ 8.382459] random: jshn: uninitialized urandom read (4 bytes read, 34 bits of entropy available)
[ 8.429992] usb 1-2.2: new high-speed USB device number 5 using ehci-platform
[ 8.829385] random: jshn: uninitialized urandom read (4 bytes read, 36 bits of entropy available)
[ 8.945320] random: jshn: uninitialized urandom read (4 bytes read, 37 bits of entropy available)
[ 9.234864] random: jshn: uninitialized urandom read (4 bytes read, 38 bits of entropy available)
[ 9.444251] scsi 0:0:0:0: Direct-Access TOSHIBA TransMemory 1.00 PQ: 0 ANSI: 4
[ 9.459164] sd 0:0:0:0: [sda] 60594432 512-byte logical blocks: (31.0 GB/28.9 GiB)
[ 9.478127] sd 0:0:0:0: [sda] Write Protect is off
[ 9.483155] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
[ 9.490030] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 9.518213] sda: sda1 sda2
[ 9.534127] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 10.190154] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 10.196444] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 11.217912] eth0: link UP - 100/full - flow control off
[ 11.223318] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 11.230737] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 13.861126] mount_root: loading kmods from internal overlay
[ 13.957175] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 13.968416] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 15.114413] jffs2: notice: (416) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 15.131433] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 15.145630] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[ 15.378105] EXT4-fs (sda2): recovery complete
[ 15.386936] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts:
[ 15.446993] mount_root: switched to extroot
[ 15.459101] urandom-seed: Seeding with /etc/urandom.seed
[ 15.691746] procd: - early -
[ 15.695010] procd: - watchdog -
[ 15.704445] random: nonblocking pool is initialized
[ 16.440821] procd: - watchdog -
[ 16.454640] procd: - ubus -
[ 16.615035] procd: - init -
[ 18.984053] [EXFAT] trying to mount...
[ 19.075666] kmodloader: loading kernel modules from /etc/modules.d/*
[ 19.216628] zram: Added device: zram0
[ 19.334517] gre: GRE over IPv4 demultiplexor driver
[ 19.348791] ip_gre: GRE over IPv4 tunneling driver
[ 19.393585] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 19.466926] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 19.544887] u32 classifier
[ 19.547724] input device check on
[ 19.551511] Actions configured
[ 19.567832] Mirror/redirect action on
[ 19.609645] nf_conntrack version 0.5.0 (946 buckets, 3784 max)
[ 19.650113] fuse init (API version 7.23)
[ 19.678396] [EXFAT] mounted successfully
[ 19.759175] usbcore: registered new interface driver cdc_wdm
[ 19.783320] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 19.791640] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 19.841148] hso: drivers/net/usb/hso.c: Option Wireless
[ 19.847125] usbcore: registered new interface driver hso
[ 19.903282] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 20.015730] usbcore: registered new interface driver ums-alauda
[ 20.031429] usbcore: registered new interface driver ums-cypress
[ 20.046806] usbcore: registered new interface driver ums-datafab
[ 20.063662] usbcore: registered new interface driver ums-freecom
[ 20.080443] usbcore: registered new interface driver ums-isd200
[ 20.099184] usbcore: registered new interface driver ums-jumpshot
[ 20.114172] usbcore: registered new interface driver ums-karma
[ 20.133386] usbcore: registered new interface driver ums-sddr09
[ 20.150945] usbcore: registered new interface driver ums-sddr55
[ 20.184177] usbcore: registered new interface driver ums-usbat
[ 20.225469] usbcore: registered new interface driver usbserial
[ 20.231871] usbcore: registered new interface driver usbserial_generic
[ 20.238957] usbserial: USB Serial support registered for generic
[ 20.448394] xt_time: kernel timezone is -0000
[ 20.463539] usbcore: registered new interface driver cdc_ether
[ 20.493355] usbcore: registered new interface driver cdc_ncm
[ 20.657721] usbcore: registered new interface driver huawei_cdc_ncm
[ 20.935369] PPP generic driver version 2.4.2
[ 20.956383] PPP MPPE Compression module registered
[ 20.973082] NET: Registered protocol family 24
[ 20.997625] PPTP driver version 0.8.5
[ 21.020686] usbcore: registered new interface driver qmi_wwan
[ 21.048943] usbcore: registered new interface driver rndis_host
[ 21.140287] usbcore: registered new interface driver sierra
[ 21.146474] usbserial: USB Serial support registered for Sierra USB modem
[ 21.178318] usbcore: registered new interface driver sierra_net
[ 21.411868] usbcore: registered new interface driver carl9170
[ 21.447489] usbcore: registered new interface driver cdc_mbim
[ 21.483680] usbcore: registered new interface driver option
[ 21.489950] usbserial: USB Serial support registered for GSM modem (1-port)
[ 21.541602] usbcore: registered new interface driver qcserial
[ 21.547922] usbserial: USB Serial support registered for Qualcomm USB modem
[ 21.650846] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 21.659823] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'rt2x00.eeprom'.
[ 21.700482] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 21.708622] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 21.717240] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 21.808648] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_7010-1.4.0.fw requested
[ 21.816361] usb 1-2.2: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[ 21.824353] usbcore: registered new interface driver ath9k_htc
[ 21.888084] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 21.961498] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_7010-1.4.0.fw, size: 72812
[ 22.035535] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 45 credits
[ 22.143511] usb 1-2.2: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[ 22.397974] ath9k_htc 1-2.2:1.0: ath9k_htc: HTC initialized with 33 credits
[ 22.420923] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[ 22.427730] ath9k_htc 1-1:1.0: FW RMW support: On
[ 22.432599] ath: EEPROM regdomain: 0x809c
[ 22.432628] ath: EEPROM indicates we should expect a country code
[ 22.432653] ath: doing EEPROM country->regdmn map search
[ 22.432676] ath: country maps to regdmn code: 0x52
[ 22.432700] ath: Country alpha2 being used: CN
[ 22.432719] ath: Regpair used: 0x52
[ 22.492427] ieee80211 phy1: Atheros AR9287 Rev:2
[ 22.809255] ath9k_htc 1-2.2:1.0: ath9k_htc: FW Version: 1.4
[ 22.816251] ath9k_htc 1-2.2:1.0: FW RMW support: On
[ 22.821298] ath: EEPROM regdomain: 0x809c
[ 22.821328] ath: EEPROM indicates we should expect a country code
[ 22.821353] ath: doing EEPROM country->regdmn map search
[ 22.821375] ath: country maps to regdmn code: 0x52
[ 22.821399] ath: Country alpha2 being used: CN
[ 22.821419] ath: Regpair used: 0x52
[ 22.877291] ieee80211 phy2: Atheros AR9271 Rev:1
[ 26.937262] zram0: detected capacity change from 0 to 33554432
[ 27.118429] Adding 32764k swap on /dev/zram0. Priority:100 extents:1 across:32764k SS
[ 42.002540] device eth0.1 entered promiscuous mode
[ 42.007533] device eth0 entered promiscuous mode
[ 42.044808] br-lan: port 1(eth0.1) entered forwarding state
[ 42.050724] br-lan: port 1(eth0.1) entered forwarding state
[ 43.485998] eth0: link UP - 100/full - flow control off
[ 44.053953] br-lan: port 1(eth0.1) entered forwarding state

@openwrt-bot
Copy link
Author

sapi69:

log 18.06.4

[ 0.000000] Linux version 4.9.184 (buildbot@2ccc8102e0c3) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292) ) #0 Thu Jun 27 12:18:52 2019
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33323530, got 1937be34)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_C
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version C)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 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] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 8043b1c4, node_mem_map 81005c10
[ 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=132768
[ 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: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 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] Memory: 59048K/65536K available (3515K kernel code, 178K rwdata, 580K rodata, 1288K init, 209K bss, 6488K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000022] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[ 0.008151] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[ 0.046842] pid_max: default: 32768 minimum: 301
[ 0.051913] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.058739] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.078062] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.088175] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.094621] pinctrl core: initialized pinctrl subsystem
[ 0.103679] NET: Registered protocol family 16
[ 0.114451] registering PCI controller with io_map_base unset
[ 0.120421] registering PCI controller with io_map_base unset
[ 0.172867] PCI host bridge to bus 0000:00
[ 0.177163] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.184249] pci_bus 0000:00: root bus resource [io 0x8000000-0x8007fff]
[ 0.191157] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.198154] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.206394] pci 0000:00:01.0: [1814:3592] type 00 class 0x028000
[ 0.207476] pci 0000:00:01.0: reg 0x10: [mem 0xffff0000-0xffffffff]
[ 0.213753] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[ 0.214919] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.214980] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[ 0.222833] PCI host bridge to bus 0000:01
[ 0.227093] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[ 0.234183] pci_bus 0000:01: root bus resource [io 0x8008000-0x800ffff]
[ 0.241090] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 0.248088] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.256344] pci 0000:01:1e.0: [14e4:6358] type 02 class 0x060700
[ 0.256927] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.265525] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[ 0.265570] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[ 0.265633] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[ 0.272762] pci 0000:01:1e.0: BAR 7: assigned [io 0x8008000-0x80080ff]
[ 0.279593] pci 0000:01:1e.0: BAR 8: assigned [io 0x8008400-0x80084ff]
[ 0.286416] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[ 0.292162] pci 0000:01:1e.0: bridge window [io 0x8008000-0x80080ff]
[ 0.298981] pci 0000:01:1e.0: bridge window [io 0x8008400-0x80084ff]
[ 0.305801] pci 0000:01:1e.0: bridge window [mem 0x38000000-0x3fffffff]
[ 0.323738] clocksource: Switched to clocksource MIPS
[ 0.332522] NET: Registered protocol family 2
[ 0.339389] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.346731] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.353363] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.360423] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.366560] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.373647] NET: Registered protocol family 1
[ 0.378338] PCI: CLS 0 bytes, default 16
[ 0.389541] Crashlog allocated RAM at address 0x3f00000
[ 0.398965] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.424378] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.430433] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.477571] io scheduler noop registered
[ 0.481657] io scheduler deadline registered (default)
[ 0.490289] bcm6358-pinctrl fffe0080.pin-controller: registered at mmio fffe0080
[ 0.500122] fffe0100.serial: ttyS0 at MMIO 0xfffe0100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[ 0.509895] console [ttyS0] enabled
[ 0.517069] bootconsole [early0] disabled
[ 0.527694] 1e000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.538129] 1e000000.nor: Found an alias at 0x1000000 for the chip at 0x0
[ 0.538161] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.543467] Amd/Fujitsu Extended Query version 1.3.
[ 0.548672] number of CFI chips: 1
[ 0.566796] Searching for RedBoot partition table in 1e000000.nor at offset 0xfe0000
[ 0.610353] No RedBoot partition table detected in 1e000000.nor
[ 0.616695] 4 fixed-partitions partitions found on MTD device 1e000000.nor
[ 0.623802] Creating 4 MTD partitions on "1e000000.nor":
[ 0.629289] 0x000000000000-0x000000020000 : "CFE"
[ 0.638152] 0x000000020000-0x000000ee0000 : "linux"
[ 0.649350] parser_imagetag: rootfs: CFE image tag found at 0x0 with version 8, board type HW556
[ 0.658488] parser_imagetag: Partition 0 is kernel offset 100 and length 15dd4c
[ 0.666021] parser_imagetag: Partition 1 is rootfs offset 15de4c and length d621b4
[ 0.673812] parser_imagetag: Spare partition is offset 3a0004 and length b1fffc
[ 0.681398] 2 bcm963xx-imagetag partitions found on MTD device linux
[ 0.687967] Creating 2 MTD partitions on "linux":
[ 0.692823] 0x000000000100-0x00000015de4c : "kernel"
[ 0.702469] 0x00000015de4c-0x000000ec0000 : "rootfs"
[ 0.712738] mtd: device 3 (rootfs) set to be root filesystem
[ 0.718662] 1 squashfs-split partitions found on MTD device rootfs
[ 0.725055] 0x0000003a0000-0x000000ec0000 : "rootfs_data"
[ 0.735923] 0x000000ee0000-0x000000fe0000 : "cal_data"
[ 0.746291] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.761156] bcm63xx-spi fffe0800.spi: at [mem 0xfffe0800-0xfffe0f0b flags 0x200] (irq 9, FIFOs size 542)
[ 0.773574] libphy: Fixed MDIO Bus: probed
[ 0.790937] libphy: bcm63xx_enet MII bus: probed
[ 0.870614] b53_common: found switch: BCM5325, rev 0
[ 0.875825] Broadcom B53 (1) bcm63xx_enet-1:00: attached PHY driver [Broadcom B53 (1)] (mii_bus:phy_addr=bcm63xx_enet-1:00, irq=-1)
[ 0.888814] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.903327] NET: Registered protocol family 10
[ 0.926038] NET: Registered protocol family 17
[ 0.930820] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.944206] 8021q: 802.1Q VLAN Support v1.8
[ 0.962366] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 0.987964] Freeing unused kernel memory: 1288K
[ 0.992648] This architecture does not have kernel memory protection.
[ 1.251782] random: fast init done
[ 2.039919] init: Console is alive
[ 2.043979] init: - watchdog -
[ 3.480948] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 3.657497] usbcore: registered new interface driver usbfs
[ 3.663475] usbcore: registered new interface driver hub
[ 3.669278] usbcore: registered new device driver usb
[ 3.690791] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.700690] ehci-platform: EHCI generic platform driver
[ 3.706446] ehci-platform ehci-platform: EHCI Host Controller
[ 3.712501] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 3.721172] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
[ 3.739822] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 3.750603] hub 1-0:1.0: USB hub found
[ 3.755583] hub 1-0:1.0: 2 ports detected
[ 3.767484] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.777120] ohci-platform: OHCI generic platform driver
[ 3.782840] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 3.789977] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 3.798417] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
[ 3.870455] hub 2-0:1.0: USB hub found
[ 3.875352] hub 2-0:1.0: 2 ports detected
[ 3.881949] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.900536] init: - preinit -
[ 4.677750] usb 1-2: new high-speed USB device number 2 using ehci-platform
[ 5.131632] random: procd: uninitialized urandom read (4 bytes read)
[ 5.139336] hub 1-2:1.0: USB hub found
[ 5.148377] hub 1-2:1.0: 4 ports detected
[ 5.686617] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.948598] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.270283] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.377363] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.555598] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.154706] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.160963] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 8.195795] eth0: link UP - 100/full - flow control off
[ 8.201212] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.208652] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 10.808660] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 10.866101] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 11.109300] procd: - early -
[ 11.112567] procd: - watchdog -
[ 11.285594] eth0: link DOWN
[ 11.901333] procd: - watchdog -
[ 11.905286] procd: - ubus -
[ 12.076013] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.222939] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.230405] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.239386] procd: - init -
[ 12.977461] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.998211] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.032707] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 13.041003] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 13.056932] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.084772] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 13.210065] xt_time: kernel timezone is -0000
[ 13.360681] PPP generic driver version 2.4.2
[ 13.371249] NET: Registered protocol family 24
[ 13.430957] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 13.439714] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'rt2x00.eeprom'.
[ 13.450107] rt2800pci 0000:00:01.0: Direct firmware load for rt2x00.eeprom failed with error -2
[ 13.459128] rt2800pci 0000:00:01.0: Falling back to user helper
[ 13.635259] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 13.643334] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 13.651948] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 13.692176] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 42.499953] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 42.506118] eth0: link UP - 100/full - flow control off
[ 42.512121] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 42.584867] br-lan: port 1(eth0.1) entered blocking state
[ 42.590491] br-lan: port 1(eth0.1) entered disabled state
[ 42.597051] device eth0.1 entered promiscuous mode
[ 42.602045] device eth0 entered promiscuous mode
[ 42.690709] br-lan: port 1(eth0.1) entered blocking state
[ 42.696331] br-lan: port 1(eth0.1) entered forwarding state
[ 42.702463] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 43.492208] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 43.592368] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 43.634075] jffs2_build_filesystem(): unlocking the mtd device...
[ 43.640313] done.
[ 43.642237] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 51.807903] random: crng init done
[ 51.811370] random: 1 urandom warning(s) missed due to ratelimiting
[ 117.598857] done.
[ 117.600921] jffs2: notice: (1130) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

@openwrt-bot
Copy link
Author

sapi69:

up up

@openwrt-bot
Copy link
Author

peperfus:

OpenWrt 19.07.0 with kernel 4.14.162 working.
OpenWrt 19.07.0 r10860-a3ffeb413b / LuCI openwrt-19.07 branch git-20.006.26738-35aa527

@openwrt-bot
Copy link
Author

peperfus:

Does anybody know how to extract firmware from my working HG556a (19.07.0) and then copy it to other HG556a (same model, same version) ??
Thank you.

Or if is it possible to get exactly one past commit of the firmware? (and how / where?) thank you.

@openwrt-bot
Copy link
Author

peperfus:

Why is this bug set to low priority?
What is needed to set it to high priority?

@openwrt-bot
Copy link
Author

sapi69:

no news?

@openwrt-bot
Copy link
Author

Asux30:

Please solve this problem

@openwrt-bot
Copy link
Author

ruben-p:

please

@openwrt-bot
Copy link
Author

ynezz:

Why is this bug set to low priority?

Just simply ignore that priority field. My understanding is, that this is community driven project, so you cant actually force volunteers to prioritize their work. So nobody wastes time with priorities.

What is needed to set it to high priority?

It wont change anything anyway.

This problem is device specific, so it needs someone who has access to hardware to bisect it down to the problematic commit, then find out which change inside that commit is causing it. When you can point us at the breaking change/file/line number, we might be able to find a fix.

@openwrt-bot
Copy link
Author

peperfus:

I only know I have a HG556a_A with this version working:
OpenWrt 19.07.0 r10860-a3ffeb413b / LuCI openwrt-19.07 branch git-20.039.36269-8b16835
(As you can see in my last image posted)
I can't provide further help.

@openwrt-bot
Copy link
Author

syscon:

Had some time to do this and learn abit...

the check in is:

2308b87 is the first bad commit
commit 2308b87
Author: Jonas Gorski jonas.gorski@gmail.com
Date: Wed Aug 1 12:18:13 2018 +0200

brcm63xx: switch to 4.14

Kernel 4.14 support has been present for quite some time, so let's give
it wider testing.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

:040000 040000 29a6b61ecb4a6a79ac382d9ba7fef76e6c07b8e0 a1e3d1b1141f284bee313a2ba2586d8474aef19b M target

sadly i dont think it will help as thats likely the time the 63xx hg556a got remapped to use the new kernel (so doesnt highlight the root cause of the issue).

If anyone has the ability to investigate further / suggestions etc...

Matt

@openwrt-bot
Copy link
Author

syscon:

Ive struggled with this for the last few days and costed me one of the 3 routers (though if i can get the jtag on the "c" working, it will be recovered)

so heres where i got to....

I can get this to boot from time to time (for example, i left it over night in stuck position, rebooted from a cold restart - unplugged etc, and it would complete the boot process). This is using a stuffed kernel which i had played around with to try a few things (ie: removed pre_init as i thought it might had been in there but issue appears to be a lot earlier) so if you notice it doesnt complete all the way, most likely cos i removed the init. Note you can get into the console though :-)

Log of it stuck and working (on exact same firmware and on the exact same device).
Suspect a race condition or something special is happening on kernel start

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :2201

@w45260flipCFIGeometry:1
Parallel flash device: name , id 0x2201, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE: 0x80401000 - 0x8052A510 (1217808)
Initialized Data: 0x8041F3C0 - 0x80421B60 (10144)
BSS Area: 0x80421B60 - 0x80428510 (27056)
Local Heap: 0x80428510 - 0x80528510 (1048576)
Stack Area: 0x80528510 - 0x8052A510 (8192)
Text (code) segment: 0x80401000 - 0x8041F3B4 (123828)
Boot area (physical): 0x0052B000 - 0x0056B000
Relocation Factor: I:00000000 - D:00000000

*** Restore to Factory Default Setting ***

*** Break into CFE console ***

*** GetHG556aBoardVersion = <0> ***

Board IP address : 192.168.1.1
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id Name : HW556
Psi size in KB : 64
Number of MAC Addresses (1-32) : 10
Base MAC Address : 30:87:30:dd:83:98
Ethernet PHY Type : Internal
Memory size in MB : 64
CMT Thread Number : 1

web info: Waiting for connection on socket 0.
web info: Waiting for connection on socket 1.
web info: Waiting for connection on socket 0.
web info: Upload 4063236 bytes, Broadcom image format.
CFE>
Flashing root file system and kernel at 0xbe020000:

baseAddr 0xbe000000
kernelAddr 0xbe020100
rootfsAddr 0xbe020100
tagFs 0x808000c0
...............................

.

Backup flag .

~~~~~~~Flag: 1
.
*** Image flash done *** !
Resetting board...

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :2201

@w45260flipCFIGeometry:1
Parallel flash device: name , id 0x2201, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 30:87:30:dd:83:98
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[    0.000000] Linux version 5.4.34 (mattymatt@openwrtbuild) (gcc version 8.4.0                                                                                         (OpenWrt GCC 8.4.0 r13046-df27e949fb)) #0 SMP Wed Apr 22 08:50:15 2020
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: d081.5003
[    0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (ex                                                                                        pected 33303730, got 27c042f5)
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board: board name: HW556_A
[    0.000000] MIPS: machine is Huawei EchoLife HG556a (version A)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16                                                                                         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] percpu: Embedded 14 pages/cpu s26032 r8192 d23120 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=t                                                                                        tyS0,115200
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, lin                                                                                        ear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, line                                                                                        ar)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 58160K/65536K available (4300K kernel code, 205K rwdata,                                                                                         632K rodata, 1320K init, 197K bss, 7376K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jif                                                                                        fies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 256
[    0.000000] genirq: irq_chip bcm6345-periph-intc did not update eff. affinity                                                                                         mask of irq 33
[    0.000000] random: get_random_bytes called from 0x805169c8 with crng_init=0
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i                                                                                        dle_ns: 12741736309 ns
[    0.000028] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316                                                                                        557820ns
[    1.038779] random: fast init done


CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :2201

@w45260flipCFIGeometry:1
Parallel flash device: name , id 0x2201, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 30:87:30:dd:83:98
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[    0.000000] Linux version 5.4.34 (mattymatt@openwrtbuild) (gcc version 8.4.0                                                                                         (OpenWrt GCC 8.4.0 r13046-df27e949fb)) #0 SMP Wed Apr 22 08:50:15 2020
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: d081.5003
[    0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (ex                                                                                        pected 33303730, got 27c042f5)
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board: board name: HW556_A
[    0.000000] MIPS: machine is Huawei EchoLife HG556a (version A)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16                                                                                         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] percpu: Embedded 14 pages/cpu s26032 r8192 d23120 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=t                                                                                        tyS0,115200
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, lin                                                                                        ear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, line                                                                                        ar)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 58160K/65536K available (4300K kernel code, 205K rwdata,                                                                                         632K rodata, 1320K init, 197K bss, 7376K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jif                                                                                        fies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 256
[    0.000000] genirq: irq_chip bcm6345-periph-intc did not update eff. affinity                                                                                         mask of irq 33
[    0.000000] random: get_random_bytes called from 0x805169c8 with crng_init=0
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i                                                                                        dle_ns: 12741736309 ns
[    0.000028] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316                                                                                        557820ns
[    1.038779] random: fast init done
[   25.432797] random: crng init done

</code>



working
<code>
CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :2201

@w45260flipCFIGeometry:1
Parallel flash device: name , id 0x2201, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 30:87:30:dd:83:98
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000


CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Copyright (C) 2006 Huawei Technologies Co. Ltd.


Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :2201

@w45260flipCFIGeometry:1
Parallel flash device: name , id 0x2201, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE:  0x80401000 - 0x8052A510 (1217808)
Initialized Data:          0x8041F3C0 - 0x80421B60 (10144)
BSS Area:                  0x80421B60 - 0x80428510 (27056)
Local Heap:                0x80428510 - 0x80528510 (1048576)
Stack Area:                0x80528510 - 0x8052A510 (8192)
Text (code) segment:       0x80401000 - 0x8041F3B4 (123828)
Boot area (physical):      0x0052B000 - 0x0056B000
Relocation Factor:         I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address                  : 192.168.1.1
Host IP address                   : 192.168.1.100
Gateway IP address                :
Run from flash/host (f/h)         : f
Default host run file name        : vmlinux
Default host flash file name      : bcm963xx_fs_kernel
Boot delay (0-9 seconds)          : 1
Board Id Name                     : HW556
Psi size in KB                    : 64
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 30:87:30:dd:83:98
Ethernet PHY Type                 : Internal
Memory size in MB                 : 64
CMT Thread Number                 : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[    0.000000] Linux version 5.4.34 (mattymatt@openwrtbuild) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13046-df27e949fb)) #0 SMP Wed Apr 22 08:50:15 2020
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: d081.5003
[    0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33303730, got 27c042f5)
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board: board name: HW556_A
[    0.000000] MIPS: machine is Huawei EchoLife HG556a (version A)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 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] percpu: Embedded 14 pages/cpu s26032 r8192 d23120 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 58160K/65536K available (4300K kernel code, 205K rwdata, 632K rodata, 1320K init, 197K bss, 7376K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 256
[    0.000000] genirq: irq_chip bcm6345-periph-intc did not update eff. affinity mask of irq 33
[    0.000000] random: get_random_bytes called from 0x805169c8 with crng_init=0
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000028] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[    0.008264] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[    0.050996] pid_max: default: 32768 minimum: 301
[    0.057494] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.065180] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.096455] rcu: Hierarchical SRCU implementation.
[    0.105348] smp: Bringing up secondary CPUs ...
[    0.110193] smp: Brought up 1 node, 1 CPU
[    0.169563] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.179751] futex hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.187409] pinctrl core: initialized pinctrl subsystem
[    0.200413] NET: Registered protocol family 16
[    0.239151] registering PCI controller with io_map_base unset
[    0.650620] PCI host bridge to bus 0000:00
[    0.655023] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.662245] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.669285] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.676373] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.684976] pci 0000:00:01.0: [168c:ff1d] type 00 class 0x020000
[    0.693372] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    0.710492] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.717511] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.769505] clocksource: Switched to clocksource MIPS
[    0.794697] NET: Registered protocol family 2
[    0.809417] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.818383] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.826539] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.834039] TCP: Hash tables configured (established 1024 bind 1024)
[    0.842981] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.850027] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.859562] NET: Registered protocol family 1
[    0.864484] pci 0000:00:01.0: invalid calibration data
[    0.869949] PCI: CLS 0 bytes, default 16
[    0.932562] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    1.136086] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.142227] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.160790] random: fast init done
[    1.442221] bcm6358-pinctrl fffe0080.pin-controller: registered at mmio (ptrval)
[    1.460168] fffe0100.serial: ttyS0 at MMIO 0xfffe0100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[    1.470087] printk: console [ttyS0] enabled
[    1.470087] printk: console [ttyS0] enabled
[    1.478787] printk: bootconsole [early0] disabled
[    1.478787] printk: bootconsole [early0] disabled
[    1.545663] physmap-flash 1e000000.nor: physmap platform flash device: [mem 0x1e000000-0x1fffffff]
[    1.555248] 1e000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    1.565903] Amd/Fujitsu Extended Query Table at 0x0040
[    1.571365]   Amd/Fujitsu Extended Query version 1.3.
[    1.576752] number of CFI chips: 1
[    1.587565] Searching for RedBoot partition table in 1e000000.nor at offset 0xfe0000
[    1.631248] No RedBoot partition table detected in 1e000000.nor
[    1.637832] 4 fixed-partitions partitions found on MTD device 1e000000.nor
[    1.645051] Creating 4 MTD partitions on "1e000000.nor":
[    1.650749] 0x000000000000-0x000000020000 : "CFE"
[    1.668641] 0x000000020000-0x000000ee0000 : "linux"
[    1.708224] parser_imagetag: rootfs: CFE image tag found at 0x0 with version 8, board type HW556
[    1.717878] parser_imagetag: Partition 0 is kernel offset 100 and length 1a2eec
[    1.725522] parser_imagetag: Partition 1 is rootfs offset 1a2fec and length d1d014
[    1.733420] parser_imagetag: Spare partition is offset 3e0004 and length adfffc
[    1.741171] 2 bcm963xx-imagetag partitions found on MTD device linux
[    1.747839] Creating 2 MTD partitions on "linux":
[    1.752891] 0x000000000100-0x0000001a2fec : "kernel"
[    1.771143] 0x0000001a2fec-0x000000ec0000 : "rootfs"
[    1.788891] mtd: device 3 (rootfs) set to be root filesystem
[    1.794899] 1 squashfs-split partitions found on MTD device rootfs
[    1.801499] 0x0000003e0000-0x000000ec0000 : "rootfs_data"
[    1.822001] 0x000000ee0000-0x000000fe0000 : "cal_data"
[    1.841306] 0x000000fe0000-0x000001000000 : "nvram"
[    1.935288] bcm63xx-spi fffe0800.spi: at [mem 0xfffe0800-0xfffe0f0b flags 0x200] (irq 9, FIFOs size 542)
[    1.958217] libphy: Fixed MDIO Bus: probed
[    2.027845] b53_common: found switch: BCM5325, rev 0
[    2.033682] libphy: bcm63xx_enet MII bus: probed
[    2.038759] Broadcom B53 (1) bcm63xx_enet-1:00: attached PHY driver [Broadcom B53 (1)] (mii_bus:phy_addr=bcm63xx_enet-1:00, irq=POLL)
[    2.054475] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    2.091775] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.099174] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.106535] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.113896] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.121252] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.149712] NET: Registered protocol family 10
[    2.262505] Segment Routing with IPv6
[    2.267011] NET: Registered protocol family 17
[    2.273968] 8021q: 802.1Q VLAN Support v1.8
[    2.478897] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    2.506424] Freeing unused kernel memory: 1320K
[    2.511223] This architecture does not have kernel memory protection.
[    2.517949] Run /sbin/init as init process
[    3.999453] init: Console is alive
[    4.005974] init: - watchdog -
[    6.437161] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.679673] usbcore: registered new interface driver usbfs
[    6.687225] usbcore: registered new interface driver hub
[    6.693901] usbcore: registered new device driver usb
[    6.761565] JFS: nTxBlock = 464, nTxLock = 3717
[    6.891632] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.906621] ehci-fsl: Freescale EHCI Host controller driver
[    6.923103] ehci-platform: EHCI generic platform driver
[    6.929679] ehci-platform ehci-platform: EHCI Host Controller
[    6.936067] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    6.945893] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
[    6.965147] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[    6.984192] hub 1-0:1.0: USB hub found
[    6.992123] hub 1-0:1.0: 2 ports detected
[    7.039303] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.053389] ohci-platform: OHCI generic platform driver
[    7.059793] ohci-platform ohci-platform: Generic Platform OHCI controller
[    7.067133] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    7.076347] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
[    7.154716] hub 2-0:1.0: USB hub found
[    7.162599] hub 2-0:1.0: 2 ports detected
[    7.183675] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.203356] init: - preinit -
[    7.475823] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.720174] hub 1-1:1.0: USB hub found
[    7.733245] hub 1-1:1.0: 2 ports detected
[    8.169900] random: procd: uninitialized urandom read (4 bytes read)
[    8.223240] procd: - early -
[    8.226880] procd: - watchdog -
[    9.273368] procd: - watchdog -
[    9.279021] procd: - ubus -
[    9.385875] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.541325] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.550308] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.564524] procd: - init -
Please press Enter to activate this console.
[   10.690319] urandom_read: 5 callbacks suppressed
[   10.690346] random: jshn: uninitialized urandom read (4 bytes read)
[   12.225499] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.729591] Loading modules backported from Linux version v5.4.27-0-g585e0cc08069
[   12.737438] Backport generated by backports.git v5.4.27-1-0-gf6e8852f
[   12.827788] urngd: v1.0.2 started.
[   13.015044] xt_time: kernel timezone is -0000
[   13.643555] random: crng init done
[   13.691195] PPP generic driver version 2.4.2
[   13.733830] NET: Registered protocol family 24
[   14.061751] kmodloader: done loading kernel modules from /etc/modules.d/*

</code>



will update if i get to the bottom of this or further along


@openwrt-bot
Copy link
Author

syscon:

confirming.... on the exact same firmware, another reboot and its now back to the hang state...

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE) Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693) Copyright (C) 2006 Huawei Technologies Co. Ltd.

Boot Address 0xbe000000

Initializing Arena.
Initializing Devices.

@w45260: Flash Manufacture id :c2

@w45260Flash Device id :2201

@w45260flipCFIGeometry:1
Parallel flash device: name , id 0x2201, size 16384KB
*** GetHG556aBoardVersion = <0> ***

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)

Total memory used by CFE: 0x80401000 - 0x8052A510 (1217808)
Initialized Data: 0x8041F3C0 - 0x80421B60 (10144)
BSS Area: 0x80421B60 - 0x80428510 (27056)
Local Heap: 0x80428510 - 0x80528510 (1048576)
Stack Area: 0x80528510 - 0x8052A510 (8192)
Text (code) segment: 0x80401000 - 0x8041F3B4 (123828)
Boot area (physical): 0x0052B000 - 0x0056B000
Relocation Factor: I:00000000 - D:00000000

*** GetHG556aBoardVersion = <0> ***

Board IP address : 192.168.1.1
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id Name : HW556
Psi size in KB : 64
Number of MAC Addresses (1-32) : 10
Base MAC Address : 30:87:30:dd:83:98
Ethernet PHY Type : Internal
Memory size in MB : 64
CMT Thread Number : 1

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[ 0.000000] Linux version 5.4.34 (mattymatt@openwrtbuild) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13046-df27e949fb)) #0 SMP Wed Apr 22 08:50:15 2020
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33303730, got 27c042f5)
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_A
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version A)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 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] percpu: Embedded 14 pages/cpu s26032 r8192 d23120 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 58160K/65536K available (4300K kernel code, 205K rwdata, 632K rodata, 1320K init, 197K bss, 7376K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] genirq: irq_chip bcm6345-periph-intc did not update eff. affinity mask of irq 33
[ 0.000000] random: get_random_bytes called from 0x805169c8 with crng_init=0
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000028] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[ 1.038770] random: fast init done
[ 25.431994] random: crng init done

@openwrt-bot
Copy link
Author

syscon:

no good at linix debugging, but adding afew trace lines, it might be something to do with "local_irq_enable"

Starting program at 0x80a00000
[ 0.000000] Linux version 5.4.36 (mattymatt@zzz) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13133-5ea3ea154f)) #0 Wed Apr 29 22:52:04 2020
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33303730, got f8e5bad2)
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_B
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version B)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 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] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 57416K/65536K available (4694K kernel code, 215K rwdata, 1076K rodata, 1240K init, 198K bss, 8120K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] sched_init
[ 0.000000] preempt_disable()
[ 0.000000] radix_tree_init()
[ 0.000000] housekeeping_init()
[ 0.000000] workqueue_init_early();
[ 0.000000] rcu_init();
[ 0.000000] trace_init();
[ 0.000000] context_tracking_init();
[ 0.000000] early_irq_init();;
[ 0.000000] NR_IRQS: 256
[ 0.000000] init_IRQ();
[ 0.000000] tick_init();
[ 0.000000] rcu_init_nohz();
[ 0.000000] init_timers();
[ 0.000000] hrtimers_init();
[ 0.000000] softirq_init();
[ 0.000000] timekeeping_init();
[ 0.000000] rand_initialize();
[ 0.000000] add_latent_entropy();
[ 0.000000] softirq_init();
[ 0.000000] boot_init_stack_canary();
[ 0.000000] random: get_random_bytes called from start_kernel+0x430/0x710 with crng_init=0
[ 0.000000] time_init();
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000020] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[ 0.008021] printk_safe_init();
[ 0.008029] perf_event_init();
[ 0.011247] profile_init();
[ 0.014382] call_function_init();
[ 0.017250] local_irq_enable();
[ 1.044287] random: fast init done
[ 25.077730] random: crng init done

@openwrt-bot
Copy link
Author

ynezz:

no good at linix debugging

Well, you're already pretty good, because you know how to compile and run your custom kernel.

If I were you, I would simply git bisect the offending commit, there is plenty of material around which should help you with git bisect, it's really not that hard.

With git bisect yous should find specific commit in the tree which has broken your device, where git revert commit would make your device bootable again. Providing this specific Git commit hash ID which has broken your device would provide hopefully enough clue leading to the fix.

@openwrt-bot
Copy link
Author

ynezz:

Ah, sorry, you've already done that, this commit is 2308b87204206d84b6bf3dbc3d72591611cc6b78. Thanks, I'll try to ping Jonas :)

@openwrt-bot
Copy link
Author

russell:

Maybe do the same tracing with a working version, so we knew what came after local_irq_enable(). might help bracket where things are going wrong.

@openwrt-bot
Copy link
Author

syscon:

Hi Russell / Petr, thanks for your replys.

I had put print statements before every line so all indications are that it never returned from local_irq_enable() / never reached the next line of kmem_cache_init_late() on the start_kernel (/build_dir/target-mips_mips32_musl/linux-bcm63xx_generic/linux-5.4.36/init.main.c)

The key bits around this call below:

profile_init();
call_function_init();
WARN(!irqs_disabled(), "Interrupts were enabled early\n");

early_boot_irqs_disabled = false;
**local_irq_enable();**

kmem_cache_init_late();

/*
 * HACK ALERT! This is early. We're enabling the console before
 * we've done PCI setups etc, and console_init() must be aware of
 * this. But we do want output early, in case something goes wrong.
 */
console_init();
if (panic_later)
	panic("Too many boot %s vars at `%s'", panic_later,
	      panic_param);

lockdep_init();

/*
 * Need to run this when irqs are enabled, because it wants
 * to self-test [hard/soft]-irqs on/off lock inversion bugs
 * too:
 */
locking_selftest();

Going off a hunch, ive done some more digging and think i got to where i'm happy with...

Ive found that by removing the spi sections of the target/linux/bcm63xx/dts/bcm6358.dtsi and re-compiling, i have gone from failing to boot 90% of the time to successfully being able to boot 90% of the time (for some reason i still had a few non boots) in a test of about 30 reboots / cold boots etc.

understanding that spi is prob critical to many 63xx boards or to some specific customization, this may not be the solution for everyone. For me, as the hg556A/b/C all use nor flash (not spi memory) etc and I dont have a need for spi, i'm happy to have the trade off in order to get the new kernel working and software offloading working (i'm getting approx 2x the nat speed using software offloading, which is gold).

if this does lead to a patch specific to hg556, would be great, but understand based on the above that this may not be the root cause but just hiding it (perhaps someone who knows abit more on the underlying aspects of this chip may know how all this glues together - possibly something to do with the gio pins / irqs / spi???)

another observation was that when the router router was on the original 19.x or the daily builds, it "seemed" to be more successful on booting from cold start (unplug for 30 seconds or so) then it would be just by unplugging power and plugging back in within a few seconds.... I suspect that people who are having this issue may be able to unplug the device for 10 mins or so and try again (afew times....). If the power light starts flashing in about 30 seconds, its successfully booting, otherwise if its still solid, its stuck (repeat process). First successful boot takes approx 3 mins before interface is up (it seems to do file system maintenance etc), future boots takes approx 1 min.

For anyone else who gets here, Hopefully the above has been useful. Has been fun on my end playing around with it etc while in lock down, Thanks heaps to those working on openwrt / supporting it.

available for testing any patches as needed (with B model only unless i can restore cfe on my c model)

@openwrt-bot
Copy link
Author

Noltari:

Please, test again with latest OpenWrt master:
It should be fixed with the following commit:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=13c33f3f121ca6fe2ab1f80e04cf2d4f2cd6abec

Cheers!

@openwrt-bot
Copy link
Author

Asux30:

I have a hg566A ver A router I have installed this fix and it is running.

@openwrt-bot
Copy link
Author

syscon:

Love your work, Tested a few reboots on my hg-556A-verB router and looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant