[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5e22cbe7.mgzkaskkJnhiujnX%lkp@intel.com>
Date: Sat, 18 Jan 2020 17:12:07 +0800
From: kernel test robot <lkp@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: LKP <lkp@...ts.01.org>, linux-api@...r.kernel.org,
linux-kernel@...r.kernel.org, philip.li@...el.com
Subject: 942437c97f ("y2038: allow disabling time32 system calls"): init: timer.c:289: Assertion failed in nih_timer_poll: clock_gettime (CLOCK_MONOTONIC, &now) == 0
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit 942437c97fd9ff23a17c13118f50bd0490f6868c
Author: Arnd Bergmann <arnd@...db.de>
AuthorDate: Mon Jul 15 11:46:10 2019 +0200
Commit: Arnd Bergmann <arnd@...db.de>
CommitDate: Fri Nov 15 14:38:30 2019 +0100
y2038: allow disabling time32 system calls
At the moment, the compilation of the old time32 system calls depends
purely on the architecture. As systems with new libc based on 64-bit
time_t are getting deployed, even architectures that previously supported
these (notably x86-32 and arm32 but also many others) no longer depend on
them, and removing them from a kernel image results in a smaller kernel
binary, the same way we can leave out many other optional system calls.
More importantly, on an embedded system that needs to keep working
beyond year 2038, any user space program calling these system calls
is likely a bug, so removing them from the kernel image does provide
an extra debugging help for finding broken applications.
I've gone back and forth on hiding this option unless CONFIG_EXPERT
is set. This version leaves it visible based on the logic that
eventually it will be turned off indefinitely.
Acked-by: Christian Brauner <christian.brauner@...ntu.com>
Signed-off-by: Arnd Bergmann <arnd@...db.de>
bd40a17576 y2038: itimer: change implementation to timespec64
942437c97f y2038: allow disabling time32 system calls
13b2668d6f Merge tag 'gpio-v5.5-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
+-----------------------------------------------------------------------------+--------+--------+--------+
| | error: | error: | error: |
+-----------------------------------------------------------------------------+--------+--------+--------+
| boot_successes | 31 | 0 | 0 |
| boot_failures | 0 | 11 | 11 |
| Assertion_failed | 0 | 10 | 11 |
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 0 | 10 | 11 |
| BUG:kernel_hang_in_early-boot_stage,last_printk:early_console_in_setup_code | 0 | 1 | |
+-----------------------------------------------------------------------------+--------+--------+--------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>
[ 4.539891] Freeing unused kernel image memory: 1116K
[ 4.540350] Write protecting kernel text and read-only data: 18052k
[ 4.540748] rodata_test: all tests were successful
[ 4.541048] Run /init as init process
[ 4.546755] random: init: uninitialized urandom read (12 bytes read)
[ 4.547403] init: timer.c:289: Assertion failed in nih_timer_poll: clock_gettime (CLOCK_MONOTONIC, &now) == 0
[ 4.548967] init: Caught abort, core dumped
[ 4.549626] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000600
[ 4.550113] CPU: 0 PID: 1 Comm: init Tainted: G T 5.4.0-rc6-00023-g942437c97fd9f #1
[ 4.550676] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 4.551188] Call Trace:
[ 4.551351] ? dump_stack+0x16/0x20
[ 4.551575] ? panic+0xa5/0x246
[ 4.551777] ? do_exit+0xae4/0xaf0
[ 4.551993] ? do_group_exit+0x37/0xb0
[ 4.552229] ? sys_exit_group+0x16/0x20
[ 4.552470] ? do_int80_syscall_32+0x4f/0x190
[ 4.552743] ? entry_INT80_32+0x114/0x119
[ 4.552998] Kernel Offset: disabled
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start fd6988496e79a6a4bdb514a4655d2920209eb85d v5.4 --
git bisect bad 4672c2f2026dbc46b20647803426561fe2d460ea # 17:42 B 0 11 27 0 Merge tag 'rtc-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
git bisect good 6a0e20cd8cddd70ae5c1211ebe102d738ff2069b # 17:51 G 11 0 11 39 Merge tag 'riscv/for-v5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
git bisect bad 99a0d9f5e87352c4bd8d01bc9b39f7091c12e4d4 # 17:51 B 0 13 33 4 Merge tag 'gpio-v5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
git bisect good 6a965666b7e7475c2f8c8e724703db58b8a8a445 # 17:56 G 11 0 11 22 Merge tag 'notifications-pipe-prep-20191115' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
git bisect good 3b805ca177a24ff78b466ca73febe8466c67ea61 # 18:06 G 11 0 11 22 Merge tag 'audit-pr-20191126' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit
git bisect good ad0b314e003049292a23dd248d3c3ca4a3d75f55 # 12:36 G 10 0 10 10 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
git bisect good 0da522107e5d9c000a4871d52e570912aa1225a2 # 12:42 G 10 0 10 21 Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/playground
git bisect bad ceb307474506f888e8f16dab183405ff01dffa08 # 12:42 B 0 11 27 0 Merge tag 'y2038-cleanups-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/playground
git bisect good 0309f98f2fdc3526317e9bac150ca690f1f94ce6 # 12:43 G 11 0 0 0 y2038: socket: remove timespec reference in timestamping
git bisect good 4c22ea2b91203564fdf392b3d3cae249b652a8ae # 12:46 G 10 0 0 2 y2038: use compat_{get,set}_itimer on alpha
git bisect bad 942437c97fd9ff23a17c13118f50bd0490f6868c # 12:47 B 0 10 27 1 y2038: allow disabling time32 system calls
git bisect good bd40a175769d411b2a37e1c087082ac7ee2c15bb # 12:47 G 11 0 0 0 y2038: itimer: change implementation to timespec64
# first bad commit: [942437c97fd9ff23a17c13118f50bd0490f6868c] y2038: allow disabling time32 system calls
git bisect good bd40a175769d411b2a37e1c087082ac7ee2c15bb # 12:54 G 31 0 0 0 y2038: itimer: change implementation to timespec64
# extra tests with debug options
# extra tests on head commit of linus/master
git bisect bad 13b2668d6fc95dcecd11e4f86f47be24fda7da1f # 14:45 B 0 7 23 0 Merge tag 'gpio-v5.5-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
# bad: [13b2668d6fc95dcecd11e4f86f47be24fda7da1f] Merge tag 'gpio-v5.5-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
# extra tests on revert first bad commit
git bisect good 6f77755a5d8699bd81e2789512cea77914fadffd # 16:39 G 10 0 1 1 Revert "y2038: allow disabling time32 system calls"
# good: [6f77755a5d8699bd81e2789512cea77914fadffd] Revert "y2038: allow disabling time32 system calls"
# extra tests on linus/master
# 119: [25e73aadf297d78cf528841795cd37bad8320642] Merge tag 'io_uring-5.5-2020-01-16' of git://git.kernel.dk/linux-block
# extra tests on linux-next/master
# 119: [de970dffa7d19eae1d703c3534825308ef8d5dec] Add linux-next specific files for 20200117
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Download attachment "dmesg-quantal-vm-quantal-ecb6c3357f03:20200109035804:i386-randconfig-e002-20200106:5.4.0-rc6-00023-g942437c97fd9f:1.gz" of type "application/gzip" (16045 bytes)
View attachment "reproduce-quantal-vm-quantal-ecb6c3357f03:20200109035804:i386-randconfig-e002-20200106:5.4.0-rc6-00023-g942437c97fd9f:1" of type "text/plain" (922 bytes)
Download attachment "9aeb8818b8b046909afe43fb54c0ca6f7d1372e0:gcc-7:i386-randconfig-e002-20200106:Kernel_panic-not_syncing:Attempted_to_kill_init_exitcode=.xz" of type "application/x-xz" (7904 bytes)
View attachment "config-5.4.0-rc6-00023-g942437c97fd9f" of type "text/plain" (139298 bytes)
Powered by blists - more mailing lists