2011-05-19 21:41:52 |
Daniel Richard G. |
bug |
|
|
added bug |
2011-06-14 14:15:49 |
Louis Bouchard |
bug |
|
|
added subscriber Louis Bouchard |
2011-11-02 03:43:43 |
Daniel Richard G. |
attachment added |
|
/var/crash/vmcore.log file produced by kernel crash dump on Oneiric https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/785425/+attachment/2582481/+files/vmcore.log |
|
2011-11-16 19:56:20 |
Kai Kasurinen |
bug |
|
|
added subscriber Kai Kasurinen |
2011-11-22 13:42:26 |
Louis Bouchard |
attachment added |
|
kdump.initramfs_makedumpfile_static-LP785425.patch https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/785425/+attachment/2604948/+files/kdump.initramfs_makedumpfile_static-LP785425.patch |
|
2011-11-22 13:45:58 |
Louis Bouchard |
attachment added |
|
linux-crashdump_makedumpfile-static_LP785425.patch https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/785425/+attachment/2604950/+files/linux-crashdump_makedumpfile-static_LP785425.patch |
|
2011-11-22 15:16:19 |
Joseph Salisbury |
kexec-tools (Ubuntu): status |
New |
Triaged |
|
2011-11-22 15:16:22 |
Joseph Salisbury |
kexec-tools (Ubuntu): importance |
Undecided |
Medium |
|
2011-11-22 15:16:31 |
Joseph Salisbury |
kexec-tools (Ubuntu): assignee |
|
Canonical Kernel Team (canonical-kernel-team) |
|
2011-11-22 15:23:45 |
Joseph Salisbury |
kexec-tools (Ubuntu): assignee |
Canonical Kernel Team (canonical-kernel-team) |
Canonical Foundations Team (canonical-foundations) |
|
2011-11-22 16:14:21 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2011-11-22 16:14:23 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2011-11-23 13:40:20 |
Louis Bouchard |
attachment removed |
linux-crashdump_makedumpfile-static_LP785425.patch https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/785425/+attachment/2604950/+files/linux-crashdump_makedumpfile-static_LP785425.patch |
|
|
2011-11-23 13:40:39 |
Louis Bouchard |
attachment removed |
kdump.initramfs_makedumpfile_static-LP785425.patch https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/785425/+attachment/2604948/+files/kdump.initramfs_makedumpfile_static-LP785425.patch |
|
|
2011-12-01 13:58:05 |
Louis Bouchard |
attachment added |
|
kdump.initramfs.patch https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/785425/+attachment/2614701/+files/kdump.initramfs.patch |
|
2011-12-01 19:24:29 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/kexec-tools |
|
2012-01-03 06:45:12 |
Launchpad Janitor |
kexec-tools (Ubuntu): status |
Triaged |
Fix Released |
|
2012-01-31 18:45:53 |
Launchpad Janitor |
branch linked |
|
lp:~christopherarges/ubuntu/natty/kexec-tools/kexec-tools.fix828731 |
|
2012-01-31 18:46:20 |
Launchpad Janitor |
branch linked |
|
lp:~christopherarges/ubuntu/lucid/kexec-tools/kexec-tools.fix828731 |
|
2012-01-31 18:52:36 |
Launchpad Janitor |
branch linked |
|
lp:~christopherarges/ubuntu/oneiric/kexec-tools/kexec-tools.fix828731 |
|
2012-01-31 19:03:11 |
Launchpad Janitor |
branch linked |
|
lp:~christopherarges/ubuntu/maverick/kexec-tools/kexec-tools.fix828731 |
|
2012-01-31 19:48:35 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-01-31 19:49:32 |
Chris J Arges |
description |
Binary package hint: kexec-tools
This concerns kexec-tools 1:2.0.1-2ubuntu4 in Ubuntu Natty.
I am trying to get a kernel crash dump. Instead of getting a nice vmcore file in /var/crash/, I get a vmcore.log file with the following:
/root/usr/bin/makedumpfile: error while loading shared libraries: libdw.so.1: cannot open shared object file: No such file or directory
Problem number 1: /usr/bin/makedumpfile is a dynamically-linked executable. Not the kind of thing you want to run in an initramfs environment.
There is, however, a "makedumpfile-static" package, which not only provides /bin/makedumpfile-static, but also an initramfs-tools hook so that this statically-linked binary is copied in as /bin/makedumpfile in the initrd.
Problem number 2: The 0_kdump script is hard-coded to use the dynamic binary in root:/usr/bin/. It is not at all aware of initrd:/bin/makedumpfile . |
SRU Request for Lucid/Maverick/Natty/Oneiric:
[Impact] - When a server is configured with the /boot as a separate partition, which is the default configuration when LVM installation is selected, the kdump mechanism fails systematically.
[Development/Stable Fix] - This has been fixed in the development version with the addition of the following:
* Backport changes to fix kdump functionality. LP: #828731.
- debian/kdump.initramfs: call /usr/bin/makedumpfile via a chroot command,
so that if makedumpfile is statically linked, we get proper library
resolution. Thanks to Louis Bouchard <louis.bouchard@canonical.com> for
the patch. LP: #785425.
- debian/kdump.initramfs: handle the possibility that /usr, /boot, or
/var is on a separate filesystem and needs to be manually mounted before
calling makedumpfile. LP: #828731.
- Depend on makedumpfile, without which the initramfs script doesn't work.
- Fix an unnecessary bashism.
- Only install the kdump initramfs script and depend on makedumpfile on
architectures that makedumpfile supports.
[Test Case] - See 'how to reproduce' below.
[Regression Potential] - Need to ensure kdump works correctly in backported versions.
--
Binary package hint: kexec-tools
This concerns kexec-tools 1:2.0.1-2ubuntu4 in Ubuntu Natty.
I am trying to get a kernel crash dump. Instead of getting a nice vmcore file in /var/crash/, I get a vmcore.log file with the following:
/root/usr/bin/makedumpfile: error while loading shared libraries: libdw.so.1: cannot open shared object file: No such file or directory
Problem number 1: /usr/bin/makedumpfile is a dynamically-linked executable. Not the kind of thing you want to run in an initramfs environment.
There is, however, a "makedumpfile-static" package, which not only provides /bin/makedumpfile-static, but also an initramfs-tools hook so that this statically-linked binary is copied in as /bin/makedumpfile in the initrd.
Problem number 2: The 0_kdump script is hard-coded to use the dynamic binary in root:/usr/bin/. It is not at all aware of initrd:/bin/makedumpfile . |
|
2012-02-22 09:50:01 |
George Politis |
bug |
|
|
added subscriber 666f6f |
2012-02-24 00:27:19 |
Kai Kasurinen |
removed subscriber Kai Kasurinen |
|
|
|
2012-02-24 21:59:17 |
Launchpad Janitor |
branch linked |
|
lp:~barry/ubuntu/oneiric/kexec-tools/bug-828731 |
|
2012-02-24 22:16:20 |
Launchpad Janitor |
branch linked |
|
lp:~barry/ubuntu/natty/kexec-tools/bug-828731 |
|
2012-02-24 22:34:16 |
Launchpad Janitor |
branch linked |
|
lp:~barry/ubuntu/maverick/kexec-tools/bug-828731 |
|
2012-02-24 22:47:16 |
Launchpad Janitor |
branch linked |
|
lp:~barry/ubuntu/lucid/kexec-tools/bug-828731 |
|
2012-02-27 01:28:11 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2012-02-27 01:28:17 |
Chris Halse Rogers |
tags |
patch |
patch verification-needed |
|
2012-02-27 01:29:27 |
Chris Halse Rogers |
nominated for series |
|
Ubuntu Oneiric |
|
2012-02-27 01:29:27 |
Chris Halse Rogers |
bug task added |
|
kexec-tools (Ubuntu Oneiric) |
|
2012-02-27 01:29:37 |
Chris Halse Rogers |
kexec-tools (Ubuntu Oneiric): status |
New |
Fix Committed |
|
2012-02-27 01:38:25 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/oneiric-proposed/kexec-tools |
|
2012-02-29 17:21:09 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/maverick-proposed/kexec-tools |
|
2012-02-29 17:21:13 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-proposed/kexec-tools |
|
2012-02-29 17:21:51 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/natty-proposed/kexec-tools |
|
2012-03-14 20:21:48 |
Clint Byrum |
nominated for series |
|
Ubuntu Lucid |
|
2012-03-14 20:21:48 |
Clint Byrum |
bug task added |
|
kexec-tools (Ubuntu Lucid) |
|
2012-03-14 20:23:43 |
Clint Byrum |
kexec-tools (Ubuntu Lucid): status |
New |
Fix Committed |
|
2012-03-15 14:02:33 |
Steve Langasek |
tags |
patch verification-needed |
patch verification-done |
|
2012-03-22 07:37:11 |
Launchpad Janitor |
kexec-tools (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2012-03-22 07:37:27 |
Launchpad Janitor |
kexec-tools (Ubuntu Oneiric): status |
Fix Committed |
Fix Released |
|
2012-03-26 17:46:10 |
Chris J Arges |
branch unlinked |
lp:~christopherarges/ubuntu/maverick/kexec-tools/kexec-tools.fix828731 |
|
|
2012-10-15 20:22:34 |
Chris J Arges |
bug |
|
|
added subscriber Sustaining Engineering |
2014-02-07 16:02:03 |
Curtis Hovey |
removed subscriber Registry Administrators |
|
|
|