System crash in lpfc_nlp_get() following port state transitions

Solution Unverified - Updated -

Issue

  • System crash in lpfc_nlp_get() following port state transitions:
[3083613.576786] lpfc 0000:37:00.3: 209: [3083613.570333] 1:(0):0211 DSM in event xb on NPort x1e01e2 in state 5 rpi xffff Data: x20100 x10008
[3083613.586921] lpfc 0000:37:00.3: 210: [3083613.570362] 1:(0):2819 Abort outstanding I/O on NPort x1e01e2 Data: x20100 x5 xffff
[3083613.596407] lpfc 0000:37:00.3: 211: [3083613.570391] 1:(0):0339 Abort xri x89e, original iotag x71f, abort cmd iotag x71d retval x0
[3083613.608786] lpfc 0000:37:00.3: 212: [3083613.570408] 1:0357 ELS CQE error: status=x3: CQE: 071d0300 00000000 00000005 80010000
[3083613.618418] lpfc 0000:37:00.3: 213: [3083613.570420] 1:(0):0904 NPort state transition x1e01e2, LOGO -> UNUSED
[3083613.625127] lpfc 0000:37:00.3: 214: [3083613.570422] 1:(0):0212 DSM out state 255 on NPort x1e01e2 rpi xffff Data: x10100 x10008
[3083613.635157] lpfc 0000:37:00.3: 215: [3083613.570482] 1:(0):0105 LOGO completes to NPort x1e01e2 refcnt 1 nflags x10000 Data: x3 x103 xa x0
[3083613.647996] lpfc 0000:37:00.3: 1:(0):2756 LOGO failure, No Retry DID:1E01E2 Status:x3/x103
[3083613.654509] BUG: unable to handle kernel NULL pointer dereference at 0000000000000344
[3083613.658208] PGD 0 P4D 0 
[3083613.664242] Oops: 0000 [#1] SMP PTI
[3083613.670852] CPU: 31 PID: 1220 Comm: lpfc_worker_1 Kdump: loaded Tainted: G          I      --------- -  - 4.18.0-348.2.1.el8_5.x86_64 #1
[3083613.681491] Hardware name: HPE ProLiant BL460c Gen10/ProLiant BL460c Gen10, BIOS I41 05/21/2019
[3083613.687226] RIP: 0010:lpfc_nlp_get+0xca/0x170 [lpfc]
[3083613.693696] Code: c0 41 08 c0 74 c7 e9 cb d2 05 00 eb d0 80 3d 81 38 0b 00 00 74 52 31 c0 5b 5d c3 48 89 ef e8 0d f4 18 ec 48 8b 83 18 01 00 00 <8b> 90 44 03 00 00 f6 c2 80 75 53 85 d2 75 dd 48 8b 38 8b b3 98 01
[3083613.705231] RSP: 0018:ffffabcb5af4fd70 EFLAGS: 00010246
[3083613.709860] RAX: 0000000000000000 RBX: ffff8f248ad86200 RCX: 00000000001e01e2
[3083613.715797] RDX: 0000000000000000 RSI: 0000000000000246 RDI: 0000000000000246
[3083613.721872] RBP: ffff8f248ad86290 R08: 0000000000000000 R09: 0000000000000000
[3083613.727966] R10: ffff8f248ad86200 R11: 0000000000000001 R12: ffff8f24a227bc00
[3083613.731018] R13: 000000000000000b R14: ffff8f29206e17b8 R15: ffff8f24a227bc00
....
[3083613.764268] PKRU: 55555554
[3083613.770098] Call Trace:
[3083613.775134]  lpfc_disc_state_machine+0x23/0x2d0 [lpfc]
[3083613.778720]  lpfc_sli_sp_handle_rspiocb+0x6b9/0x800 [lpfc]
[3083613.784279]  lpfc_sli_handle_slow_ring_event_s4+0x195/0x280 [lpfc]
[3083613.789914]  lpfc_do_work+0x972/0x1850 [lpfc]
[3083613.795187]  ? finish_wait+0x80/0x80
[3083613.798893]  ? lpfc_unregister_unused_fcf+0x80/0x80 [lpfc]
....

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content