Skip to content

Instantly share code, notes, and snippets.

@HiassofT
Created August 21, 2017 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HiassofT/03b3685b53ab67a0b3e8eb9cf8f91ccd to your computer and use it in GitHub Desktop.
Save HiassofT/03b3685b53ab67a0b3e8eb9cf8f91ccd to your computer and use it in GitHub Desktop.
crash booting upstream 4.9.44 on RPi2 with ftrace=function
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Linux version 4.9.44 (hias@camel2) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1 SMP Sun Aug 20 19:32:41 CEST 2017
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (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: Raspberry Pi 2 Model B Rev 1.1
[ 0.000000] earlycon: pl11 at MMIO32 0x3f201000 (options '')
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 64 MiB at 0x2b000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 15 pages/cpu @ea9b4000 s30848 r8192 d22400 u61440
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 191008
[ 0.000000] Kernel command line: earlyprintk console=ttyAMA0 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=1024 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2709.boardrev=0xa01041 bcm2709.serial=0x89ede62e bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 root=/dev/mmcblk0p2 rw rootwait earlycon=pl011,mmio32,0x3f201000 ftrace=function
[ 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: 677064K/770048K available (11264K kernel code, 1401K rwdata, 4040K rodata, 2048K init, 353K bss, 27448K reserved, 65536K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xef800000 - 0xff800000 ( 256 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef000000 ( 752 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0208000 - 0xc0e00000 (12256 kB)
[ 0.000000] .init : 0xc1300000 - 0xc1500000 (2048 kB)
[ 0.000000] .data : 0xc1500000 - 0xc165e6c4 (1402 kB)
[ 0.000000] .bss : 0xc1660000 - 0xc16b87d8 ( 354 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000025] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.008525] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.018055] bcm2835: system timer (irq = 33)
[ 0.024027] arm_arch_timer: WARNING: Invalid trigger for IRQ16, assuming level low
[ 0.031715] arm_arch_timer: WARNING: Please fix your firmware
[ 0.037554] arm_arch_timer: WARNING: Invalid trigger for IRQ17, assuming level low
[ 0.045240] arm_arch_timer: WARNING: Please fix your firmware
[ 0.051219] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.058831] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.069791] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.077929] Switching to timer-based delay loop, resolution 52ns
[ 0.084721] Console: colour dummy device 80x30
[ 0.089287] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=96000)
[ 0.099748] pid_max: default: 32768 minimum: 301
[ 0.104680] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.111433] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.119846] CPU: Testing write buffer coherency: ok
[ 0.124923] ftrace: allocating 39600 entries in 117 pages
[ 0.237634] CPU0: update cpu_capacity 1024
[ 0.241818] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.247783] Setting up static identity map for 0x300000 - 0x300098
[ 0.256819] EFI services will not be available.
[ 0.263565] arm_arch_timer: WARNING: Invalid trigger for IRQ16, assuming level low
[ 0.263570] arm_arch_timer: WARNING: Please fix your firmware
[ 0.263583] arm_arch_timer: WARNING: Invalid trigger for IRQ17, assuming level low
[ 0.263586] arm_arch_timer: WARNING: Please fix your firmware
[ 0.263603] CPU1: update cpu_capacity 1024
[ 0.263611] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.265246] arm_arch_timer: WARNING: Invalid trigger for IRQ16, assuming level low
[ 0.265251] arm_arch_timer: WARNING: Please fix your firmware
[ 0.265258] arm_arch_timer: WARNING: Invalid trigger for IRQ17, assuming level low
[ 0.265262] arm_arch_timer: WARNING: Please fix your firmware
[ 0.265275] CPU2: update cpu_capacity 1024
[ 0.265283] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.266756] arm_arch_timer: WARNING: Invalid trigger for IRQ16, assuming level low
[ 0.266760] arm_arch_timer: WARNING: Please fix your firmware
[ 0.266767] arm_arch_timer: WARNING: Invalid trigger for IRQ17, assuming level low
[ 0.266770] arm_arch_timer: WARNING: Please fix your firmware
[ 0.266785] CPU3: update cpu_capacity 1024
[ 0.266792] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.266918] Brought up 4 CPUs
[ 0.380181] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.386503] CPU: All CPU(s) started in HYP mode.
[ 0.391147] CPU: Virtualization extensions available.
[ 0.397456] devtmpfs: initialized
[ 0.408605] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.416762] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[ 0.426622] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.433053] Starting tracer 'function'
[ 0.641059] pinctrl core: initialized pinctrl subsystem
[ 0.662006] NET: Registered protocol family 16
[ 0.702957] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.782075] cpuidle: using governor menu
[ 0.799428] No ATAGs?[ 0.801869] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.810490] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.816852] Unable to handle kernel paging request at virtual address c11a4108
[ 0.824490] pgd = c0204000
[ 0.827382] [c11a4108] *pgd=0101940e(bad)
[ 0.831714] Internal error: Oops: 80d [#1] SMP ARM
[ 0.836605] Modules linked in:
[ 0.839743] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.44 #1
[ 0.845781] Hardware name: BCM2835
[ 0.849257] task: ea288000 task.stack: ea284000
[ 0.853899] PC is at vdso_init+0xbc/0x1b8
[ 0.857996] LR is at 0x0
[ 0.860590] pc : [<c13066b0>] lr : [<00000000>] psr: a0000013
[ 0.860590] sp : ea285ea0 ip : ea757340 fp : ea285ed4
[ 0.872297] r10: 00000000 r9 : c130060c r8 : 00000135
[ 0.877630] r7 : c11a4108 r6 : 00000000 r5 : c11a3000 r4 : 00000001
[ 0.884290] r3 : c11a4108 r2 : eaa25be0 r1 : c16937c0 r0 : 0000165f
[ 0.890952] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 0.898231] Control: 10c5387d Table: 0020406a DAC: 00000051
[ 0.904094] Process swapper/0 (pid: 1, stack limit = 0xea284220)
[ 0.910224] Stack: (0xea285ea0 to 0xea286000)
[ 0.914681] 5ea0: 00000003 c1660000 c1660000 00000135 ea285f54 c1465bf4 c13065f4 c1660000
[ 0.923028] 5ec0: c1660000 00000135 ea285f54 ea285ed8 c0302390 c1306600 c03121e0 c03e4f48
[ 0.931376] 5ee0: ea285f0c ea285ef0 c1300600 c0638fd4 00000000 c11f11a0 c0e25c00 00000135
[ 0.939723] 5f00: ea285f54 ea285f10 c036c424 c1300618 00000003 00000003 00000000 c11ef97c
[ 0.948071] 5f20: c107da58 00000000 c1660000 c1465bf4 00000003 c1660000 c1660000 00000135
[ 0.956418] 5f40: c130060c c13d1828 ea285f94 ea285f58 c1300e74 c030234c 00000003 00000003
[ 0.964765] 5f60: 00000000 c130060c aaaaaaaf 00000000 c0d1d074 00000000 00000000 00000000
[ 0.973113] 5f80: 00000000 00000000 ea285fac ea285f98 c0d1d08c c1300d1c ea284000 00000000
[ 0.981460] 5fa0: 00000000 ea285fb0 c0308af8 c0d1d080 00000000 00000000 00000000 00000000
[ 0.989806] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.998153] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 aabaaaba eaaaaaaa
[ 1.006531] [<c13066b0>] (vdso_init) from [<c0302390>] (do_one_initcall+0x50/0x180)
[ 1.014365] [<c0302390>] (do_one_initcall) from [<c1300e74>] (kernel_init_freeable+0x164/0x204)
[ 1.023260] [<c1300e74>] (kernel_init_freeable) from [<c0d1d08c>] (kernel_init+0x18/0x124)
[ 1.031713] [<c0d1d08c>] (kernel_init) from [<c0308af8>] (ret_from_fork+0x14/0x3c)
[ 1.039444] Code: e1a00620 e1a07003 e3a0e000 e0822280 (e5832000)
[ 1.045706] ---[ end trace f660ee60085b3a9f ]---
[ 1.050670] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 1.050670]
[ 1.060016] CPU2: stopping
[ 1.062793] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 4.9.44 #1
[ 1.070070] Hardware name: BCM2835
[ 1.073576] [<c03133dc>] (unwind_backtrace) from [<c030d610>] (show_stack+0x20/0x24)
[ 1.081498] [<c030d610>] (show_stack) from [<c063220c>] (dump_stack+0xa0/0xb4)
[ 1.088889] [<c063220c>] (dump_stack) from [<c031118c>] (handle_IPI+0x2e0/0x300)
[ 1.096456] [<c031118c>] (handle_IPI) from [<c03015a0>] (bcm2836_arm_irqchip_handle_irq+0x84/0xb4)
[ 1.105613] [<c03015a0>] (bcm2836_arm_irqchip_handle_irq) from [<c030e2cc>] (__irq_svc+0x6c/0x90)
[ 1.114662] Exception stack(0xea2bdf48 to 0xea2bdf90)
[ 1.119823] df40: 00000001 00000000 00000000 c031f960 ea2bc000 c1503034
[ 1.128170] df60: c1503098 00000004 00000000 00000000 c15030a0 ea2bdfa4 c0309598 ea2bdf98
[ 1.136513] df80: c03095c8 c03095cc 60000013 ffffffff
[ 1.141690] [<c030e2cc>] (__irq_svc) from [<c03095cc>] (arch_cpu_idle+0x48/0x4c)
[ 1.149256] [<c03095cc>] (arch_cpu_idle) from [<c0d23060>] (default_idle_call+0x30/0x3c)
[ 1.157529] [<c0d23060>] (default_idle_call) from [<c038fc30>] (cpu_startup_entry+0x1ac/0x230)
[ 1.166334] [<c038fc30>] (cpu_startup_entry) from [<c0310c5c>] (secondary_start_kernel+0x128/0x134)
[ 1.175577] [<c0310c5c>] (secondary_start_kernel) from [<0030210c>] (0x30210c)
[ 1.182949] CPU3: stopping
[ 1.185725] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.9.44 #1
[ 1.193001] Hardware name: BCM2835
[ 1.196502] [<c03133dc>] (unwind_backtrace) from [<c030d610>] (show_stack+0x20/0x24)
[ 1.204420] [<c030d610>] (show_stack) from [<c063220c>] (dump_stack+0xa0/0xb4)
[ 1.211810] [<c063220c>] (dump_stack) from [<c031118c>] (handle_IPI+0x2e0/0x300)
[ 1.219374] [<c031118c>] (handle_IPI) from [<c03015a0>] (bcm2836_arm_irqchip_handle_irq+0x84/0xb4)
[ 1.228532] [<c03015a0>] (bcm2836_arm_irqchip_handle_irq) from [<c030e2cc>] (__irq_svc+0x6c/0x90)
[ 1.237580] Exception stack(0xea2bff48 to 0xea2bff90)
[ 1.242742] ff40: 00000001 00000000 00000000 c031f960 ea2be000 c1503034
[ 1.251089] ff60: c1503098 00000008 00000000 00000000 c15030a0 ea2bffa4 c0309598 ea2bff98
[ 1.259432] ff80: c03095c8 c03095cc 60000013 ffffffff
[ 1.264608] [<c030e2cc>] (__irq_svc) from [<c03095cc>] (arch_cpu_idle+0x48/0x4c)
[ 1.272173] [<c03095cc>] (arch_cpu_idle) from [<c0d23060>] (default_idle_call+0x30/0x3c)
[ 1.280444] [<c0d23060>] (default_idle_call) from [<c038fc30>] (cpu_startup_entry+0x1ac/0x230)
[ 1.289247] [<c038fc30>] (cpu_startup_entry) from [<c0310c5c>] (secondary_start_kernel+0x128/0x134)
[ 1.298490] [<c0310c5c>] (secondary_start_kernel) from [<0030210c>] (0x30210c)
[ 1.305862] CPU0: stopping
[ 1.308639] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.9.44 #1
[ 1.315916] Hardware name: BCM2835
[ 1.319416] [<c03133dc>] (unwind_backtrace) from [<c030d610>] (show_stack+0x20/0x24)
[ 1.327335] [<c030d610>] (show_stack) from [<c063220c>] (dump_stack+0xa0/0xb4)
[ 1.334724] [<c063220c>] (dump_stack) from [<c031118c>] (handle_IPI+0x2e0/0x300)
[ 1.342289] [<c031118c>] (handle_IPI) from [<c03015a0>] (bcm2836_arm_irqchip_handle_irq+0x84/0xb4)
[ 1.351446] [<c03015a0>] (bcm2836_arm_irqchip_handle_irq) from [<c030e2cc>] (__irq_svc+0x6c/0x90)
[ 1.360495] Exception stack(0xc1501df8 to 0xc1501e40)
[ 1.365653] 1de0: c1503034 00000000
[ 1.374000] 1e00: c1662900 00000000 c146bffc 00000000 00000000 00000001 ea003100 00000002
[ 1.382348] 1e20: c165b4e8 c1501eac c0301d38 c1501e48 c0352b04 c0301ddc 60000113 ffffffff
[ 1.390708] [<c030e2cc>] (__irq_svc) from [<c0301ddc>] (__do_softirq+0xbc/0x354)
[ 1.398273] [<c0301ddc>] (__do_softirq) from [<c0352b04>] (irq_exit+0xf4/0x150)
[ 1.405754] [<c0352b04>] (irq_exit) from [<c039ee94>] (__handle_domain_irq+0x70/0xc4)
[ 1.413765] [<c039ee94>] (__handle_domain_irq) from [<c03015cc>] (bcm2836_arm_irqchip_handle_irq+0xb0/0xb4)
[ 1.423717] [<c03015cc>] (bcm2836_arm_irqchip_handle_irq) from [<c030e2cc>] (__irq_svc+0x6c/0x90)
[ 1.432766] Exception stack(0xc1501f08 to 0xc1501f50)
[ 1.437927] 1f00: 00000001 00000000 00000000 c031f960 c1500000 c1503034
[ 1.446275] 1f20: c1503098 00000001 00000000 00000000 c15030a0 c1501f64 c0309598 c1501f58
[ 1.454618] 1f40: c03095c8 c03095cc 60000013 ffffffff
[ 1.459795] [<c030e2cc>] (__irq_svc) from [<c03095cc>] (arch_cpu_idle+0x48/0x4c)
[ 1.467360] [<c03095cc>] (arch_cpu_idle) from [<c0d23060>] (default_idle_call+0x30/0x3c)
[ 1.475631] [<c0d23060>] (default_idle_call) from [<c038fc30>] (cpu_startup_entry+0x1ac/0x230)
[ 1.484433] [<c038fc30>] (cpu_startup_entry) from [<c0d1d070>] (rest_init+0x84/0x88)
[ 1.492351] [<c0d1d070>] (rest_init) from [<c1300d04>] (start_kernel+0x390/0x39c)
[ 1.500002] [<c1300d04>] (start_kernel) from [<0020807c>] (0x20807c)
[ 1.506519] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 1.506519]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment