linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yi Zhang <yi.zhang@redhat.com>
To: chaitanya.kulkarni@wdc.com, axboe@kernel.dk
Cc: CKI Project <cki-project@redhat.com>,
	linux-block@vger.kernel.org, Rachel Sibley <rasibley@redhat.com>
Subject: regression with commit "null_blk: add helper for deleting the nullb_list"
Date: Sat, 4 Jul 2020 07:37:56 -0400 (EDT)	[thread overview]
Message-ID: <44170938.33551884.1593862676831.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <cki.3B19A2362B.9VSYF9B2I1@redhat.com>

Hello

commit[1] on linux-block/for-next introduced one regression which lead kernel panic, could you help check it?

[1]
commit a65dee60e5384a648bc49c4ffbd3960d3fa354b0 (origin/for-5.9/drivers)
Author: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Date:   Thu Jul 2 18:31:30 2020 -0700

    null_blk: add helper for deleting the nullb_list

[2]
[  301.942805] run blktests block/006 at 2020-07-04 07:28:13
[  310.483587] ------------[ cut here ]------------
[  310.488208] kernel BUG at lib/idr.c:491!
[  310.492141] invalid opcode: 0000 [#1] SMP NOPTI
[  310.496674] CPU: 9 PID: 2261 Comm: modprobe Tainted: G          I       5.8.0-rc3+ #1
[  310.504498] Hardware name: Dell Inc. PowerEdge R640/06NR82, BIOS 2.6.4 04/09/2020
[  310.511982] RIP: 0010:ida_free+0x140/0x150
[  310.516076] Code: 00 48 89 ef e8 e1 75 fd ff 48 3d 00 04 00 00 75 ce 48 89 ef e8 11 89 e3 ff eb ba 48 8d 74 2d 01 48 89 e7 e8 92 02 01 00 eb b5 <0f> 0b e8 29 65 46 00 66 0f 1f 84 00 00 00 00 00 41 55 4c 8d 6f 08
[  310.534823] RSP: 0018:ffffa84d40fd7e50 EFLAGS: 00010282
[  310.540047] RAX: 00000000003fffe7 RBX: 00000000ffff9c5d RCX: 0000000080800001
[  310.547171] RDX: ffff9465fb695b01 RSI: 00000000ffff9c5d RDI: ffffffffc0546740
[  310.554305] RBP: ffffffffc0546750 R08: 0000000000000001 R09: 0000000000000000
[  310.561435] R10: ffff945746955760 R11: 0000000000000000 R12: 000000000000005d
[  310.568559] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[  310.575683] FS:  00007f8d250b7740(0000) GS:ffff9466bf840000(0000) knlGS:0000000000000000
[  310.583760] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  310.589498] CR2: 00007f8d24553230 CR3: 000000101fc96003 CR4: 00000000007606e0
[  310.596622] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  310.603753] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  310.610878] PKRU: 55555554
[  310.613592] Call Trace:
[  310.616049]  null_del_dev+0x2b/0x120 [null_blk]
[  310.620579]  null_delete_nullb_list+0x2c/0x38 [null_blk]
[  310.625890]  null_exit+0x2f/0xc4d [null_blk]
[  310.630165]  __x64_sys_delete_module+0x153/0x210
[  310.634782]  ? __prepare_exit_to_usermode+0x6d/0x1c0
[  310.639748]  do_syscall_64+0x4d/0x90
[  310.643327]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  310.648377] RIP: 0033:0x7f8d24583e57
[  310.651958] Code: Bad RIP value.
[  310.655189] RSP: 002b:00007ffed28bbf68 EFLAGS: 00000202 ORIG_RAX: 00000000000000b0
[  310.662748] RAX: ffffffffffffffda RBX: 0000000001727410 RCX: 00007f8d24583e57
[  310.669879] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000000001727478
[  310.677010] RBP: 0000000000000000 R08: 00007f8d2484d060 R09: 00007f8d245f8a00
[  310.684136] R10: 00007ffed28bb360 R11: 0000000000000202 R12: 0000000000000000
[  310.691267] R13: 0000000000000001 R14: 0000000001727478 R15: 0000000000000000
[  310.698392] Modules linked in: null_blk(-) rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache intel_rapl_msr intel_rapl_common rfkill skx_edac x86_pkg_temp_thermal sunrpc intel_powerclamp coretemp kvm_intel kvm iTCO_wdt dell_smbios vfat iTCO_vendor_support fat wmi_bmof dell_wmi_descriptor ipmi_ssif irqbypass crc32_pclmul dcdbas ghash_clmulni_intel aesni_intel acpi_ipmi crypto_simd ipmi_si mei_me cryptd ipmi_devintf i2c_i801 sg mei glue_helper dax_pmem_compat pcspkr i2c_smbus lpc_ich device_dax wmi ipmi_msghandler dax_pmem_core acpi_power_meter dm_multipath ip_tables xfs libcrc32c nd_pmem nd_btt sd_mod t10_pi crc_t10dif crct10dif_generic mgag200 drm_vram_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm_ttm_helper ttm drm ahci libahci libata tg3 crct10dif_pclmul megaraid_sas crct10dif_common nfit crc32c_intel ptp pps_core i2c_algo_bit libnvdimm dm_mirror dm_region_hash dm_log dm_mod
[  310.780000] ---[ end trace 61a20a5d291b22f8 ]---
[  310.811342] RIP: 0010:ida_free+0x140/0x150
[  310.815444] Code: 00 48 89 ef e8 e1 75 fd ff 48 3d 00 04 00 00 75 ce 48 89 ef e8 11 89 e3 ff eb ba 48 8d 74 2d 01 48 89 e7 e8 92 02 01 00 eb b5 <0f> 0b e8 29 65 46 00 66 0f 1f 84 00 00 00 00 00 41 55 4c 8d 6f 08
[  310.834190] RSP: 0018:ffffa84d40fd7e50 EFLAGS: 00010282
[  310.839416] RAX: 00000000003fffe7 RBX: 00000000ffff9c5d RCX: 0000000080800001
[  310.846549] RDX: ffff9465fb695b01 RSI: 00000000ffff9c5d RDI: ffffffffc0546740
[  310.853679] RBP: ffffffffc0546750 R08: 0000000000000001 R09: 0000000000000000
[  310.860812] R10: ffff945746955760 R11: 0000000000000000 R12: 000000000000005d
[  310.867945] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[  310.875076] FS:  00007f8d250b7740(0000) GS:ffff9466bf840000(0000) knlGS:0000000000000000
[  310.883161] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  310.888908] CR2: 00007f8d24553230 CR3: 000000101fc96003 CR4: 00000000007606e0
[  310.896040] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  310.903172] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  310.910306] PKRU: 55555554
[  310.913019] Kernel panic - not syncing: Fatal exception
[  311.326108] Kernel Offset: 0x1a400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[  311.351017] ---[ end Kernel panic - not syncing: Fatal exception ]---


Best Regards,
  Yi Zhang


       reply	other threads:[~2020-07-04 11:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cki.3B19A2362B.9VSYF9B2I1@redhat.com>
2020-07-04 11:37 ` Yi Zhang [this message]
2020-07-04 14:25   ` regression with commit "null_blk: add helper for deleting the nullb_list" Jens Axboe
2020-07-06  2:08     ` Chaitanya Kulkarni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44170938.33551884.1593862676831.JavaMail.zimbra@redhat.com \
    --to=yi.zhang@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=chaitanya.kulkarni@wdc.com \
    --cc=cki-project@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=rasibley@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).