From 76400e5b38b0e6d150454ab38bebfb00dc4af7ca Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 9 Feb 2023 11:47:16 +0100 Subject: pkg/report: extract guilty files for rcu errors correctly The existing code is broken - the console output does not contain a whitespace before the apic_timer_interrupt frame. Also, add the apic_timer source files to the excluded ones. --- pkg/report/testdata/linux/guilty/59 | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pkg/report/testdata/linux/guilty/59 (limited to 'pkg/report/testdata/linux/guilty/59') diff --git a/pkg/report/testdata/linux/guilty/59 b/pkg/report/testdata/linux/guilty/59 new file mode 100644 index 000000000..3b798d9fe --- /dev/null +++ b/pkg/report/testdata/linux/guilty/59 @@ -0,0 +1,56 @@ +FILE: kernel/smp.c + + +watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.2:3705] +Modules linked in: +irq event stamp: 7238 +hardirqs last enabled at (7237): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline] +hardirqs last enabled at (7237): [] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94 +hardirqs last disabled at (7238): [] __el1_irq arch/arm64/kernel/entry-common.c:467 [inline] +hardirqs last disabled at (7238): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:485 +softirqs last enabled at (3114): [] _stext+0x2e4/0x37c +softirqs last disabled at (2783): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 +CPU: 1 PID: 3705 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 +Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 +pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) +pc : csd_lock_wait kernel/smp.c:443 [inline] +pc : smp_call_function_many_cond+0x958/0xa04 kernel/smp.c:988 +lr : csd_lock_wait kernel/smp.c:443 [inline] +lr : smp_call_function_many_cond+0x964/0xa04 kernel/smp.c:988 +sp : ffff80001394b9c0 +x29: ffff80001394ba10 x28: 0000000000000008 x27: ffff0001fefefc80 +x26: ffff80000d309000 x25: 0000000000000001 x24: 0000000000000011 +x23: ffff80000d30cf28 x22: 0000000000000008 x21: ffffffffffffffff +x20: ffff0001fefd7148 x19: 0000000000000000 x18: 00000000000000c0 +x17: ffff80000dd0b198 x16: 0000000000000000 x15: 0000000000000000 +x14: 0000000000000000 x13: 0000000000000406 x12: ffff80000d4552c8 +x11: ff808000082497ec x10: 0000000000000000 x9 : 0000000000000000 +x8 : 0000000000000011 x7 : ffff8000083d3920 x6 : 0000000000000000 +x5 : 0000000000000000 x4 : ffff8000086359b0 x3 : 0000000000000000 +x2 : 0000000000000006 x1 : 0000000000000001 x0 : 0000000000000000 +Call trace: + __cmpwait_case_32 arch/arm64/include/asm/cmpxchg.h:252 [inline] + __cmpwait arch/arm64/include/asm/cmpxchg.h:278 [inline] + csd_lock_wait kernel/smp.c:443 [inline] + smp_call_function_many_cond+0x958/0xa04 kernel/smp.c:988 + on_each_cpu_cond_mask+0x5c/0xa4 kernel/smp.c:1154 + on_each_cpu_cond include/linux/smp.h:105 [inline] + invalidate_bh_lrus+0x34/0x40 fs/buffer.c:1423 + kill_bdev block/bdev.c:74 [inline] + blkdev_flush_mapping+0x84/0x190 block/bdev.c:661 + blkdev_put_whole block/bdev.c:692 [inline] + blkdev_put+0x1e0/0x284 block/bdev.c:952 + blkdev_close+0x24/0x38 block/fops.c:499 + __fput+0x198/0x3dc fs/file_table.c:320 + ____fput+0x20/0x30 fs/file_table.c:353 + task_work_run+0xc4/0x14c kernel/task_work.c:177 + exit_task_work include/linux/task_work.h:38 [inline] + do_exit+0x26c/0xbe0 kernel/exit.c:795 + do_group_exit+0x70/0xe8 kernel/exit.c:925 + get_signal+0xb0c/0xb40 kernel/signal.c:2857 + do_signal+0x128/0x438 arch/arm64/kernel/signal.c:1071 + do_notify_resume+0xc0/0x1f0 arch/arm64/kernel/signal.c:1124 + prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] + exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] + asm_exit_to_user_mode+0x70/0x84 arch/arm64/kernel/entry-common.c:149 + ret_from_fork+0x1c/0x20 arch/arm64/kernel/entry.S:863 \ No newline at end of file -- cgit mrf-deployment