Skip to content

Instantly share code, notes, and snippets.

@mcgrof
Created April 12, 2022 21:49
Show Gist options
  • Save mcgrof/d73bc3c0fe91fbbf6d4b9957e51b3ddb to your computer and use it in GitHub Desktop.
Save mcgrof/d73bc3c0fe91fbbf6d4b9957e51b3ddb to your computer and use it in GitHub Desktop.
blktests srp/005 fails with NMI on v5.17-rc7
[ 54.610247] scsi 3:0:0:1: Direct-Access LIO-ORG IBLOCK 4.0 PQ: 0 ANSI: 6
[ 54.611458] sd 3:0:0:2: alua: transition timeout set to 60 seconds
[ 54.611703] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 54.611978] sd 3:0:0:0: [sdb] Optimal transfer size 126976 bytes
[ 54.613976] scsi 3:0:0:1: alua: supports implicit and explicit TPGS
[ 54.615886] sd 3:0:0:2: alua: port group 00 state A non-preferred supports TOlUSNA
[ 54.618618] scsi 3:0:0:1: alua: device naa.60014056e756c6c62310000000000000 port group 0 rel port 1
[ 54.648153] sd 3:0:0:1: Attached scsi generic sg3 type 0
[ 54.648838] sd 3:0:0:1: Warning! Received an indication that the LUN assignments on this target have changed. The Linux SCSI layer does not automatical
[ 54.659422] sd 3:0:0:1: alua: transition timeout set to 60 seconds
[ 54.660506] sd 3:0:0:1: [sdd] 65536 512-byte logical blocks: (33.6 MB/32.0 MiB)
[ 54.660612] sd 3:0:0:1: [sdd] Write Protect is off
[ 54.660793] sd 3:0:0:1: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 54.660965] sd 3:0:0:1: [sdd] Optimal transfer size 126976 bytes
[ 54.661544] sd 3:0:0:1: alua: port group 00 state A non-preferred supports TOlUSNA
[ 54.672659] scsi host4: ib_srp: Already connected to target port with id_ext=505400fffea6d62d;ioc_guid=505400fffea6d62d;dest=fe80:0000:0000:0000:5054:00ff:fea6:d62d
[ 75.690784] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 75.692627] rcu: 6-...0: (1 GPs behind) idle=0d9/1/0x4000000000000000 softirq=5626/5670 fqs=2354
[ 75.693952] (detected by 4, t=5252 jiffies, g=6857, q=8015)
[ 75.694989] Sending NMI from CPU 4 to CPUs 6:
[ 75.695853] NMI backtrace for cpu 6
[ 75.695866] CPU: 6 PID: 174 Comm: kworker/u16:4 Kdump: loaded Tainted: G E 5.17.0-rc7 #1
[ 75.695871] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
[ 75.695886] Workqueue: events_unbound async_run_entry_fn
[ 75.695926] RIP: 0010:native_queued_spin_lock_slowpath+0x28/0x200
[ 75.695939] Code: 00 00 0f 1f 44 00 00 41 54 55 53 48 89 fb 66 90 ba 01 00 00 00 8b 03 85 c0 75 0d f0 0f b1 13 85 c0 75 f2 5b 5d 41 5c c3 f3 90 <eb> e9 81 fe 00 01 00 00 74 45 40 30 f6 85 f6 75 67 f0 0f ba 2b 08
[ 75.695940] RSP: 0018:ffffafa8401cce58 EFLAGS: 00000002
[ 75.695942] RAX: 0000000000000001 RBX: ffff95c984f7a210 RCX: 0000000000000005
[ 75.695945] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff95c984f7a210
[ 75.695946] RBP: ffff95c984f7a200 R08: ffff95c9a4ae4b78 R09: 0000000000000e00
[ 75.695947] R10: ffffffff9b2060c0 R11: ffffafa8401ccff8 R12: 0000000000000282
[ 75.695948] R13: ffff95c987d727e0 R14: ffff95c98e5b32e0 R15: ffff95c984f7a210
[ 75.695949] FS: 0000000000000000(0000) GS:ffff95cab7d80000(0000) knlGS:0000000000000000
[ 75.695950] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 75.695951] CR2: 00007f705803aad0 CR3: 000000010d40a002 CR4: 0000000000770ee0
[ 75.695954] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 75.695955] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 75.695955] PKRU: 55555554
[ 75.695958] Call Trace:
[ 75.695969] <IRQ>
[ 75.695975] _raw_spin_lock_irqsave+0x44/0x50
[ 75.696022] srp_recv_done+0x11e/0x480 [ib_srp]
[ 75.696035] ? _raw_spin_lock_bh+0x13/0x30
[ 75.696042] __ib_process_cq+0x83/0x180 [ib_core]
[ 75.696115] ib_poll_handler+0x2b/0xc0 [ib_core]
[ 75.696126] irq_poll_softirq+0x8e/0x120
[ 75.696146] __do_softirq+0xec/0x2ea
[ 75.696154] do_softirq.part.0+0x9b/0xd0
[ 75.696163] </IRQ>
[ 75.696163] <TASK>
[ 75.696164] __local_bh_enable_ip+0x73/0x80
[ 75.696168] rxe_poll_cq+0xed/0x100 [rdma_rxe]
[ 75.696189] __ib_process_cq+0x54/0x180 [ib_core]
[ 75.696200] ib_process_cq_direct+0x2c/0x50 [ib_core]
[ 75.696211] ? _raw_spin_unlock_irqrestore+0x25/0x40
[ 75.696214] ? try_to_wake_up+0x94/0x520
[ 75.696219] ? _raw_spin_unlock_irqrestore+0x25/0x40
[ 75.696221] ? _raw_spin_lock_irqsave+0x26/0x50
[ 75.696223] ? _raw_spin_unlock_irqrestore+0x25/0x40
[ 75.696225] ? try_to_wake_up+0x94/0x520
[ 75.696227] ? __tasklet_schedule_common+0x92/0xa0
[ 75.696229] ? rxe_post_send+0x2ec/0x480 [rdma_rxe]
[ 75.696233] ? srp_post_send+0x81/0xb0 [ib_srp]
[ 75.696236] __srp_get_tx_iu+0x20/0xa0 [ib_srp]
[ 75.696239] srp_queuecommand+0xbe/0x98a [ib_srp]
[ 75.696246] ? scsi_alloc_sgtables+0xb9/0x3f0 [scsi_mod]
[ 75.696283] scsi_queue_rq+0x37b/0xb10 [scsi_mod]
[ 75.696297] blk_mq_dispatch_rq_list+0x1ef/0x890
[ 75.696314] ? kthread+0xe5/0x110
[ 75.696321] __blk_mq_sched_dispatch_requests+0xb0/0x140
[ 75.696330] blk_mq_sched_dispatch_requests+0x30/0x60
[ 75.696331] __blk_mq_run_hw_queue+0x35/0x90
[ 75.696336] __blk_mq_delay_run_hw_queue+0x178/0x1b0
[ 75.696339] blk_execute_rq+0x53/0xf0
[ 75.696342] __scsi_execute+0x127/0x290 [scsi_mod]
[ 75.696352] scsi_mode_sense+0x121/0x2f0 [scsi_mod]
[ 75.696360] sd_revalidate_disk.isra.0+0x1681/0x23f0 [sd_mod]
[ 75.696375] sd_probe+0x31a/0x4d0 [sd_mod]
[ 75.696390] really_probe+0x1f2/0x3d0
[ 75.696408] __driver_probe_device+0xfe/0x180
[ 75.696410] driver_probe_device+0x1e/0x90
[ 75.696412] __device_attach_driver+0x72/0xe0
[ 75.696415] ? driver_allows_async_probing+0x50/0x50
[ 75.696417] ? driver_allows_async_probing+0x50/0x50
[ 75.696418] bus_for_each_drv+0x7b/0xc0
[ 75.696423] __device_attach_async_helper+0x9f/0xe0
[ 75.696432] process_one_work+0x1e2/0x3b0
[ 75.696435] worker_thread+0x50/0x3a0
[ 75.696436] ? rescuer_thread+0x390/0x390
[ 75.696438] kthread+0xe5/0x110
[ 75.696440] ? kthread_complete_and_exit+0x20/0x20
[ 75.696443] ret_from_fork+0x1f/0x30
[ 75.696455] </TASK>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment