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:   Fri, 17 Feb 2017 17:48:23 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     Rob Herring <robh@...nel.org>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        linux-kernel@...r.kernel.org, LKP <lkp@...org>
Subject: [driver core] bea5b158ff WARNING: CPU: 0 PID: 1 at
 drivers/ata/libata-core.c:6482 ata_port_detach

Hi Rob,

We see this WARNING in both mainline and linux-next kernels.

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 | 8df5cf57b8 |
+----------------------------------------------------------------------------+------------+------------+------------+
| boot_successes                                                             | 63         | 0          | 0          |
| boot_failures                                                              | 0          | 22         | 67         |
| WARNING:at_drivers/ata/libata-core.c:#ata_port_detach                      | 0          | 22         | 67         |
| calltrace:piix_init                                                        | 0          | 22         |            |
| BUG:unable_to_handle_kernel                                                | 0          | 18         | 40         |
| Oops:#[##]                                                                 | 0          | 18         | 40         |
| RIP:ata_dev_next                                                           | 0          | 18         |            |
| calltrace:async_run_entry_fn                                               | 0          | 18         |            |
| Kernel_panic-not_syncing:Fatal_exception                                   | 0          | 18         | 47         |
| WARNING:at_drivers/gpu/drm/drm_mode_config.c:#drm_mode_config_cleanup[drm] | 0          | 0          | 7          |
| kernel_BUG_at_include/linux/mm.h                                           | 0          | 0          | 7          |
+----------------------------------------------------------------------------+------------+------------+------------+

[   11.449739] sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
[   11.490073] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   11.569086] ------------[ cut here ]------------
[   11.569955] WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:6482 ata_port_detach+0x5e/0xed
[   11.572803] Modules linked in:
[   11.573415] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-rc4-00003-gbea5b15 #1
[   11.574663]  ffffffff81b0f132 ffff88001d46bb68 ffffffff812dec12 ffff88001d46bbb8
[   11.579395]  ffffffff81050301 0000000000000000 000000091d464000 ffffffff81073c08
[   11.582269]  ffff88001f1e0000 0000000000000282 ffffffff81c8b810 0000000000000000
[   11.585116] Call Trace:
[   11.586307] ata2.01: NODEV after polling detection
[   11.586998] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[   11.587916] ata2.00: configured for MWDMA2
[   11.596069]  [<ffffffff812dec12>] dump_stack+0x19/0x1b
[   11.597928]  [<ffffffff81050301>] __warn+0xcb/0xe9
[   11.602263]  [<ffffffff81073c08>] ? woken_wake_function+0xe/0xe
[   11.604794]  [<ffffffff81050337>] warn_slowpath_null+0x18/0x1a
[   11.606826]  [<ffffffff8149d2b1>] ata_port_detach+0x5e/0xed
[   11.609136]  [<ffffffff8149d360>] ata_host_detach+0x20/0x34
[   11.613021]  [<ffffffff8149d398>] ata_pci_remove_one+0x10/0x12
[   11.614376]  [<ffffffff814b645e>] piix_remove_one+0x33/0x37
[   11.615381]  [<ffffffff8131fce2>] pci_device_remove+0x38/0x9b
[   11.616559]  [<ffffffff813ce095>] ? driver_sysfs_add+0x6e/0x94
[   11.617529]  [<ffffffff813ce34d>] really_probe+0x12f/0x2b1
[   11.618421]  [<ffffffff816c0ede>] ? _raw_spin_unlock_irq+0x2b/0x3d
[   11.619410]  [<ffffffff813d75b5>] ? pm_runtime_barrier+0x6e/0x9b
[   11.620630]  [<ffffffff813ce513>] driver_probe_device+0x44/0x72
[   11.621646]  [<ffffffff813ce5b2>] __driver_attach+0x71/0x97
[   11.623247]  [<ffffffff813ce541>] ? driver_probe_device+0x72/0x72
[   11.624535]  [<ffffffff813cc86a>] bus_for_each_dev+0x56/0x94
[   11.625458]  [<ffffffff813cdf8f>] driver_attach+0x19/0x1b
[   11.626337]  [<ffffffff813cd918>] bus_add_driver+0xeb/0x1e3
[   11.627238]  [<ffffffff813cea2d>] driver_register+0x89/0xc1
[   11.628697]  [<ffffffff8131fef0>] __pci_register_driver+0x63/0x6a
[   11.629742]  [<ffffffff81cfb79c>] ? pdc_sata_pci_driver_init+0x1b/0x1b
[   11.630876]  [<ffffffff81cfb7b5>] piix_init+0x19/0x29
[   11.631849]  [<ffffffff810003e5>] do_one_initcall+0x95/0x142
[   11.632850]  [<ffffffff81ccda00>] ? kernel_init_freeable+0xd5/0x1a4
[   11.634565]  [<ffffffff81ccd908>] do_basic_setup+0xa7/0xca
[   11.635555]  [<ffffffff81ccdacf>] ? kernel_init_freeable+0x1a4/0x1a4
[   11.636601]  [<ffffffff81ccda53>] kernel_init_freeable+0x128/0x1a4
[   11.638202]  [<ffffffff816b6227>] ? kernel_init+0x9/0xee
[   11.639167]  [<ffffffff816b6227>] kernel_init+0x9/0xee
[   11.640171]  [<ffffffff816c12ef>] ret_from_fork+0x1f/0x40
[   11.641451]  [<ffffffff816b621e>] ? rest_init+0x135/0x135
[   11.642858] ---[ end trace 4c76f43f7bd2e878 ]---
[   11.645100] ata2.00: disabled

git bisect start v4.9 v4.8 --
git bisect  bad 9fe68cad6e74967b88d0c6aeca7d9cd6b6e91942  # 13:46      0-     21  Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
git bisect  bad 5fa0eb0b4d4780fbd6d8a09850cc4fd539e9fe65  # 13:55      0-      9  Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad d8ea757b25ec82687c497fc90aa83f9bcea24b5b  # 14:03      0-      9  Merge tag 'xtensa-20161005' of git://github.com/jcmvbkbc/linux-xtensa
git bisect  bad e6445f52d9c8b0e6557a45fa7d0e8e088d430a8c  # 14:12      0-      9  Merge tag 'usb-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect good 1a4a2bc460721bc8f91e4c1294d39b38e5af132f  # 14:23     22+      0  Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 49deffe0b0e4c2030696c7a6fd680bacf4761069  # 14:34     21+      0  Merge tag 'arc-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
git bisect good 597f03f9d133e9837d00965016170271d4f87dcf  # 14:52     21+      0  Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 9929780e86854833e649b39b290b5fe921eb1701  # 15:01      0-      8  Merge tag 'driver-core-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
git bisect good 7a53eea1f7b527fd3b6d7ca992914840981afe99  # 15:12     22+      1  Merge tag 'char-misc-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect  bad 775115c06091fcfa1189a50aca488fa596839617  # 15:23      0-     21  drivers/base dmam_declare_coherent_memory leaks
git bisect  bad 426bc8e789f8ac84270b196191904d347586032f  # 15:31      0-     16  base: soc: make it explicitly non-modular
git bisect  bad bea5b158ff0da9c7246ff391f754f5f38e34577a  # 15:41      0-     18  driver core: add test of driver remove calls during probe
git bisect good cebf8fd16900fdfd58c0028617944f808f97fe50  # 15:55     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  # 15:58     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  # 16:08      0-     56  driver core: add test of driver remove calls during probe
# extra tests on HEAD of linux-devel/devel-spot-201702171112
git bisect  bad 8df5cf57b86922284a2b433abdc853bd4812ca88  # 16:08      0-     67  0day head guard for 'devel-spot-201702171112'
# extra tests on tree/branch linus/master
git bisect  bad 0722f57bfae9abbc673b9dbe495c7da2f64676ea  # 16:17      0-     49  Merge tag 'drm-fixes-for-v4.10-final' of git://people.freedesktop.org/~airlied/linux
# extra tests on tree/branch linus/master
git bisect  bad 0722f57bfae9abbc673b9dbe495c7da2f64676ea  # 16:17      0-     50  Merge tag 'drm-fixes-for-v4.10-final' of git://people.freedesktop.org/~airlied/linux
# extra tests on tree/branch linux-next/master
git bisect  bad 38161d2f17e3f071418b1562e1bc57ad004d1244  # 16:27      0-     35  Add linux-next specific files for 20170216


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

Download attachment "dmesg-quantal-ivb41-140:20170217154103:x86_64-randconfig-s2-02171150:4.8.0-rc4-00003-gbea5b15:1.gz" of type "application/gzip" (13158 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ