[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202401082125.4ec42f71-oliver.sang@intel.com>
Date: Mon, 8 Jan 2024 21:44:31 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Jiri Wiesner <jwiesner@...e.de>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Feng Tang
<feng.tang@...el.com>, <linux-kernel@...r.kernel.org>, John Stultz
<jstultz@...gle.com>, Thomas Gleixner <tglx@...utronix.de>, Stephen Boyd
<sboyd@...nel.org>, "Paul E. McKenney" <paulmck@...nel.org>,
<oliver.sang@...el.com>
Subject: Re: [PATCH] clocksource: Skip watchdog check for large watchdog
intervals
Hello,
kernel test robot noticed "WARNING:at_kernel/time/clocksource-wdtest.c:#wdtest_func" on:
commit: ceacf0b27b5d9cdc574f8d0a0bcb11d3272e7b9f ("[PATCH] clocksource: Skip watchdog check for large watchdog intervals")
url: https://github.com/intel-lab-lkp/linux/commits/Jiri-Wiesner/clocksource-Skip-watchdog-check-for-large-watchdog-intervals/20240103-192257
base: https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git da65f29dada7f7cbbf0d6375b88a0316f5f7d6f5
patch link: https://lore.kernel.org/all/20240103112113.GA6108@incl/
patch subject: [PATCH] clocksource: Skip watchdog check for large watchdog intervals
in testcase: boot
compiler: gcc-9
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+--------------------------------------------------------------------+------------+------------+
| | da65f29dad | ceacf0b27b |
+--------------------------------------------------------------------+------------+------------+
| WARNING:at_kernel/time/clocksource-wdtest.c:#wdtest_func | 0 | 14 |
| EIP:wdtest_func | 0 | 14 |
+--------------------------------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202401082125.4ec42f71-oliver.sang@intel.com
[ 54.778895][ T41] ------------[ cut here ]------------
[ 54.781279][ T41] WARNING: CPU: 0 PID: 41 at kernel/time/clocksource-wdtest.c:162 wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1))
[ 54.785405][ T41] Modules linked in:
[ 54.787152][ T41] CPU: 0 PID: 41 Comm: wdtest Tainted: G N 6.7.0-rc2-00014-gceacf0b27b5d #1 30e4ebd22e7da702dfdab1313ae74e5a246df970
[ 54.791633][ T41] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 54.795124][ T41] EIP: wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1))
[ 54.796800][ T41] Code: ff 8d b4 26 00 00 00 00 66 90 0f 0b e9 ee fd ff ff 8d b4 26 00 00 00 00 66 90 0f 0b e9 08 fe ff ff 8d b4 26 00 00 00 00 66 90 <0f> 0b e9 76 ff ff ff cc cc cc cc cc cc cc cc cc 3e 8d 74 26 00 55
All code
========
0: ff 8d b4 26 00 00 decl 0x26b4(%rbp)
6: 00 00 add %al,(%rax)
8: 66 90 xchg %ax,%ax
a: 0f 0b ud2
c: e9 ee fd ff ff jmpq 0xfffffffffffffdff
11: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi
18: 66 90 xchg %ax,%ax
1a: 0f 0b ud2
1c: e9 08 fe ff ff jmpq 0xfffffffffffffe29
21: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi
28: 66 90 xchg %ax,%ax
2a:* 0f 0b ud2 <-- trapping instruction
2c: e9 76 ff ff ff jmpq 0xffffffffffffffa7
31: cc int3
32: cc int3
33: cc int3
34: cc int3
35: cc int3
36: cc int3
37: cc int3
38: cc int3
39: cc int3
3a: 3e 8d 74 26 00 lea %ds:0x0(%rsi,%riz,1),%esi
3f: 55 push %rbp
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: e9 76 ff ff ff jmpq 0xffffffffffffff7d
7: cc int3
8: cc int3
9: cc int3
a: cc int3
b: cc int3
c: cc int3
d: cc int3
e: cc int3
f: cc int3
10: 3e 8d 74 26 00 lea %ds:0x0(%rsi,%riz,1),%esi
15: 55 push %rbp
[ 54.801794][ T41] EAX: c4a1fe8c EBX: 00000004 ECX: 00000000 EDX: 00000000
[ 54.803569][ T41] ESI: c4a1ff2e EDI: 00000000 EBP: c74aff70 ESP: c74aff60
[ 54.805314][ T41] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00010246
[ 54.807278][ T41] CR0: 80050033 CR2: ffda9000 CR3: 05979000 CR4: 000406d0
[ 54.808856][ T41] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 54.810216][ T41] DR6: fffe0ff0 DR7: 00000400
[ 54.811218][ T41] Call Trace:
[ 54.811950][ T41] ? show_regs (arch/x86/kernel/dumpstack.c:479 arch/x86/kernel/dumpstack.c:465)
[ 54.812840][ T41] ? wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1))
[ 54.813801][ T41] ? __warn (kernel/panic.c:677)
[ 54.814643][ T41] ? wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1))
[ 54.815628][ T41] ? report_bug (lib/bug.c:201 lib/bug.c:219)
[ 54.816581][ T41] ? exc_overflow (arch/x86/kernel/traps.c:250)
[ 54.817506][ T41] ? handle_bug (arch/x86/kernel/traps.c:216)
[ 54.818420][ T41] ? exc_invalid_op (arch/x86/kernel/traps.c:258 (discriminator 1))
[ 54.819425][ T41] ? handle_exception (arch/x86/entry/entry_32.S:1056)
[ 54.820438][ T41] ? exc_overflow (arch/x86/kernel/traps.c:250)
[ 54.821374][ T41] ? wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1))
[ 54.822318][ T41] ? exc_overflow (arch/x86/kernel/traps.c:250)
[ 54.823284][ T41] ? wdtest_func (kernel/time/clocksource-wdtest.c:162 (discriminator 1))
[ 54.824248][ T41] kthread (kernel/kthread.c:388)
[ 54.825093][ T41] ? wdtest_ktime_read (kernel/time/clocksource-wdtest.c:105)
[ 54.826132][ T41] ? kthread_complete_and_exit (kernel/kthread.c:341)
[ 54.827307][ T41] ret_from_fork (arch/x86/kernel/process.c:153)
[ 54.828219][ T41] ? kthread_complete_and_exit (kernel/kthread.c:341)
[ 54.829331][ T41] ret_from_fork_asm (arch/x86/entry/entry_32.S:741)
[ 54.830310][ T41] entry_INT80_32 (arch/x86/entry/entry_32.S:947)
[ 54.831287][ T41] irq event stamp: 879
[ 54.832154][ T41] hardirqs last enabled at (889): console_unlock (kernel/printk/printk.c:341 kernel/printk/printk.c:2706 kernel/printk/printk.c:3038)
[ 54.833838][ T41] hardirqs last disabled at (898): console_unlock (kernel/printk/printk.c:339 kernel/printk/printk.c:2706 kernel/printk/printk.c:3038)
[ 54.835567][ T41] softirqs last enabled at (918): __do_softirq (arch/x86/include/asm/preempt.h:27 kernel/softirq.c:400 kernel/softirq.c:582)
[ 54.837246][ T41] softirqs last disabled at (907): do_softirq_own_stack (arch/x86/kernel/irq_32.c:57 arch/x86/kernel/irq_32.c:147)
[ 54.839049][ T41] ---[ end trace 0000000000000000 ]---
[ 54.840178][ T41] clocksource: Not enough CPUs to check clocksource 'wdtest-ktime'.
[ 54.841774][ T41] clocksource_wdtest: --- Done with test.
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240108/202401082125.4ec42f71-oliver.sang@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists