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:   Wed, 1 Nov 2017 04:39:26 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Bart Van Assche <bart.vanassche@....com>
Cc:     Oleksandr Natalenko <oleksandr@...alenko.name>,
        Martin Steigerwald <martin@...htvoll.de>,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        Ming Lei <ming.lei@...hat.com>, Christoph Hellwig <hch@....de>,
        Hannes Reinecke <hare@...e.com>,
        Johannes Thumshirn <jthumshirn@...e.de>,
        LKML <linux-kernel@...r.kernel.org>,
        Bart Van Assche <bart.vanassche@...disk.com>, lkp@...org
Subject: [block, scsi]  69a596374a:
 WARNING:at_block/blk-core.c:#blk_queue_enter


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

commit: 69a596374af1dc42879da03cacf4784e20634d50 ("block, scsi: Make SCSI quiesce and resume work reliably")
https://github.com/bvanassche/linux blk-mq-pm-2017-10-18-v10

in testcase: suspend
with following parameters:

	runtime: 300s
	iterations: 10x
	presync: presync
	mode: freeze



on test machine: 4 threads Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G memory

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


+----------------+------------+------------+
|                | f99d352222 | 69a596374a |
+----------------+------------+------------+
| boot_successes | 4          | 4          |
+----------------+------------+------------+



kern  :warn  : [  160.136228] WARNING: CPU: 1 PID: 4065 at block/blk-core.c:823 blk_queue_enter+0x26b/0x290
kern  :warn  : [  160.137154] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole sr_mod sd_mod cdrom sg snd_hda_codec_idt snd_hda_codec_generic intel_rapl x86_pkg_temp_thermal snd_hda_intel snd_hda_codec intel_powerclamp coretemp snd_hda_core kvm irqbypass crct10dif_pclmul snd_hwdep crc32_pclmul crc32c_intel ahci libahci ghash_clmulni_intel cryptd pcspkr i915 libata snd_pcm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm snd_timer snd soundcore shpchp video ip_tables
kern  :warn  : [  160.141062] CPU: 1 PID: 4065 Comm: sync Not tainted 4.14.0-rc3-00171-g69a5963 #1
kern  :warn  : [  160.142008] Hardware name: Hewlett-Packard p6-1451cx/2ADA, BIOS 8.15 02/05/2013
kern  :warn  : [  160.142936] task: ffff8801dbfc2680 task.stack: ffffc90001b28000
kern  :warn  : [  160.143825] RIP: 0010:blk_queue_enter+0x26b/0x290
kern  :warn  : [  160.144702] RSP: 0018:ffffc90001b2bd40 EFLAGS: 00010286
kern  :warn  : [  160.145557] RAX: 0000000000000042 RBX: ffff8801d9028000 RCX: 0000000000000000
kern  :warn  : [  160.146432] RDX: ffff880212e96180 RSI: ffff880212e8e018 RDI: ffff880212e8e018
kern  :warn  : [  160.147320] RBP: ffffc90001b2bd90 R08: 0000000000000000 R09: 0000000000000b6a
kern  :warn  : [  160.148186] R10: ffff880212943068 R11: 0000000000000001 R12: ffff8801d9028770
kern  :warn  : [  160.149033] R13: 0000000000000000 R14: ffff8801d9028788 R15: 0000000000000000
kern  :warn  : [  160.149869] FS:  00007f7d8dd95700(0000) GS:ffff880212e80000(0000) knlGS:0000000000000000
kern  :warn  : [  160.150708] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [  160.151516] CR2: 00007f7d8d8a9290 CR3: 00000001dbfa9001 CR4: 00000000001606e0
kern  :warn  : [  160.152364] Call Trace:
kern  :warn  : [  160.153154]  generic_make_request+0xc6/0x2d0
kern  :warn  : [  160.153981]  ? mempool_alloc_slab+0x15/0x20
kern  :warn  : [  160.154811]  submit_bio+0x64/0x120
kern  :warn  : [  160.155632]  ? submit_bio+0x64/0x120
kern  :warn  : [  160.156458]  submit_bio_wait+0x51/0x70
kern  :warn  : [  160.157295]  blkdev_issue_flush+0x6d/0xa0
kern  :warn  : [  160.158148]  ext4_sync_fs+0x147/0x1d0
kern  :warn  : [  160.158997]  sync_fs_one_sb+0x20/0x30
kern  :warn  : [  160.159857]  iterate_supers+0xc3/0x120
kern  :warn  : [  160.160722]  ? do_fsync+0x70/0x70
kern  :warn  : [  160.161583]  sys_sync+0x53/0x90
kern  :warn  : [  160.162442]  entry_SYSCALL_64_fastpath+0x1a/0xa5
kern  :warn  : [  160.163337] RIP: 0033:0x7f7d8d8b9067
kern  :warn  : [  160.164223] RSP: 002b:00007ffffe777fe8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a2
kern  :warn  : [  160.165192] RAX: ffffffffffffffda RBX: 00007ffffe778118 RCX: 00007f7d8d8b9067
kern  :warn  : [  160.166173] RDX: 00007f7d8db76ea0 RSI: 0000000000000000 RDI: 00007f7d8d93df86
kern  :warn  : [  160.167164] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
kern  :warn  : [  160.168164] R10: 000000000000081b R11: 0000000000000206 R12: 0000000000000000
kern  :warn  : [  160.169170] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
kern  :warn  : [  160.170176] Code: 7e 84 d2 0f 84 5c fe ff ff e9 0e fe ff ff 48 8b 83 e0 01 00 00 48 c7 c7 a8 ee cd 81 c6 05 47 e2 c2 00 01 48 8b 30 e8 36 33 cf ff <0f> ff 65 ff 0d bc fb c1 7e e9 33 fe ff ff 65 ff 0d b0 fb c1 7e 
kern  :warn  : [  160.172394] ---[ end trace 5ca38e8674c6f650 ]---


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,
lkp

View attachment "config-4.14.0-rc3-00171-g69a5963" of type "text/plain" (163211 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ