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, 28 Apr 2017 05:04:40 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Josef Bacik <josef@...icpanda.com>
Cc:     LKP <lkp@...org>, linux-kernel@...r.kernel.org,
        nbd-general@...ts.sourceforge.net, linux-block@...r.kernel.org,
        Jens Axboe <axboe@...nel.dk>, wfg@...ux.intel.com
Subject: [nbd] 5ea8d10802:  kernel BUG at block/blk-mq.c:397!

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-4.12/post-merge

commit 5ea8d10802ec4c153a6e21eebaf412e2abd29736
Author:     Josef Bacik <josef@...icpanda.com>
AuthorDate: Thu Apr 6 17:01:58 2017 -0400
Commit:     Jens Axboe <axboe@...com>
CommitDate: Mon Apr 17 09:58:42 2017 -0600

    nbd: separate out the config information
    
    In order to properly refcount the various aspects of a NBD device we
    need to separate out the configuration elements of the nbd device.  The
    configuration of a NBD device has a different lifetime from the actual
    device, so it doesn't make sense to bundle these two concepts.  Add a
    config_refs to keep track of the configuration structure, that way we
    can be sure that we never access it when we've torn down the device.
    Add a new nbd_config structure to hold all of the transient
    configuration information.  Finally create this when we open the device
    so that it is in place when we start to configure the device.  This has
    a nice side-effect of fixing a long standing problem where you could end
    up with a half-configured nbd device that needed to be "disconnected" in
    order to be usable again.  Now once we close our device the
    configuration will be discarded.
    
    Signed-off-by: Josef Bacik <jbacik@...com>
    Signed-off-by: Jens Axboe <axboe@...com>

f3733247ae  nbd: handle single path failures gracefully
5ea8d10802  nbd: separate out the config information
b06e13c38d  Merge branch 'nvme-4.12' of git://git.infradead.org/nvme into for-4.12/post-merge
3dcee15bbb  Add linux-next specific files for 20170427
+------------------------------------------+------------+------------+------------+---------------+
|                                          | f3733247ae | 5ea8d10802 | b06e13c38d | next-20170427 |
+------------------------------------------+------------+------------+------------+---------------+
| boot_successes                           | 37         | 0          | 0          | 7             |
| boot_failures                            | 0          | 12         | 1          | 12            |
| kernel_BUG_at_block/blk-mq.c             | 0          | 12         | 1          | 12            |
| invalid_opcode:#[##]                     | 0          | 12         | 1          | 12            |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 12         | 1          | 12            |
+------------------------------------------+------------+------------+------------+---------------+

[    4.987801]   sector 1, nr/cnr 1/2
[    4.987803]   bio ffff88000d922cc0, biotail ffff88000d922cc0, len 512
[    4.987803]   bio ffff88000d922cc0, biotail ffff88000d922cc0, len 512
[    4.987819] ------------[ cut here ]------------
[    4.987819] ------------[ cut here ]------------
[    4.987821] kernel BUG at block/blk-mq.c:397!
[    4.987821] kernel BUG at block/blk-mq.c:397!
[    4.987824] invalid opcode: 0000 [#1] PREEMPT SMP
[    4.987824] invalid opcode: 0000 [#1] PREEMPT SMP
[    4.987825] Modules linked in:
[    4.987825] Modules linked in:
[    4.987830] CPU: 0 PID: 660 Comm: kworker/0:1H Not tainted 4.11.0-rc4-00264-g5ea8d10 #2
[    4.987830] CPU: 0 PID: 660 Comm: kworker/0:1H Not tainted 4.11.0-rc4-00264-g5ea8d10 #2
[    4.987832] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    4.987832] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    4.987838] Workqueue: kblockd blk_mq_run_work_fn
[    4.987838] Workqueue: kblockd blk_mq_run_work_fn
[    4.987841] task: ffff88000df57040 task.stack: ffff88000daac000
[    4.987841] task: ffff88000df57040 task.stack: ffff88000daac000
[    4.987846] RIP: 0010:blk_mq_end_request+0x2d/0x50
[    4.987846] RIP: 0010:blk_mq_end_request+0x2d/0x50
[    4.987847] RSP: 0018:ffff88000daafa10 EFLAGS: 00010202
[    4.987847] RSP: 0018:ffff88000daafa10 EFLAGS: 00010202
[    4.987850] RAX: 0000000000000001 RBX: ffff88000fcda500 RCX: 0000000000000002
[    4.987850] RAX: 0000000000000001 RBX: ffff88000fcda500 RCX: 0000000000000002
[    4.987851] RDX: 0000000000000001 RSI: 000000000000004a RDI: ffff88000d922cc0
[    4.987851] RDX: 0000000000000001 RSI: 000000000000004a RDI: ffff88000d922cc0
[    4.987853] RBP: ffff88000daafa20 R08: ffff88000d922d40 R09: 0000000000000002
[    4.987853] RBP: ffff88000daafa20 R08: ffff88000d922d40 R09: 0000000000000002
[    4.987854] R10: 0000000000000400 R11: 0000000000000001 R12: 00000000fffffffb
[    4.987854] R10: 0000000000000400 R11: 0000000000000001 R12: 00000000fffffffb
[    4.987856] R13: 0000000000000000 R14: ffff88000fcce2b8 R15: 0000000000000002
[    4.987856] R13: 0000000000000000 R14: ffff88000fcce2b8 R15: 0000000000000002
[    4.987858] FS:  0000000000000000(0000) GS:ffff880013200000(0000) knlGS:0000000000000000
[    4.987858] FS:  0000000000000000(0000) GS:ffff880013200000(0000) knlGS:0000000000000000
[    4.987860] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.987860] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.987862] CR2: 0000000000691328 CR3: 000000000d8f5000 CR4: 00000000000406f0
[    4.987862] CR2: 0000000000691328 CR3: 000000000d8f5000 CR4: 00000000000406f0
[    4.987866] Call Trace:
[    4.987866] Call Trace:
[    4.987870]  blk_mq_dispatch_rq_list+0x4a8/0x5d0
[    4.987870]  blk_mq_dispatch_rq_list+0x4a8/0x5d0
[    4.987877]  ? preempt_count_sub+0x128/0x2b0
[    4.987877]  ? preempt_count_sub+0x128/0x2b0
[    4.987891]  ? _raw_spin_unlock+0x4d/0x70
[    4.987891]  ? _raw_spin_unlock+0x4d/0x70
[    4.987895]  ? _find_next_bit+0x3a/0xe0
[    4.987895]  ? _find_next_bit+0x3a/0xe0
[    4.987899]  ? find_next_bit+0xb/0x10
[    4.987899]  ? find_next_bit+0xb/0x10
[    4.987904]  blk_mq_sched_dispatch_requests+0x29b/0x2a0
[    4.987904]  blk_mq_sched_dispatch_requests+0x29b/0x2a0
[    4.987908]  ? _raw_spin_unlock_irq+0x54/0x80
[    4.987908]  ? _raw_spin_unlock_irq+0x54/0x80
[    4.987912]  ? check_preemption_disabled+0x51/0x1a0
[    4.987912]  ? check_preemption_disabled+0x51/0x1a0
[    4.987915]  ? __blk_mq_run_hw_queue+0xe3/0x1b0
[    4.987915]  ? __blk_mq_run_hw_queue+0xe3/0x1b0
[    4.987919]  __blk_mq_run_hw_queue+0x133/0x1b0
[    4.987919]  __blk_mq_run_hw_queue+0x133/0x1b0
[    4.987922]  blk_mq_run_work_fn+0x12/0x20
[    4.987922]  blk_mq_run_work_fn+0x12/0x20
[    4.987926]  process_one_work+0x342/0x9d0
[    4.987926]  process_one_work+0x342/0x9d0
[    4.987931]  ? update_load_avg+0x16a/0x660
[    4.987931]  ? update_load_avg+0x16a/0x660
[    4.987935]  ? worker_thread+0x394/0xa90
[    4.987935]  ? worker_thread+0x394/0xa90
[    4.987939]  ? preempt_count_add+0xc4/0x1e0
[    4.987939]  ? preempt_count_add+0xc4/0x1e0
[    4.987942]  worker_thread+0x23a/0xa90
[    4.987942]  worker_thread+0x23a/0xa90
[    4.987947]  ? __schedule+0x515/0xff0
[    4.987947]  ? __schedule+0x515/0xff0
[    4.987951]  ? schedule+0x58/0x110
[    4.987951]  ? schedule+0x58/0x110
[    4.987953]  ? workqueue_prepare_cpu+0xd0/0xd0
[    4.987953]  ? workqueue_prepare_cpu+0xd0/0xd0
[    4.987957]  ? preempt_count_sub+0x128/0x2b0
[    4.987957]  ? preempt_count_sub+0x128/0x2b0
[    4.987960]  ? schedule+0x75/0x110
[    4.987960]  ? schedule+0x75/0x110
[    4.987962]  ? workqueue_prepare_cpu+0xd0/0xd0
[    4.987962]  ? workqueue_prepare_cpu+0xd0/0xd0
[    4.987966]  kthread+0x185/0x190
[    4.987966]  kthread+0x185/0x190
[    4.987970]  ? kthreadd+0x200/0x200
[    4.987970]  ? kthreadd+0x200/0x200
[    4.987973]  ? call_usermodehelper_exec_work+0x110/0x110
[    4.987973]  ? call_usermodehelper_exec_work+0x110/0x110
[    4.987976]  ? call_usermodehelper_exec_work+0x110/0x110
[    4.987976]  ? call_usermodehelper_exec_work+0x110/0x110
[    4.987978]  ret_from_fork+0x2c/0x40
[    4.987978]  ret_from_fork+0x2c/0x40
[    4.987982] Code: 89 e5 41 54 53 0f 1f 44 00 00 8b 57 58 48 89 fb 41 89 f4 e8 36 ef fe ff 0f b6 c0 48 63 d0 48 83 04 d5 a0 3f ab 82 01 85 c0 74 04 <0f> 0b eb fe 44 89 e6 48 89 df e8 24 ff ff ff 5b 41 5c c9 c3 0f 
[    4.987982] Code: 89 e5 41 54 53 0f 1f 44 00 00 8b 57 58 48 89 fb 41 89 f4 e8 36 ef fe ff 0f b6 c0 48 63 d0 48 83 04 d5 a0 3f ab 82 01 85 c0 74 04 <0f> 0b eb fe 44 89 e6 48 89 df e8 24 ff ff ff 5b 41 5c c9 c3 0f 
[    4.988043] RIP: blk_mq_end_request+0x2d/0x50 RSP: ffff88000daafa10
[    4.988043] RIP: blk_mq_end_request+0x2d/0x50 RSP: ffff88000daafa10
[    4.988047] ---[ end trace 79b15f8834dbf067 ]---
[    4.988047] ---[ end trace 79b15f8834dbf067 ]---

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 3dcee15bbb5e4646e1b13c30d0a4e23e2694e4a3 5a7ad1146caa895ad718a534399e38bd2ba721b7 --
git bisect good b951c8f55f82737b8ed5fca74748069e50ad8db9  # 00:18  G     11     0    0   0  Merge remote-tracking branch 'ipvs-next/master'
git bisect  bad 909624fea9ec3ad973b2f5c52a99cd2dfc109d8f  # 00:36  B      0     1   12   0  Merge remote-tracking branch 'edac-amd/for-next'
git bisect good 1d72aaae0d2a11e11e1659b138ce725d25bc6f01  # 00:49  G     11     0    0   0  Merge remote-tracking branch 'input/next'
git bisect  bad a65543d5bb965da723c0ddc069a77676e834afb2  # 00:59  B      0     1   12   0  Merge remote-tracking branch 'security/next'
git bisect  bad 57410a9848fd4bd8c1f974224bc4c4866325b45e  # 01:16  B      0    11   29   6  Merge remote-tracking branch 'md/for-next'
git bisect  bad c7e26350ec8e8cd5bc32be2ec82cf700e14ce78e  # 01:42  B      0     3   14   0  Merge remote-tracking branch 'device-mapper/for-next'
git bisect  bad 383b289ba8e0b94979dad50c56406bdee8f7aee2  # 02:01  B      0     2   13   0  Merge remote-tracking branch 'block/for-next'
git bisect  bad 29eaadc0364943b6352e8994158febcb699c9f9b  # 02:16  B      0     3   14   0  nbd: stop using the bdev everywhere
git bisect good 3b068376306bf44de6fdc0f3bff6072d8cdc8481  # 02:36  G     12     0    0   0  nvme-loop: retrieve iod from the cqe command_id
git bisect good 34045129b128fb3c0237b6af7c5a84b1ca9c0bf5  # 03:03  G     11     0    0   0  block_dev: use blkdev_issue_zerout for hole punches
git bisect good 00e043936e9a1c274c29366c7ecd9e17c79418e6  # 03:20  G     12     0    0   0  blk-mq: introduce Kyber multiqueue I/O scheduler
git bisect good 4af3f75d7992dd0dc49da95fbc039fa3806fba4f  # 03:35  G     12     0    0   0  lightnvm: allow to init targets on factory mode
git bisect good 503ec94eca4f49c0a18d67bb60445fe998a601ae  # 03:48  G     12     0    0   0  lightnvm: pblk-gc: fix an error pointer dereference in init
git bisect good 9b1355d5e3f094ef671033f38c4357cd1455c571  # 04:06  G     12     0    0   0  nbd: put socket in error cases
git bisect  bad 5ea8d10802ec4c153a6e21eebaf412e2abd29736  # 04:17  B      0     1   12   0  nbd: separate out the config information
git bisect good f3733247ae7c5fc0fa4c7303438f9e18a6ebb5ec  # 04:31  G     12     0    0   0  nbd: handle single path failures gracefully
# first bad commit: [5ea8d10802ec4c153a6e21eebaf412e2abd29736] nbd: separate out the config information
git bisect good f3733247ae7c5fc0fa4c7303438f9e18a6ebb5ec  # 04:35  G     33     0    0   0  nbd: handle single path failures gracefully
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad 5ea8d10802ec4c153a6e21eebaf412e2abd29736  # 04:43  B      0     1   12   0  nbd: separate out the config information
# extra tests on HEAD of linux-next/master
git bisect  bad 3dcee15bbb5e4646e1b13c30d0a4e23e2694e4a3  # 04:43  B      0    12   26   0  Add linux-next specific files for 20170427
# extra tests on tree/branch block/for-4.12/post-merge
git bisect  bad b06e13c38dbd5a03e945ce711f6909c91888f507  # 05:04  B      0     1   12   0  Merge branch 'nvme-4.12' of git://git.infradead.org/nvme into for-4.12/post-merge
# extra tests on tree/branch linux-next/master
git bisect  bad 3dcee15bbb5e4646e1b13c30d0a4e23e2694e4a3  # 05:04  B      0    12   26   0  Add linux-next specific files for 20170427

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

Download attachment "dmesg-yocto-kbuild-45:20170428042113:x86_64-randconfig-s1-04272259:4.11.0-rc4-00264-g5ea8d10:2.gz" of type "application/gzip" (14416 bytes)

View attachment "reproduce-yocto-kbuild-45:20170428042113:x86_64-randconfig-s1-04272259:4.11.0-rc4-00264-g5ea8d10:2" of type "text/plain" (903 bytes)

View attachment "config-4.11.0-rc4-00264-g5ea8d10" of type "text/plain" (114610 bytes)

Powered by blists - more mailing lists