* [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0
@ 2023-08-21 1:43 Changhui Zhong
2023-08-21 1:56 ` Jens Axboe
0 siblings, 1 reply; 7+ messages in thread
From: Changhui Zhong @ 2023-08-21 1:43 UTC (permalink / raw)
To: linux-block; +Cc: Ming Lei
Hello,
triggered below warning issue with branch 'block-6.5',
# modprobe null_blk queue_mode=2 shared_tag_bitmap=1 submit_queues=40
# fio --bs=256k --ioengine=libaio --iodepth=64
--iodepth_batch_submit=16 --iodepth_batch_complete_min=16
--filename=/dev/nullb0 --direct=1 --runtime=20 --numjobs=16
--rw=randread --name=test --group_reporting
[ 1473.165718] ------------[ cut here ]------------
[ 1473.170362] statistics for priority 1: i 167532888 m 52 d 167532836
c 167532836
[ 1473.177700] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679
dd_exit_sched+0xd5/0xe0
[ 1473.185987] Modules linked in: null_blk(-) tls rpcsec_gss_krb5
auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache netfs rfkill
sunrpc vfat fat dm_multipath intel_rapl_msr intel_rapl_common
intel_uncore_frequency intel_uncore_frequency_common isst_if_common
skx_edac nfit libnvdimm x86_pkg_temp_thermal intel_powerclamp coretemp
ipmi_ssif kvm_intel kvm mgag200 irqbypass i2c_algo_bit rapl iTCO_wdt
drm_shmem_helper iTCO_vendor_support dell_smbios intel_cstate
drm_kms_helper intel_uncore acpi_ipmi dcdbas ipmi_si mei_me
dell_wmi_descriptor wmi_bmof pcspkr i2c_i801 mei ipmi_devintf
intel_pch_thermal lpc_ich i2c_smbus ipmi_msghandler acpi_power_meter
drm fuse xfs libcrc32c sd_mod sg nvme ahci crct10dif_pclmul
crc32_pclmul libahci crc32c_intel nvme_core tg3 libata
ghash_clmulni_intel nvme_common megaraid_sas t10_pi wmi dm_mirror
dm_region_hash dm_log dm_mod [last unloaded: scsi_debug]
[ 1473.263733] CPU: 12 PID: 51497 Comm: modprobe Not tainted 6.4.0+ #1
[ 1473.270005] Hardware name: Dell Inc. PowerEdge R640/06DKY5, BIOS
2.15.1 06/15/2022
[ 1473.277571] RIP: 0010:dd_exit_sched+0xd5/0xe0
[ 1473.281938] Code: 00 75 cf 8b 4b 34 8b 53 30 44 89 fe 48 c7 c7 d8
ca 7c bc 48 8b 04 24 44 8b 43 38 c6 05 f3 68 73 01 01 44 8b 08 e8 fb
13 b2 ff <0f> 0b eb a4 0f 0b e9 78 ff ff ff 90 90 90 90 90 90 90 90 90
90 90
[ 1473.300684] RSP: 0018:ffffbc2a0655fd38 EFLAGS: 00010282
[ 1473.305909] RAX: 0000000000000000 RBX: ffff9cdc5c6fa080 RCX: 0000000000000000
[ 1473.313041] RDX: ffff9cddb7dac880 RSI: ffff9cddb7d9f840 RDI: ffff9cddb7d9f840
[ 1473.320174] RBP: ffff9cdc5c6fa000 R08: 0000000000000000 R09: 00000000ffff7fff
[ 1473.327306] R10: ffffbc2a0655fbd8 R11: ffffffffbcde6148 R12: ffff9cdc5c6fa148
[ 1473.334439] R13: 0000000009fc5924 R14: 0000000009fc5958 R15: 0000000000000001
[ 1473.341572] FS: 00007fcd87ad5740(0000) GS:ffff9cddb7d80000(0000)
knlGS:0000000000000000
[ 1473.349656] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1473.355402] CR2: 000055d9de41a120 CR3: 000000010a2c4004 CR4: 00000000007706e0
[ 1473.362536] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1473.369668] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1473.376798] PKRU: 55555554
[ 1473.379512] Call Trace:
[ 1473.381966] <TASK>
[ 1473.384071] ? __warn+0x80/0x130
[ 1473.387310] ? dd_exit_sched+0xd5/0xe0
[ 1473.391065] ? report_bug+0x195/0x1a0
[ 1473.394738] ? handle_bug+0x3c/0x70
[ 1473.398239] ? exc_invalid_op+0x14/0x70
[ 1473.402078] ? asm_exc_invalid_op+0x16/0x20
[ 1473.406274] ? dd_exit_sched+0xd5/0xe0
[ 1473.410026] ? dd_exit_sched+0xd5/0xe0
[ 1473.413779] blk_mq_exit_sched+0xf4/0x140
[ 1473.417791] elevator_exit+0x34/0x50
[ 1473.421370] del_gendisk+0x28b/0x350
[ 1473.424951] null_del_dev.part.0+0x50/0x160 [null_blk]
[ 1473.430097] null_exit+0x50/0xbc [null_blk]
[ 1473.434292] __do_sys_delete_module.constprop.0+0x177/0x2f0
[ 1473.439874] ? syscall_trace_enter.constprop.0+0x126/0x1a0
[ 1473.445365] do_syscall_64+0x59/0x90
[ 1473.448947] ? exit_to_user_mode_prepare+0xc4/0xd0
[ 1473.453739] ? syscall_exit_to_user_mode+0x12/0x30
[ 1473.458530] ? do_syscall_64+0x69/0x90
[ 1473.462284] ? exc_page_fault+0x65/0x150
[ 1473.466208] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[ 1473.471262] RIP: 0033:0x7fcd8723f5ab
[ 1473.474840] Code: 73 01 c3 48 8b 0d 75 a8 1b 00 f7 d8 64 89 01 48
83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00
00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 45 a8 1b 00 f7 d8 64 89
01 48
[ 1473.493587] RSP: 002b:00007fffb33c5cc8 EFLAGS: 00000206 ORIG_RAX:
00000000000000b0
[ 1473.501154] RAX: ffffffffffffffda RBX: 000055982fc0ad00 RCX: 00007fcd8723f5ab
[ 1473.508285] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055982fc0ad68
[ 1473.515416] RBP: 000055982fc0ad00 R08: 0000000000000000 R09: 0000000000000000
[ 1473.522550] R10: 00007fcd8739eac0 R11: 0000000000000206 R12: 000055982fc0ad68
[ 1473.529681] R13: 0000000000000000 R14: 000055982fc0ad68 R15: 00007fffb33c7ff8
[ 1473.536815] </TASK>
[ 1473.539007] ---[ end trace 0000000000000000 ]---
--
Best Regards,
Changhui
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0
2023-08-21 1:43 [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0 Changhui Zhong
@ 2023-08-21 1:56 ` Jens Axboe
2023-08-21 2:17 ` Changhui Zhong
0 siblings, 1 reply; 7+ messages in thread
From: Jens Axboe @ 2023-08-21 1:56 UTC (permalink / raw)
To: Changhui Zhong, linux-block; +Cc: Ming Lei
On 8/20/23 7:43 PM, Changhui Zhong wrote:
> Hello,
>
> triggered below warning issue with branch 'block-6.5',
What sha? Please always include that in bug reports, people don't know
when you pulled it.
--
Jens Axboe
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0
2023-08-21 1:56 ` Jens Axboe
@ 2023-08-21 2:17 ` Changhui Zhong
2023-08-21 2:24 ` Jens Axboe
2023-08-21 2:35 ` Chengming Zhou
0 siblings, 2 replies; 7+ messages in thread
From: Changhui Zhong @ 2023-08-21 2:17 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-block, Ming Lei
On Mon, Aug 21, 2023 at 9:56 AM Jens Axboe <axboe@kernel.dk> wrote:
>
> On 8/20/23 7:43 PM, Changhui Zhong wrote:
> > Hello,
> >
> > triggered below warning issue with branch 'block-6.5',
>
> What sha? Please always include that in bug reports, people don't know
> when you pulled it.
>
ok,I pulled the whole branch of block-6.5, I don't know which patch
caused the issue,the HEAD is:
"
INFO: HEAD of cloned kernel
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel
/mnt/tests/kernel/distribution/upstream-kernel/install
/mnt/tests/kernel/distribution/upstream-kernel/install
commit cc7de17e2fe6b778a836032e7e5f9991dec40a25
Author: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Date: Thu Aug 17 10:15:56 2023 -0400
blk-crypto: dynamically allocate fallback profile
blk_crypto_profile_init() calls lockdep_register_key(), which warns and
does not register if the provided memory is a static object.
blk-crypto-fallback currently has a static blk_crypto_profile and calls
blk_crypto_profile_init() thereupon, resulting in the warning and
failure to register.
Fortunately it is simple enough to use a dynamically allocated profile
and make lockdep function correctly.
Fixes: 2fb48d88e77f ("blk-crypto: use dynamic lock class for
blk_crypto_profile::lock")
Cc: stable@vger.kernel.org
Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20230817141615.15387-1-sweettea-kernel@dorminy.me
Signed-off-by: Jens Axboe <axboe@kernel.dk>
"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0
2023-08-21 2:17 ` Changhui Zhong
@ 2023-08-21 2:24 ` Jens Axboe
2023-08-21 2:35 ` Chengming Zhou
1 sibling, 0 replies; 7+ messages in thread
From: Jens Axboe @ 2023-08-21 2:24 UTC (permalink / raw)
To: Changhui Zhong; +Cc: linux-block, Ming Lei
On 8/20/23 8:17 PM, Changhui Zhong wrote:
> On Mon, Aug 21, 2023 at 9:56?AM Jens Axboe <axboe@kernel.dk> wrote:
>>
>> On 8/20/23 7:43 PM, Changhui Zhong wrote:
>>> Hello,
>>>
>>> triggered below warning issue with branch 'block-6.5',
>>
>> What sha? Please always include that in bug reports, people don't know
>> when you pulled it.
>>
>
> ok,I pulled the whole branch of block-6.5, I don't know which patch
> caused the issue?the HEAD is?
> "
> INFO: HEAD of cloned kernel
> /mnt/tests/kernel/distribution/upstream-kernel/install/kernel
> /mnt/tests/kernel/distribution/upstream-kernel/install
> /mnt/tests/kernel/distribution/upstream-kernel/install
> commit cc7de17e2fe6b778a836032e7e5f9991dec40a25
That's what I suspected, I think you'll have better luck with the
current branch (or 6.5-rc7, which has it included). This was an issue
with an earlier version of a patch in block-6.5, which is why the sha is
important. The sha is always important...
--
Jens Axboe
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0
2023-08-21 2:17 ` Changhui Zhong
2023-08-21 2:24 ` Jens Axboe
@ 2023-08-21 2:35 ` Chengming Zhou
2023-08-21 3:08 ` Changhui Zhong
2023-08-21 9:32 ` Changhui Zhong
1 sibling, 2 replies; 7+ messages in thread
From: Chengming Zhou @ 2023-08-21 2:35 UTC (permalink / raw)
To: Changhui Zhong; +Cc: linux-block, Jens Axboe, Ming Lei
On 2023/8/21 10:17, Changhui Zhong wrote:
> On Mon, Aug 21, 2023 at 9:56 AM Jens Axboe <axboe@kernel.dk> wrote:
>>
>> On 8/20/23 7:43 PM, Changhui Zhong wrote:
>>> Hello,
>>>
>>> triggered below warning issue with branch 'block-6.5',
>>
>> What sha? Please always include that in bug reports, people don't know
>> when you pulled it.
>>
>
> ok,I pulled the whole branch of block-6.5, I don't know which patch
> caused the issue,the HEAD is:
Hi, this problem should be fixed in the latest block-6.5 branch,
specifically including this commit:
commit e5c0ca13659e9d18f53368d651ed7e6e433ec1cf
blk-mq: release scheduler resource when request completes
Could you please help to check again?
Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0
2023-08-21 2:35 ` Chengming Zhou
@ 2023-08-21 3:08 ` Changhui Zhong
2023-08-21 9:32 ` Changhui Zhong
1 sibling, 0 replies; 7+ messages in thread
From: Changhui Zhong @ 2023-08-21 3:08 UTC (permalink / raw)
To: Chengming Zhou; +Cc: linux-block, Jens Axboe, Ming Lei
On Mon, Aug 21, 2023 at 10:36 AM Chengming Zhou
<zhouchengming@bytedance.com> wrote:
>
> On 2023/8/21 10:17, Changhui Zhong wrote:
> > On Mon, Aug 21, 2023 at 9:56 AM Jens Axboe <axboe@kernel.dk> wrote:
> >>
> >> On 8/20/23 7:43 PM, Changhui Zhong wrote:
> >>> Hello,
> >>>
> >>> triggered below warning issue with branch 'block-6.5',
> >>
> >> What sha? Please always include that in bug reports, people don't know
> >> when you pulled it.
> >>
> >
> > ok,I pulled the whole branch of block-6.5, I don't know which patch
> > caused the issue,the HEAD is:
>
> Hi, this problem should be fixed in the latest block-6.5 branch,
> specifically including this commit:
>
> commit e5c0ca13659e9d18f53368d651ed7e6e433ec1cf
>
> blk-mq: release scheduler resource when request completes
>
>
> Could you please help to check again?
ok,I will try the current branch block-6.5
>
>
> Thanks!
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0
2023-08-21 2:35 ` Chengming Zhou
2023-08-21 3:08 ` Changhui Zhong
@ 2023-08-21 9:32 ` Changhui Zhong
1 sibling, 0 replies; 7+ messages in thread
From: Changhui Zhong @ 2023-08-21 9:32 UTC (permalink / raw)
To: Chengming Zhou; +Cc: linux-block, Jens Axboe, Ming Lei
On Mon, Aug 21, 2023 at 10:36 AM Chengming Zhou
<zhouchengming@bytedance.com> wrote:
>
> On 2023/8/21 10:17, Changhui Zhong wrote:
> > On Mon, Aug 21, 2023 at 9:56 AM Jens Axboe <axboe@kernel.dk> wrote:
> >>
> >> On 8/20/23 7:43 PM, Changhui Zhong wrote:
> >>> Hello,
> >>>
> >>> triggered below warning issue with branch 'block-6.5',
> >>
> >> What sha? Please always include that in bug reports, people don't know
> >> when you pulled it.
> >>
> >
> > ok,I pulled the whole branch of block-6.5, I don't know which patch
> > caused the issue,the HEAD is:
>
> Hi, this problem should be fixed in the latest block-6.5 branch,
> specifically including this commit:
>
> commit e5c0ca13659e9d18f53368d651ed7e6e433ec1cf
>
> blk-mq: release scheduler resource when request completes
>
>
> Could you please help to check again?
Hi, Chengming
this issue is no longer triggered under the current branch,
looks it has been fixed by this commit
Thanks,
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-08-21 9:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21 1:43 [bug report] WARNING: CPU: 12 PID: 51497 at block/mq-deadline.c:679 dd_exit_sched+0xd5/0xe0 Changhui Zhong
2023-08-21 1:56 ` Jens Axboe
2023-08-21 2:17 ` Changhui Zhong
2023-08-21 2:24 ` Jens Axboe
2023-08-21 2:35 ` Chengming Zhou
2023-08-21 3:08 ` Changhui Zhong
2023-08-21 9:32 ` Changhui Zhong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox