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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 22 Dec 2016 11:42:10 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     Rob Herring <robh@...nel.org>, linux-ide@...r.kernel.org
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        linux-kernel@...r.kernel.org, LKP <lkp@...org>
Subject: [ata] bea5b158ff WARNING: CPU: 0 PID: 1 at
 drivers/ata/libata-core.c:6482 ata_port_detach

Greetings,

Here is an libata WARNING triggered by Rob's test patch.

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

commit bea5b158ff0da9c7246ff391f754f5f38e34577a
Author:     Rob Herring <robh@...nel.org>
AuthorDate: Thu Aug 11 10:20:58 2016 -0500
Commit:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CommitDate: Wed Aug 31 15:13:55 2016 +0200

     driver core: add test of driver remove calls during probe
     
     In recent discussions on ksummit-discuss[1], it was suggested to do a
     sequence of probe, remove, probe for testing driver remove paths. This
     adds a kconfig option for said test.
     
     [1] https://lists.linuxfoundation.org/pipermail/ksummit-discuss/2016-August/003459.html
     
     Suggested-by: Arnd Bergmann <arnd@...db.de>
     Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
     Signed-off-by: Rob Herring <robh@...nel.org>
     Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

+-------------------------------------------------------+------------+------------+------------+
|                                                       | cebf8fd169 | bea5b158ff | e575a3b48c |
+-------------------------------------------------------+------------+------------+------------+
| boot_successes                                        | 63         | 0          | 0          |
| boot_failures                                         | 0          | 22         | 13         |
| WARNING:at_drivers/ata/libata-core.c:#ata_port_detach | 0          | 21         | 13         |
| calltrace:piix_init                                   | 0          | 21         |            |
| calltrace:async_run_entry_fn                          | 0          | 22         |            |
| WARNING:at_include/linux/kref.h:#kobject_get          | 0          | 22         | 13         |
| WARNING:at_fs/sysfs/group.c:#sysfs_remove_group       | 0          | 16         | 9          |
| general_protection_fault:#[##]DEBUG_PAGEALLOC         | 0          | 21         | 13         |
| RIP:kstrdup                                           | 0          | 17         |            |
| Kernel_panic-not_syncing:Fatal_exception              | 0          | 21         | 13         |
| RIP:vsnprintf                                         | 0          | 4          |            |
| calltrace:i8042_init                                  | 0          | 1          |            |
| calltrace:serio_handle_event                          | 0          | 1          |            |
| BUG:unable_to_handle_kernel                           | 0          | 0          | 2          |
| Oops                                                  | 0          | 0          | 2          |
+-------------------------------------------------------+------------+------------+------------+

[   10.651919] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc208 irq 15
[   10.816182] ata2.01: NODEV after polling detection
[   10.817008] ------------[ cut here ]------------
[   10.818022] WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:6482 ata_port_detach+0x87/0x127
[   10.819174] Modules linked in:
[   10.819531] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-rc4-00003-gbea5b15 #1
[   10.820322] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[   10.821417]  ffffffff820ccb54 ffff88001ccdfb78 ffffffff813e8456 ffff88001ccdfbc8
[   10.822264]  ffffffff810a2873 0000000000000000 000000091e3ea5c0 ffffffff810cf5c4
[   10.823128]  ffff880015c20000 0000000000000001 ffff88001cd11000 ffff88001cd113a0
[   10.823977] Call Trace:
[   10.824251]  [<ffffffff813e8456>] dump_stack+0x19/0x1b
[   10.824811]  [<ffffffff810a2873>] __warn+0xd5/0xf3
[   10.825330]  [<ffffffff810cf5c4>] ? woken_wake_function+0x13/0x13
[   10.825992]  [<ffffffff810a28ae>] warn_slowpath_null+0x1d/0x1f
[   10.826628]  [<ffffffff81732a2d>] ata_port_detach+0x87/0x127
[   10.827240]  [<ffffffff81732af2>] ata_host_detach+0x25/0x31
[   10.827848]  [<ffffffff81732b2c>] ata_pci_remove_one+0x15/0x17
[   10.828476]  [<ffffffff8174ba90>] piix_remove_one+0x38/0x3c
[   10.829075]  [<ffffffff8144528f>] pci_device_remove+0x4e/0xf7
[   10.829700]  [<ffffffff815f732f>] really_probe+0x170/0x2fa
[   10.830294]  [<ffffffff810d81ae>] ? trace_hardirqs_on+0xd/0xf
[   10.830920]  [<ffffffff815f7502>] driver_probe_device+0x49/0x77
[   10.831561]  [<ffffffff815f75a6>] __driver_attach+0x76/0x9c
[   10.832161]  [<ffffffff815f7530>] ? driver_probe_device+0x77/0x77
[   10.832819]  [<ffffffff815f7530>] ? driver_probe_device+0x77/0x77
[   10.833477]  [<ffffffff815f56a8>] bus_for_each_dev+0x5b/0x99
[   10.834085]  [<ffffffff815f6f02>] driver_attach+0x1e/0x20
[   10.834672]  [<ffffffff815f67f4>] bus_add_driver+0xf0/0x1e8
[   10.835275]  [<ffffffff815f7e98>] driver_register+0xad/0xe5
[   10.835894]  [<ffffffff814454f7>] __pci_register_driver+0x68/0x6f
[   10.836557]  [<ffffffff8263893f>] ? nvme_core_init+0x88/0x88
[   10.837167]  [<ffffffff82639647>] ? inic_pci_driver_init+0x1b/0x1b
[   10.837833]  [<ffffffff82639660>] piix_init+0x19/0x29
[   10.838380]  [<ffffffff810003e4>] do_one_initcall+0x8b/0x150
[   10.838994]  [<ffffffff825ed96c>] do_basic_setup+0xa2/0xc5
[   10.839587]  [<ffffffff825eda7b>] ? kernel_init_freeable+0xec/0xec
[   10.840253]  [<ffffffff825eda06>] kernel_init_freeable+0x77/0xec
[   10.840906]  [<ffffffff81a074a1>] kernel_init+0xe/0xf3
[   10.841465]  [<ffffffff81a0eb6f>] ret_from_fork+0x1f/0x40
[   10.842051]  [<ffffffff81a07493>] ? rest_init+0x13a/0x13a
[   10.842641] ---[ end trace b67e72a9ee09950c ]---
[   10.843181] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100

git bisect start v4.9 v4.8 --
git bisect  bad 9fe68cad6e74967b88d0c6aeca7d9cd6b6e91942  # 00:16      0-     22  Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
git bisect  bad 5fa0eb0b4d4780fbd6d8a09850cc4fd539e9fe65  # 00:26      0-     22  Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 597f03f9d133e9837d00965016170271d4f87dcf  # 00:50     22+      0  Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 0fb3ca447ddabcfb8dc7e0f719955e500b170cbd  # 01:01      0-     22  Merge tag 'pstore-v4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect  bad 3ddf40e8c31964b744ff10abb48c8e36a83ec6e7  # 01:11      0-     20  mm: filemap: fix mapping->nrpages double accounting in fuse
git bisect  bad 58e4411b2d05bea9992fd8ee510f696b73d314c1  # 01:23      0-     21  Merge tag 'spi-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
git bisect  bad 21f54ddae449f4bdd9f1498124901d67202243d9  # 01:32      0-     22  Using BUG_ON() as an assert() is _never_ acceptable
git bisect  bad 9929780e86854833e649b39b290b5fe921eb1701  # 01:47      0-     19  Merge tag 'driver-core-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
git bisect good 7a53eea1f7b527fd3b6d7ca992914840981afe99  # 01:59     22+      0  Merge tag 'char-misc-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect  bad 775115c06091fcfa1189a50aca488fa596839617  # 02:16      0-     20  drivers/base dmam_declare_coherent_memory leaks
git bisect  bad 426bc8e789f8ac84270b196191904d347586032f  # 02:29      0-     22  base: soc: make it explicitly non-modular
git bisect  bad bea5b158ff0da9c7246ff391f754f5f38e34577a  # 02:42      0-     21  driver core: add test of driver remove calls during probe
git bisect good cebf8fd16900fdfd58c0028617944f808f97fe50  # 02:53     22+      0  driver core: fix race between creating/querying glue dir and its cleanup
# first bad commit: [bea5b158ff0da9c7246ff391f754f5f38e34577a] driver core: add test of driver remove calls during probe
git bisect good cebf8fd16900fdfd58c0028617944f808f97fe50  # 02:56     63+      0  driver core: fix race between creating/querying glue dir and its cleanup
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad bea5b158ff0da9c7246ff391f754f5f38e34577a  # 03:09      0-     43  driver core: add test of driver remove calls during probe
# extra tests on HEAD of linux-devel/devel-spot-201612161945
git bisect  bad e575a3b48c3717463fd4fd670b409f1d17de6fa3  # 03:09      0-     13  0day head guard for 'devel-spot-201612161945'
# extra tests on tree/branch linus/master
git bisect  bad bd9999cd6a5eb899504ce14c1f70c5479143bbbc  # 03:27      0-     57  Merge tag 'media/v4.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
# extra tests on tree/branch linus/master
git bisect  bad bd9999cd6a5eb899504ce14c1f70c5479143bbbc  # 03:28      0-     66  Merge tag 'media/v4.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
# extra tests on tree/branch linux-next/master
git bisect  bad bf579a3afa46c74b7e89930974ba119d4c76bab2  # 03:39      0-     33  Add linux-next specific files for 20161216


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

Download attachment "dmesg-quantal-vp-53:20161217024149:x86_64-randconfig-a0-12162147:4.8.0-rc4-00003-gbea5b15:1.gz" of type "application/gzip" (15066 bytes)

View attachment "config-4.8.0-rc4-00003-gbea5b15" of type "text/plain" (114095 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ