All of lore.kernel.org
 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:mm_init/mem_init/v0.1] [dev]  90b020c4d0: kernel_BUG_at_arch/x86/mm/physaddr.c
Date: Mon, 10 Mar 2025 14:31:37 +0800	[thread overview]
Message-ID: <202503101306.cca8a4c-lkp@intel.com> (raw)



Hello,

kernel test robot noticed "kernel_BUG_at_arch/x86/mm/physaddr.c" on:

commit: 90b020c4d0ae9512cc4e6082a2df43125bfd5460 ("dev: arch, mm: set high_memory in free_area_init()")
https://git.kernel.org/cgit/linux/kernel/git/rppt/linux.git mm_init/mem_init/v0.1

in testcase: boot

config: i386-randconfig-053-20250305
compiler: clang-19
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

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


+------------------------------------------------+------------+------------+
|                                                | 6daa1f5d8e | 90b020c4d0 |
+------------------------------------------------+------------+------------+
| kernel_BUG_at_arch/x86/mm/physaddr.c           | 0          | 6          |
| PANIC:early_exception                          | 0          | 6          |
| EIP:__phys_addr                                | 0          | 6          |
+------------------------------------------------+------------+------------+


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/202503101306.cca8a4c-lkp@intel.com


[    0.016426][    T0] ------------[ cut here ]------------
[    0.016774][    T0] kernel BUG at arch/x86/mm/physaddr.c:77!
PANIC: early exception 0x06 IP 60:41083081 error 0 cr2 0x0
[    0.017496][    T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.14.0-rc4-00003-g90b020c4d0ae #1 53e88cc57dbf9b69aac81f1290b58b1874bb31c1
[ 0.018309][ T0] EIP: __phys_addr (arch/x86/mm/physaddr.c:77 (discriminator 9)) 
[ 0.018605][ T0] Code: 80 3d a8 99 de 43 01 75 2d 89 f0 e8 09 4f 2b 00 89 c3 0f b6 d0 b8 f8 0a cc 43 31 c9 6a 00 e8 e6 0c 17 00 83 c4 04 84 db 74 1f <0f> 0b b8 f8 72 77 43 e8 c3 53 9b 00 b8 f8 0a cc 43 31 d2 31 c9 6a
All code
========
   0:	80 3d a8 99 de 43 01 	cmpb   $0x1,0x43de99a8(%rip)        # 0x43de99af
   7:	75 2d                	jne    0x36
   9:	89 f0                	mov    %esi,%eax
   b:	e8 09 4f 2b 00       	call   0x2b4f19
  10:	89 c3                	mov    %eax,%ebx
  12:	0f b6 d0             	movzbl %al,%edx
  15:	b8 f8 0a cc 43       	mov    $0x43cc0af8,%eax
  1a:	31 c9                	xor    %ecx,%ecx
  1c:	6a 00                	push   $0x0
  1e:	e8 e6 0c 17 00       	call   0x170d09
  23:	83 c4 04             	add    $0x4,%esp
  26:	84 db                	test   %bl,%bl
  28:	74 1f                	je     0x49
  2a:*	0f 0b                	ud2		<-- trapping instruction
  2c:	b8 f8 72 77 43       	mov    $0x437772f8,%eax
  31:	e8 c3 53 9b 00       	call   0x9b53f9
  36:	b8 f8 0a cc 43       	mov    $0x43cc0af8,%eax
  3b:	31 d2                	xor    %edx,%edx
  3d:	31 c9                	xor    %ecx,%ecx
  3f:	6a                   	.byte 0x6a

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2
   2:	b8 f8 72 77 43       	mov    $0x437772f8,%eax
   7:	e8 c3 53 9b 00       	call   0x9b53cf
   c:	b8 f8 0a cc 43       	mov    $0x43cc0af8,%eax
  11:	31 d2                	xor    %edx,%edx
  13:	31 c9                	xor    %ecx,%ecx
  15:	6a                   	.byte 0x6a
[    0.019856][    T0] EAX: 43cc0af8 EBX: 44873001 ECX: 00000010 EDX: 00000001
[    0.020305][    T0] ESI: 44873000 EDI: 04873000 EBP: 43715f08 ESP: 44873000
[    0.020756][    T0] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: ffec EFLAGS: 00210002
[    0.021240][    T0] CR0: 80050033 CR2: 00000000 CR3: 040af000 CR4: 00000090
[    0.021691][    T0] Call Trace:
[ 0.021898][ T0] ? show_regs (arch/x86/kernel/dumpstack.c:478 (discriminator 1)) 
[ 0.022170][ T0] ? early_fixup_exception (arch/x86/include/asm/jump_label.h:46 arch/x86/include/asm/nospec-branch.h:595 arch/x86/include/asm/irqflags.h:53 arch/x86/include/asm/irqflags.h:115 arch/x86/mm/extable.c:437) 
[ 0.022509][ T0] ? early_idt_handler_common (arch/x86/kernel/head_32.S:352) 
[ 0.022865][ T0] ? execmem_arch_setup (arch/x86/mm/init.c:1088 (discriminator 10)) 
[ 0.023195][ T0] ? execmem_arch_setup (arch/x86/mm/init.c:1092 (discriminator 1)) 
[ 0.023520][ T0] ? __phys_addr (arch/x86/mm/physaddr.c:77 (discriminator 9)) 
[ 0.023810][ T0] ? one_page_table_init (arch/x86/mm/init_32.c:100 (discriminator 10)) 
[ 0.024134][ T0] ? page_table_range_init (arch/x86/mm/init_32.c:227 (discriminator 1)) 
[ 0.024471][ T0] ? permanent_kmaps_init (include/linux/pgtable.h:191 include/linux/pgtable.h:196 arch/x86/mm/init_32.c:395) 
[ 0.024800][ T0] ? paging_init (arch/x86/mm/init_32.c:677) 
[ 0.025073][ T0] ? native_pagetable_init (arch/x86/mm/init_32.c:481) 
[ 0.025412][ T0] ? dma_contiguous_reserve (kernel/dma/contiguous.c:250) 
[ 0.025754][ T0] ? setup_arch (arch/x86/kernel/setup.c:1131) 
[ 0.026039][ T0] ? start_kernel (init/main.c:920) 
[ 0.026332][ T0] ? i386_start_kernel (arch/x86/kernel/head32.c:79 (discriminator 1)) 
[ 0.026655][ T0] ? startup_32_smp (arch/x86/kernel/head_32.S:292) 
Linux version 6.14.0-rc4-00003-g90b020c4d0ae #1
Command line: ip=::::vm-meta-26::dhcp root=/dev/ram0 RESULT_ROOT=/result/boot/1/vm-snb/yocto-i386-minimal-20190520.cgz/i386-randconfig-053-20250305/clang-19/90b020c4d0ae9512cc4e6082a2df43125bfd5460/0 BOOT_IMAGE=/pkg/linux/i386-randconfig-053-20250305/clang-19/90b020c4d0ae9512cc4e6082a2df43125bfd5460/vmlinuz-6.14.0-rc4-00003-g90b020c4d0ae branch=rppt/mm_init/mem_init/v0.1 job=/lkp/jobs/scheduled/vm-meta-26/boot-1-yocto-i386-minimal-20190520.cgz-i386-randconfig-053-20250305-90b020c4d0ae-20250307-53456-e45ett-0.yaml user=lkp ARCH=i386 kconfig=i386-randconfig-053-20250305 commit=90b020c4d0ae9512cc4e6082a2df43125bfd5460 mem=4G intremap=posted_msi vmalloc=256M initramfs_async=0 page_owner=on carrier_timeout=60 rcupdate.rcu_self_test=0 max_uptime=600 LKP_SERVER=internal-lkp-server selinux=0 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw mem=4G rcuperf.shutdown=0 rcuscale.shutdown=0 refscale.shutdown=0 watchdog_thresh=240 audit=0 kunit.enable=0 ia32_emulation=on riscv_isa_fallback=1



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



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


                 reply	other threads:[~2025-03-10  6:32 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=202503101306.cca8a4c-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 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.