[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191208154113.GL32275@shao2-debian>
Date: Sun, 8 Dec 2019 23:41:13 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Steven Price <steven.price@....com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Alexander Potapenko <glider@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Ingo Molnar <mingo@...e.hu>, "H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Albert Ou <aou@...s.berkeley.edu>,
Alexandre Ghiti <alex@...ti.fr>,
Andy Lutomirski <luto@...nel.org>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Arnd Bergmann <arnd@...db.de>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Borislav Petkov <bp@...en8.de>,
Catalin Marinas <catalin.marinas@....com>,
Christian Borntraeger <borntraeger@...ibm.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Dave Jiang <dave.jiang@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Heiko Carstens <heiko.carstens@...ibm.com>,
James Hogan <jhogan@...nel.org>,
James Morse <james.morse@....com>,
"Liang, Kan" <kan.liang@...ux.intel.com>,
Mark Rutland <mark.rutland@....com>,
Matthew Wilcox <mawilcox@...rosoft.com>,
Michael Ellerman <mpe@...erman.id.au>,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
Palmer Dabbelt <palmer@...ive.com>,
Paul Burton <paul.burton@...s.com>,
Paul Mackerras <paulus@...ba.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Peter Zijlstra <peterz@...radead.org>,
Ralf Baechle <ralf@...ux-mips.org>,
Russell King <linux@...linux.org.uk>,
Shiraz Hashim <shashim@...eaurora.org>,
Vasily Gorbik <gor@...ux.ibm.com>,
Vineet Gupta <vgupta@...opsys.com>,
Will Deacon <will@...nel.org>, Zong Li <zong.li@...ive.com>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [x86] 2fdaa9d430: INFO:trying_to_register_non-static_key
FYI, we noticed the following commit (built with gcc-7):
commit: 2fdaa9d4301cd46ef0e82989afe7051c679e6d05 ("x86: mm: convert dump_pagetables to use walk_page_range")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------+------------+------------+
| | be0d18d4f9 | 2fdaa9d430 |
+----------------------------------------+------------+------------+
| boot_successes | 33 | 0 |
| boot_failures | 0 | 11 |
| INFO:trying_to_register_non-static_key | 0 | 11 |
+----------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>
[ 24.871026] INFO: trying to register non-static key.
[ 24.871608] the code is fine but needs lockdep annotation.
[ 24.872240] turning off the locking correctness validator.
[ 24.872880] CPU: 0 PID: 1 Comm: swapper Tainted: G T 5.4.0-14407-g2fdaa9d4301cd #2
[ 24.874021] Call Trace:
[ 24.874980] dump_stack+0x23/0x2c
[ 24.875383] register_lock_class+0xcca/0xce0
[ 24.875886] ? arch_stack_walk+0x9a/0x130
[ 24.876357] ? is_dynamic_key+0x190/0x190
[ 24.876828] ? ret_from_fork+0x24/0x30
[ 24.877269] ? stack_trace_save+0xab/0x100
[ 24.877749] __lock_acquire+0xe0/0x2760
[ 24.878202] ? __list_add_valid+0x3a/0x130
[ 24.878867] ? save_trace+0x473/0x5a0
[ 24.879298] ? mark_lock+0x760/0x760
[ 24.879720] lock_acquire+0x15a/0x290
[ 24.880153] ? __walk_page_range+0x1264/0x1570
[ 24.880672] _raw_spin_lock+0x4f/0xd0
[ 24.881105] ? __walk_page_range+0x1264/0x1570
[ 24.881621] __walk_page_range+0x1264/0x1570
[ 24.882123] walk_page_range_novma+0x100/0x1b0
[ 24.882774] ? walk_page_range+0x2a0/0x2a0
[ 24.883255] ? __read_once_size_nocheck+0x30/0x30
[ 24.883920] ? ret_from_fork+0x24/0x30
[ 24.884360] ? __orc_find+0x8a/0xe0
[ 24.884772] ptdump_walk_pgd+0x74/0xe0
[ 24.885212] ptdump_walk_pgd_level_core+0x164/0x240
[ 24.885780] ? hugetlb_get_unmapped_area+0x840/0x840
[ 24.886414] ? __orc_find+0x8a/0xe0
[ 24.886886] ? put_dec_trunc8+0x49/0x180
[ 24.887346] ? ptdump_walk_pgd_level_core+0x240/0x240
[ 24.887934] ? __kasan_check_write+0x2e/0x40
[ 24.888433] ptdump_walk_pgd_level_user_core+0xfa/0x180
[ 24.889160] ? note_page+0x1020/0x1020
[ 24.889603] ? ptdump_walk_pgd+0x3b/0xe0
[ 24.890065] ? pti_clone_pgtable+0x2e7/0x4a0
[ 24.890827] ? ptdump_walk_user_pgd_level_checkwx+0x4a/0x90
[ 24.891470] ? rest_init+0x200/0x200
[ 24.891891] ptdump_walk_user_pgd_level_checkwx+0x85/0x90
[ 24.892516] pti_finalize+0x99/0xe6
[ 24.892926] kernel_init+0x68/0x1d0
[ 24.893338] ? rest_init+0x200/0x200
[ 24.893758] ret_from_fork+0x24/0x30
[ 24.894448] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 24.895234] Run /init as init process
[ 25.017155] systemd[1]: RTC configured in localtime, applying delta of 480 minutes to system time.
[ 25.041104] random: systemd: uninitialized urandom read (16 bytes read)
[ 25.044181] random: systemd: uninitialized urandom read (16 bytes read)
[ 25.117619] random: systemd: uninitialized urandom read (16 bytes read)
Starting Remount Root and Kernel File Systems...
Mounting Debug File System...
[ 25.272048] random: fast init done
Starting Journal Service...
Mounting RPC Pipe File System...
Starting Load Kernel Modules...
Mounting Configuration File System...
Starting Apply Kernel Variables...
[ 25.439662] _warn_unseeded_randomness: 173 callbacks suppressed
[ 25.439675] random: get_random_u64 called from arch_rnd+0x41/0x70 with crng_init=1
[ 25.441546] random: get_random_u64 called from randomize_stack_top+0x6a/0xe0 with crng_init=1
[ 25.442775] random: get_random_u32 called from arch_align_stack+0x72/0x90 with crng_init=1
Starting Create Static Device Nodes in /dev...
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Preprocess NFS configuration...
Starting udev Kernel Device Manager...
Starting Raise network interfaces...
Starting Flush Journal to Persistent Storage...
Starting Create Volatile Files and Directories...
Starting RPC bind portmap service...
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ 26.526563] _warn_unseeded_randomness: 353 callbacks suppressed
[ 26.526582] random: get_random_bytes called from flow_hash_from_keys+0x45d/0x480 with crng_init=1
[ 26.529625] random: get_random_bytes called from addrconf_dad_kick+0xf7/0x1c0 with crng_init=1
[ 26.688707] random: get_random_u32 called from bucket_table_alloc+0xd3/0x260 with crng_init=1
[ 28.506874] _warn_unseeded_randomness: 21 callbacks suppressed
[ 28.506890] random: get_random_u64 called from copy_process+0x4a3/0x4860 with crng_init=1
Starting Permit User Sessions...
[ 28.553873] random: get_random_u64 called from arch_rnd+0x41/0x70 with crng_init=1
[ 28.555049] random: get_random_u64 called from randomize_stack_top+0x6a/0xe0 with crng_init=1
Starting System Logging Service...
Starting LKP bootstrap...
Starting LSB: Start and stop bmc-watchdog...
Starting LSB: Execute the kexec -e command to reboot system...
Starting OpenBSD Secure Shell server...
Starting /etc/rc.local Compatibility...
Starting Login Service...
[ 28.860837] rc.local[469]: mkdir: cannot create directory '/var/lock/lkp-bootstrap.lock': File exists
Starting LSB: Load kernel image with kexec...
[ 29.527639] _warn_unseeded_randomness: 465 callbacks suppressed
[ 29.528295] random: get_random_u64 called from arch_rnd+0x41/0x70 with crng_init=1
[ 29.531253] random: get_random_u64 called from randomize_stack_top+0x6a/0xe0 with crng_init=1
[ 29.533026] random: get_random_u32 called from arch_align_stack+0x72/0x90 with crng_init=1
LKP: HOSTNAME vm-snb-ssd-53d351239021, MAC 52:54:00:12:34:56, kernel 5.4.0-14407-g2fdaa9d4301cd 2, serial console /dev/ttyS0
[ 30.534319] _warn_unseeded_randomness: 135 callbacks suppressed
[ 30.534330] random: get_random_u32 called from cache_alloc_refill+0x9c3/0x1600 with crng_init=1
[ 30.585486] random: get_random_u64 called from arch_rnd+0x41/0x70 with crng_init=1
[ 30.586609] random: get_random_u64 called from randomize_stack_top+0x6a/0xe0 with crng_init=1
To reproduce:
# build kernel
cd linux
cp config-5.4.0-14407-g2fdaa9d4301cd .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 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
Thanks,
Rong Chen
View attachment "config-5.4.0-14407-g2fdaa9d4301cd" of type "text/plain" (128866 bytes)
View attachment "job-script" of type "text/plain" (4954 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (14384 bytes)
Powered by blists - more mailing lists