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:   Mon, 15 Oct 2018 11:25:09 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Bart Van Assche <bvanassche@....org>
Cc:     Lee Duncan <lduncan@...e.com>, Hannes Reinecke <hare@...e.com>,
        "Luis R. Rodriguez" <mcgrof@...e.com>,
        Johannes Thumshirn <jthumshirn@...e.de>,
        Christoph Hellwig <hch@....de>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Dan Williams <dan.j.williams@...el.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Bart Van Assche <bart.vanassche@...disk.com>, lkp@...org
Subject: [LKP] [sd] 7618616fcd:
 WARNING:at_drivers/scsi/scsi_lib.c:#scsi_device_quiesce

FYI, we noticed the following commit (built with gcc-7):

commit: 7618616fcdf8a5de9f3dc45fc6281ebd0663bd8a ("sd: Rely on the driver core for asynchronous probing")
https://github.com/bvanassche/linux for-next

in testcase: suspend_stress
with following parameters:

	mode: mem
	iterations: 10



on test machine: 4 threads Skylake with 4G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+-----------------------------------------------------------------+-----------+------------+
|                                                                 | v4.19-rc6 | 7618616fcd |
+-----------------------------------------------------------------+-----------+------------+
| boot_successes                                                  | 383       | 2          |
| boot_failures                                                   | 9         |            |
| WARNING:stack_recursion                                         | 2         |            |
| WARNING:at#for_ip_swapgs_restore_regs_and_return_to_usermode/0x | 2         |            |
| WARNING:at_ip_fsnotify/0x                                       | 1         |            |
| BUG:kernel_in_stage                                             | 1         |            |
| End_of_test:RCU_HOTPLUG                                         | 6         |            |
+-----------------------------------------------------------------+-----------+------------+



kern  :warn  : [   39.706677] WARNING: CPU: 0 PID: 507 at drivers/scsi/scsi_lib.c:3047 scsi_device_quiesce+0x2c/0xa0
kern  :info  : [   39.707819] input input13: calling input_dev_suspend+0x0/0x60 @ 471, parent: card0
kern  :warn  : [   39.709155] Modules linked in: sd_mod sg snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_rapl x86_pkg_temp_thermal
kern  :info  : [   39.710344] input input13: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.710344]  intel_powerclamp coretemp
kern  :info  : [   39.711792] input input12: calling input_dev_suspend+0x0/0x60 @ 471, parent: card0
kern  :warn  : [   39.712980]  kvm_intel snd_hda_intel kvm irqbypass snd_hda_codec
kern  :info  : [   39.713992] input input12: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.715209]  crct10dif_pclmul snd_hda_core crc32_pclmul crc32c_intel snd_hwdep
kern  :info  : [   39.716346] input input11: calling input_dev_suspend+0x0/0x60 @ 471, parent: card0
kern  :warn  : [   39.717537]  ghash_clmulni_intel snd_pcm pcbc aesni_intel crypto_simd
kern  :info  : [   39.718738] input input11: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.719956]  cryptd glue_helper pcspkr snd_timer sdhci_pci snd
kern  :info  : [   39.721127] input input10: calling input_dev_suspend+0x0/0x60 @ 471, parent: card0
kern  :warn  : [   39.722332]  cqhci soundcore i915 sdhci ahci
kern  :info  : [   39.723478] input input10: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.724690]  libahci mmc_core drm_kms_helper syscopyarea sysfillrect sysimgblt
kern  :info  : [   39.725752] input input9: calling input_dev_suspend+0x0/0x60 @ 471, parent: card0
kern  :warn  : [   39.726963]  libata fb_sys_fops ir_rc6_decoder intel_pch_thermal drm
kern  :info  : [   39.728181] input input9: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.729406]  rc_rc6_mce ite_cir rc_core video acpi_pad pcc_cpufreq
kern  :info  : [   39.730566] input input8: calling input_dev_suspend+0x0/0x60 @ 471, parent: card0
kern  :warn  : [   39.731772]  ip_tables
kern  :warn  : [   39.731774] CPU: 0 PID: 507 Comm: kworker/u8:8 Not tainted 4.19.0-rc6-00001-g7618616f #1
kern  :warn  : [   39.731776] Hardware name:  /NUC6i5SYB, BIOS SYSKLi35.86A.0060.2017.0414.1652 04/14/2017
kern  :info  : [   39.732952] input input8: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.734189] Workqueue: events_unbound async_run_entry_fn
kern  :info  : [   39.735167] input input7: calling input_dev_suspend+0x0/0x60 @ 471, parent: LNXVIDEO:00
kern  :info  : [   39.735175] snd_hda_codec_hdmi hdaudioC0D2: calling pm_runtime_force_suspend+0x0/0xe0 @ 511, parent: 0000:00:1f.3
kern  :info  : [   39.735178] snd_hda_codec_realtek hdaudioC0D0: calling pm_runtime_force_suspend+0x0/0xe0 @ 7, parent: 0000:00:1f.3
kern  :info  : [   39.735180] snd_hda_codec_hdmi hdaudioC0D2: pm_runtime_force_suspend+0x0/0xe0 returned 0 after 0 usecs
kern  :warn  : [   39.736518] RIP: 0010:scsi_device_quiesce+0x2c/0xa0
kern  :warn  : [   39.736519] Code: 44 00 00 41 55 41 54 55 53 48 89 fb 48 8b 87 c8 07 00 00 48 8b 6f 08 48 85 c0 74 10 65 48 8b 14 25 40 5c 01 00 48 39 d0 74 02 <0f> 0b 48 89 ef 4c 8d ab a0 07 00 00 e8 a3 5a e0 ff 48 89 ef e8 cb
kern  :info  : [   39.737809] input input7: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.739040] RSP: 0018:ffffc900010b7d88 EFLAGS: 00010206
kern  :warn  : [   39.739041] RAX: ffff8801380d4d80 RBX: ffff8801353f7800 RCX: 0000000000000018
kern  :warn  : [   39.739043] RDX: ffff880137ff26c0 RSI: ffffffff81659960 RDI: ffff8801353f7800
kern  :info  : [   39.740192] coretemp coretemp.0: calling platform_pm_suspend+0x0/0x50 @ 471, parent: platform
kern  :warn  : [   39.741454] RBP: ffff880130558000 R08: 0000000000000000 R09: 0000000000aaaaaa
kern  :warn  : [   39.741455] R10: 0000000000000010 R11: 00000000ffffffff R12: ffff8801353f7800
kern  :warn  : [   39.741456] R13: ffffffffa03cd2a0 R14: 0000000000000002 R15: ffffffff82342cab
kern  :warn  : [   39.741457] FS:  0000000000000000(0000) GS:ffff88017e800000(0000) knlGS:0000000000000000
kern  :info  : [   39.742879] coretemp coretemp.0: platform_pm_suspend+0x0/0x50 returned 0 after 0 usecs
kern  :warn  : [   39.744305] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [   39.744306] CR2: 0000000001a4a409 CR3: 000000000260a006 CR4: 00000000003606f0
kern  :warn  : [   39.744307] Call Trace:
kern  :info  : [   39.745698] leds mmc0::: calling led_suspend+0x0/0x30 @ 471, parent: 0000:00:1e.6
kern  :warn  : [   39.746885]  ? scsi_print_result+0x250/0x250
kern  :warn  : [   39.746888]  scsi_bus_suspend_common+0x49/0xb0
kern  :info  : [   39.746985] snd_hda_codec_realtek hdaudioC0D0: pm_runtime_force_suspend+0x0/0xe0 returned 0 after 11526 usecs
kern  :info  : [   39.748829] leds mmc0::: led_suspend+0x0/0x30 returned 0 after 0 usecs
kern  :warn  : [   39.750168]  ? ktime_get+0x3e/0xa0
kern  :warn  : [   39.750170]  ? scsi_bus_freeze+0x20/0x20
kern  :info  : [   39.751425] input input6: calling input_dev_suspend+0x0/0x60 @ 471, parent: pcspkr
kern  :warn  : [   39.752764]  dpm_run_callback+0x4e/0x180
kern  :warn  : [   39.752766]  __device_suspend+0xf1/0x460
kern  :info  : [   39.754112] input input6: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.755538]  async_suspend+0x1a/0x90
kern  :warn  : [   39.755541]  async_run_entry_fn+0x39/0x160
kern  :info  : [   39.756916] input input5: calling input_dev_suspend+0x0/0x60 @ 471, parent: rc0
kern  :warn  : [   39.758275]  process_one_work+0x19c/0x3b0
kern  :warn  : [   39.758277]  worker_thread+0x3c/0x3b0
kern  :info  : [   39.759686] input input5: input_dev_suspend+0x0/0x60 returned 0 after 0 usecs
kern  :warn  : [   39.761138]  ? process_one_work+0x3b0/0x3b0
kern  :warn  : [   39.761140]  kthread+0x11e/0x140
kern  :info  : [   39.762622] input input4: calling input_dev_suspend+0x0/0x60 @ 471, parent: 0003:14DD:1005.0001
kern  :info  : [   39.762633] usb 1-7: calling usb_dev_suspend+0x0/0x10 @ 519, parent: usb1
kern  :info  : [   39.762636] usb 1-7: usb_dev_suspend+0x0/0x10 returned 0 after 1 usecs
kern  :warn  : [   39.763984]  ? kthread_associate_blkcg+0xb0/0xb0
kern  :warn  : [   39.763987]  ret_from_fork+0x35/0x40
kern  :warn  : [   39.763989] ---[ end trace 584e64f738d4cc70 ]---


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Rong Chen

View attachment "config-4.19.0-rc6-00001-g7618616f" of type "text/plain" (167709 bytes)

View attachment "job-script" of type "text/plain" (4571 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (66220 bytes)

View attachment "suspend_stress" of type "text/plain" (3978 bytes)

View attachment "job.yaml" of type "text/plain" (3759 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ