makedumpfile --dump-dmesg fails on 3.5 kernels and later

Bug #1103389 reported by Louis Bouchard
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
makedumpfile (Ubuntu)
Fix Released
Undecided
Louis Bouchard

Bug Description

When used on Ubuntu running kernel 3.5 and later (Quantal, raring and Precise 12.04.02) the makedumpfile --dump-dmesg /proc/vmcore /tmp/dmesg fails with the following error :

# makedumpfile --dump-dmesg /proc/vmcore /tmp/dmesg
dump_dmesg: Can't find some symbols for log_buf.

makedumpfile Failed.

This is caused by the change from byte-buffer structure to
variable-length record buffer of the kernel log buffer introduced by
this commit :
 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7ff9554bb578ba02166071d2d487b7fc7d860d62

The same issue occurs on Debian and is identified in Debian bug #698755 :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698755

Louis Bouchard (louis)
Changed in makedumpfile (Ubuntu):
assignee: nobody → Louis Bouchard (louis-bouchard)
status: New → In Progress
Revision history for this message
Louis Bouchard (louis) wrote :

Looks like the debian bug needs to be in a comment for it to be linked so here it is :

The same issue occurs on Debian and is identified in Debian bug #698755 :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698755

I am actively working on the debian bug as well, and just proposed a fix for this issue to the upstream maintianer :

http://lists.infradead.org/pipermail/kexec/2013-January/007897.html

Revision history for this message
Louis Bouchard (louis) wrote :

A patch for the upstream version of makedumpfile has been accepted by
the maintainer :

http://lists.infradead.org/pipermail/kexec/2013-February/007925.html

This patch will most probablly be included in the upcoming debian
version of makedumpfile 1.5.1 due to be uploaded soon.

Then the newest makedumpfile 1.5.1 package will need to be brought in Raring

..Louis

Revision history for this message
Louis Bouchard (louis) wrote :

The upstream patch is now in the debian makedumpfile-1.5.1 package, which is also now in the Raring archive.

Closing this bug as the fix is now available publicly.

Changed in makedumpfile (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
The Loeki (the-loeki) wrote :

Will there be a fix for Precise?

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.