While booting 5.13.0-rc7-next-20210625 on POWER9 LPAR following warning
is seen:
[3.111826] device-mapper: multipath service-time: version 0.3.0 loaded
[3.485799] [ cut here ]
[3.485809] WARNING: CPU: 9 PID: 225 at block/mq-deadline-main.c:743
dd_insert_requests+0x460/0x4a0
[3.485819] Modules linked in: dm_service_time sd_mod t10_pi sg ibmvfc
scsi_transport_fc ibmveth dm_multipath dm_mirror dm_region_hash dm_log dm_mod
fuse
[3.485836] CPU: 9 PID: 225 Comm: kworker/9:1H Not tainted
5.13.0-rc7-next-20210625 #3
[3.485842] Workqueue: kblockd blk_mq_requeue_work
[3.485848] NIP: c06a5c20 LR: c06a5958 CTR: c06a57c0
[3.485852] REGS: c9d2f800 TRAP: 0700 Not tainted
(5.13.0-rc7-next-20210625)
[3.485857] MSR: 8282b033 CR:
24004828 XER: 0001
[3.485871] CFAR: c06a5964 IRQMASK: 0
[3.485871] GPR00: c06a5920 c9d2faa0 c1adb700
[3.485871] GPR04: c00028750048 c00028750048
c00028750048
[3.485871] GPR08: 0020 c9530400 0024
0007
[3.485871] GPR12: 2000 c0001ec53280 c018bb48
c9530400
[3.485871] GPR16: c0002875 000c2204
cd77512c
[3.485871] GPR20: cd775000 0004001a c0d96928
c0002ea4e400
[3.485871] GPR24: c0002e19 0003 c9d2fb98
c9d2fac8
[3.485871] GPR28: cd775000 0001 00080700
c00028750048
[3.485925] NIP [c06a5c20] dd_insert_requests+0x460/0x4a0
[3.485930] LR [c06a5958] dd_insert_requests+0x198/0x4a0
[3.485935] Call Trace:
[3.485937] [c9d2faa0] [c001e528] __switch_to+0x2c8/0x480
(unreliable)
[3.485945] [c9d2fb70] [c068550c]
blk_mq_sched_insert_request+0xfc/0x210
[3.485951] [c9d2fbf0] [c067d314]
blk_mq_requeue_work+0x174/0x250
[3.485958] [c9d2fc60] [c017f634]
process_one_work+0x264/0x540
[3.485964] [c9d2fd00] [c017f998] worker_thread+0x88/0x630
[3.485970] [c9d2fda0] [c018bcd4] kthread+0x194/0x1a0
[3.485976] [c9d2fe10] [c000c750]
ret_from_kernel_thread+0x5c/0x6c
[3.485983] Instruction dump:
[3.485986] 7ea94838 2f89 409eff64 7e248b78 7f03c378 4bfbd0dd 6000
e938
[3.485996] 2fa9 409eff48 fa38 4b40 <0fe0> 4bfffd44 6000
6000
[3.486005] ---[ end trace 42319989f7cb8ff4 ]---
[ OK ] Found device /dev/disk/by-uuid/186c6f84-531c-4570-89cc-6490f20090e9.
Last known tested & working build was 5.13.0-rc6-next-20210618.
This problem seems to be introduced with
commit 08a9ad8bf60738
block/mq-deadline: Add cgroup support
Reverting this patch allows the kernel to boot without the mentioned warning.
Have attached the boot log. IOSCHED_DEADLINE is set to yes.
CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
# CONFIG_IOSCHED_BFQ is not set
# end of IO Schedulers
Thanks
-Sachin
[0.00] crashkernel: memory value expected
[0.00] hash-mmu: Page sizes from device-tree:
[0.00] hash-mmu: base_shift=12: shift=12, sllp=0x,
avpnm=0x, tlbiel=1, penc=0
[0.00] hash-mmu: base_shift=12: shift=16, sllp=0x,
avpnm=0x, tlbiel=1, penc=7
[0.00] hash-mmu: base_shift=12: shift=24, sllp=0x,
avpnm=0x, tlbiel=1, penc=56
[0.00] hash-mmu: base_shift=16: shift=16, sllp=0x0110,
avpnm=0x, tlbiel=1, penc=1
[0.00] hash-mmu: base_shift=16: shift=24, sllp=0x0110,
avpnm=0x, tlbiel=1, penc=8
[0.00] hash-mmu: base_shift=24: shift=24, sllp=0x0100,
avpnm=0x0001, tlbiel=0, penc=0
[0.00] hash-mmu: base_shift=34: shift=34, sllp=0x0120,
avpnm=0x07ff, tlbiel=0, penc=3
[0.00] Enabling pkeys with max key count 31
[0.00] Activating Kernel Userspace Execution Prevention
[0.00] Activating Kernel Userspace Access Prevention
[0.00] Page orders: linear mapping = 24, virtual = 16, io = 16, vmemmap
= 24
[0.00] Using 1TB segments
[0.00] hash-mmu: Initializing hash mmu with SLB
[0.00] Linux version 5.13.0-rc7-next-20210625
(r...@ltcfleet2-lp13.aus.stglabs.ibm.com) (gcc (GCC) 8.4.1 20200928 (Red Hat
8.4.1-1), GNU ld version 2.30-93.el8) #1 SMP Sun Jun 27 06:16:48 EDT 2021
[0.00] Found initrd at 0xcc70:0xc00010d05c11
[0.00] Using pSeries machine description
[0.00] printk: bootconsole [udbg0] enabled
[0.00] Partition configured for 16 cpus.
[0.00] CPU maps initialized for 8 threads per core
[0.00] (thread shift is 3)
[0.00] Allocated 4608 bytes for 16 pacas
[0.00] -
[0.00] phys_mem_