Bug#906769: arm kernels fail to boot
On Mon, Aug 20, 2018 at 03:16:52PM -0700, Vagrant Cascadian wrote:
> I can confirm this on several machines in the reproducible builds zoo,
> running linux-image-4.9.0-8-armmp-lpae version 4.9.110-3+deb9u3.
>
> What I've noticed is that machines running the "armmp" variant appear to
> be unaffected, all of the systems that failed were running the
> "armmp-lpae" variant.
Two A20-OLinuXino-LIME2 with 4.9.0-8-armmp here, both cannot boot.
I don't see any big crash but there are some 'Illegal instruction' towards the end.
Thanks.
Domenico
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.0-8-armmp (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.110-3+deb9u3 (2018-08-19)
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Olimex A20-OLinuXino-LIME2
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x7f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] percpu: Embedded 14 pages/cpu @ef6c1000 s27596 r8192 d21556 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260416
[ 0.000000] Kernel command line: console=ttyS0,115200
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 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: 993148K/1048576K available (7168K kernel code, 1008K rwdata, 2216K rodata, 1024K init, 335K bss, 39044K reserved, 16384K cma-reserved, 245760K 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 : 0xc0008000 - 0xc0800000 (8160 kB)
[ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB)
[ 0.000000] .data : 0xc0c00000 - 0xc0cfc19c (1009 kB)
[ 0.000000] .bss : 0xc0cfe000 - 0xc0d51c4c ( 336 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000024] Switching to timer-based delay loop, resolution 41ns
[ 0.002745] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.003653] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.004387] Console: colour dummy device 80x30
[ 0.004434] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[ 0.004452] pid_max: default: 32768 minimum: 301
[ 0.004732] Security Framework initialized
[ 0.004747] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.004790] AppArmor: AppArmor disabled by boot time parameter
[ 0.004877] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004890] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.006102] CPU: Testing write buffer coherency: ok
[ 0.006173] ftrace: allocating 26775 entries in 79 pages
[ 0.068075] /cpus/cpu@0 missing clock-frequency property
[ 0.068116] /cpus/cpu@1 missing clock-frequency property
[ 0.068130] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.068185] Setting up static identity map for 0x40100000 - 0x40100098
[ 0.073874] EFI services will not be available.
[ 0.085503] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.085732] Brought up 2 CPUs
[ 0.085756] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.085763] CPU: All CPU(s) started in HYP mode.
[ 0.085769] CPU: Virtualization extensions available.
[ 0.086836] devtmpfs: initialized
[ 0.098345] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[ 0.098846] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[ 0.098879] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.099842] pinctrl core: initialized pinctrl subsystem
[ 0.102102] NET: Registered protocol family 16
[ 0.104044] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.106725] No ATAGs?
[ 0.106773] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.106787] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.107780] Serial: AMBA PL011 UART driver
[ 0.141417] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@1, deferring probe
[ 0.141487] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[ 0.141526] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 0.141564] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 0.145354] vgaarb: loaded
[ 0.146463] media: Linux media interface: v0.10
[ 0.146528] Linux video capture interface: v2.00
[ 0.146620] pps_core: LinuxPPS API ver. 1 registered
[ 0.146629] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.146655] PTP clock support registered
[ 0.148787] clocksource: Switched to clocksource arch_sys_counter
[ 0.199080] VFS: Disk quotas dquot_6.6.0
[ 0.199203] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.214356] NET: Registered protocol family 2
[ 0.215371] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.215471] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.215600] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.215700] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.215765] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.216113] NET: Registered protocol family 1
[ 0.216807] Unpacking initramfs...
[ 1.318870] random: fast init done
[ 1.559118] Freeing initrd memory: 16128K
[ 1.559797] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 1.561890] audit: initializing netlink subsys (disabled)
[ 1.562001] audit: type=2000 audit(1.520:1): initialized
[ 1.563409] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 1.563583] zbud: loaded
[ 1.567415] bounce: pool size: 64 pages
[ 1.567595] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.567801] io scheduler noop registered
[ 1.567814] io scheduler deadline registered
[ 1.567910] io scheduler cfq registered (default)
[ 1.574235] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 1.590024] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.592554] console [ttyS0] disabled
[ 1.612860] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 42, base_baud = 1500000) is a U6_16550A
[ 2.280281] console [ttyS0] enabled
[ 2.284703] Serial: AMBA driver
[ 2.291239] libphy: Fixed MDIO Bus: probed
[ 2.296393] mousedev: PS/2 mouse device common for all mice
[ 2.304445] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[ 2.311284] sunxi-rtc 1c20d00.rtc: RTC enabled
[ 2.318315] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.325327] NET: Registered protocol family 10
[ 2.331078] mip6: Mobile IPv6
[ 2.334154] NET: Registered protocol family 17
[ 2.338619] mpls_gso: MPLS GSO support
[ 2.342468] ThumbEE CPU extension supported.
[ 2.346829] Registering SWP/SWPB emulation handler
[ 2.352699] registered taskstats version 1
[ 2.356972] zswap: loaded using pool lzo/zbud
[ 2.361732] ima: No TPM chip found, activating TPM-bypass!
[ 2.367285] ima: Allocated hash algorithm: sha256
[ 2.382827] sunxi-rtc 1c20d00.rtc: setting system clock to 2018-08-21 11:58:02 UTC (1534852682)
[ 2.391618] sr_init: No PMIC hook to init smartreflex
[ 2.396860] sr_init: platform driver register failed for SR
[ 2.402927] vcc3v0: disabling
[ 2.405956] vcc3v3: disabling
[ 2.408944] vcc5v0: disabling
[ 2.411912] ahci-5v: disabling
[ 2.414986] usb0-vbus: disabling
[ 2.418214] usb1-vbus: disabling
[ 2.421455] usb2-vbus: disabling
[ 2.426338] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[ 2.560670] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.568907] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.570132] random: udevadm: uninitialized urandom read (16 bytes read)
Illegal instruction
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Illegal instruction
Illegal instruction
Begin: Waiting for suspend/resume device ...
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Illegal instruction
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for suspend/resume device
done.
Illegal instruction
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
--
3B10 0CA1 8674 ACBA B4FE FCD2 CE5B CF17 9960 DE13
Reply to: