* [linux-next] [5.19.0-rc1] kernel crashes while performing driver bind/unbind test with SLUB_DEBUG enabled
@ 2022-06-14 9:57 Tasmiya Nalatwad
2022-06-15 0:50 ` Ming Lei
0 siblings, 1 reply; 6+ messages in thread
From: Tasmiya Nalatwad @ 2022-06-14 9:57 UTC (permalink / raw)
To: linux-block, linux-scsi; +Cc: abdhalee, mputtash, sachinp
Greetings,
[linux-next] [5.19.0-rc1-next-20220610] kernel crashes while performing
driver bind/unbind test with SLUB_DEBUG enabled
Traces :
[ 9107.676656] BUG: Unable to handle kernel data access at
0x6b6b6b6b6b6b6eeb
[ 9107.676661] Faulting instruction address: 0xc0000000002163e0
[ 9107.676665] Oops: Kernel access of bad area, sig: 11 [#1]
[ 9107.676692] LE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries
[ 9107.676703] Modules linked in: rpadlpar_io rpaphp kvm_pr kvm
nf_tables libcrc32c nfnetlink tcp_diag udp_diag inet_diag unix_diag
af_packet_diag netlink_diag rfkill sunrpc dm_service_time dm_multipath
dm_mod pseries_rng xts vmx_crypto gf128mul sg sch_fq_codel binfmt_misc
ip_tables ext4 mbcache jbd2 sd_mod ibmvscsi ibmveth scsi_transport_srp
lpfc nvmet_fc nvmet nvme_fc nvme_fabrics nvme_core t10_pi crc64_rocksoft
crc64 scsi_transport_fc
[ 9107.676813] CPU: 42 PID: 4549 Comm: multipathd Kdump: loaded Not
tainted 5.19.0-rc1-next-20220610-autotest #1
[ 9107.676825] NIP: c0000000002163e0 LR: c000000000880d7c CTR:
c000000000880d40
[ 9107.676834] REGS: c000000051d93490 TRAP: 0380 Not tainted
(5.19.0-rc1-next-20220610-autotest)
[ 9107.676844] MSR: 800000000280b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>
CR: 44022484 XER: 20040000
[ 9107.676875] CFAR: c000000000880d78 IRQMASK: 0
[ 9107.676875] GPR00: c000000000880d70 c000000051d93730 c0000000028cee00
6b6b6b6b6b6b6b6b
[ 9107.676875] GPR04: 0000000000000083 0000000000000000 0000000000000000
00000000000000ff
[ 9107.676875] GPR08: 0000000000000001 0000000000000003 6b6b6b6b6b6b6eeb
c0080000012485f0
[ 9107.676875] GPR12: c000000000880d40 c00000000ffb1a80 00007fff6c005d10
00007fff7f107638
[ 9107.676875] GPR16: 00007fff7f107638 00007fff7f107638 00007fff7f133670
0000000000000000
[ 9107.676875] GPR20: 00007fff7f132040 00007fff7f1109e8 00007fff6c005d40
0000000000000131
[ 9107.676875] GPR24: 0000000000000001 5deadbeef0000100 5deadbeef0000122
c0000000040338a8
[ 9107.676875] GPR28: 0000000000000083 c00000008da32670 6b6b6b6b6b6b6b6b
6b6b6b6b6b6b6b6b
[ 9107.676993] NIP [c0000000002163e0] module_put+0x20/0x100
[ 9107.677004] LR [c000000000880d7c] scsi_device_put+0x3c/0x60
[ 9107.677014] Call Trace:
[ 9107.677019] [c000000051d93730] [00007fff7f133670] 0x7fff7f133670
(unreliable)
[ 9107.677039] [c000000051d93770] [c000000000880d70]
scsi_device_put+0x30/0x60
[ 9107.677051] [c000000051d937a0] [c00800000124191c]
sd_release+0x74/0x120 [sd_mod]
[ 9107.677074] [c000000051d93810] [c000000000637ff8]
blkdev_put_whole+0x68/0x90
[ 9107.677088] [c000000051d93850] [c0000000006385dc] blkdev_put+0x1ac/0x280
[ 9107.677100] [c000000051d938b0] [c008000001934e60]
dm_put_table_device+0xb8/0x1a8 [dm_mod]
[ 9107.677129] [c000000051d938f0] [c008000001937868]
dm_put_device+0x110/0x190 [dm_mod]
[ 9107.677149] [c000000051d93970] [c008000001872584]
free_priority_group+0xec/0x150 [dm_multipath]
[ 9107.677163] [c000000051d939d0] [c008000001872698]
free_multipath+0xb0/0x120 [dm_multipath]
[ 9107.677175] [c000000051d93a20] [c008000001937ee0]
dm_table_destroy+0x78/0x1a0 [dm_mod]
[ 9107.677192] [c000000051d93ab0] [c00800000193deec]
dev_suspend+0x134/0x3e0 [dm_mod]
[ 9107.677210] [c000000051d93b40] [c0080000019405c4]
ctl_ioctl+0x1ec/0x780 [dm_mod]
[ 9107.677227] [c000000051d93d40] [c008000001940b70]
dm_ctl_ioctl+0x18/0x30 [dm_mod]
[ 9107.677244] [c000000051d93d60] [c000000000487a28] sys_ioctl+0xf8/0x150
[ 9107.677254] [c000000051d93db0] [c00000000002f228]
system_call_exception+0x178/0x380
[ 9107.677266] [c000000051d93e10] [c00000000000c63c]
system_call_common+0xec/0x250
[ 9107.677277] --- interrupt: c00 at 0x7fff7ee00290
[ 9107.677284] NIP: 00007fff7ee00290 LR: 00007fff7f1041f0 CTR:
0000000000000000
[ 9107.677290] REGS: c000000051d93e80 TRAP: 0c00 Not tainted
(5.19.0-rc1-next-20220610-autotest)
[ 9107.677298] MSR: 800000000280f033
<SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE> CR: 28004284 XER: 00000000
[ 9107.677323] IRQMASK: 0
[ 9107.677323] GPR00: 0000000000000036 00007fff7e39c940 00007fff7eee7300
0000000000000005
[ 9107.677323] GPR04: 00000000c138fd06 00007fff6c005d10 00007fff7f107738
00007fff7e39a838
[ 9107.677323] GPR08: 0000000000000005 0000000000000000 0000000000000000
0000000000000000
[ 9107.677323] GPR12: 0000000000000000 00007fff7e3a6400 00007fff6c005d10
00007fff7f107638
[ 9107.677323] GPR16: 00007fff7f107638 00007fff7f107638 00007fff7f133670
0000000000000000
[ 9107.677323] GPR20: 00007fff7f132040 00007fff7f1109e8 00007fff6c005d40
00007fff6c001ba0
[ 9107.677323] GPR24: 00007fff7f107638 00007fff7f110f70 00007fff7f107638
0000000000000001
[ 9107.677323] GPR28: 00007fff7f107638 00007fff7f107638 0000000000000000
00007fff7f107638
[ 9107.677412] NIP [00007fff7ee00290] 0x7fff7ee00290
[ 9107.677418] LR [00007fff7f1041f0] 0x7fff7f1041f0
[ 9107.677423] --- interrupt: c00
--
Regards,
Tasmiya Nalatwad
IBM Linux Technology Center
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-next] [5.19.0-rc1] kernel crashes while performing driver bind/unbind test with SLUB_DEBUG enabled
2022-06-14 9:57 [linux-next] [5.19.0-rc1] kernel crashes while performing driver bind/unbind test with SLUB_DEBUG enabled Tasmiya Nalatwad
@ 2022-06-15 0:50 ` Ming Lei
2022-07-13 10:19 ` Tasmiya Nalatwad
0 siblings, 1 reply; 6+ messages in thread
From: Ming Lei @ 2022-06-15 0:50 UTC (permalink / raw)
To: Tasmiya Nalatwad; +Cc: linux-block, linux-scsi, abdhalee, ming.lei
Hello Tasmiya,
On Tue, Jun 14, 2022 at 03:27:37PM +0530, Tasmiya Nalatwad wrote:
> Greetings,
>
> [linux-next] [5.19.0-rc1-next-20220610] kernel crashes while performing
> driver bind/unbind test with SLUB_DEBUG enabled
>
> Traces :
I just run plain unbind/bind on scsi_debug, and can't trigger the issue.
Can you share your exact reproduction steps? Is dm-mpath involved?
Thanks,
Ming
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-next] [5.19.0-rc1] kernel crashes while performing driver bind/unbind test with SLUB_DEBUG enabled
2022-06-15 0:50 ` Ming Lei
@ 2022-07-13 10:19 ` Tasmiya Nalatwad
2022-07-13 13:11 ` Ming Lei
0 siblings, 1 reply; 6+ messages in thread
From: Tasmiya Nalatwad @ 2022-07-13 10:19 UTC (permalink / raw)
To: Ming Lei; +Cc: linux-block, linux-scsi, abdhalee, sachinp, mputtash
Greetings,
While running plain bind/unbind test on scsi I had enabled slub_debug
System has FC adapter with multipath enabled.
Step 1 : Added slub_debug in /etc/default/grub saved the configuration
and rebooted the machine.
Step 2 : Performed normal driver bind/unbind test.
On 6/15/22 06:20, Ming Lei wrote:
> Hello Tasmiya,
>
> On Tue, Jun 14, 2022 at 03:27:37PM +0530, Tasmiya Nalatwad wrote:
>> Greetings,
>>
>> [linux-next] [5.19.0-rc1-next-20220610] kernel crashes while performing
>> driver bind/unbind test with SLUB_DEBUG enabled
>>
>> Traces :
>
> I just run plain unbind/bind on scsi_debug, and can't trigger the issue.
>
> Can you share your exact reproduction steps? Is dm-mpath involved?
>
>
> Thanks,
> Ming
>
--
Regards,
Tasmiya Nalatwad
IBM Linux Technology Center
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-next] [5.19.0-rc1] kernel crashes while performing driver bind/unbind test with SLUB_DEBUG enabled
2022-07-13 10:19 ` Tasmiya Nalatwad
@ 2022-07-13 13:11 ` Ming Lei
2022-07-20 8:19 ` Tasmiya Nalatwad
0 siblings, 1 reply; 6+ messages in thread
From: Ming Lei @ 2022-07-13 13:11 UTC (permalink / raw)
To: Tasmiya Nalatwad; +Cc: linux-block, linux-scsi
On Wed, Jul 13, 2022 at 03:49:05PM +0530, Tasmiya Nalatwad wrote:
> Greetings,
>
> While running plain bind/unbind test on scsi I had enabled slub_debug
>
> System has FC adapter with multipath enabled.
>
> Step 1 : Added slub_debug in /etc/default/grub saved the configuration and
> rebooted the machine.
> Step 2 : Performed normal driver bind/unbind test.
Hello,
Can you try the following patches and see if they are helpful?
Thanks,
Ming
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-next] [5.19.0-rc1] kernel crashes while performing driver bind/unbind test with SLUB_DEBUG enabled
2022-07-13 13:11 ` Ming Lei
@ 2022-07-20 8:19 ` Tasmiya Nalatwad
2022-07-20 8:39 ` Ming Lei
0 siblings, 1 reply; 6+ messages in thread
From: Tasmiya Nalatwad @ 2022-07-20 8:19 UTC (permalink / raw)
To: Ming Lei; +Cc: linux-block, linux-scsi, abdhalee, mputtash, sachinp
Greetings,
Sure I will verify, could you please provide me the code patch.
On 7/13/22 18:41, Ming Lei wrote:
> On Wed, Jul 13, 2022 at 03:49:05PM +0530, Tasmiya Nalatwad wrote:
>> Greetings,
>>
>> While running plain bind/unbind test on scsi I had enabled slub_debug
>>
>> System has FC adapter with multipath enabled.
>>
>> Step 1 : Added slub_debug in /etc/default/grub saved the configuration and
>> rebooted the machine.
>> Step 2 : Performed normal driver bind/unbind test.
>
> Hello,
>
> Can you try the following patches and see if they are helpful?
>
>
> Thanks,
> Ming
>
--
Regards,
Tasmiya Nalatwad
IBM Linux Technology Center
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-next] [5.19.0-rc1] kernel crashes while performing driver bind/unbind test with SLUB_DEBUG enabled
2022-07-20 8:19 ` Tasmiya Nalatwad
@ 2022-07-20 8:39 ` Ming Lei
0 siblings, 0 replies; 6+ messages in thread
From: Ming Lei @ 2022-07-20 8:39 UTC (permalink / raw)
To: Tasmiya Nalatwad; +Cc: linux-block, linux-scsi
On Wed, Jul 20, 2022 at 01:49:25PM +0530, Tasmiya Nalatwad wrote:
> Greetings,
>
> Sure I will verify, could you please provide me the code patch.
Oh, sorry for not providing link for you, please try the following
patches:
https://lore.kernel.org/linux-scsi/20220712221936.1199196-1-bvanassche@acm.org/T/#t
Thanks,
Ming
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-07-20 8:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14 9:57 [linux-next] [5.19.0-rc1] kernel crashes while performing driver bind/unbind test with SLUB_DEBUG enabled Tasmiya Nalatwad
2022-06-15 0:50 ` Ming Lei
2022-07-13 10:19 ` Tasmiya Nalatwad
2022-07-13 13:11 ` Ming Lei
2022-07-20 8:19 ` Tasmiya Nalatwad
2022-07-20 8:39 ` Ming Lei
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.