ofpathname: map mpath* devices to the appropriate dm-* generic dm device #1

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

cyphermox commented Jan 12, 2016

Signed-off-by: Mathieu Trudel-Lapierre mathieu.trudel-lapierre@canonical.com

ofpathname: map mpath* devices to the appropriate dm-* generic dm dev…
…ice.

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Collaborator

nfont commented Feb 15, 2016

Sorry for the long delay in responding.

the patch looks good and I have merged it into the -next branch.

@nfont nfont closed this Mar 18, 2016

pfsmorigo pushed a commit to pfsmorigo/powerpc-utils that referenced this pull request Jan 11, 2017

drmgr: Validate the status of a CPU before adding or removing it
When asked to perform a CPU DLPAR operation we should verify the current
status of the CPU before performing the operation. Failure to verify the
status has caused the kernel to oops in cases where we try to add a CPU
that is already owned, namely in a kvm guest the following is seen.

[    9.465585] kernel BUG at arch/powerpc/platforms/pseries/dlpar.c:382!
[    9.465796] Oops: Exception in kernel mode, sig: 5 [#1]
[    9.465963] SMP NR_CPUS=2048 NUMA pSeries
[    9.466119] Modules linked in: virtio_balloon virtio_console uinput xfs libcrc32c sd_mod crc_t10dif crct10dif_common ibmvscsi scsi_transport_srp ibmveth scsi_tgt virtio_pci virtio virtio_ring dm_mirror dm_region_hash dm_log dm_mod
[    9.467077] CPU: 19 PID: 1119 Comm: drmgr Tainted: G        W   --------------   3.10.0-229.el7.ppc64 #1
[    9.467341] task: c000000003314a70 ti: c0000000033c4000 task.ti: c0000000033c4000
[    9.467566] NIP: c00000000008c388 LR: c00000000008c374 CTR: 0000000000000008
[    9.467795] REGS: c0000000033c7820 TRAP: 0700   Tainted: G        W   --------------    (3.10.0-229.el7.ppc64)
[    9.468095] MSR: 8000000000029032 <SF,EE,ME,IR,DR,RI>  CR: 42000482  XER: 20000000
[    9.468584] CFAR: c0000000000921dc SOFTE: 1
GPR00: c00000000008c2d0 c0000000033c7aa0 c00000000130ae00 0000000000000001
GPR04: 0000000000000800 0000000000000000 fffffffffffc0000 ffffffffffffffff
GPR08: c000000007b8a200 c000000000cc4e34 0000000000fc0000 c000000000b3b3b8
GPR12: 0000000024000484 c000000007b8ab00 0000000000000000 0000000000000000
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20: 0000000000000000 0000000000000000 0000000000000000 c000000000b2da50
GPR24: 000000000000000a 0000000000000008 c0000001f31a0158 0000000000000000
GPR28: c000000001354b08 c000000001355eb4 0000000000000048 0000000000000012
[    9.471354] NIP [c00000000008c388] .dlpar_cpu_probe+0x238/0x420
[    9.471511] LR [c00000000008c374] .dlpar_cpu_probe+0x224/0x420
[    9.471664] Call Trace:
[    9.471728] [c0000000033c7aa0] [c00000000008c2d0] .dlpar_cpu_probe+0x180/0x420 (unreliable)
[    9.472021] [c0000000033c7b70] [c00000000001cd34] .arch_cpu_probe+0x34/0x60
[    9.472199] [c0000000033c7be0] [c0000000005b4e28] .cpu_probe_store+0x38/0x70
[    9.472389] [c0000000033c7c60] [c0000000005a7cf0] .dev_attr_store+0x30/0x60
[    9.472573] [c0000000033c7cd0] [c00000000039614c] .sysfs_write_file+0xec/0x1c0
[    9.472787] [c0000000033c7d80] [c0000000002d6c24] .SyS_write+0x144/0x390
[    9.472972] [c0000000033c7e30] [c00000000000a17c] syscall_exit+0x0/0x7c
[    9.473156] Instruction dump:
[    9.473249] e94a0000 7d0a4214 a9480048 7f8af040 409effb8 7d234b78 48005e51 60000000
[    9.473560] 7c630034 5463d97e 78630020 68630001 <0b030000> 48038795 60000000 7fe3fb78
[    9.473876] ---[ end trace 76c13a6bb8696cd1 ]---

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment