047c851654 ("x86/fsgsbase/64: Efficient user GSBASE update"): double fault: 0000 [#1] SMP PTI
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/changbae/FSGSBASE fsgs_tip_4.15-rc5_v4
commit 047c85165403bc2b899b844d8e16c2f323b35ac5
Author: Chang S. Bae <chang.seok.bae(a)intel.com>
AuthorDate: Thu Jan 11 09:13:57 2018 -0800
Commit: Chang S. Bae <chang.seok.bae(a)intel.com>
CommitDate: Wed Jan 17 08:04:27 2018 -0800
x86/fsgsbase/64: Efficient user GSBASE update
With FSGSBASE, user (inactive) GSBASE update accompanies with a
couple of SWAPGS instructions and they should be atomic operation.
Instead, this patch proposal introduces one spill area as
PER_CPU variable that keeps guest GSBASE at every kernel entry
and rewrites at exit lazily to avoid side effect of serialized
SWAPGS operations.
Depending on entry point type and additional features like KPTI,
user GSBASE has to be conditionally spilled over stack before
writing.
About 5~10% performance gain was seen from context switch micro-
benchmark.
TODO: native_usergs_sysret64 is not yet applied as not clear
Signed-off-by: Chang S. Bae <chang.seok.bae(a)intel.com>
4008a57846 x86/fsgsbase/64: Add documentation for RD/WR FSGSBASE
047c851654 x86/fsgsbase/64: Efficient user GSBASE update
+------------------------------------------+------------+------------+
| | 4008a57846 | 047c851654 |
+------------------------------------------+------------+------------+
| boot_successes | 31 | 0 |
| boot_failures | 0 | 11 |
| double_fault:#[##] | 0 | 8 |
| RIP:error_entry | 0 | 11 |
| RIP:switch_to_thread_stack | 0 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 |
+------------------------------------------+------------+------------+
[main] Setsockopt(1 10 da2000 77) on fd 380 [1:1:1]
[main] Setsockopt(1 2 da2000 30) on fd 381 [2:1:6]
[main] 375 sockets created based on info from socket cachefile.
[main] Generating file descriptors
[main] Added 323 filenames from /dev
[ 38.115937] double fault: 0000 [#1] SMP PTI
[ 38.116655] CPU: 1 PID: 575 Comm: trinity-c1 Not tainted 4.15.0-rc5-00225-g047c851 #2
[ 38.118093] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 38.119462] RIP: 0010:error_entry+0x98/0x140
[ 38.120225] RSP: 0000:fffffe800002e000 EFLAGS: 00010083
[ 38.121087] RAX: 0000000081c00c00 RBX: 0000000000000001 RCX: ffffffff81c00c00
[ 38.122337] RDX: fffffffff4a821f2 RSI: ffffffffffff3f3f RDI: ffffffff81c018dd
[ 38.123620] RBP: fffffe800002e100 R08: ffffffffffff3f3f R09: 0800000000000dff
[ 38.124849] R10: 0000000000ea7000 R11: 0001934260000000 R12: 0000000000000001
[ 38.126014] R13: 0000000000000050 R14: 0000000000000050 R15: c0000001054cb6ab
[ 38.127250] FS: 00007f1ce8273700(0000) GS:ffff88001e700000(0000) knlGS:0000000000000000
[ 38.128970] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 38.130263] CR2: fffffe800002dff8 CR3: 000000001f9a6000 CR4: 00000000000006a0
[ 38.131755] DR0: 00000000011493e0 DR1: 00007f1ce8178000 DR2: 0000000000000000
[ 38.133239] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000602
[ 38.134726] Call Trace:
[ 38.135301] <ENTRY_TRAMPOLINE>
[ 38.153950] ? async_page_fault+0x13/0x50
[ 38.154596] ? restore_regs_and_return_to_kernel+0x36/0x36
[ 38.155494] ? error_entry+0x9d/0x140
[ 38.156121] trace_hardirqs_on+0x9/0x9
[ 38.156760] trace_hardirqs_off_thunk+0x1a/0x1c
[ 38.157544] ? restore_regs_and_return_to_kernel+0x36/0x36
[ 38.158472] error_entry+0x9d/0x140
[ 38.159058] RIP: 0010:switch_to_thread_stack+0x30/0x60
[ 38.159888] RSP: 0000:fffffe800002e1c0 EFLAGS: 00010006 ORIG_RAX: 0000000000000000
[ 38.161254] RAX: 0000000000000050 RBX: 0000000100001000 RCX: 0000000000ea7000
[ 38.162472] RDX: fffffffff4a821f2 RSI: ffffffffffff3f3f RDI: fffffe800002e1c0
[ 38.163691] RBP: 0000000000000001 R08: ffffffffffff3f3f R09: 0800000000000dff
[ 38.164938] R10: 0000000000ea7000 R11: 0001934260000000 R12: 0000000000000001
[ 38.166115] R13: 0000000000000050 R14: 0000000000000050 R15: c0000001054cb6ab
[ 38.167283] ? async_page_fault+0x13/0x50
[ 38.167988] entry_INT80_compat+0xe/0x40
[ 38.168668] </ENTRY_TRAMPOLINE>
[ 38.169289] Code: f3 48 0f ae c8 0f 01 f8 65 48 89 04 25 c8 20 01 00 eb 03 0f 01 f8 41 5c 48 89 e7 e8 0d eb 40 ff 48 89 c4 41 54 e8 49 f1 3f ff c3 <e8> 43 f1 3f ff c3 ff c3 48 8d 0d 19 f3 ff ff 48 39 8c 24 88 00
[ 38.172398] RIP: error_entry+0x98/0x140 RSP: fffffe800002e000
[ 38.173357] ---[ end trace de0ae80dfc0d209b ]---
[ 38.174164] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 3bac551a15c19f32e35e2b242ed4aca987244887 a8750ddca918032d6349adbf9a4b6555e7db20da --
git bisect bad 26684db7b7f3cffbf9762a79227c2cfa277a82b0 # 21:06 B 0 5 18 0 Merge 'omap/for-next' into devel-hourly-2018011809
git bisect bad 4a3cde74eebbd817bc4c77bf3f2fd795b9041456 # 21:34 B 0 1 14 0 Merge 'kdave/for-next' into devel-hourly-2018011809
git bisect good ac82ce3316d6a526ec1363a854491ca39115060c # 22:04 G 11 0 0 0 Merge 'tobetter-linux/odroidc2-v4.15' into devel-hourly-2018011809
git bisect bad fdf59ed69c1d0a2488fe482b6ce5d7675b45f325 # 22:28 B 0 11 24 0 Merge 'jkirsher-next-queue/dev-queue' into devel-hourly-2018011809
git bisect bad 2b78aae131097a7d1660b6ba3a20af8becfb69be # 22:48 B 0 1 14 0 Merge 'nomadik/gemini' into devel-hourly-2018011809
git bisect bad 1dd1d8242e17bb9da6bb9879be6eea6d7201f4ce # 23:21 B 0 11 24 0 Merge 'f2fs/dev' into devel-hourly-2018011809
git bisect bad 6870c33ef0d09d5f676b5197e02f9410b5969f16 # 23:37 B 0 11 24 0 Merge 'dinguyen/socfpga_for_next_v4.16_dts' into devel-hourly-2018011809
git bisect bad 606d1957e1061713b80d42c2a4081598d58c251f # 23:50 B 0 2 15 0 Merge 'fsgsbase/fsgs_tip_4.15-rc5_v4' into devel-hourly-2018011809
git bisect good a0648d04ac50eaae0b52ef21e41e30e7b3963aba # 00:14 G 11 0 0 0 Merge branch 'WIP.x86/pti.base'
git bisect good ad8cabd63da2ee8682ec80d773fc23a217389f8b # 00:28 G 11 0 0 0 x86/fsgsbase/64: Handle negative user GSBASE if FSGSBASE is on
git bisect good 1cf6562cb947dd4f26e675c9efc38212a099f188 # 00:47 G 11 0 0 0 selftests/x86/fsgsbase: Test WRGSBASE
git bisect good 4008a57846ead85b1612291596ad57496bf8edf9 # 01:05 G 11 0 0 0 x86/fsgsbase/64: Add documentation for RD/WR FSGSBASE
git bisect bad 047c85165403bc2b899b844d8e16c2f323b35ac5 # 01:18 B 0 11 24 0 x86/fsgsbase/64: Efficient user GSBASE update
# first bad commit: [047c85165403bc2b899b844d8e16c2f323b35ac5] x86/fsgsbase/64: Efficient user GSBASE update
git bisect good 4008a57846ead85b1612291596ad57496bf8edf9 # 01:25 G 30 0 0 0 x86/fsgsbase/64: Add documentation for RD/WR FSGSBASE
# extra tests with debug options
git bisect bad 047c85165403bc2b899b844d8e16c2f323b35ac5 # 01:37 B 0 11 24 0 x86/fsgsbase/64: Efficient user GSBASE update
# extra tests on HEAD of linux-devel/devel-hourly-2018011809
git bisect bad 3bac551a15c19f32e35e2b242ed4aca987244887 # 01:38 B 1 24 0 0 0day head guard for 'devel-hourly-2018011809'
# extra tests on tree/branch fsgsbase/fsgs_tip_4.15-rc5_v4
git bisect bad 047c85165403bc2b899b844d8e16c2f323b35ac5 # 01:39 B 0 11 24 0 x86/fsgsbase/64: Efficient user GSBASE update
# extra tests with first bad commit reverted
git bisect good a1c3bc72f241b596cf4f34db7c3f87db8aa7aad5 # 01:58 G 11 0 0 0 Revert "x86/fsgsbase/64: Efficient user GSBASE update"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 4 months
[lkp-robot] [hugetlbfs] c0033af7ee: BUG_hugetlbfs_inode_cache(Not_tainted):Objects_remaining_in_hugetlbfs_inode_cache_on__kmem_cache_shutdown()
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: c0033af7eec3e728c6b70d75950e632ace4c8a55 ("hugetlbfs: Convert to fs_context")
https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git mount-context
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -m 420M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------------------------------------------------------------------+------------+------------+
| | 5aad045543 | c0033af7ee |
+-------------------------------------------------------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 1 |
| boot_failures | 51 | 29 |
| BUG:stack_guard_page_was_hit_at#(stack_is#..#) | 51 | |
| RIP:legacy_parse_monolithic | 51 | |
| Kernel_panic-not_syncing:Fatal_exception | 51 | |
| BUG_hugetlbfs_inode_cache(Not_tainted):Objects_remaining_in_hugetlbfs_inode_cache_on__kmem_cache_shutdown() | 0 | 29 |
| INFO:Slab#objects=#used=#fp=#flags= | 0 | 29 |
| INFO:Object#@offset= | 0 | 29 |
+-------------------------------------------------------------------------------------------------------------+------------+------------+
[ 11.250915] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 11.253249] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 11.254354] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 11.275114] clocksource: Switched to clocksource hpet
[ 11.334543] =============================================================================
[ 11.335993] BUG hugetlbfs_inode_cache (Not tainted): Objects remaining in hugetlbfs_inode_cache on __kmem_cache_shutdown()
[ 11.336717] -----------------------------------------------------------------------------
[ 11.336717]
[ 11.336717] Disabling lock debugging due to kernel taint
[ 11.336717] INFO: Slab 0xffff9aa5d95bcc00 objects=15 used=1 fp=0xffff9aa5d8533870 flags=0x600000008100
[ 11.336717] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G B 4.15.0-rc1-00106-gc0033af #98
[ 11.336717] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 11.336717] Call Trace:
[ 11.336717] dump_stack+0x5d/0x79
[ 11.336717] slab_err+0x99/0xa7
[ 11.336717] ? balance_runtime+0x157/0x165
[ 11.336717] ? __kmem_cache_shutdown+0x7e/0x321
[ 11.336717] __kmem_cache_shutdown+0x18a/0x321
[ 11.336717] kmem_cache_destroy+0x31/0xcf
[ 11.336717] init_hugetlbfs_fs+0x7d/0x154
[ 11.336717] ? init_ramfs_fs+0x1a/0x1a
[ 11.336717] ? set_debug_rodata+0xc/0xc
[ 11.336717] do_one_initcall+0x83/0x118
[ 11.336717] ? proc_cpuinfo_init+0x1a/0x1a
[ 11.336717] ? start_kernel+0x4c4/0x4c4
[ 11.336717] ? set_debug_rodata+0xc/0xc
[ 11.336717] kernel_init_freeable+0x19a/0x218
[ 11.336717] ? rest_init+0x134/0x134
[ 11.336717] kernel_init+0x5/0xe1
[ 11.336717] ret_from_fork+0x1f/0x30
[ 11.336717] INFO: Object 0xffff9aa5d8530000 @offset=0
[ 11.371475] kmem_cache_destroy hugetlbfs_inode_cache: Slab cache still has objects
[ 11.385419] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G B 4.15.0-rc1-00106-gc0033af #98
[ 11.386577] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 11.387608] Call Trace:
[ 11.388167] dump_stack+0x5d/0x79
[ 11.388739] kmem_cache_destroy+0x4a/0xcf
[ 11.388998] init_hugetlbfs_fs+0x7d/0x154
[ 11.388998] ? init_ramfs_fs+0x1a/0x1a
[ 11.388998] ? set_debug_rodata+0xc/0xc
[ 11.388998] do_one_initcall+0x83/0x118
[ 11.388998] ? proc_cpuinfo_init+0x1a/0x1a
[ 11.388998] ? start_kernel+0x4c4/0x4c4
[ 11.388998] ? set_debug_rodata+0xc/0xc
[ 11.388998] kernel_init_freeable+0x19a/0x218
[ 11.388998] ? rest_init+0x134/0x134
[ 11.388998] kernel_init+0x5/0xe1
[ 11.388998] ret_from_fork+0x1f/0x30
[ 11.414825] pnp: PnP ACPI init
[ 11.445651] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 11.451170] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[ 11.455131] pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
[ 11.470049] pnp 00:03: [dma 2]
To reproduce:
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,
Xiaolong
4 years, 4 months
d35c1eab19 ("test of cluster allocation for order0"): divide error: 0000 [#1] SMP
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
aaron/no_merge_in_buddy_v4.15-rc4_new
commit d35c1eab1977b6fcdd98d528ceb95014fc72d4ca
Author: Aaron Lu <aaron.lu(a)intel.com>
AuthorDate: Mon Jan 15 13:08:30 2018 +0800
Commit: Aaron Lu <aaron.lu(a)intel.com>
CommitDate: Wed Jan 17 15:00:26 2018 +0800
test of cluster allocation for order0
8cc71e74d1 __free_one_page: skip merge for order-0 page unless compaction is in progress
d35c1eab19 test of cluster allocation for order0
+------------------------------------------+------------+------------+
| | 8cc71e74d1 | d35c1eab19 |
+------------------------------------------+------------+------------+
| boot_successes | 35 | 0 |
| boot_failures | 0 | 17 |
| divide_error:#[##] | 0 | 17 |
| EIP:free_pcppages_bulk | 0 | 17 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 17 |
+------------------------------------------+------------+------------+
[ 0.000000] sysrq: sysrq always enabled.
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] Initializing HighMem for node 0 (00000000:00000000)
[ 0.000000] divide error: 0000 [#1] SMP
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.15.0-rc4-00003-gd35c1ea #477
[ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 0.000000] EIP: free_pcppages_bulk+0x261/0x4b0
[ 0.000000] EFLAGS: 00210046 CPU: 0
[ 0.000000] EAX: 00000001 EBX: c27a7b80 ECX: 00000000 EDX: 00000000
[ 0.000000] ESI: c27a7b40 EDI: cfd47340 EBP: c2629eb4 ESP: c2629e7c
[ 0.000000] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 0.000000] CR0: 80050033 CR2: 00000000 CR3: 029ac000 CR4: 00040690
[ 0.000000] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 0.000000] DR6: fffe0ff0 DR7: 00000400
[ 0.000000] Call Trace:
[ 0.000000] free_unref_page_commit+0x9b/0xd0
[ 0.000000] free_unref_page+0x22b/0x4d0
[ 0.000000] __free_pages+0x87/0xa0
[ 0.000000] __free_pages_bootmem+0x103/0x11a
[ 0.000000] free_all_bootmem+0x10d/0x170
[ 0.000000] mem_init+0x34/0x240
[ 0.000000] ? kvm_apf_trap_init+0x17/0x19
[ 0.000000] start_kernel+0x20e/0x45a
[ 0.000000] i386_start_kernel+0x8f/0x93
[ 0.000000] startup_32_smp+0x15f/0x170
[ 0.000000] Code: c0 74 0e 89 73 04 89 5f 14 8b 5d d0 89 5f 18 89 33 8b 75 d4 8b 55 e4 8d 14 96 8b 82 e4 01 00 00 83 c0 01 89 82 e4 01 00 00 31 d2 <f7> b6 f0 01 00 00 c7 04 24 00 00 00 00 b8 c8 28 82 c2 85 d2 0f
[ 0.000000] EIP: free_pcppages_bulk+0x261/0x4b0 SS:ESP: 0068:c2629e7c
[ 0.000000] ---[ end trace 366d87be9925d373 ]---
[ 0.000000] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start d35c1eab1977b6fcdd98d528ceb95014fc72d4ca 1291a0d5049dbc06baaaf66a9ff3f53db493b19b --
git bisect good 769b10564b665e1fc7864f893d838be7ef36f68e # 16:42 G 11 0 0 0 free_pcppages_bulk: reorg to move stuff outside
git bisect good 8cc71e74d1fb231fedb937ba63baf0bca5ab2103 # 16:55 G 11 0 0 0 __free_one_page: skip merge for order-0 page unless compaction is in progress
# first bad commit: [d35c1eab1977b6fcdd98d528ceb95014fc72d4ca] test of cluster allocation for order0
git bisect good 8cc71e74d1fb231fedb937ba63baf0bca5ab2103 # 16:58 G 31 0 0 0 __free_one_page: skip merge for order-0 page unless compaction is in progress
# extra tests with debug options
git bisect bad d35c1eab1977b6fcdd98d528ceb95014fc72d4ca # 17:05 B 0 11 24 0 test of cluster allocation for order0
# extra tests on HEAD of aaron/no_merge_in_buddy_v4.15-rc4_new
git bisect bad d35c1eab1977b6fcdd98d528ceb95014fc72d4ca # 17:05 B 0 17 33 0 test of cluster allocation for order0
# extra tests on tree/branch aaron/no_merge_in_buddy_v4.15-rc4_new
git bisect bad d35c1eab1977b6fcdd98d528ceb95014fc72d4ca # 17:05 B 0 17 33 0 test of cluster allocation for order0
# extra tests with first bad commit reverted
git bisect good 87295b496e38c4e05f06edd2876dc92da23dc296 # 17:28 G 11 0 0 0 Revert "test of cluster allocation for order0"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 4 months
Re: [LKP] e0a6d42673 ("Merge 'bvanassche/block-scsi-for-next' into .."): BUG: kernel reboot-without-warning in boot stage
by Fengguang Wu
Hi Bart,
On Fri, Jan 12, 2018 at 09:05:29PM +0000, Bart Van Assche wrote:
>Hello Wu,
>
>I think the (very highly regarded) 0-day test infrastructure discovered a bug
>that was not introduced by my changes, namely a missing cond_resched() in the
>ACPI code. Do you have any recommendations about how to proceed? Should I try
>to send a fix upstream or should rather a suppression rule be added to the
>0-day test infrastructure?
It would be great if you can send a fix upstream. :)
Thanks,
Fengguang
>On Thu, 2018-01-11 at 20:49 +0800, kernel test robot wrote:
>> Greetings,
>>
>> 0day kernel testing robot got the below dmesg and the first bad commit is
>>
>> git://internal_merge_and_test_tree devel-catchup-201801111238
>>
>> commit e0a6d426732d59ac27faa38264d1d5effc4d6e16
>> Merge: ad52b48ef9782 248c2116badd8
>> Author: 0day robot <fengguang.wu(a)intel.com>
>> AuthorDate: Thu Jan 11 12:44:28 2018 +0800
>> Commit: 0day robot <fengguang.wu(a)intel.com>
>> CommitDate: Thu Jan 11 12:44:28 2018 +0800
>>
>> Merge 'bvanassche/block-scsi-for-next' into devel-catchup-201801111238
>>
>> ad52b48ef9 Merge 'char-misc/char-misc-next' into devel-catchup-201801111238
>> 248c2116ba scsi_debug: delay fix
>> e0a6d42673 Merge 'bvanassche/block-scsi-for-next' into devel-catchup-201801111238
>> 6d7f285e89 0day head guard for 'devel-catchup-201801111238'
>> +-------------------------------------------------+------------+------------+------------+------------+
>> > | ad52b48ef9 | 248c2116ba | e0a6d42673 | 6d7f285e89 |
>>
>> +-------------------------------------------------+------------+------------+------------+------------+
>> > boot_successes | 35 | 19 | 0 | 0 |
>> > boot_failures | 0 | 16 | 15 | 13 |
>> > BUG:soft_lockup-CPU##stuck_for#s | 0 | 15 | | |
>> > RIP:_raw_spin_unlock_irqrestore | 0 | 5 | | |
>> > Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 15 | | |
>> > RIP:__slab_alloc | 0 | 3 | | |
>> > RIP:unwind_next_frame | 0 | 1 | | |
>> > RIP:__orc_find | 0 | 3 | | |
>> > invoked_oom-killer:gfp_mask=0x | 0 | 1 | | |
>> > Mem-Info | 0 | 1 | | |
>> > RIP:deref_stack_reg | 0 | 1 | | |
>> > RIP:core_kernel_text | 0 | 1 | | |
>> > RIP:save_stack_address | 0 | 1 | | |
>> > BUG:kernel_reboot-without-warning_in_boot_stage | 0 | 0 | 15 | 11 |
>> > BUG:kernel_in_stage | 0 | 0 | 0 | 2 |
>>
>> +-------------------------------------------------+------------+------------+------------+------------+
>>
>> [ 0.000000] ACPI: Early table checksum verification disabled
>> [ 0.000000] ACPI: RSDP 0x00000000000F6840 000014 (v00 BOCHS )
>> [ 0.000000] ACPI: RSDT 0x000000001FFE1628 000030 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
>> [ 0.000000] ACPI: FACP 0x000000001FFE147C 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
>> [ 0.000000] ACPI: DSDT 0x000000001FFE0040 00143C (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001)
>> BUG: kernel reboot-without-warning in boot stage
>>
>>
>> # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
>> git bisect start 6d7f285e89e5d2c17dcdc0ae8609341e50a4a36d b4464bcab38d3f7fe995a7cb960eeac6889bec08 --
>> git bisect good 5d1c4e90360721485a929a52485c1f79658849ce # 17:30 G 10 0 0 0 Merge 'rcu/rcu/dev' into devel-catchup-201801111238
>> git bisect good 363e1cfac0ce9f8f9521dc9bd243d60d4aaf77d8 # 17:43 G 11 0 1 1 Merge 'lunn/v4.15-rc4-net-next-atu-vtu-irq' into devel-catchup-201801111238
>> git bisect good 1c0e7171d00386de445a6a156ad12d53e9426e56 # 18:00 G 11 0 1 1 Merge 'clk/clk-next' into devel-catchup-201801111238
>> git bisect bad e0a6d426732d59ac27faa38264d1d5effc4d6e16 # 18:11 B 0 6 19 0 Merge 'bvanassche/block-scsi-for-next' into devel-catchup-201801111238
>> git bisect good ad52b48ef978217409681ab72ba68734767c0746 # 18:33 G 11 0 0 0 Merge 'char-misc/char-misc-next' into devel-catchup-201801111238
>> git bisect good ce30c6855578e134b371885c32737ea27e4b3949 # 18:50 G 11 0 2 2 Merge branch 'scsi-target-for-next' into block-scsi-for-next
>> git bisect good e67ed2abbd49d4d0db4f38fd3619ae12f5ce0a20 # 19:06 G 11 0 0 0 Merge branch 'srp-initiator-for-next' into block-scsi-for-next
>> git bisect good 6385a09f5675e51effa844afdbaaa37404541c5a # 19:24 G 10 0 4 4 sd: Compute threshold only if needed
>> git bisect good 552be5f2e246810e1d07837cccf8243e886da507 # 19:36 G 11 0 1 1 scsi_dh: Document alua_rtpg_queue() arguments
>> git bisect good ef499a8d64490bd3b70817d9b1d745dd8e3cd473 # 19:47 G 11 0 1 1 PM / sleep: Make lock/unlock_system_sleep() available to kernel modules
>> git bisect good a11e9f34115cce512f355ae1aef65582503a680d # 20:00 G 11 0 0 0 Merge branch 'scsi-for-next' into block-scsi-for-next
>> git bisect good 248c2116badd86d2736fc9ffd5cf99ef34976898 # 20:18 G 10 0 0 0 scsi_debug: delay fix
>> # first bad commit: [e0a6d426732d59ac27faa38264d1d5effc4d6e16] Merge 'bvanassche/block-scsi-for-next' into devel-catchup-201801111238
>> git bisect good ad52b48ef978217409681ab72ba68734767c0746 # 20:24 G 30 0 0 0 Merge 'char-misc/char-misc-next' into devel-catchup-201801111238
>> git bisect good 248c2116badd86d2736fc9ffd5cf99ef34976898 # 20:29 G 31 0 16 16 scsi_debug: delay fix
>> # extra tests with debug options
>> git bisect bad e0a6d426732d59ac27faa38264d1d5effc4d6e16 # 20:39 B 0 2 15 0 Merge 'bvanassche/block-scsi-for-next' into devel-catchup-201801111238
>> # extra tests on HEAD of linux-devel/devel-catchup-201801111238
>> git bisect bad 6d7f285e89e5d2c17dcdc0ae8609341e50a4a36d # 20:44 B 0 11 29 2 0day head guard for 'devel-catchup-201801111238'
>> # extra tests on tree/branch linux-devel/devel-catchup-201801111238
>> git bisect bad 6d7f285e89e5d2c17dcdc0ae8609341e50a4a36d # 20:49 B 0 11 29 2 0day head guard for 'devel-catchup-201801111238'
>>
>> ---
>> 0-DAY kernel test infrastructure Open Source Technology Center
>> https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 4 months
76523c5461 ("mtd: get rid of the mtd_add_device_partitions .."): BUG: unable to handle kernel paging request at 014000c0
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/bbrezillon/linux-0day mtd/next
commit 76523c5461948f9a453b57f0162105ed5002679f
Author: Rafał Miłecki <rafal(a)milecki.pl>
AuthorDate: Mon Jan 15 15:35:19 2018 +0100
Commit: Boris Brezillon <boris.brezillon(a)free-electrons.com>
CommitDate: Mon Jan 15 20:15:58 2018 +0100
mtd: get rid of the mtd_add_device_partitions function
This simplifies code a bit by:
1) Avoiding an extra (tiny) function
2) Checking for amount of parsed (found) partitions just once
3) Avoiding clearing/filling struct mtd_partitions manually
With this commit a proper functions are called directly from the
mtd_device_parse_register. It doesn't need to use minor tricks like
memsetting struct to 0 to trigger an expected mtd_add_device_partitions
behavior.
Signed-off-by: Rafał Miłecki <rafal(a)milecki.pl>
Signed-off-by: Boris Brezillon <boris.brezillon(a)free-electrons.com>
3584dc1062 mtd: move code adding master MTD out of mtd_add_device_partitions
76523c5461 mtd: get rid of the mtd_add_device_partitions function
+------------------------------------------+------------+------------+
| | 3584dc1062 | 76523c5461 |
+------------------------------------------+------------+------------+
| boot_successes | 46 | 0 |
| boot_failures | 1 | 27 |
| BUG:kernel_hang_in_test_stage | 1 | |
| BUG:unable_to_handle_kernel | 0 | 27 |
| Oops:#[##] | 0 | 27 |
| EIP:allocate_partition | 0 | 27 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 27 |
+------------------------------------------+------------+------------+
[ 9.125532] dummy-irq: no IRQ given. Use irq=N
[ 9.143124] usbcore: registered new interface driver rtsx_usb
[ 9.144160] usbcore: registered new interface driver dln2
[ 9.145045] slram: not enough parameters.
[ 9.146552] Creating 355 MTD partitions on "mtdram test device":
[ 9.147175] BUG: unable to handle kernel paging request at 014000c0
[ 9.147789] IP: allocate_partition+0x3a/0x8c0
[ 9.148183] *pde = 00000000
[ 9.148489] Oops: 0000 [#1]
[ 9.148772] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-rc1-00015-g76523c5 #24
[ 9.152740] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 9.152740] task: b002a040 task.stack: b002e000
[ 9.152740] EIP: allocate_partition+0x3a/0x8c0
[ 9.152740] EFLAGS: 00210296 CPU: 0
[ 9.152740] EAX: 014000c0 EBX: bdd3d000 ECX: 00000000 EDX: 014000c0
[ 9.152740] ESI: 00000000 EDI: 00000000 EBP: b002fe98 ESP: b002fe64
[ 9.152740] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 9.152740] CR0: 80050033 CR2: 014000c0 CR3: 01e47000 CR4: 00140690
[ 9.152740] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 9.152740] DR6: fffe0ff0 DR7: 00000400
[ 9.152740] Call Trace:
[ 9.152740] ? vprintk_func+0x23/0x70
[ 9.152740] add_mtd_partitions+0x10c/0x140
[ 9.152740] mtd_device_parse_register+0x87/0x1f0
[ 9.152740] mtdram_init_device+0xa2/0xc0
[ 9.152740] init_mtdram+0x49/0x8d
[ 9.152740] ? init_phram+0x2f/0x2f
[ 9.152740] do_one_initcall+0x7c/0x10f
[ 9.152740] ? parse_args+0x150/0x3d0
[ 9.152740] ? kernel_init_freeable+0xbf/0x156
[ 9.152740] kernel_init_freeable+0xdf/0x156
[ 9.152740] ? rest_init+0x100/0x100
[ 9.152740] kernel_init+0x8/0xf0
[ 9.152740] ret_from_fork+0x19/0x30
[ 9.152740] Code: 89 ce f6 40 05 10 0f 84 65 03 00 00 8b 40 14 89 45 cc ba c0 80 40 01 a1 a8 b5 43 b2 e8 50 a9 cf ff 89 c3 ba c0 00 40 01 8b 45 d0 <8b> 00 e8 ff b5 cd ff 89 45 e0 85 c0 0f 84 86 07 00 00 85 db 0f
[ 9.152740] EIP: allocate_partition+0x3a/0x8c0 SS:ESP: 0068:b002fe64
[ 9.152740] CR2: 00000000014000c0
[ 9.152740] ---[ end trace 914601ab09de45ed ]---
[ 9.152740] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start d2f62d05a1ca762f7062f6c20a2276b42bb54646 b2cd1df66037e7c4697c7e40496bf7e4a5e16a2d --
git bisect good 95dce4fb935faa5b8074a7648fd1e3714a18b646 # 04:47 G 11 0 0 0 Merge 'userns/siginfo-testing' into devel-catchup-201801160330
git bisect good c8532fab96c430348b9579ec25e64dfff2a2602d # 04:52 G 10 0 0 0 Merge 'hare-scsi-devel/mylex.v3' into devel-catchup-201801160330
git bisect good a0a21a8f89f2ffae5873cbc8527f19ced11e1bd9 # 04:59 G 11 0 0 0 Merge 'drm-drm-misc/drm-misc-next' into devel-catchup-201801160330
git bisect bad ac2717909bf9c044fcb9c3ce401f73e40b249efc # 05:10 B 0 6 19 0 Merge 'bbrezillon-0day/mtd/next' into devel-catchup-201801160330
git bisect good bb5fd5a4c4ba341c858a7911ebbd6809e6d2760b # 05:17 G 10 0 0 0 mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
git bisect good 3584dc10628f4e559d13c84f0ce54b7353a3c5f4 # 05:29 G 11 0 0 0 mtd: move code adding master MTD out of mtd_add_device_partitions
git bisect bad 76523c5461948f9a453b57f0162105ed5002679f # 05:35 B 0 4 27 10 mtd: get rid of the mtd_add_device_partitions function
# first bad commit: [76523c5461948f9a453b57f0162105ed5002679f] mtd: get rid of the mtd_add_device_partitions function
git bisect good 3584dc10628f4e559d13c84f0ce54b7353a3c5f4 # 05:49 G 30 0 0 0 mtd: move code adding master MTD out of mtd_add_device_partitions
# extra tests with debug options
git bisect bad 76523c5461948f9a453b57f0162105ed5002679f # 06:01 B 0 3 16 0 mtd: get rid of the mtd_add_device_partitions function
# extra tests on HEAD of linux-devel/devel-catchup-201801160330
git bisect bad d2f62d05a1ca762f7062f6c20a2276b42bb54646 # 06:06 B 0 37 53 0 0day head guard for 'devel-catchup-201801160330'
# extra tests on tree/branch bbrezillon-0day/mtd/next
git bisect bad 76523c5461948f9a453b57f0162105ed5002679f # 06:08 B 0 27 40 0 mtd: get rid of the mtd_add_device_partitions function
# extra tests with first bad commit reverted
git bisect good 3e46bfd7871e3a0ba7c24682f19432e5e7765e8b # 06:19 G 10 0 0 0 Revert "mtd: get rid of the mtd_add_device_partitions function"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 4 months
[lkp-robot] [x86/entry/clearregs] 6efcbf39d1: perf-sanity-tests.Detect_openat_syscall_event.fail
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 6efcbf39d1dfc8cca46ff9572aa7efc958dcc878 ("x86/entry/clearregs: Add 64bit stubs to clear unused arguments regs")
https://git.kernel.org/cgit/linux/kernel/git/ak/linux-misc.git spec/clearregs-3
in testcase: perf-sanity-tests
with following parameters:
perf_compiler: gcc
on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
2018-01-12 19:39:16 sudo /usr/src/linux-perf-x86_64-rhel-7.2-6efcbf39d1dfc8cca46ff9572aa7efc958dcc878/tools/perf/perf test 2
2: Detect openat syscall event : FAILED!
2018-01-12 19:39:16 sudo /usr/src/linux-perf-x86_64-rhel-7.2-6efcbf39d1dfc8cca46ff9572aa7efc958dcc878/tools/perf/perf test 3
3: Detect openat syscall event on all cpus : FAILED!
2018-01-12 19:39:16 sudo /usr/src/linux-perf-x86_64-rhel-7.2-6efcbf39d1dfc8cca46ff9572aa7efc958dcc878/tools/perf/perf test 4
4: Read samples using the mmap interface : FAILED!
2018-01-12 19:39:16 sudo /usr/src/linux-perf-x86_64-rhel-7.2-6efcbf39d1dfc8cca46ff9572aa7efc958dcc878/tools/perf/perf test 5
5: Test data source output : Ok
2018-01-12 19:39:16 sudo /usr/src/linux-perf-x86_64-rhel-7.2-6efcbf39d1dfc8cca46ff9572aa7efc958dcc878/tools/perf/perf test 6
6: Parse event definition strings : FAILED!
To reproduce:
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,
Xiaolong
4 years, 4 months
[lkp-robot] [blk] 7d6760b17a: WARNING:possible_irq_lock_inversion_dependency_detected
by kernel test robot
FYI, we noticed the following commit (built with gcc-4.9):
commit: 7d6760b17a726820ad9084e9e3b8d5bab15b5623 ("blk-cgroup: Convert to XArray")
git://git.infradead.org/users/willy/linux-dax.git xarray-2018-01-09
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-i386 -enable-kvm -smp 2 -m 320M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+---------------------------------------------------------+------------+------------+
| | 44f2bc71c9 | 7d6760b17a |
+---------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 16 | 16 |
| es#_lib.c:#ess_reset_at#:failed | 16 | 16 |
| WARNING:possible_irq_lock_inversion_dependency_detected | 0 | 16 |
| EIP:ide_output_data | 0 | 16 |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 0 | 2 |
| EIP:note_page | 0 | 2 |
+---------------------------------------------------------+------------+------------+
[ 123.939028] WARNING: possible irq lock inversion dependency detected
[ 123.939960] 4.15.0-rc7-00091-g7d6760b #1 Not tainted
[ 123.940021] --------------------------------------------------------
[ 123.940021] swapper/1 just changed the state of lock:
[ 123.940021] (&(&q->__queue_lock)->rlock){-...}, at: [<5a8f5c7b>] blk_end_bidi_request+0x44/0x80
[ 123.940021] but this lock took another, HARDIRQ-unsafe lock in the past:
[ 123.940021] (&(&xa->xa_lock)->rlock){+.+.}
[ 123.940021]
[ 123.940021]
[ 123.940021] and interrupts could create inverse lock ordering between them.
[ 123.940021]
[ 123.940021]
[ 123.940021] other info that might help us debug this:
[ 123.940021] Possible interrupt unsafe locking scenario:
[ 123.940021]
[ 123.940021] CPU0 CPU1
[ 123.940021] ---- ----
[ 123.940021] lock(&(&xa->xa_lock)->rlock);
[ 123.940021] local_irq_disable();
[ 123.940021] lock(&(&q->__queue_lock)->rlock);
[ 123.940021] lock(&(&xa->xa_lock)->rlock);
[ 123.940021] <Interrupt>
[ 123.940021] lock(&(&q->__queue_lock)->rlock);
[ 123.940021]
[ 123.940021] *** DEADLOCK ***
[ 123.940021]
[ 123.940021] 2 locks held by swapper/1:
[ 123.940021] #0: (&dev->mutex){....}, at: [<0b221a44>] __driver_attach+0x53/0xa0
[ 123.940021] #1: (&dev->mutex){....}, at: [<94a4f5d9>] __driver_attach+0x5f/0xa0
[ 123.940021]
[ 123.940021] the shortest dependencies between 2nd lock and 1st lock:
[ 123.940021] -> (&(&xa->xa_lock)->rlock){+.+.} ops: 67 {
[ 123.940021] HARDIRQ-ON-W at:
[ 123.940021] lock_acquire+0x7d/0xa0
[ 123.940021] _raw_spin_lock+0x38/0x50
[ 123.940021] xa_store+0x50/0xb0
[ 123.940021] __irq_domain_alloc_irqs+0x164/0x250
[ 123.940021] alloc_isa_irq_from_domain+0xb3/0xf0
[ 123.940021] mp_map_pin_to_irq+0x150/0x2c0
[ 123.940021] pin_2_irq+0x6c/0xe0
[ 123.940021] setup_IO_APIC+0x108/0x70e
[ 123.940021] apic_bsp_setup+0x66/0x6d
[ 123.940021] apic_intr_mode_init+0xfe/0x100
[ 123.940021] x86_late_time_init+0xf/0x16
[ 123.940021] start_kernel+0x34d/0x3b9
[ 123.940021] i386_start_kernel+0x89/0x8d
[ 123.940021] startup_32_smp+0x15f/0x170
[ 123.940021] SOFTIRQ-ON-W at:
[ 123.940021] lock_acquire+0x7d/0xa0
[ 123.940021] _raw_spin_lock+0x38/0x50
[ 123.940021] xa_store+0x50/0xb0
[ 123.940021] __irq_domain_alloc_irqs+0x164/0x250
[ 123.940021] alloc_isa_irq_from_domain+0xb3/0xf0
[ 123.940021] mp_map_pin_to_irq+0x150/0x2c0
[ 123.940021] pin_2_irq+0x6c/0xe0
[ 123.940021] setup_IO_APIC+0x108/0x70e
[ 123.940021] apic_bsp_setup+0x66/0x6d
[ 123.940021] apic_intr_mode_init+0xfe/0x100
[ 123.940021] x86_late_time_init+0xf/0x16
[ 123.940021] start_kernel+0x34d/0x3b9
[ 123.940021] i386_start_kernel+0x89/0x8d
[ 123.940021] startup_32_smp+0x15f/0x170
[ 123.940021] INITIAL USE at:
[ 123.940021] lock_acquire+0x7d/0xa0
[ 123.940021] _raw_spin_lock+0x38/0x50
[ 123.940021] xa_store+0x50/0xb0
[ 123.940021] __irq_domain_alloc_irqs+0x164/0x250
[ 123.940021] alloc_isa_irq_from_domain+0xb3/0xf0
[ 123.940021] mp_map_pin_to_irq+0x150/0x2c0
[ 123.940021] pin_2_irq+0x6c/0xe0
[ 123.940021] setup_IO_APIC+0x108/0x70e
[ 123.940021] apic_bsp_setup+0x66/0x6d
[ 123.940021] apic_intr_mode_init+0xfe/0x100
[ 123.940021] x86_late_time_init+0xf/0x16
[ 123.940021] start_kernel+0x34d/0x3b9
[ 123.940021] i386_start_kernel+0x89/0x8d
[ 123.940021] startup_32_smp+0x15f/0x170
[ 123.940021] }
[ 123.940021] ... key at: [<33ae94b3>] __key.12234+0x0/0x5c0
[ 123.940021] ... acquired at:
[ 123.940021] _raw_spin_lock+0x38/0x50
[ 123.940021] blkg_create+0x17f/0x480
[ 123.940021] blkcg_init_queue+0x93/0x110
[ 123.940021] blk_alloc_queue_node+0x29a/0x310
[ 123.940021] blk_alloc_queue+0xd/0x10
[ 123.940021] brd_alloc+0x3a/0x150
[ 123.940021] brd_init+0x47/0x14a
[ 123.940021] do_one_initcall+0x79/0x11b
[ 123.940021] kernel_init_freeable+0xf6/0x173
[ 123.940021] kernel_init+0xb/0x100
[ 123.940021] ret_from_fork+0x19/0x30
[ 123.940021]
[ 123.940021] -> (&(&q->__queue_lock)->rlock){-...} ops: 78 {
[ 123.940021] IN-HARDIRQ-W at:
[ 123.940021] lock_acquire+0x7d/0xa0
[ 123.940021] _raw_spin_lock_irqsave+0x50/0x70
[ 123.940021] blk_end_bidi_request+0x44/0x80
[ 123.940021] blk_end_request+0x23/0x40
[ 123.940021] ide_end_rq+0x2e/0x50
[ 123.940021] ide_complete_rq+0x3d/0x60
[ 123.940021] cdrom_newpc_intr+0x172/0xaf0
To reproduce:
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,
Xiaolong
4 years, 4 months
[lkp-robot] [kernfs, sysfs, cgroup, intel_rdt] 5445a00931: kernel_BUG_at_fs/super.c
by kernel test robot
FYI, we noticed the following commit (built with gcc-4.9):
commit: 5445a009312c31fee7edcb8724cfea08dade66f9 ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context")
https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git mount-context
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-i386 -enable-kvm -m 256M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------------+------------+------------+
| | c118129c37 | 5445a00931 |
+-------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 10 | 12 |
| WARNING:possible_circular_locking_dependency_detected | 10 | 12 |
| kernel_BUG_at_fs/super.c | 0 | 10 |
| invalid_opcode:#[##] | 0 | 10 |
| EIP:vfs_get_tree | 0 | 10 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 10 |
+-------------------------------------------------------+------------+------------+
[ 13.821185] kernel BUG at fs/super.c:1715!
[ 13.821985] invalid opcode: 0000 [#1] PREEMPT
[ 13.822564] Modules linked in:
[ 13.822986] CPU: 0 PID: 1 Comm: init Not tainted 4.15.0-rc1-00102-g5445a00 #2
[ 13.823959] task: 8d868000 task.stack: 8d854000
[ 13.824559] EIP: vfs_get_tree+0x119/0x120
[ 13.825104] EFLAGS: 00010282 CPU: 0
[ 13.825571] EAX: 00000030 EBX: 8f5f2800 ECX: 810b1076 EDX: 00000292
[ 13.826405] ESI: 00000000 EDI: 8d855f3c EBP: 8d855f08 ESP: 8d855ef0
[ 13.827240] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 13.827956] CR0: 80050033 CR2: 77e9f588 CR3: 097203e0 CR4: 000006b0
[ 13.828763] Call Trace:
[ 13.829117] do_mount+0x200/0xce0
[ 13.829566] ? copy_mount_options+0xe/0x280
[ 13.830142] SyS_mount+0x5d/0xb0
[ 13.830580] do_int80_syscall_32+0x67/0x190
[ 13.831165] entry_INT80_32+0x36/0x36
[ 13.831505] EIP: 0x77e96c3e
[ 13.831768] EFLAGS: 00000216 CPU: 0
[ 13.832125] EAX: ffffffda EBX: 0804a3a9 ECX: 0804a3a1 EDX: 0804a3a9
[ 13.832708] ESI: 0000000e EDI: 00000000 EBP: 7ff43668 ESP: 7ff435cc
[ 13.833295] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 13.833909] Code: c7 43 08 00 00 00 00 e8 36 dc ff ff b8 f4 ff ff ff e9 7b ff ff ff 8b 43 04 8b 00 c7 04 24 5c 76 ae 81 89 44 24 04 e8 30 40 ed ff <0f> 0b 90 90 90 90 90 55 89 e5 e8 6c 51 e6 ff 5d 89 c8 c3 8d 74
[ 13.835681] EIP: vfs_get_tree+0x119/0x120 SS:ESP: 0068:8d855ef0
[ 13.836305] ---[ end trace 4839f16c2d6e315e ]---
To reproduce:
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,
Xiaolong
4 years, 4 months
a2f2577d96 ("torture: Eliminate torture_runnable and .."): BUG: kernel hang in test stage
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit a2f2577d96ad060b65eb909dd39b57d676754119
Author: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
AuthorDate: Tue Nov 21 20:19:17 2017 -0800
Commit: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
CommitDate: Mon Dec 11 09:18:29 2017 -0800
torture: Eliminate torture_runnable and perf_runnable
The purpose of torture_runnable is to allow rcutorture and locktorture
to be started and stopped via sysfs when they are built into the kernel
(as in not compiled as loadable modules). However, the 0444 permissions
for both instances of torture_runnable prevent this use case from ever
being put into practice. Given that there have been no complaints
about this deficiency, it is reasonable to conclude that no one actually
makes use of this sysfs capability. The perf_runnable module parameter
for rcuperf is in the same situation.
This commit therefore removes both torture_runnable instances as well
as perf_runnable.
Reported-by: Thomas Gleixner <tglx(a)linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
4ced3314fd torture: Make stutter less vulnerable to compilers and races
a2f2577d96 torture: Eliminate torture_runnable and perf_runnable
b4464bcab3 Add linux-next specific files for 20180110
+-------------------------------------------------------+------------+------------+---------------+
| | 4ced3314fd | a2f2577d96 | next-20180110 |
+-------------------------------------------------------+------------+------------+---------------+
| boot_successes | 103 | 44 | 5 |
| boot_failures | 0 | 28 | 1 |
| BUG:kernel_hang_in_test_stage | 0 | 28 | 1 |
| WARNING:at_drivers/pci/pci-sysfs.c:#pci_mmap_resource | 0 | 1 | |
| EIP:pci_mmap_resource | 0 | 1 | |
+-------------------------------------------------------+------------+------------+---------------+
procd: - reboot -
[ 128.897917] Unregister pv shared memory for cpu 0
[ 128.898372] spin_lock-torture: Unscheduled system shutdown detected
[ 129.208111] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 129.208943] reboot: Restarting system
BUG: kernel hang in test stage
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 7730aba20e60e7471f4c4aa2de942b2724beafed 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 --
git bisect bad 517642a19ecf5b0496f187eb64d6f127a3645eb3 # 07:32 B 11 3 0 11 doc: Fixed typo in rcutorture documentation
git bisect good dc259accec0845ddf56e87337c0b211026eca0ae # 07:43 G 22 0 0 1 rcu: Account for rcu_all_qs() in cond_resched()
git bisect bad ad0f025fbbd10227bf9222e04672a4b87812fa07 # 08:12 B 15 1 0 11 rcutorture: Replace multi-instance kzalloc() with kcalloc()
git bisect bad ad452b6a4fd2efe9fba8e1a79de8fb32b0f43ce7 # 08:54 B 12 1 0 0 rcu: Remove unnecessary spinlock in rcu_boot_init_percpu_data()
git bisect bad 1dfa55e01987288d847220b8c027204871440ed1 # 09:29 B 13 3 0 6 Merge branches 'cond_resched.2017.12.04a', 'dyntick.2017.11.28a', 'fixes.2017.12.11a', 'srbd.2017.12.05a' and 'torture.2017.12.11a' into HEAD
git bisect good 3a5db0b108e0a40f08c2bcff6a675dbf632b91e0 # 09:43 G 22 0 0 0 drivers/vhost: Remove now-redundant read_barrier_depends()
git bisect bad 29d3939084583b26a5487be64b9523e61468f1be # 10:13 B 14 3 0 11 torture: Save a line in stutter_wait(): while -> for
git bisect good 512e3bd0b554eb25d8816ab3954e0f39c98e8183 # 10:26 G 23 0 0 0 rcutorture/kvm.sh: Support execution from any directory
git bisect good 8f9dd8317386b0bcb20cf0bfc832ba2ea67f44d1 # 10:43 G 23 0 0 0 torture: Place all torture-test modules in one MAINTAINERS group
git bisect good 2ce77d16db4240dd2e422fc0a5c26d3e2ec03446 # 10:48 G 23 0 0 0 locking/locktorture: Fix num reader/writer corner cases
git bisect bad a2f2577d96ad060b65eb909dd39b57d676754119 # 11:19 B 13 3 0 18 torture: Eliminate torture_runnable and perf_runnable
git bisect good 4ced3314fd3a73dabac4e8a41747883eff36c3e8 # 11:29 G 21 0 0 0 torture: Make stutter less vulnerable to compilers and races
# first bad commit: [a2f2577d96ad060b65eb909dd39b57d676754119] torture: Eliminate torture_runnable and perf_runnable
git bisect good 4ced3314fd3a73dabac4e8a41747883eff36c3e8 # 11:37 G 64 0 0 0 torture: Make stutter less vulnerable to compilers and races
# extra tests on HEAD of rcu/rcu/dev
git bisect bad 7730aba20e60e7471f4c4aa2de942b2724beafed # 11:38 B 7 7 0 0 rcu: Remove obsolete force-quiescent-state statistics for debugfs
# extra tests on tree/branch linux-next/master
git bisect bad b4464bcab38d3f7fe995a7cb960eeac6889bec08 # 11:40 B 2 1 0 0 Add linux-next specific files for 20180110
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 4 months