Re: qemu-arm64: Unexpected kernel BRK exception at EL1 - WARNING: CPU: 3 PID: 0 at kernel/context_tracking.c:128 ct_kernel_exit.constprop

From: Naresh Kamboju
Date: Mon Jul 03 2023 - 02:32:38 EST


On Sun, 2 Jul 2023 at 13:56, Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> On Sat, Jul 1, 2023, at 10:42, Naresh Kamboju wrote:
>
> > Links:
> > -
> > https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.4-8686-ge55e5df193d2/testrun/17999853/suite/log-parser-test/tests/
> > -
> > https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.4-8686-ge55e5df193d2/testrun/17999906/suite/log-parser-test/tests/
>
> I can't see which build artifacts correspond to the logs. Can you link to the
> vmlinux file?

Here is the build artifacts location with kselftest merge configs.
https://storage.tuxsuite.com/public/linaro/lkft/builds/2Rum1V78RQJMftEanwtN28dApDO/

log links,
https://lkft.validation.linaro.org/scheduler/job/6561246#L1267
https://lkft.validation.linaro.org/scheduler/job/6561242#L1735


metadata:
git_ref: master
git_repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline
git_sha: e55e5df193d247a38a5e1ac65a5316a0adcc22fa
git_describe: v6.4-8686-ge55e5df193d2
kernel_version: 6.4.0
kernel-config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2Rum1V78RQJMftEanwtN28dApDO/config
build-url:
https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline/-/pipelines/916784989
artifact-location:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2Rum1V78RQJMftEanwtN28dApDO/
toolchain: gcc-11

Crash log:
----
# # RUN global.user_notification_child_pid_ns ...
[ 56.149118] Unexpected kernel BRK exception at EL1
[ 56.149721] Internal error: BRK handler: 00000000f20003e8 [#1] PREEMPT SMP
[ 56.150153] Modules linked in: crct10dif_ce sm3_ce sm3 sha3_ce
sha512_ce sha512_arm64 cfg80211 bluetooth rfkill sch_fq_codel fuse drm
[ 56.151781] CPU: 0 PID: 438 Comm: seccomp_bpf Not tainted 6.4.0 #1
[ 56.152043] Hardware name: linux,dummy-virt (DT)
[ 56.152396] pstate: 41400005 (nZcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
[ 56.152667] pc : alloc_pid+0x3b4/0x3c8
[ 56.154243] lr : alloc_pid+0x140/0x3c8
[ 56.154399] sp : ffff8000809b3960
[ 56.154539] x29: ffff8000809b3960 x28: 0000000001200000 x27: 0000000000000001
[ 56.155081] x26: ffffb7df5f7830c8 x25: ffff0000c5f18008 x24: ffffb7df5f756140
[ 56.155481] x23: ffffb7df5f783000 x22: 0000000000000000 x21: ffff0000c9ecc0b0
[ 56.155880] x20: ffff0000c5f18008 x19: 0000000000000001 x18: ffffb7df5e2c3280
[ 56.156210] x17: ffffb7df5c6d7418 x16: ffffb7df5c9a8b80 x15: ffffb7df5c9a8080
[ 56.156483] x14: ffffb7df5c9a7b48 x13: ffffb7df5dceb680 x12: ffffb7df5c62d204
[ 56.156761] x11: ffffb7df5c62d194 x10: a1f68cf70798a66b x9 : ffffb7df5c6d74f0
[ 56.157079] x8 : ffff8000809b3878 x7 : 0000000000000000 x6 : 0000000000000220
[ 56.157343] x5 : 0000000000000001 x4 : ffffb7df5f75f000 x3 : ffffb7df5f75f2e8
[ 56.157617] x2 : 0000000000000000 x1 : ffff0000c9031180 x0 : 0000000100000000
[ 56.158001] Call trace:
[ 56.158155] alloc_pid+0x3b4/0x3c8
[ 56.158352] copy_process+0xd20/0x1590
[ 56.158487] kernel_clone+0x94/0x3f8
[ 56.158623] __do_sys_clone+0x74/0xb8
[ 56.158883] __arm64_sys_clone+0x2c/0x40
[ 56.159150] invoke_syscall+0x8c/0x120
[ 56.159370] el0_svc_common.constprop.0+0xf4/0x120
[ 56.159529] do_el0_svc+0x44/0xb8
[ 56.159705] el0_svc+0x30/0x98
[ 56.159884] el0t_64_sync_handler+0x13c/0x158
[ 56.160053] el0t_64_sync+0x190/0x198
[ 56.160343] Code: 17ffff74 52800041 9419763f 17ffff7e (d4207d00)
[ 56.160919] ---[ end trace 0000000000000000 ]---
[ 56.161210] note: seccomp_bpf[438] exited with irqs disabled
[ 56.161775] note: seccomp_bpf[438] exited with preempt_count 1
[ 56.169001] ------------[ cut here ]------------
[ 56.169423] WARNING: CPU: 0 PID: 0 at kernel/context_tracking.c:128
ct_kernel_exit.constprop.0+0x108/0x120
[ 56.169952] Modules linked in: crct10dif_ce sm3_ce sm3 sha3_ce
sha512_ce sha512_arm64 cfg80211 bluetooth rfkill sch_fq_codel fuse drm
[ 56.170978] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D
6.4.0 #1
[ 56.171408] Hardware name: linux,dummy-virt (DT)
[ 56.171708] pstate: 204003c5 (nzCv DAIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 56.172134] pc : ct_kernel_exit.constprop.0+0x108/0x120
[ 56.172354] lr : ct_idle_enter+0x10/0x20
[ 56.172617] sp : ffffb7df5f753d40
[ 56.172833] x29: ffffb7df5f753d40 x28: 00000000426120ac x27: 0000000000000000
[ 56.173255] x26: 0000000000000000 x25: ffffb7df5f76bd00 x24: 0000000000000000
[ 56.173675] x23: 0000000000000000 x22: ffffb7df5f75eba0 x21: ffffb7df5ecc9b78
[ 56.173963] x20: ffffb7df5f75eac0 x19: ffff0000ff573c60 x18: ffffb7df5e2c3280
[ 56.174260] x17: ffffb7df5dceaf80 x16: ffffb7df5c63b820 x15: ffffb7df5c623834
[ 56.174643] x14: ffffb7df5c6235ac x13: ffffb7df5c62d00c x12: ffffb7df5c6a85b4
[ 56.175266] x11: ffffb7df5c6a8544 x10: e1769a2bf2c5b3d9 x9 : ffffb7df5c7a1730
[ 56.175720] x8 : ffffb7df5f753ca8 x7 : 0000000000000000 x6 : 0000000000000001
[ 56.176028] x5 : 4000000000000002 x4 : ffff4821a08ac000 x3 : ffffb7df5f753d40
[ 56.176315] x2 : ffffb7df5ecc7c60 x1 : 4000000000000000 x0 : ffffb7df5ecc7c60
[ 56.176652] Call trace:
[ 56.176791] ct_kernel_exit.constprop.0+0x108/0x120
[ 56.177073] ct_idle_enter+0x10/0x20
[ 56.177238] default_idle_call+0x44/0x168
[ 56.177398] do_idle+0x244/0x2b8
[ 56.177565] cpu_startup_entry+0x2c/0x40
[ 56.177722] rest_init+0xfc/0x108
[ 56.177873] arch_call_rest_init+0x18/0x20
[ 56.178128] start_kernel+0x55c/0x6d8
[ 56.178290] __primary_switched+0xbc/0xd0
[ 56.178560] ---[ end trace 0000000000000000 ]---



- Naresh

>
> Arnd