ISST-LTE: Ubuntu 15.04 lpar crashes at iommu_free_table after adapter DLPAR operation

Bug #1425202 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Leann Ogasawara

Bug Description

Description:
------------------------

I have installed all packages required for DLPAR in Ubuntu 15.04. When i am trying to do network adapter DLPAR operation, lpar crashes.

root@highlp1:/etc/network# [ 454.482742] kernel BUG at /build/buildd/linux-3.18.0/arch/powerpc/kernel/iommu.c:732!
cpu 0xa: Vector: 700 (Program Check) at [c00000016e67f850]
    pc: c000000000040484: iommu_free_table+0x64/0x140
    lr: c00000000004047c: iommu_free_table+0x5c/0x140
    sp: c00000016e67fad0
   msr: 8000000000029033
  current = 0xc00000016b4277e0
  paca = 0xc000000007b35a00 softe: 0 irq_happened: 0x01
    pid = 3288, comm = drmgr
kernel BUG at /build/buildd/linux-3.18.0/arch/powerpc/kernel/iommu.c:732!
enter ? for help
[c00000016e67fb40] c000000000083428 iommu_reconfig_notifier+0x88/0x160
[c00000016e67fb70] c0000000000dab38 notifier_call_chain+0x98/0x100
[c00000016e67fbc0] c0000000000db244 __blocking_notifier_call_chain+0x74/0xe0
[c00000016e67fc10] c000000000877290 of_reconfig_notify+0x40/0xa0
[c00000016e67fc40] c000000000877cdc of_detach_node+0x8c/0xb0
[c00000016e67fc70] c0000000000809b8 ofdt_write+0x1f8/0x7b0
[c00000016e67fd40] c0000000003459f0 proc_reg_write+0xb0/0x110
[c00000016e67fd90] c0000000002b950c vfs_write+0xdc/0x260
[c00000016e67fde0] c0000000002ba0ac SyS_write+0x6c/0x110
[c00000016e67fe30] c00000000000927c syscall_exit+0x0/0x7c
--- Exception: c01 (System Call) at 00001000001ba638
SP (3fffdba63300) is in userspace
a:mon>
a:mon>
a:mon>
a:mon> t
[c00000016e67fb40] c000000000083428 iommu_reconfig_notifier+0x88/0x160
[c00000016e67fb70] c0000000000dab38 notifier_call_chain+0x98/0x100
[c00000016e67fbc0] c0000000000db244 __blocking_notifier_call_chain+0x74/0xe0
[c00000016e67fc10] c000000000877290 of_reconfig_notify+0x40/0xa0
[c00000016e67fc40] c000000000877cdc of_detach_node+0x8c/0xb0
[c00000016e67fc70] c0000000000809b8 ofdt_write+0x1f8/0x7b0
[c00000016e67fd40] c0000000003459f0 proc_reg_write+0xb0/0x110
[c00000016e67fd90] c0000000002b950c vfs_write+0xdc/0x260
[c00000016e67fde0] c0000000002ba0ac SyS_write+0x6c/0x110
[c00000016e67fe30] c00000000000927c syscall_exit+0x0/0x7c
--- Exception: c01 (System Call) at 00001000001ba638
SP (3fffdba63300) is in userspace

a:mon> e
cpu 0xa: Vector: 700 (Program Check) at [c00000016e67f850]
    pc: c000000000040484: iommu_free_table+0x64/0x140
    lr: c00000000004047c: iommu_free_table+0x5c/0x140
    sp: c00000016e67fad0
   msr: 8000000000029033
  current = 0xc00000016b4277e0
  paca = 0xc000000007b35a00 softe: 0 irq_happened: 0x01
    pid = 3288, comm = drmgr
kernel BUG at /build/buildd/linux-3.18.0/arch/powerpc/kernel/iommu.c:732!

Original patch posted https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-February/125068.html

Updated patch posted as: https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-February/125133.html

Will update again once merged into mpe's tree.

-Nish

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-121306 severity-critical targetmilestone-inin1504
Luciano Chavez (lnx1138)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-02-25 16:20 EDT-------
*** Bug 122062 has been marked as a duplicate of this bug. ***

Changed in linux (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-03-09 18:20 EDT-------
Merged into Linus' tree as: 4ad04e5987115ece5fa8a0cf1dc72fcd4707e33e ("powerpc/iommu: Remove IOMMU device references via bus notifier").

-Nish

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-03-13 14:23 EDT-------
*** Bug 122738 has been marked as a duplicate of this bug. ***

Changed in linux (Ubuntu):
assignee: nobody → Leann Ogasawara (leannogasawara)
status: Triaged → In Progress
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.19.0-10.10

---------------
linux (3.19.0-10.10) vivid; urgency=low

  [ Andy Whitcroft ]

  * [Packaging] control -- make element ordering deterministic
  * [Config] allow dracult to support initramfs as well
    - LP: #1109029
  * [Packaging] generate live watchdog blacklists
    - LP: #1432837

  [ Leann Ogasawara ]

  * [Config] CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
    - LP: #1397860
  * rebase to v3.19.2

  [ Upstream Kernel Changes ]

  * thinkpad_acpi: support new BIOS version string pattern
    - LP: #1417915
  * arm64: Invalidate the TLB corresponding to intermediate page table
    levels
    - LP: #1432546
  * perf tools: Support parsing parameterized events
    - LP: #1430341
  * perf tools: Extend format_alias() to include event parameters
    - LP: #1430341
  * perf Documentation: Add event parameters
    - LP: #1430341
  * perf tools: Document parameterized and symbolic events
    - LP: #1430341
  * perf: provide sysfs_show for struct perf_pmu_events_attr
    - LP: #1430341
  * perf: add PMU_EVENT_ATTR_STRING() helper
    - LP: #1430341
  * perf: define EVENT_DEFINE_RANGE_FORMAT_LITE helper
    - LP: #1430341
  * powerpc/perf/hv-24x7: parse catalog and populate sysfs with events
    - LP: #1430341
  * powerpc/perf/{hv-gpci, hv-common}: generate requests with counters
    annotated
    - LP: #1430341
  * powerpc/perf/hv-gpci: add the remaining gpci requests
    - LP: #1430341
  * powerpc/perf/hv-24x7: Document sysfs event description entries
    - LP: #1430341
  * powerpc/iommu: Remove IOMMU device references via bus notifier
    - LP: #1425202
  * powerpc/pseries: Fix endian problems with LE migration
    - LP: #1428351
  * intel_idle: support additional Broadwell model
    - LP: #1400970
  * tools/power turbostat: support additional Broadwell model
    - LP: #1400970
  * KVM: x86: flush TLB when D bit is manually changed.
    - LP: #1397860
  * Optimize TLB flush in kvm_mmu_slot_remove_write_access.
    - LP: #1397860
  * KVM: Add generic support for dirty page logging
    - LP: #1397860
  * KVM: x86: switch to kvm_get_dirty_log_protect
    - LP: #1397860
  * KVM: Rename kvm_arch_mmu_write_protect_pt_masked to be more generic for
    log dirty
    - LP: #1397860
  * KVM: MMU: Add mmu help functions to support PML
    - LP: #1397860
  * KVM: MMU: Explicitly set D-bit for writable spte.
    - LP: #1397860
  * KVM: x86: Change parameter of kvm_mmu_slot_remove_write_access
    - LP: #1397860
  * KVM: x86: Add new dirty logging kvm_x86_ops for PML
    - LP: #1397860
  * KVM: VMX: Add PML support in VMX
    - LP: #1397860
  * HID: multitouch: add support of clickpads
  * HID: multitouch: Add support for button type usage

  [ Upstream Kernel Changes ]

  * rebase to v3.19.2
    - LP: #1428947
 -- Andy Whitcroft <email address hidden> Mon, 23 Mar 2015 15:28:16 +0000

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.