[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2017-05-12 Thread Louis Bouchard
** Changed in: makedumpfile (Ubuntu)
 Assignee: Louis Bouchard (louis) => (unassigned)

** Changed in: makedumpfile (Ubuntu Wily)
 Assignee: Louis Bouchard (louis) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-02-09 Thread Launchpad Bug Tracker
This bug was fixed in the package makedumpfile - 1:1.5.9-4

---
makedumpfile (1:1.5.9-4) sid; urgency=medium

  * Allow for symlinks to be created for vmlinux files : On Power8
architecture, systems are booting from a vmlinux file. The symlink
/var/lib/kdump/vmlinuz has to point to this file.  (LP: #1536904)

  * Add functionality to create symlinks for older kernels : If kdump
is installed on systems with more than one kernel package, the smaller
initrd.img file will only be created for the latest kernel. Adding the
'symlinks' functionality will allow for the creation of symlinks to
older kernels. If the smaller initrd.img file is missing in /var/lib/kdump
it will be created beforehand.  This will be preempted if kdump is already
loaded. (LP: #1537714)

  * Fix kdump-config manpage : add documentation for the propagate option.
(LP: #1538148)

  * Improve manpage for kdump-config

 -- Louis Bouchard   Tue, 26 Jan 2016
15:30:48 +0100

** Changed in: makedumpfile (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-02-04 Thread bugproxy
--- Comment From iranna.an...@in.ibm.com 2016-02-05 00:30 EDT---
(In reply to comment #21)
> Ok.. Let us close this bug as symlink issue is resolved.
> Please open a new bug to track the hang issue.
>
> Thanks
> Hari

Alright..Closing this bug.

** Tags removed: targetmilestone-inin---
** Tags added: targetmilestone-inin1604

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-02-04 Thread bugproxy
--- Comment From praveen.pan...@in.ibm.com 2016-02-04 04:14 EDT---
raised kdump bug :

https://bugzilla.linux.ibm.com/show_bug.cgi?id=136588

** Bug watch added: bugzilla.linux.ibm.com/ #136588
   https://bugzilla.linux.ibm.com/show_bug.cgi?id=136588

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-01-29 Thread Louis Bouchard
Hello,

You can find the upcoming version in the following PPA : ppa:louis-
bouchard/makedumpfile-tests. Here is the changelog :

  * Allow for symlinks to be created for vmlinux files : On Power8  
  
architecture, systems are booting from a vmlinux file. The symlink  
  
/var/lib/kdump/vmlinuz has to point to this file.  (LP: #1536904)   
  

  
  * Add functionality to create symlinks for older kernels : If kdump   
  
is installed on systems with more than one kernel package, the smaller  
  
initrd.img file will only be created for the latest kernel. Adding the  
  
'symlinks' functionality will allow for the creation of symlinks to 
  
older kernels. If the smaller initrd.img file is missing in /var/lib/kdump  
  
it will be created beforehand.  This will be preempted if kdump is already  
  
loaded. (LP: #1537714)  
  

  
  * Fix kdump-config manpage : add documentation for the propagate option.  
  
(LP: #1538148)  
  

  
  * Improve manpage for kdump-config

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-01-29 Thread Louis Bouchard
Sorry for the formatting : the ppa is

ppa:louis-bouchard/makedumpfile-tests

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-01-26 Thread Louis Bouchard
Hello,

Sorry for the delay in replying.

This is definitively a regression following the implementation of
smaller initrd. I am currently working at fixing this. Your second
problem might be caused by not using smaller initrd so I would suggest
to wait to test the fix for this.

I can have a test package available quickly if you have the possibility
of testing from a PPA (according to a previous bug I think you do) so
let me know & I'll tell you where to find the PPA.

** Changed in: makedumpfile (Ubuntu)
   Status: Invalid => In Progress

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

** Changed in: makedumpfile (Ubuntu)
 Assignee: Taco Screen team (taco-screen-team) => Louis Bouchard 
(louis-bouchard)

** Also affects: makedumpfile (Ubuntu Wily)
   Importance: Undecided
   Status: New

** Changed in: makedumpfile (Ubuntu Wily)
   Status: New => Confirmed

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

** Changed in: makedumpfile (Ubuntu Wily)
 Assignee: (unassigned) => Louis Bouchard (louis-bouchard)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-01-25 Thread Louis Bouchard
Hello,

I must admit that I am a bit puzzled by some of your statements :

  ---Steps to Reproduce---
   Steps to follow:
  1. apt-get install linux-crashdump
  2. apt-get install kdump-tools

Step 2 is not required : kdump-tools is a dependency of linux-crashdump
so it is installed automatically :

  3. Edit /etc/default/kdump-tools and change the following:
  USE_KDUMP=0 to 1
This is not required. kdump-tools 1:1.5.9-3 does that automatically during 
installation and you should be prompted to accept it :

  ┌──┤ Configuring kdump-tools 
├──┐   
  │ 
  │   
  │ If you choose this option, the kdump-tools mechanism will be enabled. A 
reboot is still required in order to enable   │   
  │ the crashkernel kernel parameter.   
  │   
  │ 
  │   
  │ Should kdump-tools be enabled by default?   
  │   
  │ 
  │   
  │
  │   
  │ 
  │   
  
└───┘
   

  4. Change the size of the crash kernel in /boot/grub/grub.cfg to 
crashkernel=4096M-:4096M
  5. Load the kdump config file: kdump-config load

This will fail with the following :

# kdump-config load
 * no crashkernel= parameter in the kernel cmdline

Which is normal as a reboot is required in order to have the crashkernel
parameter taken into account after the reboot.

  6. echo 1 > /proc/sys/kernel/sysrq
  7. echo c > /proc/sysrq-trigger

The hang following this command is normal : as previously stated, a
reboot is required otherwise kdump-tools is not loaded.

After the reboot, you should see the following in /var/log/syslog :

Jan 25 11:12:25 XenialS-crashdump kdump-tools[523]: Starting kdump-tools:  * 
Missing symlink : /var/lib/kdump/initrd.img
Jan 25 11:12:25 XenialS-crashdump kdump-tools[523]: * Creating symlink 
/var/lib/kdump/initrd.img
Jan 25 11:12:25 XenialS-crashdump kdump-tools[523]: * Missing symlink : 
/var/lib/kdump/vmlinuz
Jan 25 11:12:25 XenialS-crashdump kdump-tools[523]: * Creating symlink 
/var/lib/kdump/vmlinuz
Jan 25 11:12:26 XenialS-crashdump kdump-tools[523]: * loaded kdump kernel

To verify the status of kdump you can do :

# kdump-config show
DUMP_MODE:kdump
USE_KDUMP:1
KDUMP_SYSCTL: kernel.panic_on_oops=1
KDUMP_COREDIR:/var/crash
crashkernel addr: 0x2c00
current state:ready to kdump

kexec command:
  /sbin/kexec -p --command-line="BOOT_IMAGE=/vmlinuz-4.3.0-7-generic 
root=/dev/mapper/VividS--vg-root ro console=ttyS0,115200 irqpoll maxcpus=1 
nousb systemd.unit=kdump-tools.service" --initrd=/var/lib/kdump/initrd.img 
/var/lib/kdump/vmlinuz

Your bug statement shows the following :

  /sbin/kexec -p --args-linux --command-
line="root=UUID=e445a093-4593-4e91-bebb-6968483bf2ea ro quiet splash
irqpoll maxcpus=1 nousb systemd.unit=kdump-tools.service"
--initrd=/boot/initrd.img-4.3.0-5-generic /boot/vmlinux-4.3.0-5-generic

This : --initrd=/boot/initrd.img-4.3.0-5-generic
/boot/vmlinux-4.3.0-5-generic indicates that kdump-tools is not properly
configured and that your /etc/default/kdump-tools file is the one from a
previous version.  I suspect that kdump-tools was improperly configured
or that installation of the maintainer's version of the file was
refused.

Since 15.10 (Wily), /etc/default/kdump-tools has the following :

KDUMP_KERNEL=/var/lib/kdump/vmlinuz
KDUMP_INITRD=/var/lib/kdump/initrd.img

This was implemented to fix LP: #1496317 which might be the bug that you
are encountering.

I suggest that you verify your configuration and run the test again as
your description does not describe an actual bug but misconfiguration of
kdump-tools



** Changed in: makedumpfile (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-01-22 Thread Steve Langasek
** Package changed: ubuntu => makedumpfile (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1536904] Re: Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

2016-01-22 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general.  It is important that bug reports be filed about source
packages so that people interested in the package can find the bugs
about it.  You can find some hints about determining what package your
bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage.
You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit
https://bugs.launchpad.net/ubuntu/+bug/1536904/+editstatus and add the
package name in the text box next to the word Package.

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536904

Title:
  Kdump fails on Ubuntu 16.04 (PowerVM/PowerKVM/BareMetal)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs