Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.infradead.org/users/willy/linux-dax.git wlist
commit d62742d33203fed9727ed86cc773c52d12a490f0
Author: Matthew Wilcox <mawilcox(a)microsoft.com>
AuthorDate: Sun Feb 12 18:10:28 2017 -0500
Commit: Matthew Wilcox <mawilcox(a)microsoft.com>
CommitDate: Sun Feb 12 18:10:28 2017 -0500
Convert rwsem to use waitlists
Saves one pointer, which shrinks struct inode by 16 bytes (as it contains
two rwsems), mm_struct by 8 bytes and the superblock by 8 bytes.
Signed-off-by: Matthew Wilcox <mawilcox(a)microsoft.com>
+--------------------------------------------------+------------+------------+------------------+
| | 07e196a065 | d62742d332 |
v4.10-rc8_021605 |
+--------------------------------------------------+------------+------------+------------------+
| boot_successes | 65 | 0 | 0
|
| boot_failures | 0 | 26 | 54
|
| INFO:task_blocked_for_more_than#seconds | 0 | 26 | 54
|
| Kernel_panic-not_syncing:hung_task:blocked_tasks | 0 | 22 | 13
|
| BUG:kernel_hang_in_boot_stage | 0 | 4 | 41
|
+--------------------------------------------------+------------+------------+------------------+
[ 2.779880] Freeing initrd memory: 8972K
[ 3.791689] tsc: Refined TSC clocksource calibration: 2926.329 MHz
[ 3.793987] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2a2e6b4fb33,
max_idle_ns: 440795272170 ns
[ 244.480889] INFO: task swapper:1 blocked for more than 120 seconds.
[ 244.486790] Not tainted 4.10.0-rc5-00369-gd62742d #1
[ 244.489157] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[ 244.492220] swapper D 0 1 0 0x00000000
[ 244.494437] Call Trace:
[ 244.498262] __schedule+0x2bd/0x740
[ 244.500743] schedule+0x2d/0x80
[ 244.505332] rwsem_down_write_failed+0xa5/0x1a0
[ 244.509195] call_rwsem_down_write_failed+0x9/0x10
[ 244.512409] down_write+0x6c/0x80
[ 244.520316] ? aes_init+0xf/0xf
[ 244.521606] crypto_larval_kill+0x10/0x70
[ 244.523142] crypto_wait_for_test+0x41/0x90
[ 244.524684] crypto_register_alg+0x4c/0x60
[ 244.526183] init+0xd/0xf
[ 244.527282] do_one_initcall+0x40/0x180
[ 244.528673] ? initcall_blacklist+0x4d/0xb4
[ 244.530344] ? kernel_init_freeable+0x17f/0x221
[ 244.532163] ? up_write+0x16/0x30
[ 244.533623] kernel_init_freeable+0x19c/0x221
[ 244.535331] ? rest_init+0x110/0x110
[ 244.536730] kernel_init+0x8/0x100
[ 244.538070] ret_from_fork+0x21/0x30
[ 244.539361]
[ 244.539361] Showing all locks held in the system:
[ 244.541832] 1 lock held by swapper/1:
[ 244.543355] #0: (crypto_alg_sem){+.+.+.}, at: [<c1272960>]
crypto_larval_kill+0x10/0x70
[ 244.546275] 2 locks held by khungtaskd/15:
[ 244.556570] #0: (rcu_read_lock){......}, at: [<c10c90d3>] watchdog+0x93/0x470
[ 244.559281] #1: (tasklist_lock){.+.+..}, at: [<c107b343>]
debug_show_all_locks+0x33/0x1a0
[ 244.562296]
[ 244.563151] =============================================
[ 244.563151]
[ 367.386028] INFO: task swapper:1 blocked for more than 120 seconds.
[ 367.388112] Not tainted 4.10.0-rc5-00369-gd62742d #1
[ 367.390309] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[ 367.393423] swapper D 0 1 0 0x00000000
[ 367.395780] Call Trace:
[ 367.397199] __schedule+0x2bd/0x740
[ 367.398621] schedule+0x2d/0x80
[ 367.400320] rwsem_down_write_failed+0xa5/0x1a0
[ 367.401964] call_rwsem_down_write_failed+0x9/0x10
[ 367.404282] down_write+0x6c/0x80
[ 367.405646] ? aes_init+0xf/0xf
[ 367.407270] crypto_larval_kill+0x10/0x70
[ 367.408925] crypto_wait_for_test+0x41/0x90
[ 367.410995] crypto_register_alg+0x4c/0x60
[ 367.412744] init+0xd/0xf
[ 367.414205] do_one_initcall+0x40/0x180
[ 367.416127] ? initcall_blacklist+0x4d/0xb4
[ 367.417706] ? kernel_init_freeable+0x17f/0x221
[ 367.419961] ? up_write+0x16/0x30
[ 367.421400] kernel_init_freeable+0x19c/0x221
[ 367.423251] ? rest_init+0x110/0x110
[ 367.425196] kernel_init+0x8/0x100
[ 367.426695] ret_from_fork+0x21/0x30
[ 367.428487]
[ 367.428487] Showing all locks held in the system:
[ 367.431097] 1 lock held by swapper/1:
[ 367.432542] #0: (crypto_alg_sem){+.+.+.}, at: [<c1272960>]
crypto_larval_kill+0x10/0x70
[ 367.436537] 2 locks held by khungtaskd/15:
[ 367.438204] #0: (rcu_read_lock){......}, at: [<c10c90d3>] watchdog+0x93/0x470
[ 367.441661] #1: (tasklist_lock){.+.+..}, at: [<c107b343>]
debug_show_all_locks+0x33/0x1a0
[ 367.445376]
[ 367.446351] =============================================
[ 367.446351]
Elapsed time: 460
BUG: kernel hang in boot stage
initrds=(
)
git bisect start ffddc7a790c3a1486df522878448c7a4ef4004be
7089db84e356562f8ba737c29e472cc42d530dbc --
git bisect bad 36dbf1f28c4128148b85fc03edf8989868c2b309 # 01:19 0- 19 Merge
'iommu/next' into devel-hourly-2017021605
git bisect good 3adac91afe59107180cdc3f15ba92ff815d0567a # 01:33 22+ 0 Merge
'linux-review/Maksymilian-Piechota/staging-wlan-ng-move-else-if-statement-to-a-single-line/20170215-233035'
into devel-hourly-2017021605
git bisect good 4a437b4547a0989546c5c62e029fb457254c0df8 # 01:45 21+ 0 Merge
'linux-review/simran-singhal/staging-rtl8192u-fixing-white-space-issue/20170215-043641'
into devel-hourly-2017021605
git bisect good 40e2a7a59a1d11b87c75528da0ccce9cbb49fba1 # 02:05 21+ 0 Merge
'linux-review/Jim-Davis/Documentation-make-Makefile-sphinx-no-ops-quieter/20170211-082847'
into devel-hourly-2017021605
git bisect bad 9623a71ea8817fc84bb973b05ede16e6c4b765bf # 02:23 0- 10 Merge
'linux-review/Joe-Perches/checkpatch-Notice-unbalanced-else-braces-in-a-patch/20170211-044944'
into devel-hourly-2017021605
git bisect bad 65aa19368b6735b632591f8d04c02a6317a80b00 # 02:47 0- 19 Merge
'linux-review/william-c-roberts-intel-com/checkpatch-add-warning-on-invalid-p-extensions/20170211-081646'
into devel-hourly-2017021605
git bisect bad 5115a1cb09d5a4d0cabc0f55fd6ca1673d10cc14 # 03:02 0- 22 Merge
'linux-review/Tony-Lindgren/PM-wakeirq-Enable-dedicated-wakeirq-for-suspend/20170211-075040'
into devel-hourly-2017021605
git bisect bad 5e036c81c76c00db6467d5da7d93055c24b5ff9b # 03:14 0- 4 Merge
'linux-review/Ralf-Baechle/NET-Fix-proc-net-arp-for-AX-25/20170211-080427' into
devel-hourly-2017021605
git bisect bad c5373b6fc188eb2451a206b0463cdab1366b078a # 03:37 0- 22 Merge
'dax/wlist' into devel-hourly-2017021605
git bisect bad 04fe36bd995189aacf44890ae85a59a04afb3114 # 03:55 0- 22 Convert
mutexes to use waitlists
git bisect bad d62742d33203fed9727ed86cc773c52d12a490f0 # 04:11 0- 11 Convert
rwsem to use waitlists
git bisect good 07e196a06505913049ae3765d5db6c6582b164e3 # 04:21 21+ 0 Add wait
lists
# first bad commit: [d62742d33203fed9727ed86cc773c52d12a490f0] Convert rwsem to use
waitlists
git bisect good 07e196a06505913049ae3765d5db6c6582b164e3 # 04:24 61+ 0 Add wait
lists
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad d62742d33203fed9727ed86cc773c52d12a490f0 # 04:36 0- 12 Convert
rwsem to use waitlists
# extra tests on HEAD of linux-devel/devel-hourly-2017021605
git bisect bad ffddc7a790c3a1486df522878448c7a4ef4004be # 04:36 0- 54 0day
head guard for 'devel-hourly-2017021605'
# extra tests on tree/branch dax/wlist
git bisect bad 947a7ea93f3d85ddc885b02550ce263f15921544 # 04:51 0- 1 Convert
semaphores to use waitlists
# extra tests with first bad commit reverted
git bisect good 57cacb18cadf509d10cfeda145bc07c367924d59 # 05:08 60+ 0 Revert
"Convert rwsem to use waitlists"
# extra tests on tree/branch linus/master
git bisect good 6dc39c50e4aeb769c8ae06edf2b1a732f3490913 # 05:43 63+ 1 Merge
branch 'for-linus' of git://git.kernel.dk/linux-block
# extra tests on tree/branch linux-next/master
git bisect good 4ce4a759a3e221b5265ebd03c2f8888b69a7cf3e # 07:29 64+ 0 Add
linux-next specific files for 20170217
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation