[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211029013605.GA737@xsang-OptiPlex-9020>
Date: Fri, 29 Oct 2021 09:36:05 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Qian Cai <quic_qiancai@...cinc.com>
Cc: lkp@...ts.01.org, lkp@...el.com, Yury Norov <yury.norov@...il.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
linux-kernel@...r.kernel.org, Qian Cai <quic_qiancai@...cinc.com>
Subject: [bitmap] ca95e676a1: BUG:unable_to_handle_page_fault_for_address
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: ca95e676a1f3ea18bca11df611514ab582fec8f2 ("[PATCH] bitmap: simplify GENMASK(size - 1, 0) lines")
url: https://github.com/0day-ci/linux/commits/Qian-Cai/bitmap-simplify-GENMASK-size-1-0-lines/20211026-224815
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+---------------------------------------------+---------------+------------+
| | next-20211025 | ca95e676a1 |
+---------------------------------------------+---------------+------------+
| boot_successes | 11 | 0 |
| boot_failures | 0 | 12 |
| BUG:unable_to_handle_page_fault_for_address | 0 | 12 |
| Oops:#[##] | 0 | 12 |
| EIP:sparse_init_nid | 0 | 12 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 12 |
| Kernel_panic-not_syncing:Fatal_exception] | 0 | 12 |
+---------------------------------------------+---------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>
[ 0.177015][ T0] BUG: unable to handle page fault for address: 00001120
[ 0.177738][ T0] #PF: supervisor read access in kernel mode
[ 0.178348][ T0] #PF: error_code(0x0000) - not-present page
[ 0.178970][ T0] *pdpt = 0000000000000000 *pde = f000ff53f000ff53
[ 0.179768][ T0] Oops: 0000 [#1] PREEMPT SMP PTI
[ 0.180290][ T0] CPU: 0 PID: 0 Comm: swapper Not tainted 5.15.0-rc6-next-20211025-00001-gca95e676a1f3 #1
[ 0.181305][ T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 0.182226][ T0] EIP: sparse_init_nid+0x21/0x1c2
[ 0.182721][ T0] Code: 93 77 81 ff 8b 5d fc c9 c3 e8 1d 53 eb fe 55 89 e5 57 89 c7 56 53 89 d3 31 d2 83 ec 10 89 4d ec 8b 0c bd 20 f0 15 d9 8b 75 08
<ff> b1 20 11 00 00 6a 00 89 f0 6a 00 c1 e0 07 6a 00 6a 00 6a 00 6a
[ 0.184741][ T0] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 0.185446][ T0] ESI: 00000008 EDI: 00000000 EBP: d8d59ec8 ESP: d8d59eac
[ 0.186167][ T0] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00210086
[ 0.186949][ T0] CR0: 80050033 CR2: 00001120 CR3: 19262000 CR4: 000406b0
[ 0.187701][ T0] Call Trace:
[ 0.188037][ T0] sparse_init+0x1ad/0x1cc
[ 0.188494][ T0] paging_init+0x87/0x8f
[ 0.188923][ T0] native_pagetable_init+0xe0/0xe8
[ 0.189437][ T0] setup_arch+0xb2f/0xc39
[ 0.189900][ T0] start_kernel+0x60/0x576
[ 0.190365][ T0] ? set_intr_gate+0x47/0x5a
[ 0.190836][ T0] ? early_idt_handler_common+0x44/0x44
[ 0.191403][ T0] i386_start_kernel+0x48/0x4a
[ 0.191891][ T0] startup_32_smp+0x161/0x164
[ 0.192347][ T0] Modules linked in:
[ 0.192736][ T0] CR2: 0000000000001120
[ 0.193160][ T0] random: get_random_bytes called from print_oops_end_marker+0x2c/0x80 with crng_init=0
[ 0.193170][ T0] ---[ end trace 6f3fca0785832265 ]---
[ 0.194700][ T0] EIP: sparse_init_nid+0x21/0x1c2
[ 0.195205][ T0] Code: 93 77 81 ff 8b 5d fc c9 c3 e8 1d 53 eb fe 55 89 e5 57 89 c7 56 53 89 d3 31 d2 83 ec 10 89 4d ec 8b 0c bd 20 f0 15 d9 8b 75 08 <ff> b1 20 11 00 00 6a 00 89 f0 6a 00 c1 e0 07 6a 00 6a 00 6a 00 6a
[ 0.197244][ T0] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 0.197955][ T0] ESI: 00000008 EDI: 00000000 EBP: d8d59ec8 ESP: d8d59eac
[ 0.198678][ T0] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00210086
[ 0.199470][ T0] CR0: 80050033 CR2: 00001120 CR3: 19262000 CR4: 000406b0
[ 0.200229][ T0] Kernel panic - not syncing: Fatal exception
[ 0.200865][ T0] ---[ end Kernel panic - not syncing: Fatal exception ]---
To reproduce:
# build kernel
cd linux
cp config-5.15.0-rc6-next-20211025-00001-gca95e676a1f3 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
View attachment "config-5.15.0-rc6-next-20211025-00001-gca95e676a1f3" of type "text/plain" (160460 bytes)
View attachment "job-script" of type "text/plain" (4785 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (3584 bytes)
Powered by blists - more mailing lists