Hi,
I have an armada 370 device, and the commit on 2019-03-25 (commit id: 8dcc1087602e2dd606e4f6e81a06aee62cfd4f4c) caused the my device got a kernel panic, and this commit is effecting all the gcc versions (gcc 7.4, 8.3 and 9.2)
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.66 (Wacke@HOME-Server) (gcc version 9.2.0 (OpenWrt GCC 9.2.0 r10847-853e4dd306)) #0 SMP Thu Aug 22 19:15:28 2019
[ 0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: RTNAS V3
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] random: get_random_bytes called from start_kernel+0x7c/0x500 with crng_init=0
[ 0.000000] percpu: Embedded 12 pages/cpu s19404 r8192 d21556 u49152
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
[ 0.000000] Kernel command line: console=ttyS0,115200 ubi.mtd=5 root=ubi0:rootfs ro rootfstype=ubifs
[ 0.000000] Bootloader command line (ignored): console=ttyS0,115200 ubi.mtd=5 root=ubi0:rootfs ro rootfstype=ubifs
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1025672K/1048576K available (6144K kernel code, 214K rwdata, 1512K rodata, 4096K init, 247K bss, 22904K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (4096 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 215 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 248 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C: DT/platform modifies aux control register: 0x12086302 -> 0x1a086302
[ 0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[ 0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[ 0.000000] Switching to timer-based delay loop, resolution 53ns
[ 0.000007] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114840871909ns
[ 0.000022] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 102208375848 ns
[ 0.000248] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.39 BogoMIPS (lpj=186996)
[ 0.000263] pid_max: default: 32768 minimum: 301
[ 0.000400] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000415] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000961] CPU: Testing write buffer coherency: ok
[ 0.001224] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.001660] Setting up static identity map for 0x100000 - 0x100060
[ 0.001977] mvebu-soc-id: MVEBU SoC ID=0x6710, Rev=0x1
[ 0.002069] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.002201] rcu: Hierarchical SRCU implementation.
[ 0.002581] smp: Bringing up secondary CPUs ...
[ 0.002591] smp: Brought up 1 node, 1 CPU
[ 0.002599] SMP: Total of 1 processors activated (37.39 BogoMIPS).
[ 0.002605] CPU: All CPU(s) started in SVC mode.
[ 0.005599] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[ 0.005714] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.005730] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.005816] pinctrl core: initialized pinctrl subsystem
[ 0.006395] NET: Registered protocol family 16
[ 0.006728] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.007321] cpuidle: using governor ladder
[ 0.028520] cryptd: max_cpu_qlen set to 1000
[ 0.029278] SCSI subsystem initialized
[ 0.030187] usbcore: registered new interface driver usbfs
[ 0.030233] usbcore: registered new interface driver hub
[ 0.030285] usbcore: registered new device driver usb
[ 0.032423] clocksource: Switched to clocksource armada_370_xp_clocksource
[ 0.033151] NET: Registered protocol family 2
[ 0.033560] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.033584] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.033630] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.033699] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.033784] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.033808] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.033940] NET: Registered protocol family 1
[ 0.091593] Crashlog allocated RAM at address 0x3f00000
[ 0.092209] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.096672] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.096685] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.106119] bounce: pool size: 64 pages
[ 0.106141] io scheduler noop registered
[ 0.106148] io scheduler deadline registered (default)
[ 0.107018] armada-370-pinctrl f1018000.pin-ctrl: registered pinctrl driver
[ 0.108910] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[ 0.108930] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.108939] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[ 0.108948] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff]
[ 0.110325] PCI: bus0: Fast back to back transfers disabled
[ 0.110338] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.110351] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.111660] PCI: bus1: Fast back to back transfers disabled
[ 0.113081] PCI: bus2: Fast back to back transfers disabled
[ 0.113160] pci 0000:00:01.0: BAR 8: assigned [mem 0xf8000000-0xf80fffff]
[ 0.113172] pci 0000:00:02.0: BAR 8: assigned [mem 0xf8200000-0xf84fffff]
[ 0.113185] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf801ffff 64bit]
[ 0.113203] pci 0000:01:00.0: BAR 6: assigned [mem 0xf8020000-0xf802ffff pref]
[ 0.113212] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.113223] pci 0000:00:01.0: bridge window [mem 0xf8000000-0xf80fffff]
[ 0.113237] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8200000-0xf83fffff 64bit]
[ 0.113253] pci 0000:02:00.0: BAR 6: assigned [mem 0xf8400000-0xf840ffff pref]
[ 0.113262] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 0.113271] pci 0000:00:02.0: bridge window [mem 0xf8200000-0xf84fffff]
[ 0.113653] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.173186] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 0.173396] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.233188] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[ 0.233442] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.233945] console [ttyS0] disabled
[ 0.254074] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 18, base_baud = 12500000) is a 16550A
[ 0.927141] console [ttyS0] enabled
[ 0.934261] loop: module loaded
[ 0.938022] sata_mv f10a0000.sata: slots 32 ports 2
[ 0.946071] scsi host0: sata_mv
[ 0.949908] scsi host1: sata_mv
[ 0.953250] ata1: SATA max UDMA/133 irq 27
[ 0.957369] ata2: SATA max UDMA/133 irq 27
[ 0.963757] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x68
[ 0.970148] nand: Micron MT29F32G08CBACAWP
[ 0.974290] nand: 4096 MiB, MLC, erase size: 1024 KiB, page size: 4096, OOB size: 224
[ 0.982166] nand: WARNING: pxa3xx_nand-0: the ECC used on your system is too weak compared to the one required by the NAND chip
[ 0.994345] Bad block table found at page 1048320, version 0x01
[ 1.001057] Bad block table found at page 1048064, version 0x01
[ 1.007445] nand_read_bbt: bad block at 0x000005a00000
[ 1.012624] nand_read_bbt: bad block at 0x000005b00000
[ 1.023543] 7 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[ 1.030548] Creating 7 MTD partitions on "pxa3xx_nand-0":
[ 1.036038] 0x000000000000-0x000000400000 : "u-boot"
[ 1.041622] 0x000000400000-0x000000800000 : "uboot_env"
[ 1.047367] 0x000000800000-0x000000c00000 : "vendor"
[ 1.052831] 0x000000c00000-0x000001800000 : "unused"
[ 1.058267] 0x000001800000-0x000001c00000 : "kernel"
[ 1.063732] 0x000001c00000-0x000040000000 : "ubi"
[ 1.069658] 0x000040000000-0x0000fbc00000 : "syscfg"
[ 1.078016] libphy: Fixed MDIO Bus: probed
[ 1.082721] libphy: orion_mdio_bus: probed
[ 1.088257] mvneta f1074000.ethernet eth0: Using hardware mac address 00:50:43:02:00:00
[ 1.096546] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.103123] ehci-platform: EHCI generic platform driver
[ 1.108462] ehci-orion: EHCI orion driver
[ 1.112625] orion-ehci f1050000.usb: EHCI Host Controller
[ 1.118068] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1
[ 1.125797] orion-ehci f1050000.usb: irq 24, io mem 0xf1050000
[ 1.152741] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00
[ 1.159270] hub 1-0:1.0: USB hub found
[ 1.163310] hub 1-0:1.0: 1 port detected
[ 1.167631] orion-ehci f1051000.usb: EHCI Host Controller
[ 1.173132] orion-ehci f1051000.usb: new USB bus registered, assigned bus number 2
[ 1.180856] orion-ehci f1051000.usb: irq 25, io mem 0xf1051000
[ 1.212374] orion-ehci f1051000.usb: USB 2.0 started, EHCI 1.00
[ 1.218869] hub 2-0:1.0: USB hub found
[ 1.222875] hub 2-0:1.0: 1 port detected
[ 1.227497] usbcore: registered new interface driver usb-storage
[ 1.233828] i2c /dev entries driver
[ 1.262901] orion_wdt: Initial timeout 229 sec
[ 1.267896] sdhci: Secure Digital Host Controller Interface driver
[ 1.274152] sdhci: Copyright(c) Pierre Ossman
[ 1.278670] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.287958] marvell-cesa f1090000.crypto: CESA device successfully registered
[ 1.296005] NET: Registered protocol family 10
[ 1.302256] Segment Routing with IPv6
[ 1.306088] NET: Registered protocol family 17
[ 1.311110] 8021q: 802.1Q VLAN Support v1.8
[ 1.315465] Registering SWP/SWPB emulation handler
[ 1.323043] ubi0: attaching mtd5
[ 1.493673] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 1.542581] ata1.00: ATA-8: Hitachi HTS545025B9A300, PB2OC64G, max UDMA/133
[ 1.549580] ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 1.581460] ata1.00: configured for UDMA/133
[ 1.586136] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54502 C64G PQ: 0 ANSI: 5
[ 1.604222] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233 GiB)
[ 1.622706] sd 0:0:0:0: [sda] Write Protect is off
[ 1.627654] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.673143] sda: sda1
[ 1.683752] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.936231] ata2: SATA link down (SStatus 0 SControl F300)
[ 3.083719] ubi0: scanning is finished
[ 3.094254] ubi0: attached mtd5 (name "ubi", size 996 MiB)
[ 3.099776] ubi0: PEB size: 1048576 bytes (1024 KiB), LEB size: 1040384 bytes
[ 3.106993] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[ 3.113834] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
[ 3.120829] ubi0: good PEBs: 994, bad PEBs: 2, corrupted PEBs: 0
[ 3.126878] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 3.134145] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1657734030
[ 3.143330] ubi0: available PEBs: 0, total reserved PEBs: 994, PEBs reserved for bad PEB handling: 78
[ 3.153531] block ubiblock0_0: created from ubi0:0(rootfs)
[ 3.159046] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 3.166434] ubi0: background thread "ubi_bgt0d" started, PID 640
[ 3.172778] mvsw61xx 10.mvsw61xx: Found MV88E6171 at f1072004.mdio-mii:10
[ 3.179601] mvsw61xx 10.mvsw61xx: Using direct addressing
[ 3.196305] hctosys: unable to open rtc device (rtc0)
[ 3.206260] Freeing unused kernel memory: 4096K
[ 3.213639] Run /init as init process
[ 3.233552] init: Console is alive
[ 3.237245] init: - watchdog -
[ 3.251020] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.261084] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.279324] init: - preinit -
[ 3.434697] random: jshn: uninitialized urandom read (4 bytes read)
Illegal instruction
Failed to parse message data
[ 3.517084] random: jshn: uninitialized urandom read (4 bytes read)
Illegal instruction
Failed to parse message data
[ 3.591028] random: jshn: uninitialized urandom read (4 bytes read)
Illegal instruction
Failed to parse message data
WARNING: Variable 'network' does not exist or is not an array/object
WARNING: Variable 'lan' does not exist or is not an array/object
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
f
- failsafe -
[ 4.693742] random: dropbearkey: uninitialized urandom read (32 bytes read)
Generating 1024 [ 4.702663] random: dropbearkey: uninitialized urandom read (32 bytes read)
bit rsa key, this may take a while...
Any idea about this? Thanks.