public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* Is OS_INFO_VMCOREINFO unimplemented?
@ 2020-10-13 12:53 Petr Tesarik
  2020-10-16 14:11 ` Philipp Rudo
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Tesarik @ 2020-10-13 12:53 UTC (permalink / raw)
  To: linux-s390; +Cc: Michael Holzheu

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

Hi all,

I've been looking into kernel crash dump analysis for some time now,
and I've noticed that none of my sample dumps for z/Architecture sets
OS_INFO_VMCOREINFO.

Commit 4857d4bbe9821c8d732cb84455e18e12b3d79add suggests that the
"os_info" structure should contain vmcoreinfo, but it seems that the
corresponding fields are always zero, and a quick grep for
OS_INFO_VMCOREINFO finds only code that tries to read this entry in the
panic kernel, but no code that would initialize it in the old (crashed)
kernel.

In short, the panic kernel always prints an informational message that
entry 0 is not available and falls back to get_vmcoreinfo_old().

Is this a bug, or is this interface used by a non-Linux operating
system that I'm not aware of?

TIA,
Petr Tesarik
SUSE HW Enablement

[-- Attachment #2: =?unknown-8bit?q?Digit=C3=A1ln=C3=AD?= podpis OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-19 10:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-13 12:53 Is OS_INFO_VMCOREINFO unimplemented? Petr Tesarik
2020-10-16 14:11 ` Philipp Rudo
2020-10-16 15:24   ` Petr Tesarik
2020-10-19 10:18     ` Philipp Rudo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox