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:mem_init/v2] [arch, mm] a4dbe5c718: kernel_BUG_at_arch/x86/mm/physaddr.c
Date: Wed, 19 Mar 2025 15:47:57 +0800 [thread overview]
Message-ID: <202503191442.112e954f-lkp@intel.com> (raw)
Hello,
kernel test robot noticed "kernel_BUG_at_arch/x86/mm/physaddr.c" on:
commit: a4dbe5c718171ae59dbb50340e6ec10a1e48b6a7 ("arch, mm: set high_memory in free_area_init()")
https://git.kernel.org/cgit/linux/kernel/git/rppt/linux.git mem_init/v2
in testcase: boot
config: i386-randconfig-001-20250318
compiler: clang-20
test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+---------------------------------------------+------------+------------+
| | 098f7ccb0b | a4dbe5c718 |
+---------------------------------------------+------------+------------+
| kernel_BUG_at_arch/x86/mm/physaddr.c | 0 | 12 |
| PANIC:early_exception | 0 | 12 |
| EIP:__phys_addr | 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/202503191442.112e954f-lkp@intel.com
[ 0.055742][ T0] ------------[ cut here ]------------
[ 0.056128][ T0] kernel BUG at arch/x86/mm/physaddr.c:77!
PANIC: early exception 0x06 IP 60:c116539d error 0 cr2 0x0
[ 0.056916][ T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.14.0-rc4-00010-ga4dbe5c71817 #1
[ 0.057570][ T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 0.058299][ T0] EIP: __phys_addr (arch/x86/mm/physaddr.c:77)
[ 0.058633][ T0] Code: 00 74 33 89 f0 e8 d3 8b 2e 00 89 c3 0f b6 d0 b8 58 bb 4b c5 31 c9 6a 00 e8 70 f5 15 00 83 c4 04 84 db 74 25 ff 05 78 de 5d c5 <0f> 0b b8 c8 91 ea c4 e8 e7 6e ea ff b8 58 bb 4b c5 31 d2 31 c9 6a
All code
========
0: 00 74 33 89 add %dh,-0x77(%rbx,%rsi,1)
4: f0 e8 d3 8b 2e 00 lock call 0x2e8bdd
a: 89 c3 mov %eax,%ebx
c: 0f b6 d0 movzbl %al,%edx
f: b8 58 bb 4b c5 mov $0xc54bbb58,%eax
14: 31 c9 xor %ecx,%ecx
16: 6a 00 push $0x0
18: e8 70 f5 15 00 call 0x15f58d
1d: 83 c4 04 add $0x4,%esp
20: 84 db test %bl,%bl
22: 74 25 je 0x49
24: ff 05 78 de 5d c5 incl -0x3aa22188(%rip) # 0xffffffffc55ddea2
2a:* 0f 0b ud2 <-- trapping instruction
2c: b8 c8 91 ea c4 mov $0xc4ea91c8,%eax
31: e8 e7 6e ea ff call 0xffffffffffea6f1d
36: b8 58 bb 4b c5 mov $0xc54bbb58,%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 c8 91 ea c4 mov $0xc4ea91c8,%eax
7: e8 e7 6e ea ff call 0xffffffffffea6ef3
c: b8 58 bb 4b c5 mov $0xc54bbb58,%eax
11: 31 d2 xor %edx,%edx
13: 31 c9 xor %ecx,%ecx
15: 6a .byte 0x6a
[ 0.060017][ T0] EAX: 00000000 EBX: c61f7001 ECX: 00000000 EDX: 00000000
[ 0.060519][ T0] ESI: c61f7000 EDI: 061f7000 EBP: c4e31f04 ESP: c61f7000
[ 0.061016][ T0] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: cff4 EFLAGS: 00210002
[ 0.061560][ T0] CR0: 80050033 CR2: 00000000 CR3: 059fc000 CR4: 00000090
[ 0.062060][ T0] Call Trace:
[ 0.062288][ T0] ? show_regs (arch/x86/kernel/dumpstack.c:478)
[ 0.062588][ T0] ? early_fixup_exception (arch/x86/include/asm/nospec-branch.h:595)
[ 0.062968][ T0] ? early_idt_handler_common (arch/x86/kernel/head_32.S:352)
[ 0.063360][ T0] ? __phys_addr (arch/x86/mm/physaddr.c:77)
[ 0.063677][ T0] ? one_page_table_init (arch/x86/mm/init_32.c:100)
[ 0.064037][ T0] ? page_table_range_init (arch/x86/mm/init_32.c:227)
[ 0.064411][ T0] ? permanent_kmaps_init (include/linux/pgtable.h:191 include/linux/pgtable.h:196 arch/x86/mm/init_32.c:395)
[ 0.064814][ T0] ? paging_init (arch/x86/mm/init_32.c:677)
[ 0.065118][ T0] ? native_pagetable_init (arch/x86/mm/init_32.c:481)
[ 0.065503][ T0] ? setup_arch (arch/x86/kernel/setup.c:1131)
[ 0.065819][ T0] ? start_kernel (include/linux/jump_label.h:267 init/main.c:920)
[ 0.066143][ T0] ? i386_start_kernel (arch/x86/kernel/head32.c:79)
[ 0.066501][ T0] ? startup_32_smp (arch/x86/kernel/head_32.S:292)
Linux version 6.14.0-rc4-00010-ga4dbe5c71817 #1
Command line: ip=::::vm-meta-84::dhcp root=/dev/ram0 RESULT_ROOT=/result/boot/1/vm-snb-i386/quantal-i386-core-20190426.cgz/i386-randconfig-001-20250318/clang-20/a4dbe5c718171ae59dbb50340e6ec10a1e48b6a7/0 BOOT_IMAGE=/pkg/linux/i386-randconfig-001-20250318/clang-20/a4dbe5c718171ae59dbb50340e6ec10a1e48b6a7/vmlinuz-6.14.0-rc4-00010-ga4dbe5c71817 branch=linux-devel/devel-hourly-20250317-162326 job=/lkp/jobs/scheduled/vm-meta-84/boot-1-quantal-i386-core-20190426.cgz-i386-randconfig-001-20250318-a4dbe5c71817-20250319-59448-u28vpj-1.yaml user=lkp ARCH=i386 kconfig=i386-randconfig-001-20250318 commit=a4dbe5c718171ae59dbb50340e6ec10a1e48b6a7 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 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/20250319/202503191442.112e954f-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-03-19 7:48 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=202503191442.112e954f-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.