Kernel panics on iSER (iscsi over IB) logouts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Rafael David Tinoco |
Bug Description
SRU Justification:
Impact: After iSER was fixed by LP: #1409904 iscsi logouts cause panics.
Fix: Upstream development and devel bisection between 3.13 and 3.16.
Testcase: To use iSER and shut down the open-iscsi daemon (comment #8).
-------
While shutting down the "open-iscsi" daemon (with an iSER mapped volume from other host) I'm getting the following kernel panic for kernel 3.13.0-49:
"""
[272820.948946] scsi15 : iSCSI Initiator over iSER
[272843.474551] sd 14:0:0:1: [sdc] Synchronizing SCSI cache
[272843.998231] BUG: unable to handle kernel paging request at ffffffffa03840b7
[272843.998258] IP: [<ffffffffa0384
[272843.998278] PGD 1c11067 PUD 1c12063 PMD 80afb5067 PTE 0
[272843.998306] Oops: 0010 [#1] SMP
[272843.998324] Modules linked in: rdma_ucm ib_ucm ib_srp scsi_transport_srp scsi_tgt ib_srpt ib_mthca ib_ipa
[272843.998742] CPU: 1 PID: 32399 Comm: kworker/1:0 Not tainted 3.13.0-49-generic #81-Ubuntu
[272843.998758] Hardware name: HP ProLiant DL360e Gen8, BIOS P73 11/12/2013
[272843.998774] Workqueue: ib_cm cm_work_handler [ib_cm]
[272843.998789] task: ffff88080b72c800 ti: ffff880802522000 task.ti: ffff880802522000
[272843.998827] RIP: 0010:[<
[272843.998870] RSP: 0018:ffff880802
[272843.998893] RAX: ffff8800b851d801 RBX: ffff8807af8482b8 RCX: 0000000180200008
[272843.998929] RDX: 0000000180200009 RSI: 0000000080200008 RDI: ffff88081f003900
[272843.998965] RBP: ffff880802523c30 R08: 0000000000000000 R09: 0000000000000001
[272843.999002] R10: ffffea0002e14740 R11: ffffffffa00e0b9a R12: ffff88080953e400
[272843.999038] R13: ffff8807af8482b8 R14: ffff88080953e400 R15: 0000000000000000
[272843.999075] FS: 000000000000000
[272843.999113] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[272843.999136] CR2: ffffffffa03840b7 CR3: 00000008024f1000 CR4: 00000000000407e0
[272843.999173] Stack:
[272843.999191] ffff8807af540000 ffff880802523c60 ffffffffa0386425 ffff8807af8482b8
[272843.999245] ffff88080953e400 ffff88080acf9fa8 ffff880802523cf0 ffff880802523ca0
[272843.999297] ffffffffa0384f58 ffffffff810aacc4 ffff8807af8482b8 ffff8807af8482d0
[272843.999349] Call Trace:
[272843.999378] [<ffffffff810aa
[272843.999406] [<ffffffffa03c4
[272843.999432] [<ffffffffa03c6
[272843.999460] [<ffffffffa01b2
[272843.999487] [<ffffffffa01b4
[272843.999515] [<ffffffff81083
[272843.999540] [<ffffffff81084
[272843.999565] [<ffffffff81084
[272843.999590] [<ffffffff8108b
[272843.999615] [<ffffffff8108b
[272843.999641] [<ffffffff81732
[272843.999666] [<ffffffff8108b
[272843.999691] Code: Bad RIP value.
[272843.999721] RIP [<ffffffffa0384
[272843.999749] RSP <ffff880802523c28>
[272843.999770] CR2: ffffffffa03840b7
"""
I got also this one (looks the same):
"""
[ 479.240278] BUG: unable to handle kernel paging request at ffffffffa04af0b7
[ 479.240453] IP: [<ffffffffa04af
[ 479.240572] PGD 1c11067 PUD 1c12063 PMD 80bccf067 PTE 0
[ 479.240849] Oops: 0010 [#1] SMP
[ 479.241014] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_
[ 479.245546]
[ 479.245603] CPU: 2 PID: 257 Comm: kworker/2:1 Not tainted 3.13.0-49-generic #81-Ubuntu
[ 479.245668] Hardware name: HP ProLiant DL360e Gen8, BIOS P73 11/12/2013
[ 479.245734] Workqueue: ib_cm cm_work_handler [ib_cm]
[ 479.245847] task: ffff880811ad6000 ti: ffff880811420000 task.ti: ffff880811420000
[ 479.245923] RIP: 0010:[<
[ 479.246065] RSP: 0018:ffff880811
[ 479.246138] RAX: ffff8807f6d85501 RBX: ffff8807e613a2b8 RCX: 0000000180200009
[ 479.246212] RDX: 000000018020000a RSI: 0000000080200009 RDI: ffff88081f003900
[ 479.246287] RBP: ffff880811421c30 R08: 0000000000000000 R09: 0000000000000001
[ 479.246361] R10: ffffea001fdb6140 R11: ffffffffa00f7b9a R12: ffff8807e6238c00
[ 479.246435] R13: ffff8807e613a2b8 R14: ffff8807e6238c00 R15: 0000000000000000
[ 479.246510] FS: 000000000000000
[ 479.246597] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 479.246669] CR2: ffffffffa04af0b7 CR3: 0000000811549000 CR4: 00000000000407e0
[ 479.246743] Stack:
[ 479.246811] ffff8807e6ac0000 ffff880811421c60 ffffffffa04b1425 ffff8807e613a2b8
[ 479.247113] ffff8807e6238c00 ffff88081218f6a8 ffff880811421cf0 ffff880811421ca0
[ 479.247412] ffffffffa04aff58 ffffffff810aacc4 ffff8807e613a2b8 ffff8807e613a2d0
[ 479.247712] Call Trace:
[ 479.247790] [<ffffffff810aa
[ 479.247867] [<ffffffffa0454
[ 479.247943] [<ffffffffa0456
[ 479.248019] [<ffffffffa0247
[ 479.248095] [<ffffffffa0249
[ 479.248172] [<ffffffff81083
[ 479.248247] [<ffffffff81084
[ 479.248321] [<ffffffff81084
[ 479.248396] [<ffffffff8108b
[ 479.248469] [<ffffffff8108b
[ 479.248546] [<ffffffff81732
[ 479.248620] [<ffffffff8108b
[ 479.248693] Code: Bad RIP value.
[ 479.248871] RIP [<ffffffffa04af
[ 479.248999] RSP <ffff880811421c28>
[ 479.249068] CR2: ffffffffa04af0b7
"""
I'll be working on fixing this since I'm fixing also:
https:/
By backporting TGT daemon to support iSER.
Changed in linux (Ubuntu): | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
status: | New → Confirmed |
tags: | added: cts |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
tags: | added: patch |
Changed in linux (Ubuntu Trusty): | |
milestone: | none → ubuntu-14.04.3 |
Changed in linux (Ubuntu Trusty): | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
Changed in linux (Ubuntu): | |
assignee: | Rafael David Tinoco (inaddy) → nobody |
Changed in linux (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
description: | updated |
Changed in linux (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in linux (Ubuntu): | |
importance: | High → Undecided |
This bug was discovered when fixing iSER enablement for Trusty in case:
https:/ /bugs.launchpad .net/ubuntu/ +source/ open-iscsi/ +bug/1401575