From: kernel test robot <oliver.sang@intel.com>
To: Yunsheng Lin <linyunsheng@huawei.com>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>, <oliver.sang@intel.com>
Subject: [linyunsheng:page_frag_cache_v15] [mm] 4ce453f49e: kernel_BUG_at_arch/x86/mm/physaddr.c
Date: Mon, 26 Aug 2024 16:14:37 +0800 [thread overview]
Message-ID: <202408261653.f01f7c1a-lkp@intel.com> (raw)
Hello,
kernel test robot noticed "kernel_BUG_at_arch/x86/mm/physaddr.c" on:
commit: 4ce453f49e1b390a4e1d1d70a915c962950158ba ("mm: page_frag: some minor refactoring before adding new API")
https://github.com/gestionlin/linux.git page_frag_cache_v15
in testcase: boot
compiler: gcc-12
test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+-------------------------------------------------------+------------+------------+
| | acf2c55ce8 | 4ce453f49e |
+-------------------------------------------------------+------------+------------+
| boot_successes | 12 | 0 |
| boot_failures | 0 | 12 |
| kernel_BUG_at_arch/x86/mm/physaddr.c | 0 | 12 |
| Oops:invalid_opcode:#[##]PREEMPT_SMP | 0 | 12 |
| EIP:__phys_addr | 0 | 12 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 12 |
+-------------------------------------------------------+------------+------------+
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@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202408261653.f01f7c1a-lkp@intel.com
[ 3.655470][ T1] ------------[ cut here ]------------
[ 3.656114][ T1] kernel BUG at arch/x86/mm/physaddr.c:76!
[ 3.656698][ T1] Oops: invalid opcode: 0000 [#1] PREEMPT SMP
[ 3.657310][ T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.11.0-rc4-00571-g4ce453f49e1b #1
[ 3.658260][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 3.659288][ T1] EIP: __phys_addr (arch/x86/mm/physaddr.c:76 (discriminator 1))
[ 3.659741][ T1] Code: 30 28 a0 c2 85 c0 74 16 89 f2 c1 ea 0c 39 d0 72 51 89 d8 e8 2e 4d 00 00 31 f0 09 c2 75 34 89 f0 5b 5e 5d c3 8d b6 00 00 00 00 <0f> 0b b8 38 1d db c1 e8 bc 99 42 00 8d 74 26 00 e8 6f d9 25 00 84
All code
========
0: 30 28 xor %ch,(%rax)
2: a0 c2 85 c0 74 16 89 movabs 0xc1f2891674c085c2,%al
9: f2 c1
b: ea (bad)
c: 0c 39 or $0x39,%al
e: d0 72 51 shlb 0x51(%rdx)
11: 89 d8 mov %ebx,%eax
13: e8 2e 4d 00 00 call 0x4d46
18: 31 f0 xor %esi,%eax
1a: 09 c2 or %eax,%edx
1c: 75 34 jne 0x52
1e: 89 f0 mov %esi,%eax
20: 5b pop %rbx
21: 5e pop %rsi
22: 5d pop %rbp
23: c3 ret
24: 8d b6 00 00 00 00 lea 0x0(%rsi),%esi
2a:* 0f 0b ud2 <-- trapping instruction
2c: b8 38 1d db c1 mov $0xc1db1d38,%eax
31: e8 bc 99 42 00 call 0x4299f2
36: 8d 74 26 00 lea 0x0(%rsi,%riz,1),%esi
3a: e8 6f d9 25 00 call 0x25d9ae
3f: 84 .byte 0x84
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: b8 38 1d db c1 mov $0xc1db1d38,%eax
7: e8 bc 99 42 00 call 0x4299c8
c: 8d 74 26 00 lea 0x0(%rsi,%riz,1),%esi
10: e8 6f d9 25 00 call 0x25d984
15: 84 .byte 0x84
[ 3.661698][ T1] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000740
[ 3.662618][ T1] ESI: e9c57000 EDI: c0189d50 EBP: c0189d0c ESP: c0189d04
[ 3.663368][ T1] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010213
[ 3.664129][ T1] CR0: 80050033 CR2: 00000000 CR3: 02306000 CR4: 000406b0
[ 3.664836][ T1] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 3.665518][ T1] DR6: fffe0ff0 DR7: 00000400
[ 3.665969][ T1] Call Trace:
[ 3.666290][ T1] ? show_regs (arch/x86/kernel/dumpstack.c:479 arch/x86/kernel/dumpstack.c:465)
[ 3.666710][ T1] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
[ 3.667073][ T1] ? do_trap (arch/x86/kernel/traps.c:114 arch/x86/kernel/traps.c:155)
[ 3.667476][ T1] ? do_error_trap (arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:176)
[ 3.667921][ T1] ? __phys_addr (arch/x86/mm/physaddr.c:76 (discriminator 1))
[ 3.668336][ T1] ? exc_overflow (arch/x86/kernel/traps.c:252)
[ 3.668768][ T1] ? exc_invalid_op (arch/x86/kernel/traps.c:267)
[ 3.669238][ T1] ? __phys_addr (arch/x86/mm/physaddr.c:76 (discriminator 1))
[ 3.669813][ T1] ? handle_exception (arch/x86/entry/entry_32.S:1054)
[ 3.670299][ T1] ? load_secondary_wait (arch/x86/kernel/cpu/microcode/core.c:331)
[ 3.670798][ T1] ? exc_overflow (arch/x86/kernel/traps.c:252)
[ 3.671240][ T1] ? __phys_addr (arch/x86/mm/physaddr.c:76 (discriminator 1))
[ 3.671673][ T1] ? load_secondary_wait (arch/x86/kernel/cpu/microcode/core.c:331)
[ 3.672174][ T1] ? exc_overflow (arch/x86/kernel/traps.c:252)
[ 3.672617][ T1] ? __phys_addr (arch/x86/mm/physaddr.c:76 (discriminator 1))
[ 3.673038][ T1] __page_frag_cache_prepare (include/linux/page_frag_cache.h:58 mm/page_frag_cache.c:80)
[ 3.673583][ T1] __napi_alloc_frag_align (include/linux/page_frag_cache.h:109 net/core/skbuff.c:317)
[ 3.674116][ T1] __netdev_alloc_frag_align (include/linux/bottom_half.h:33 net/core/skbuff.c:339)
[ 3.674678][ T1] ? slab_free+0x2c/0xa4
[ 3.675171][ T1] e1000_alloc_rx_buffers (drivers/net/ethernet/intel/e1000/e1000_main.c:2071 drivers/net/ethernet/intel/e1000/e1000_main.c:4577)
[ 3.675701][ T1] ? e1000_set_rx_mode (drivers/net/ethernet/intel/e1000/e1000_main.c:2329)
[ 3.676215][ T1] ? e1000_set_mac (drivers/net/ethernet/intel/e1000/e1000_main.c:4560)
[ 3.676692][ T1] e1000_configure (drivers/net/ethernet/intel/e1000/e1000_main.c:375 (discriminator 10))
[ 3.677171][ T1] ? e1000_set_mac (drivers/net/ethernet/intel/e1000/e1000_main.c:4560)
[ 3.677649][ T1] e1000_open (drivers/net/ethernet/intel/e1000/e1000_main.c:1388)
[ 3.678076][ T1] __dev_open (net/core/dev.c:1479)
[ 3.678503][ T1] __dev_change_flags (net/core/dev.c:8839)
[ 3.679008][ T1] dev_change_flags (net/core/dev.c:8911)
[ 3.679465][ T1] ic_open_devs (net/ipv4/ipconfig.c:242)
[ 3.679895][ T1] ip_auto_config (net/ipv4/ipconfig.c:1514)
[ 3.680341][ T1] ? root_nfs_parse_addr (net/ipv4/ipconfig.c:1477)
[ 3.680857][ T1] ? debug_smp_processor_id (lib/smp_processor_id.c:61)
[ 3.681396][ T1] ? root_nfs_parse_addr (net/ipv4/ipconfig.c:1477)
[ 3.681853][ T1] do_one_initcall (init/main.c:1267)
[ 3.682301][ T1] ? parse_args (kernel/params.c:153 kernel/params.c:186)
[ 3.682755][ T1] do_initcalls (init/main.c:1328 init/main.c:1345)
[ 3.683198][ T1] ? rest_init (init/main.c:1459)
[ 3.683639][ T1] kernel_init_freeable (init/main.c:1582)
[ 3.684138][ T1] kernel_init (init/main.c:1469)
[ 3.684570][ T1] ret_from_fork (arch/x86/kernel/process.c:153)
[ 3.685011][ T1] ? rest_init (init/main.c:1459)
[ 3.685438][ T1] ret_from_fork_asm (arch/x86/entry/entry_32.S:737)
[ 3.685895][ T1] entry_INT80_32 (arch/x86/entry/entry_32.S:944)
[ 3.686317][ T1] Modules linked in:
[ 3.686699][ T1] ---[ end trace 0000000000000000 ]---
[ 3.687223][ T1] EIP: __phys_addr (arch/x86/mm/physaddr.c:76 (discriminator 1))
[ 3.687698][ T1] Code: 30 28 a0 c2 85 c0 74 16 89 f2 c1 ea 0c 39 d0 72 51 89 d8 e8 2e 4d 00 00 31 f0 09 c2 75 34 89 f0 5b 5e 5d c3 8d b6 00 00 00 00 <0f> 0b b8 38 1d db c1 e8 bc 99 42 00 8d 74 26 00 e8 6f d9 25 00 84
All code
========
0: 30 28 xor %ch,(%rax)
2: a0 c2 85 c0 74 16 89 movabs 0xc1f2891674c085c2,%al
9: f2 c1
b: ea (bad)
c: 0c 39 or $0x39,%al
e: d0 72 51 shlb 0x51(%rdx)
11: 89 d8 mov %ebx,%eax
13: e8 2e 4d 00 00 call 0x4d46
18: 31 f0 xor %esi,%eax
1a: 09 c2 or %eax,%edx
1c: 75 34 jne 0x52
1e: 89 f0 mov %esi,%eax
20: 5b pop %rbx
21: 5e pop %rsi
22: 5d pop %rbp
23: c3 ret
24: 8d b6 00 00 00 00 lea 0x0(%rsi),%esi
2a:* 0f 0b ud2 <-- trapping instruction
2c: b8 38 1d db c1 mov $0xc1db1d38,%eax
31: e8 bc 99 42 00 call 0x4299f2
36: 8d 74 26 00 lea 0x0(%rsi,%riz,1),%esi
3a: e8 6f d9 25 00 call 0x25d9ae
3f: 84 .byte 0x84
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: b8 38 1d db c1 mov $0xc1db1d38,%eax
7: e8 bc 99 42 00 call 0x4299c8
c: 8d 74 26 00 lea 0x0(%rsi,%riz,1),%esi
10: e8 6f d9 25 00 call 0x25d984
15: 84 .byte 0x84
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240826/202408261653.f01f7c1a-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-08-26 8:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202408261653.f01f7c1a-lkp@intel.com \
--to=oliver.sang@intel.com \
--cc=linyunsheng@huawei.com \
--cc=lkp@intel.com \
--cc=oe-lkp@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.