[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-04-23 Thread Manoj Iyer
** Changed in: ubuntu-power-systems
   Status: Fix Committed => Fix Released

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.15.0-15.16

---
linux (4.15.0-15.16) bionic; urgency=medium

  * linux: 4.15.0-15.16 -proposed tracker (LP: #1761177)

  * FFe: Enable configuring resume offset via sysfs (LP: #1760106)
- PM / hibernate: Make passing hibernate offsets more friendly

  * /dev/bcache/by-uuid links not created after reboot (LP: #1729145)
- SAUCE: (no-up) bcache: decouple emitting a cached_dev CHANGE uevent

  * Ubuntu18.04:POWER9:DD2.2 - Unable to start a KVM guest with default machine
type(pseries-bionic) complaining "KVM implementation does not support
Transactional Memory, try cap-htm=off" (kvm) (LP: #1752026)
- powerpc: Use feature bit for RTC presence rather than timebase presence
- powerpc: Book E: Remove unused CPU_FTR_L2CSR bit
- powerpc: Free up CPU feature bits on 64-bit machines
- powerpc: Add CPU feature bits for TM bug workarounds on POWER9 v2.2
- powerpc/powernv: Provide a way to force a core into SMT4 mode
- KVM: PPC: Book3S HV: Work around transactional memory bugs in POWER9
- KVM: PPC: Book3S HV: Work around XER[SO] bug in fake suspend mode
- KVM: PPC: Book3S HV: Work around TEXASR bug in fake suspend state

  * Important Kernel fixes to be backported for Power9 (kvm) (LP: #1758910)
- powerpc/mm: Fixup tlbie vs store ordering issue on POWER9

  * Ubuntu 18.04 - IO Hang on some namespaces when running HTX with 16
namespaces  (Bolt / NVMe) (LP: #1757497)
- powerpc/64s: Fix lost pending interrupt due to race causing lost update to
  irq_happened

  * fwts-efi-runtime-dkms 18.03.00-0ubuntu1: fwts-efi-runtime-dkms kernel module
failed to build (LP: #1760876)
- [Packaging] include the retpoline extractor in the headers

linux (4.15.0-14.15) bionic; urgency=medium

  * linux: 4.15.0-14.15 -proposed tracker (LP: #1760678)

  * [Bionic] mlx4 ETH - mlnx_qos failed when set some TC to vendor
(LP: #1758662)
- net/mlx4_en: Change default QoS settings

  * AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu 17.10
(LP: #1759312)
- powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features

  * Bionic update to 4.15.15 stable release (LP: #1760585)
- net: dsa: Fix dsa_is_user_port() test inversion
- openvswitch: meter: fix the incorrect calculation of max delta_t
- qed: Fix MPA unalign flow in case header is split across two packets.
- tcp: purge write queue upon aborting the connection
- qed: Fix non TCP packets should be dropped on iWARP ll2 connection
- sysfs: symlink: export sysfs_create_link_nowarn()
- net: phy: relax error checking when creating sysfs link netdev->phydev
- devlink: Remove redundant free on error path
- macvlan: filter out unsupported feature flags
- net: ipv6: keep sk status consistent after datagram connect failure
- ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
- ipv6: sr: fix NULL pointer dereference when setting encap source address
- ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state
- mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
- net: phy: Tell caller result of phy_change()
- ipv6: Reflect MTU changes on PMTU of exceptions for MTU-less routes
- net sched actions: return explicit error when tunnel_key mode is not
  specified
- ppp: avoid loop in xmit recursion detection code
- rhashtable: Fix rhlist duplicates insertion
- test_rhashtable: add test case for rhltable with duplicate objects
- kcm: lock lower socket in kcm_attach
- sch_netem: fix skb leak in netem_enqueue()
- ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
- net: use skb_to_full_sk() in skb_update_prio()
- net: Fix hlist corruptions in inet_evict_bucket()
- s390/qeth: free netdevice when removing a card
- s390/qeth: when thread completes, wake up all waiters
- s390/qeth: lock read device while queueing next buffer
- s390/qeth: on channel error, reject further cmd requests
- soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
- dpaa_eth: fix error in dpaa_remove()
- dpaa_eth: remove duplicate initialization
- dpaa_eth: increment the RX dropped counter when needed
- dpaa_eth: remove duplicate increment of the tx_errors counter
- dccp: check sk for closed state in dccp_sendmsg()
- ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
- l2tp: do not accept arbitrary sockets
- net: ethernet: arc: Fix a potential memory leak if an optional regulator 
is
  deferred
- net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY
  interface
- net: fec: Fix unbalanced PM runtime calls
- net/iucv: Free memory obtained by kzalloc
- netlink: avoid a double skb free in genlmsg_mcast()
- net: Only honor ifindex in IP_PKTINFO if non-0
- net: systemport: Rewrite __bcm_sysport_tx_reclaim()
- qed

[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-04-01 Thread Frank Heimes
** Changed in: ubuntu-power-systems
   Status: In Progress => Fix Committed

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-03-30 Thread Seth Forshee
** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  In Progress
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-03-30 Thread Joseph Salisbury
Bionic request submitted:
https://lists.ubuntu.com/archives/kernel-team/2018-March/091269.html

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-03-29 Thread Joseph Salisbury
Can you confirm the appropriate test kernel was booted with 'uname -a'?
You should see the text 'lp1758206' in the kernel name.

Also, could there be more the the three patches required that were
posted to the description:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
("powerpc/crash: Remove the test for cpu_online in the IPI callback")

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-03-27 Thread Frank Heimes
** Changed in: ubuntu-power-systems
   Status: Triaged => In Progress

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-03-27 Thread Joseph Salisbury
I built a Bionic test kernel with the three commits mentioned in the bug 
description.  The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1758206

Can you test this kernel and see if it resolves this bug?

Note, to test this kernel, you need to install both the linux-image and
linux-image-extra .deb packages.

Thanks in advance!

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-03-27 Thread Joseph Salisbury
** Changed in: linux (Ubuntu)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
 Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) => 
Joseph Salisbury (jsalisbury)

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Also affects: linux (Ubuntu Bionic)
   Importance: High
 Assignee: Joseph Salisbury (jsalisbury)
   Status: In Progress

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  Triaged
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1758206] Re: Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails to capture dump when smt=2 or off.

2018-03-22 Thread Frank Heimes
** Also affects: ubuntu-power-systems
   Importance: Undecided
   Status: New

** Changed in: ubuntu-power-systems
   Importance: Undecided => High

** Changed in: ubuntu-power-systems
 Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team)

** Tags added: triage-g

** Changed in: ubuntu-power-systems
   Status: New => Triaged

-- 
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/1758206

Title:
  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

Status in The Ubuntu-power-systems project:
  Triaged
Status in linux package in Ubuntu:
  New

Bug description:
  ---Problem Description---

  Ubuntu 18.04 [ WSP DD2.2 with stop4 and stop5 enabled ]: kdump fails
  to capture dump when smt=2 or off.

  ---Environment--
  Kernel Build:  4.15.0-13-generic
  System Name :  ltc-wspoon4
  Model/Type  :  P9
  Platform:  BML

  ---Steps to reproduce--

  1. Configure kdump.
  2. Set smt=off
  # ppc64_cpu --smt=off
  3. trigger crash.
  echo 1 > /proc/sys/kernel/sysrq
  echo "c" > /proc/sysrq-trigger

  ---Logs

  root@ltc-wspoon4:~# dpkg -l|grep kexec
  ii  kexec-tools 1:2.0.16-1ubuntu1 
ppc64el  tools to support fast kexec reboots
  root@ltc-wspoon4:~# makedumpfile -v
  makedumpfile: version 1.6.3 (released on 29 Jun 2018)
  lzo   enabled
  snappydisabled

  
  [  285.519832] [c01fe2d83de0] [c03d1898] SyS_write+0x68/0x110
  [  285.519926] [c01fe2d83e30] [c000b184] system_call+0x58/0x6c
  [  285.520007] Instruction dump:
  [  285.520053] 4bfff9f1 4bfffe50 3c4c00f0 3842e800 7c0802a6 6000 3921 
3d42001c 
  [  285.520158] 394a6db0 912a 7c0004ac 3940 <992a> 4e800020 
3c4c00f0 3842e7d0 
  [  285.520261] ---[ end trace 90a666dc7ca6f0ec ]---
  [  286.525787] 
  [  286.525883] Sending IPI to other CPUs
  [  28[  401.296284048,5] OPAL: Switch to big-endian OS
  [  402.297026662,3] OPAL: CPU 0x1 not in OPAL !
  6.851284] IPI complete
  [  403.455520784,3] OPAL: CPU 0x1 not in OPAL !nce.
  [  403.455569636,5] OPAL: Switch to little-endian OS
  [  404.455711332,3] OPAL: CPU 0x1 not in OPAL !
  [  404.470276386,3] PHB#[0:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  413.140065625,3] PHB#0003[0:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  421.393193605,3] PHB#0030[8:0]: CRESET: Unexpected slot state 0102, 
resetting...
  [  423.353977316,3] PHB#0033[8:3]: CRESET: Unexpected slot state 0102, 
resetting...
  [  425.314547966,3] PHB#0034[8:4]: CRESET: Unexpected slot state 0102, 
resetting...

  [5.004718] Processor 1 is stuck.
  [   10.007584] Processor 2 is stuck.
  [   15.010425] Processor 3 is stuck.
  [   16.135550] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
  [   16.135554] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
  [   16.250952] vio vio: uevent: failed to send synthetic uevent

  
  --== Welcome to Hostboot hostboot-5fc3b52/hbicore.bin ==--

4.52180|secure|SecureROM valid - enabling functionality
4.53193|secure|Booting in non-secure mode.
6.00924|Booting from SBE side 0 on master proc=0005

  
  There could be a firmware issue there but still there is need for the below 
kernel
  patches to be included to ensure kdump kernel captures dump successfully
  when SMT is set to 2/off

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04b9c96eae72d862726f2f4bfcec2078240c33c5
  ("powerpc/crash: Remove the test for cpu_online in the IPI callback")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4145f358644b970fcff293c09fdcc7939e8527d2
  ("powernv/kdump: Fix cases where the kdump kernel can get HMI's")

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=910961754572a2f4c83ad7e610d180
  ("powerpc/kdump: Fix powernv build break when KEXEC_CORE=n")

  Thanks
  Hari

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758206/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp