RE: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-10 Thread Kazuhito Hagio
-Original Message- > > makedumpfile doesn't have any switch which dumps VMCOREINFO from kcore > > for now. (I'm thinking to have makedumpfile dump it as debug message, > > though.) > > Might be useful as people are looking into using VMCOREINFO when > debugging a live kernel... Now makedu

Re: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-10 Thread Borislav Petkov
On Wed, Dec 05, 2018 at 08:29:14PM +, Kazuhito Hagio wrote: > Please note that this VMCOREINFO is generated from the information in > the vmlinux only, not from the running kernel and /proc/kcore. So if > we add a command to dump it from running kernel, it's not suitable. Sure, I used a vmlinu

RE: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-05 Thread Kazuhito Hagio
> >> Generating VMCOREINFO is easy in the first kernel, for example: > >> # makedumpfile -g VMCOREINFO -x vmlinux > > > > I get: > > > > $ makedumpfile -g VMCOREINFO -x vmlinux > > The kernel version is not supported. > > The makedumpfile operation may be incomplete. > > > > The vmcoreinfo is saved

Re: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-05 Thread lijiang
在 2018年12月05日 18:16, Dave Young 写道: +init_uts_ns +=== +This is the UTS namespace, which is used to isolate two specific elements +of the system that relate to the uname system call. The UTS namespace is +named after the data structure used to store information retur

Re: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-05 Thread lijiang
在 2018年12月05日 19:30, Borislav Petkov 写道: > On Tue, Dec 04, 2018 at 05:35:09PM +0800, lijiang wrote: >> There are more people to review and improve this document together, that >> would >> be fine. > > That's basically kernel development :) > >> Generating VMCOREINFO is easy in the first kernel,

Re: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-05 Thread Borislav Petkov
On Tue, Dec 04, 2018 at 05:35:09PM +0800, lijiang wrote: > There are more people to review and improve this document together, that would > be fine. That's basically kernel development :) > Generating VMCOREINFO is easy in the first kernel, for example: > # makedumpfile -g VMCOREINFO -x vmlinux

Re: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-05 Thread Dave Young
> >> +init_uts_ns > >> +=== > >> +This is the UTS namespace, which is used to isolate two specific elements > >> +of the system that relate to the uname system call. The UTS namespace is > >> +named after the data structure used to store information returned by the > >> +uname system call.

Re: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-04 Thread lijiang
在 2018年12月03日 23:08, Borislav Petkov 写道: > Add some more Ccs. > Thanks a lot. There are more people to review and improve this document together, that would be fine. > On Sun, Dec 02, 2018 at 11:08:38AM +0800, Lianbo Jiang wrote: >> This document lists some variables that export to vmcoreinfo,

Re: [PATCH 1/2 v2] kdump: add the vmcoreinfo documentation

2018-12-03 Thread Borislav Petkov
Add some more Ccs. On Sun, Dec 02, 2018 at 11:08:38AM +0800, Lianbo Jiang wrote: > This document lists some variables that export to vmcoreinfo, and briefly > describles what these variables indicate. It should be instructive for > many people who do not know the vmcoreinfo, and it also normalizes