lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 28 Feb 2017 11:59:24 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     Nicolai Hähnle <Nicolai.Haehnle@....com>,
        Chris Wilson <chris@...is-wilson.co.uk>
Cc:     "Peter Zijlstra (Intel)" <peterz@...radead.org>,
        Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
        LKP <lkp@...org>
Subject: [locking/ww_mutex] f2a5fec173 EIP: __mutex_trylock

Hello,

Here is another bisect result with a different call trace.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

commit f2a5fec17395f259d54daa8833d81b00cceb15c3
Author:     Chris Wilson <chris@...is-wilson.co.uk>
AuthorDate: Thu Dec 1 11:47:06 2016 +0000
Commit:     Ingo Molnar <mingo@...nel.org>
CommitDate: Sat Jan 14 11:37:14 2017 +0100

     locking/ww_mutex: Begin kselftests for ww_mutex
     
     Signed-off-by: Chris Wilson <chris@...is-wilson.co.uk>
     Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
     Cc: Andrew Morton <akpm@...ux-foundation.org>
     Cc: Linus Torvalds <torvalds@...ux-foundation.org>
     Cc: Maarten Lankhorst <dev@...ankhorst.nl>
     Cc: Nicolai Hähnle <nhaehnle@...il.com>
     Cc: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
     Cc: Peter Zijlstra <peterz@...radead.org>
     Cc: Thomas Gleixner <tglx@...utronix.de>
     Link: http://lkml.kernel.org/r/20161201114711.28697-4-chris@chris-wilson.co.uk
     Signed-off-by: Ingo Molnar <mingo@...nel.org>

0186a6cbdc  locking/ww_mutex: Add ww_mutex to locktorture test
f2a5fec173  locking/ww_mutex: Begin kselftests for ww_mutex
+------------------------------------------------+------------+------------+
|                                                | 0186a6cbdc | f2a5fec173 |
+------------------------------------------------+------------+------------+
| boot_successes                                 | 1122       | 0          |
| boot_failures                                  | 0          | 243        |
| EIP:test_mutex_work                            | 0          | 97         |
| calltrace:do_softirq_own_stack                 | 0          | 123        |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 0          | 243        |
| EIP:mutex_trylock                              | 0          | 65         |
| EIP:__mutex_trylock                            | 0          | 81         |
+------------------------------------------------+------------+------------+

[    2.971622] spin_lock-torture: Creating lock_torture_stats task
[    2.971659] spin_lock-torture: lock_torture_writer task started
[    2.971801] spin_lock-torture: lock_torture_stats task started
[   28.709171] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kworker/0:1:18]
[   28.710974] irq event stamp: 25570
[   28.711660] hardirqs last  enabled at (25569): [<8148b70e>] restore_all+0xf/0x31
[   28.713123] hardirqs last disabled at (25570): [<8148bef0>] apic_timer_interrupt+0x30/0x40
[   28.714896] softirqs last  enabled at (19288): [<8103372b>] __do_softirq+0x187/0x1d3
[   28.716673] softirqs last disabled at (19279): [<81011d9f>] do_softirq_own_stack+0x1c/0x22
[   28.740997] CPU: 0 PID: 18 Comm: kworker/0:1 Not tainted 4.10.0-rc3-00151-gf2a5fec #180
[   28.751629] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[   28.761621] Workqueue: events test_mutex_work
[   28.762938] task: 95110480 task.stack: 9517e000
[   28.764313] EIP: __mutex_trylock+0x4/0xa3
[   28.765531] EFLAGS: 00200282 CPU: 0
[   28.766660] EAX: 95035e10 EBX: 95035df0 ECX: 00000006 EDX: 00000007
[   28.773223] ESI: 95035e10 EDI: 00000000 EBP: 9517feec ESP: 9517fee8
[   28.783901]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[   28.792941] CR0: 80050033 CR2: ffffffff CR3: 018cc000 CR4: 00000690
[   28.795138] Call Trace:
[   28.796037]  mutex_trylock+0xf/0x4c
[   28.797299]  test_mutex_work+0x31/0x56
[   28.798683]  process_one_work+0x1b4/0x2f9
[   28.803362]  ? process_one_work+0x131/0x2f9
[   28.813482]  worker_thread+0x1b0/0x27c
[   28.814741]  kthread+0xd1/0xd3
[   28.815825]  ? process_scheduled_works+0x24/0x24
[   28.825830]  ? __list_add+0x24/0x24
[   28.827000]  ret_from_fork+0x19/0x30
[   28.828106] Code: 5d c3 55 89 e5 5d c3 55 89 e5 50 9d 8d 74 26 00 5d c3 55 89 e5 9c 58 8d 74 26 00 89 c1 fa 90 8d 74 26 00 89 c8 5d c3 55 89 e5 57 <56> 89 c6 53 83 ec 18 8b 1e a1 8c 24 79 81 89 45 ec 89 45 f0 89
[   28.836822] Kernel panic - not syncing: softlockup: hung tasks
[   28.853271] CPU: 0 PID: 18 Comm: kworker/0:1 Tainted: G             L  4.10.0-rc3-00151-gf2a5fec #180
[   28.855588] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[   28.858154] Workqueue: events test_mutex_work
[   28.859405] Call Trace:
[   28.860089]  dump_stack+0x16/0x18
[   28.860968]  panic+0x96/0x1bc
[   28.861731]  watchdog_timer_fn+0x164/0x181
[   28.862709]  hrtimer_run_queues+0xeb/0x19f
[   28.885854]  ? __touch_watchdog+0x13/0x13
[   28.886984]  run_local_timers+0x8/0x37
[   28.888035]  update_process_times+0x17/0x37
[   28.889137]  tick_nohz_handler+0x83/0xca
[   28.890091]  local_apic_timer_interrupt+0x40/0x42
[   28.891195]  ? apic_eoi+0x16/0x18
[   28.891998]  smp_apic_timer_interrupt+0x1e/0x2c
[   28.893096]  apic_timer_interrupt+0x37/0x40
[   28.894169] EIP: __mutex_trylock+0x4/0xa3
[   28.895199] EFLAGS: 00200282 CPU: 0
[   28.917169] EAX: 95035e10 EBX: 95035df0 ECX: 00000006 EDX: 00000007
[   28.919045] ESI: 95035e10 EDI: 00000000 EBP: 9517feec ESP: 9517fee8
[   28.920713]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[   28.922030]  ? ctrl_fill_info+0x282/0x2a2
[   28.922972]  mutex_trylock+0xf/0x4c
[   28.923804]  test_mutex_work+0x31/0x56
[   28.924749]  process_one_work+0x1b4/0x2f9
[   28.925836]  ? process_one_work+0x131/0x2f9
[   28.941979]  worker_thread+0x1b0/0x27c
[   28.942940]  kthread+0xd1/0xd3
[   28.943683]  ? process_scheduled_works+0x24/0x24
[   28.944732]  ? __list_add+0x24/0x24
[   28.945566]  ret_from_fork+0x19/0x30
[   28.946427] Kernel Offset: disabled


git bisect start ea6926168c5152e8fa08c0aed9d56862dca26a7a c470abd4fde40ea6a0846a2beab642a578c0b8cd --
git bisect  bad a820a194201876a7c640df52a509771200264681  # 16:08     12-     18  Merge 'linux-review/John-Fastabend/XDP-for-ixgbe/20170226-013816' into devel-spot-201702260822
git bisect  bad 54bb68626669e22a37e078bb0ae872da4f36fb71  # 16:59     40-     48  Merge 'linux-review/Camelia-Moise/ASoC-mxs-saif-Removing-whitespace-before-a-pointer-and-its-name/20170226-055514' into devel-spot-201702260822
git bisect  bad ba634f0127be44174e10ce98786d0f7623760e1f  # 17:08     11-     12  Merge 'linux-review/Codrut-Grosu/ASoC-pxa-Remove-unneeded-else-after-return-statement/20170226-054452' into devel-spot-201702260822
git bisect  bad 59555b9d1fa29d457e6665908c32ed87bf7cb408  # 17:18     32-     42  Merge 'sound/topic/dollar-cove-ti' into devel-spot-201702260822
git bisect good 22104d2f4b0b2a07d92ca44ddaff5c1232a00b7e  # 17:36    132+      0  0day base guard for 'devel-spot-201702260822'
git bisect  bad 6ab597a0ad2eb771b52c7b9472fd52298bc502aa  # 17:48     17-     24  Merge 'hp-parisc/for-next' into devel-spot-201702260822
git bisect  bad 8ff546b801e5cca0337c0f0a7234795d0a6309a1  # 17:56     16-     18  Merge tag 'usb-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect  bad 4a0853bf88c8f56e1c01eda02e6625aed09d55d9  # 18:07      5-      8  Merge tag 'usercopy-v4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect  bad fd4a61e08aa79f2b7835b25c6f94f27bd2d65990  # 18:07      0-    162  sched/core: Fix build paravirt build on arm and arm64
git bisect good 828cad8ea05d194d8a9452e0793261c2024c23a2  # 18:22    139+      0  Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad f790bd9c8e826434ab6c326b225276ed0f73affe  # 18:22      0-    172  Merge tag 'regulator-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
git bisect  bad 937b5b5ddd2f685b4962ec19502e641bb5741c12  # 18:22      0-     92  Merge tag 'm68k-for-v4.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
git bisect  bad 8a9365a4725a4d6265a416dd63bff937e300308e  # 18:22      0-    228  Merge branch 'x86-cpufeature-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 85b36c931ff328297572a3e6136fac573795ad79  # 18:22      0-    233  jump_labels: Move header guard #endif down where it belongs
git bisect good 25f13b4040b68dfc5a2a22e7234894e718e3f4c5  # 18:29    140+      1  locking/ww_mutex: Re-check ww->ctx in the inner optimistic spin loop
git bisect  bad d1b42b800e5d09dcee52812b4396aca3a3696ba9  # 18:30      0-    243  locking/ww_mutex: Add kselftests for resolving ww_mutex cyclic deadlocks
git bisect good af2e859edd477fa1ea3d1d106f41a595cff3d162  # 18:36    140+      0  locking/ww_mutex: Fix compilation of __WW_MUTEX_INITIALIZER
git bisect  bad f2a5fec17395f259d54daa8833d81b00cceb15c3  # 18:36      0-    244  locking/ww_mutex: Begin kselftests for ww_mutex
git bisect good 0186a6cbdc6287fde65858e5d9c714dc167b8ace  # 18:42    134+      0  locking/ww_mutex: Add ww_mutex to locktorture test
# first bad commit: [f2a5fec17395f259d54daa8833d81b00cceb15c3] locking/ww_mutex: Begin kselftests for ww_mutex
git bisect good 0186a6cbdc6287fde65858e5d9c714dc167b8ace  # 18:57    395+      0  locking/ww_mutex: Add ww_mutex to locktorture test
# extra tests on HEAD of linux-devel/devel-spot-201702260822
git bisect  bad ea6926168c5152e8fa08c0aed9d56862dca26a7a  # 18:57      0-     21  0day head guard for 'devel-spot-201702260822'
# extra tests on tree/branch linus/master
git bisect  bad e5d56efc97f8240d0b5d66c03949382b6d7e5570  # 18:57      0-     12  Merge tag 'watchdog-for-linus-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
# extra tests on tree/branch linux-next/master
git bisect  bad ed7b11e565c736828f0b793f596a4ca20efee747  # 19:06      8-     13  Add linux-next specific files for 20170227

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-quantal-intel12-13:20170227112813:i386-randconfig-i1-201709:4.10.0-rc3-00151-gf2a5fec:180.gz" of type "application/gzip" (8583 bytes)

View attachment "reproduce-quantal-intel12-13:20170227112813:i386-randconfig-i1-201709:4.10.0-rc3-00151-gf2a5fec:180" of type "text/plain" (890 bytes)

View attachment "config-4.10.0-rc3-00151-gf2a5fec" of type "text/plain" (87197 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ