2021-12-02 07:57:16

by kernel test robot

[permalink] [raw]
Subject: [platform/x86] f809891ee5: dmesg.RIP:acpi_ns_walk_namespace



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: f809891ee51b706e1a2a42998d8766c120660796 ("platform/x86: thinkpad_acpi: Register a privacy-screen device")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: stress-ng
version: stress-ng-x86_64-0.11-06_20211129
with following parameters:

nr_threads: 100%
testtime: 60s
class: network
test: ping-sock
cpufreq_governor: performance
ucode: 0xd000280



on test machine: 128 threads 2 sockets Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz with 128G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>



[ 22.087463][ T177] #PF: supervisor read access in kernel mode
[ 22.087463][ T177] #PF: error_code(0x0000) - not-present page
[ 22.087463][ T177] PGD 2048fd2067 P4D 0
[ 22.087463][ T177] Oops: 0000 [#1] SMP NOPTI
[ 22.087463][ T177] CPU: 0 PID: 177 Comm: systemd-udevd Not tainted 5.15.0-rc1-00296-gf809891ee51b #1
[ 22.087463][ T177] RIP: 0010:acpi_ns_walk_namespace+0x3c/0x1bc
[ 22.087463][ T177] Code: 48 83 ec 20 48 8b 1d 3c af 05 02 89 7c 24 08 89 54 24 18 89 4c 24 0c 4c 89 44 24 10 48 83 fe ff 74 03 48 89 f3 44 8b 7c 24 0c <4c> 8b 63
18 45 31 ed bd 01 00 00 00 c7 44 24 04 00 00 00 00 41 83
[ 22.087463][ T177] RSP: 0018:ffa0000000677bc8 EFLAGS: 00010246
[ 22.087463][ T177] RAX: ffa0000000677c30 RBX: 0000000000000000 RCX: 0000000000000001
[ 22.087463][ T177] RDX: 00000000ffffffff RSI: ffffffffffffffff RDI: 0000000000000006
[ 22.087463][ T177] RBP: ffffffffc02b7000 R08: ffffffff81713bc4 R09: 0000000000000000
[ 22.087463][ T177] R10: ff1100207bfc6800 R11: 0000000000000001 R12: 0000000000000000
[ 22.087463][ T177] R13: ffffffffc0281c80 R14: 0000000000000000 R15: 0000000000000001
[ 22.087463][ T177] FS: 00007f9dde466d40(0000) GS:ff11001fc8e00000(0000) knlGS:0000000000000000
[ 22.087463][ T177] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 22.087463][ T177] CR2: 0000000000000018 CR3: 00000001083ec001 CR4: 0000000000771ef0
[ 22.087463][ T177] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 22.087463][ T177] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 22.087463][ T177] PKRU: 55555554
[ 22.087463][ T177] Call Trace:
[ 22.087463][ T177] ? acpi_walk_namespace+0xcb/0xcb
[ 22.087463][ T177] ? 0xffffffffc02b7000
[ 22.087463][ T177] acpi_get_devices+0x70/0x9f
[ 22.087463][ T177] ? drm_core_init+0xbb/0xbb [drm]
[ 22.087463][ T177] detect_thinkpad_privacy_screen+0x5f/0xb0 [drm]
[ 22.087463][ T177] ? __register_chrdev+0x74/0x100
[ 22.087463][ T177] drm_privacy_screen_lookup_init+0xa/0xe87 [drm]
[ 22.087463][ T177] drm_core_init+0x93/0xbb [drm]
[ 22.087463][ T177] do_one_initcall+0x41/0x200
[ 22.087463][ T177] ? __cond_resched+0x19/0x40
[ 22.087463][ T177] ? kmem_cache_alloc_trace+0x44/0x400
[ 22.087463][ T177] do_init_module+0x5c/0x240
[ 22.087463][ T177] load_module+0x1143/0x13c0
[ 22.087463][ T177] ? __do_sys_finit_module+0xae/0x140
[ 22.087463][ T177] __do_sys_finit_module+0xae/0x140
[ 22.087463][ T177] do_syscall_64+0x38/0xc0
[ 22.087463][ T177] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 22.087463][ T177] RIP: 0033:0x7f9ddec50f59
[ 22.087463][ T177] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
[ 22.087463][ T177] RSP: 002b:00007ffea12fffb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 22.087463][ T177] RAX: ffffffffffffffda RBX: 0000558d414b18d0 RCX: 00007f9ddec50f59
[ 22.087463][ T177] RDX: 0000000000000000 RSI: 00007f9ddeb55cad RDI: 0000000000000006
[ 22.087463][ T177] RBP: 00007f9ddeb55cad R08: 0000000000000000 R09: 0000000000000000
[ 22.087463][ T177] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000
[ 22.087463][ T177] R13: 0000558d414a42c0 R14: 0000000000020000 R15: 0000558d414b18d0
[ 22.087463][ T177] Modules linked in: ghash_clmulni_intel(+) drm(+) ahci(+) mei_me libahci rapl intel_cstate mei intel_uncore libata intel_pch_thermal joydev ioatdma(+) dca ip_tables
[ 22.087463][ T177] CR2: 0000000000000018
[ 22.087463][ T177] ---[ end trace d6fbb8b582bc6250 ]---
[ 22.087463][ T177] RIP: 0010:acpi_ns_walk_namespace+0x3c/0x1bc
[ 22.087463][ T177] Code: 48 83 ec 20 48 8b 1d 3c af 05 02 89 7c 24 08 89 54 24 18 89 4c 24 0c 4c 89 44 24 10 48 83 fe ff 74 03 48 89 f3 44 8b 7c 24 0c <4c> 8b 63 18 45 31 ed bd 01 00 00 00 c7 44 24 04 00 00 00 00 41 83
[ 22.087463][ T177] RSP: 0018:ffa0000000677bc8 EFLAGS: 00010246
[ 22.087463][ T177] RAX: ffa0000000677c30 RBX: 0000000000000000 RCX: 0000000000000001
[ 22.087463][ T177] RDX: 00000000ffffffff RSI: ffffffffffffffff RDI: 0000000000000006
[ 22.087463][ T177] RBP: ffffffffc02b7000 R08: ffffffff81713bc4 R09: 0000000000000000
[ 22.087463][ T177] R10: ff1100207bfc6800 R11: 0000000000000001 R12: 0000000000000000
[ 22.087463][ T177] R13: ffffffffc0281c80 R14: 0000000000000000 R15: 0000000000000001
[ 22.087463][ T177] FS: 00007f9dde466d40(0000) GS:ff11001fc8e00000(0000) knlGS:0000000000000000
[ 22.087463][ T177] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 22.087463][ T177] CR2: 0000000000000018 CR3: 00000001083ec001 CR4: 0000000000771ef0
[ 22.087463][ T177] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 22.087463][ T177] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 22.087463][ T177] PKRU: 55555554
[ 22.087463][ T177] Kernel panic - not syncing: Fatal exception
[ 22.087463][ T177] Kernel Offset: disabled



To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file

# 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/[email protected] Intel Corporation

Thanks,
Oliver Sang


Attachments:
(No filename) (6.33 kB)
config-5.15.0-rc1-00296-gf809891ee51b (168.64 kB)
job-script (7.68 kB)
dmesg.xz (11.52 kB)
job.yaml (5.21 kB)
reproduce (391.00 B)
Download all attachments