public inbox for oe-lkp@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <oliver.sang@intel.com>
To: Mike Rapoport <rppt@kernel.org>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
	Mike Rapoport <rppt@kernel.org>, <oliver.sang@intel.com>
Subject: [rppt:hugetlb-init/v1] [arch, mm]  71bdff70aa: BUG:unable_to_handle_page_fault_for_address
Date: Mon, 29 Dec 2025 16:42:48 +0800	[thread overview]
Message-ID: <202512291637.e5750271-lkp@intel.com> (raw)



Hello,

kernel test robot noticed "BUG:unable_to_handle_page_fault_for_address" on:

commit: 71bdff70aabe05963fdcee89dabb5da2405e8dc1 ("arch, mm: consolidate initialization of SPARSE memory model")
https://git.kernel.org/cgit/linux/kernel/git/rppt/linux.git hugetlb-init/v1

in testcase: boot

config: i386-randconfig-013-20251228
compiler: gcc-13
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 32G

(please refer to attached dmesg/kmsg for entire log/backtrace)


+---------------------------------------------+------------+------------+
|                                             | 9cbe197f8d | 71bdff70aa |
+---------------------------------------------+------------+------------+
| boot_successes                              | 15         | 0          |
| boot_failures                               | 0          | 15         |
| BUG:unable_to_handle_page_fault_for_address | 0          | 15         |
| Oops:Oops:#[##]                             | 0          | 15         |
| EIP:per_cpu_ptr_to_phys                     | 0          | 15         |
| Kernel_panic-not_syncing:Fatal_exception    | 0          | 15         |
+---------------------------------------------+------------+------------+


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/202512291637.e5750271-lkp@intel.com


[    0.131305][    T0] BUG: unable to handle page fault for address: 00073900
[    0.132172][    T0] #PF: supervisor read access in kernel mode
[    0.132906][    T0] #PF: error_code(0x0000) - not-present page
[    0.133694][    T0] *pde = 00000000
[    0.134146][    T0] Oops: Oops: 0000 [#1]
[    0.134687][    T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.19.0-rc1-00023-g71bdff70aabe #1 VOLUNTARY  f85b7dddb6897835d5692b0780b4f86c7192f783
[    0.136390][    T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    0.137703][    T0] EIP: per_cpu_ptr_to_phys (include/linux/mm.h:2022 mm/percpu.c:2381)
[    0.138406][    T0] Code: c3 c1 e0 0c 01 f0 03 04 b9 39 c3 73 16 8d 04 32 39 c3 72 0f a1 d4 fb 8f c3 01 f0 39 f3 72 04 39 c3 72 2a 89 d8 e8 5c e0 ff ff <8b> 10 81 e3 ff 0f 00 00 c1 ea 1a c1 e2 04 8b 92 40 3a 8f c4 83 e2
All code
========
   0:	c3                   	ret
   1:	c1 e0 0c             	shl    $0xc,%eax
   4:	01 f0                	add    %esi,%eax
   6:	03 04 b9             	add    (%rcx,%rdi,4),%eax
   9:	39 c3                	cmp    %eax,%ebx
   b:	73 16                	jae    0x23
   d:	8d 04 32             	lea    (%rdx,%rsi,1),%eax
  10:	39 c3                	cmp    %eax,%ebx
  12:	72 0f                	jb     0x23
  14:	a1 d4 fb 8f c3 01 f0 	movabs 0xf339f001c38ffbd4,%eax
  1b:	39 f3 
  1d:	72 04                	jb     0x23
  1f:	39 c3                	cmp    %eax,%ebx
  21:	72 2a                	jb     0x4d
  23:	89 d8                	mov    %ebx,%eax
  25:	e8 5c e0 ff ff       	call   0xffffffffffffe086
  2a:*	8b 10                	mov    (%rax),%edx		<-- trapping instruction
  2c:	81 e3 ff 0f 00 00    	and    $0xfff,%ebx
  32:	c1 ea 1a             	shr    $0x1a,%edx
  35:	c1 e2 04             	shl    $0x4,%edx
  38:	8b 92 40 3a 8f c4    	mov    -0x3b70c5c0(%rdx),%edx
  3e:	83                   	.byte 0x83
  3f:	e2                   	.byte 0xe2

Code starting with the faulting instruction
===========================================
   0:	8b 10                	mov    (%rax),%edx
   2:	81 e3 ff 0f 00 00    	and    $0xfff,%ebx
   8:	c1 ea 1a             	shr    $0x1a,%edx
   b:	c1 e2 04             	shl    $0x4,%edx
   e:	8b 92 40 3a 8f c4    	mov    -0x3b70c5c0(%rdx),%edx
  14:	83                   	.byte 0x83
  15:	e2                   	.byte 0xe2
[    0.140826][    T0] EAX: 00073900 EBX: c39c8000 ECX: f19a7080 EDX: 00073900
[    0.141759][    T0] ESI: f1986000 EDI: 00000000 EBP: c39c1f78 ESP: c39c1f6c
[    0.142667][    T0] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00210006
[    0.143577][    T0] CR0: 80050033 CR2: 00073900 CR3: 041f4000 CR4: 00000090
[    0.144480][    T0] Call Trace:
[    0.144899][    T0]  setup_cpu_entry_areas (arch/x86/mm/cpu_entry_area.c:192 arch/x86/mm/cpu_entry_area.c:272)
[    0.145552][    T0]  trap_init (arch/x86/kernel/traps.c:1689)
[    0.146025][    T0]  start_kernel (init/main.c:1067)
[    0.146621][    T0]  i386_start_kernel (arch/x86/kernel/head32.c:129)
[    0.147214][    T0]  startup_32_smp (arch/x86/kernel/head_32.S:293)
[    0.147803][    T0] Modules linked in:
[    0.148299][    T0] CR2: 0000000000073900
[    0.148813][    T0] ---[ end trace 0000000000000000 ]---
[    0.149471][    T0] EIP: per_cpu_ptr_to_phys (include/linux/mm.h:2022 mm/percpu.c:2381)
[    0.150148][    T0] Code: c3 c1 e0 0c 01 f0 03 04 b9 39 c3 73 16 8d 04 32 39 c3 72 0f a1 d4 fb 8f c3 01 f0 39 f3 72 04 39 c3 72 2a 89 d8 e8 5c e0 ff ff <8b> 10 81 e3 ff 0f 00 00 c1 ea 1a c1 e2 04 8b 92 40 3a 8f c4 83 e2
All code
========
   0:	c3                   	ret
   1:	c1 e0 0c             	shl    $0xc,%eax
   4:	01 f0                	add    %esi,%eax
   6:	03 04 b9             	add    (%rcx,%rdi,4),%eax
   9:	39 c3                	cmp    %eax,%ebx
   b:	73 16                	jae    0x23
   d:	8d 04 32             	lea    (%rdx,%rsi,1),%eax
  10:	39 c3                	cmp    %eax,%ebx
  12:	72 0f                	jb     0x23
  14:	a1 d4 fb 8f c3 01 f0 	movabs 0xf339f001c38ffbd4,%eax
  1b:	39 f3 
  1d:	72 04                	jb     0x23
  1f:	39 c3                	cmp    %eax,%ebx
  21:	72 2a                	jb     0x4d
  23:	89 d8                	mov    %ebx,%eax
  25:	e8 5c e0 ff ff       	call   0xffffffffffffe086
  2a:*	8b 10                	mov    (%rax),%edx		<-- trapping instruction
  2c:	81 e3 ff 0f 00 00    	and    $0xfff,%ebx
  32:	c1 ea 1a             	shr    $0x1a,%edx
  35:	c1 e2 04             	shl    $0x4,%edx
  38:	8b 92 40 3a 8f c4    	mov    -0x3b70c5c0(%rdx),%edx
  3e:	83                   	.byte 0x83
  3f:	e2                   	.byte 0xe2

Code starting with the faulting instruction
===========================================
   0:	8b 10                	mov    (%rax),%edx
   2:	81 e3 ff 0f 00 00    	and    $0xfff,%ebx
   8:	c1 ea 1a             	shr    $0x1a,%edx
   b:	c1 e2 04             	shl    $0x4,%edx
   e:	8b 92 40 3a 8f c4    	mov    -0x3b70c5c0(%rdx),%edx
  14:	83                   	.byte 0x83
  15:	e2                   	.byte 0xe2


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20251229/202512291637.e5750271-lkp@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


                 reply	other threads:[~2025-12-29  8:43 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=202512291637.e5750271-lkp@intel.com \
    --to=oliver.sang@intel.com \
    --cc=lkp@intel.com \
    --cc=oe-lkp@lists.linux.dev \
    --cc=rppt@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox