← Back to team overview

kernel-packages team mailing list archive

[Bug 1443648] Re: Kernel panics on iSER (iscsi over IB) logouts

 

Probable commits that should be backported to 3.13:

c7ca4b69d9ac8ec22f7c6b37a1ab9ac910c726cd IB/iser: Bump version to 1.4
e7eeffa4a073c9d5a4b04a64c5efb1edcb89fb11 IB/iser: Add missing newlines to logging messages
66d4e62d27875f3ae417e3b73396e290bb184b5c IB/iser: Fix a possible race in iser connection states transition
b73c3adabdb1e2cb2f2c69bc3cbb9306aa3f9700 IB/iser: Simplify connection management

To check if these commits are already in our kernel:

OK - 9fda1ac5fa09c49e9148f85be14f55e2bb856c0f IB/iser: Fix error flow in iser_create_ib_conn_res()
OK - 39ff05dbbbdb082bbabf06206c56b3cd4ef73904 IB/iser: Enhance disconnection logic for multi-pathing
OK - d265b9808272c9f25e1c36d3fb5ddb466efd90e9 IB/iser: Remove buggy back-pointer setting
OK - 2110f9bf37511df06220bb7e977f417baecf2950 IB/iser: Add asynchronous event handler

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1443648

Title:
  Kernel panics on iSER (iscsi over IB) logouts

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  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: [<ffffffffa03840b7>] 0xffffffffa03840b7
  [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:[<ffffffffa03840b7>]  [<ffffffffa03840b7>] 0xffffffffa03840b7
  [272843.998870] RSP: 0018:ffff880802523c28  EFLAGS: 00010296
  [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:  0000000000000000(0000) GS:ffff88083f420000(0000) knlGS:0000000000000000
  [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]  [<ffffffff810aacc4>] ? __wake_up+0x44/0x50
  [272843.999406]  [<ffffffffa03c436b>] ? cma_comp_exch+0x4b/0x60 [rdma_cm]
  [272843.999432]  [<ffffffffa03c6429>] ? cma_ib_handler+0xf9/0x230 [rdma_cm]
  [272843.999460]  [<ffffffffa01b2166>] ? cm_process_work+0x26/0x150 [ib_cm]
  [272843.999487]  [<ffffffffa01b4183>] ? cm_work_handler+0xa83/0x161c [ib_cm]
  [272843.999515]  [<ffffffff81083a82>] ? process_one_work+0x182/0x450
  [272843.999540]  [<ffffffff81084871>] ? worker_thread+0x121/0x410
  [272843.999565]  [<ffffffff81084750>] ? rescuer_thread+0x430/0x430
  [272843.999590]  [<ffffffff8108b5b2>] ? kthread+0xd2/0xf0
  [272843.999615]  [<ffffffff8108b4e0>] ? kthread_create_on_node+0x1c0/0x1c0
  [272843.999641]  [<ffffffff8173258c>] ? ret_from_fork+0x7c/0xb0
  [272843.999666]  [<ffffffff8108b4e0>] ? kthread_create_on_node+0x1c0/0x1c0
  [272843.999691] Code:  Bad RIP value.
  [272843.999721] RIP  [<ffffffffa03840b7>] 0xffffffffa03840b7
  [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: [<ffffffffa04af0b7>] 0xffffffffa04af0b7
  [  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:[<ffffffffa04af0b7>]  [<ffffffffa04af0b7>] 0xffffffffa04af0b7
  [  479.246065] RSP: 0018:ffff880811421c28  EFLAGS: 00010296
  [  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:  0000000000000000(0000) GS:ffff88083f440000(0000) knlGS:0000000000000000
  [  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]  [<ffffffff810aacc4>] ? __wake_up+0x44/0x50
  [  479.247867]  [<ffffffffa045436b>] ? cma_comp_exch+0x4b/0x60 [rdma_cm]
  [  479.247943]  [<ffffffffa0456429>] ? cma_ib_handler+0xf9/0x230 [rdma_cm]
  [  479.248019]  [<ffffffffa0247166>] ? cm_process_work+0x26/0x150 [ib_cm]
  [  479.248095]  [<ffffffffa0249183>] ? cm_work_handler+0xa83/0x161c [ib_cm]
  [  479.248172]  [<ffffffff81083a82>] ? process_one_work+0x182/0x450
  [  479.248247]  [<ffffffff81084871>] ? worker_thread+0x121/0x410
  [  479.248321]  [<ffffffff81084750>] ? rescuer_thread+0x430/0x430
  [  479.248396]  [<ffffffff8108b5b2>] ? kthread+0xd2/0xf0
  [  479.248469]  [<ffffffff8108b4e0>] ? kthread_create_on_node+0x1c0/0x1c0
  [  479.248546]  [<ffffffff8173258c>] ? ret_from_fork+0x7c/0xb0
  [  479.248620]  [<ffffffff8108b4e0>] ? kthread_create_on_node+0x1c0/0x1c0
  [  479.248693] Code:  Bad RIP value.
  [  479.248871] RIP  [<ffffffffa04af0b7>] 0xffffffffa04af0b7
  [  479.248999]  RSP <ffff880811421c28>
  [  479.249068] CR2: ffffffffa04af0b7
  """
  I'll be working on fixing this since I'm fixing also:

  https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1401575

  By backporting TGT daemon to support iSER.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1443648/+subscriptions


References