[lkml]   [2019]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2 v6] kdump: add the vmcoreinfo documentation

----- Original Message -----
> On Mon, Jan 14, 2019 at 05:48:48PM +0000, Kazuhito Hagio wrote:
> > As for makedumpfile, it will be not impossible to remove the
> > (OSRELEASE), but some fixes are needed.
> > Because historically OSRELEASE has been a kind of a mandatory entry
> > in vmcoreinfo from the beginning of vmcoreinfo, so makedumpfile uses
> > its existence to check whether a vmcoreinfo is sane.
> Well, init_uts_ns is exported in vmcoreinfo anyway - makedumpfile
> can simply test just as well. And the
> "historically" argument doesn't matter because vmcoreinfo is not an ABI.
> So makedumpfile needs to be changed to check that new export.
> > Also, I think crash also will need to be fixed if it is removed.

Preferably it would be left as-is. The crash utility has a "crash --osrelease vmcore"
option that only looks at the dumpfile header, and just dump the string. With respect
to compressed kdumps, crash could alternatively look at the utsname data that is stored
in the diskdump_header.utsname field, but with ELF vmcores, there is no such back-up.
What's the problem with leaving it alone?


> Yes, I'm expecting user tools to be fixed and then exports removed.
> --
> Regards/Gruss,
> Boris.
> Good mailing practices for 400: avoid top-posting and trim the reply.

 \ /
  Last update: 2019-01-14 19:58    [W:0.089 / U:7.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site