Bugzilla – Bug 1170088
HW exception while booting on Rockchip Excavation board (aarch64)
Last modified: 2020-12-23 11:52:41 UTC
The distro is TW for aarch64 EFI systems. While booting on a Rockchip Excavator board, I got: [ 106.809479] Internal error: SP/PC alignment exception: 8a000000 [#1] SMP [ 106.809486] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 106.809513] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 [ 106.809514] Mem abort info: [ 106.809525] ESR = 0x96000004 [ 106.809540] EC = 0x25: DABT (current EL), IL = 32 bits [ 106.809550] SET = 0, FnV = 0 [ 106.809560] EA = 0, S1PTW = 0 [ 106.809570] Data abort info: [ 106.809579] ISV = 0, ISS = 0x00000004 [ 106.809589] CM = 0, WnR = 0 [ 106.809615] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000e4697000 [ 106.809625] [0000000000000000] pgd=0000000000000000 [ 106.810115] Modules linked in: af_packet iscsi_ibft iscsi_boot_sysfs rfkill aes_ce_blk crypto_simd cryptd aes_ce_cipher crct10dif_ce ghash_ce sha2_ce realtek sha256_arm64 sha1_ce dwmac_rk stmmac_platform rk3399_dmc stmmac dw_wdt nvmems [ 106.810880] Mem abort info: [ 106.811665] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 5.6.2-1-default #1 openSUSE Tumbleweed (unreleased) [ 106.811896] ESR = 0x96000044 [ 106.812168] Hardware name: rockchip evb_rk3399/evb_rk3399, BIOS 2018.01-rc1-00006-g757a967ed4 12/19/2017 [ 106.812632] EC = 0x25: DABT (current EL), IL = 32 bits [ 106.812903] pstate: 20000005 (nzCv daif -PAN -UAO) [ 106.813177] SET = 0, FnV = 0 [ 106.813442] pc : 0x21 [ 106.813769] EA = 0, S1PTW = 0 [ 106.814032] lr : 0x21 [ 106.814592] Data abort info: [ 106.814640] ------------[ cut here ]------------ [ 106.814648] kernel BUG at kernel/time/hrtimer.c:1618! [ 106.815024] sp : ffff8000124c3f20 [ 106.820019] ISV = 0, ISS = 0x00000044 [ 106.820266] x29: 0000000022296924 x28: 0000000000000000 [ 106.821218] CM = 0, WnR = 1 [ 106.821487] x27: 0000000000000000 x26: 0000000000000000 [ 106.822314] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000f67a9000 [ 106.822776] x25: 0000000000000000 x24: ffff8000118dac0c [ 106.823196] [0000000000000008] pgd=0000000000000000 [ 106.823466] x23: ffff00007ffb8000 x22: 0000000000000000 [ 106.828973] x21: 0000000000000001 x20: dfdfdfdfdfdfdfdf [ 106.829445] x19: dfdfdfdfdfdfdfdf x18: 0000000000000014 [ 106.829919] x17: 00000000f1a49bf6 x16: 00000000133d5e20 [ 106.830390] x15: 000000003c114230 x14: 00000000000c8000 [ 106.830862] x13: 0000000000003afc x12: 0000000000000004 [ 106.831333] x11: 0000000000000001 x10: 0000000000001a90 [ 106.831805] x9 : ffff800010c4c014 x8 : ffff00007ffb9af0 [ 106.832276] x7 : 0000000000000001 x6 : 000000000000000e [ 106.832749] x5 : ffff8000124c3df0 x4 : 0000000000000001 [ 106.833220] x3 : ffff800010c4c014 x2 : 0000000000000000 [ 106.833693] x1 : 49f6a6aa98e4ca00 x0 : 0000000000000000 [ 106.834166] Call trace: [ 106.834388] 0x21 [ 106.834611] Code: bad PC value [ 106.834912] ---[ end trace aa3fe55bef28eaba ]--- [ 106.835324] Internal error: Oops: 96000004 [#2] SMP [ 106.835343] ------------[ cut here ]------------ [ 106.835760] Modules linked in: af_packet iscsi_ibft iscsi_boot_sysfs rfkill aes_ce_blk crypto_simd cryptd aes_ce_cipher crct10dif_ce ghash_ce sha2_ce realtek sha256_arm64 sha1_ce dwmac_rk stmmac_platform rk3399_dmc stmmac dw_wdt nvmems [ 106.836169] kernel BUG at kernel/time/hrtimer.c:1618! [ 106.841168] CPU: 3 PID: 1276 Comm: kworker/u12:2 Tainted: G D W 5.6.2-1-default #1 openSUSE Tumbleweed (unreleased) [ 106.842609] Hardware name: rockchip evb_rk3399/evb_rk3399, BIOS 2018.01-rc1-00006-g757a967ed4 12/19/2017 [ 106.843440] pstate: 40000005 (nZcv daif -PAN -UAO) [ 106.843878] pc : apparmor_cred_prepare+0x28/0x138 [ 106.844303] lr : security_prepare_creds+0x5c/0xb0 [ 106.844719] sp : ffff800012ca3e00 [ 106.845015] x29: ffff800012ca3e00 x28: 0000000000000000 [ 106.845488] x27: 0000000000000000 x26: 0000000000000000 [ 106.845961] x25: 0000000000000000 x24: 0000000000000000 [ 106.846432] x23: ffff00007f6159c0 x22: 0000000000400cc0 [ 106.846904] x21: ffff800011975000 x20: ffff0000b612e180 [ 106.847375] x19: ffff800011bf2298 x18: 0000000000000001 [ 106.847848] x17: 0000000000000000 x16: 0000000000000000 [ 106.848319] x15: ffff0000e235e1a0 x14: 0000000000000000 [ 106.848791] x13: 0000000000000001 x12: 0000000000000000 [ 106.849262] x11: 0000000040000000 x10: 0000000000000000 [ 106.849735] x9 : ffff800010510334 x8 : ffff0000e463bd80 [ 106.850208] x7 : 0000000000000000 x6 : 000000000000003f [ 106.850681] x5 : 0000000000000040 x4 : 0000000000000000 [ 106.851153] x3 : ffff8000105627c8 x2 : 0000000000000000 [ 106.851625] x1 : ffff00007f6159c0 x0 : 0000000000000000 [ 106.852097] Call trace: [ 106.852325] apparmor_cred_prepare+0x28/0x138 [ 106.852717] security_prepare_creds+0x5c/0xb0 [ 106.853111] prepare_kernel_cred+0xe4/0x218 [ 106.853487] call_usermodehelper_exec_async+0x98/0x268 [ 106.853946] ret_from_fork+0x10/0x18 [ 106.854279] Code: f90013f5 f000a095 b98e82a2 f9403c20 (f8626813) [ 106.854817] ---[ end trace aa3fe55bef28eabb ]--- [ 106.855229] Internal error: Oops - BUG: 0 [#3] SMP [ 106.855244] ------------[ cut here ]------------ [ 106.855661] Modules linked in: af_packet iscsi_ibft iscsi_boot_sysfs rfkill aes_ce_blk crypto_simd cryptd aes_ce_cipher crct10dif_ce ghash_ce sha2_ce realtek sha256_arm64 sha1_ce dwmac_rk stmmac_platform rk3399_dmc stmmac dw_wdt nvmems [ 106.856069] kernel BUG at kernel/time/hrtimer.c:1618! [ 106.861070] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D W 5.6.2-1-default #1 openSUSE Tumbleweed (unreleased) [ 106.862458] Hardware name: rockchip evb_rk3399/evb_rk3399, BIOS 2018.01-rc1-00006-g757a967ed4 12/19/2017 [ 106.863290] pstate: a0000085 (NzCv daIf -PAN -UAO) [ 106.863723] pc : hrtimer_interrupt+0x344/0x378 [ 106.864124] lr : arch_timer_handler_phys+0x38/0x48 [ 106.864548] sp : ffff800010003eb0 [ 106.864845] x29: ffff800010003eb0 x28: ffff0000f773e6c0 [ 106.865319] x27: 0000000000000000 x26: ffff800010004000 [ 106.865792] x25: ffff800010000000 x24: ffff8000118dac0c [ 106.866264] x23: ffff800011983af0 x22: 000000000000000f [ 106.866736] x21: 0000000000000000 x20: ffff00007fece300 [ 106.867209] x19: ffff00007fd56200 x18: 0000000000000000 [ 106.867682] x17: 0000000000000000 x16: 0000000000000000 [ 106.868154] x15: 0000000000000000 x14: 7173616d736e642d [ 106.868625] x13: 736e64223d6d6d6f x12: 0000000000000004 [ 106.869098] x11: 0000000000000001 x10: 0000000000000040 [ 106.869570] x9 : ffff8000109fb0a0 x8 : ffff800011903c58 [ 106.870043] x7 : ffff00007f8002e8 x6 : 0000000000000000 [ 106.870515] x5 : ffff00007f800248 x4 : ffff80001143a6c0 [ 106.870988] x3 : ffff8000e6304000 x2 : ffff8000101a28d0 [ 106.871460] x1 : 00000000000000f0 x0 : ffff0000f7751180 [ 106.871933] Call trace: [ 106.872160] hrtimer_interrupt+0x344/0x378 [ 106.872528] arch_timer_handler_phys+0x38/0x48 [ 106.872928] handle_percpu_devid_irq+0x90/0x238 [ 106.873334] generic_handle_irq+0x2c/0x40 [ 106.873694] __handle_domain_irq+0x68/0xc0 [ 106.874061] gic_handle_irq+0xe4/0x2b4 [ 106.874398] el1_irq+0xd0/0x180 [ 106.874683] arch_cpu_idle+0x3c/0x1d0 [ 106.875016] default_idle_call+0x20/0x44 [ 106.875371] do_idle+0x214/0x2c0 [ 106.875666] cpu_startup_entry+0x28/0x68 [ 106.876017] rest_init+0xbc/0xc8 [ 106.876314] arch_call_rest_init+0x14/0x1c [ 106.876683] start_kernel+0x708/0x740 [ 106.877021] Code: d5033f9f 17ffffe4 d5033f9f 17ffffb5 (d4210000) [ 106.877565] ---[ end trace aa3fe55bef28eabc ]--- [ 106.877986] Kernel panic - not syncing: Fatal exception in interrupt [ 106.878554] SMP: stopping secondary CPUs [ 108.045586] SMP: failed to stop secondary CPUs 0-3 [ 108.046044] Kernel Offset: disabled [ 108.046356] CPU features: 0x10002,2000600c [ 108.046722] Memory Limit: none [ 108.047008] Rebooting in 90 seconds..
Thomas, is this still a thing? kernel/time/hrtimer.c:1618 is BUG_ON(!cpu_base->hres_active); CCing Jiri and Frederic. Matthias for arm64 and Jeff for apparmor in the trace.
No response. Closing.