------- Comment From hbath...@in.ibm.com 2016-09-24 08:25 EDT-------
Dump filtering for kernels v4.7+ is failing because of kernel commit 
0139aa7b7fa1
which changed _count to _refcount in struct page. The below makedumpfile tool
commit fixes this:

commit 2c21d4656e8d3c2af2b1e14809d076941ae69e96
Author: Vitaly Kuznetsov <vkuzn...@redhat.com>
Date:   Fri Jun 17 18:41:26 2016 +0900

[PATCH v2] Support _count -> _refcount rename in struct page
_count member was renamed to _refcount in linux commit 0139aa7b7fa12
("mm: rename _count, field of the struct page, to _refcount") and this
broke makedumpfile. The reason for making the change was to find all users
accessing it directly and not through the recommended API. I tried
suggesting to revert the change but failed, I see no other choice than to
start supporting both _count and _refcount in makedumpfile.
Signed-off-by: Vitaly Kuznetsov <vkuzn...@redhat.com>
--

Makedumpfile filtered dump successfully when the above commit is applied on top
of makedumpfile_1.6.0-2

# ./makedumpfile -l -d 31 /var/crash/201609230347/vmcore.201609230347 dump
The kernel version is not supported.
The makedumpfile operation may be incomplete.
Copying data                       : [100.0 %] /

The dumpfile is saved to dump.

makedumpfile Completed.
#
--

Thanks
Hari

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

Title:
  Ubuntu 16.10: kdump is not working in 4.8 kernel.

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

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

Reply via email to