All of lore.kernel.org
 help / color / mirror / Atom feed
* makedumpfile and tmpfs contents
@ 2020-12-08 21:14 Rajendra Dendukuri
  2020-12-12  5:30 ` Kazuhito Hagio
  0 siblings, 1 reply; 2+ messages in thread
From: Rajendra Dendukuri @ 2020-12-08 21:14 UTC (permalink / raw)
  To: kexec


[-- Attachment #1.1: Type: text/plain, Size: 1085 bytes --]

Hi,

Is there a possibility or an option to recover contents of a tmpfs by
the crashkernel after the original kernel has kdump'ed. The idea is to
store a few other system log files stored in a tmpfs similar to how
dmesg logs are recovered. Any other ideas to solve this requirement?

Regards,
Rajen

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4184 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

* Re: makedumpfile and tmpfs contents
  2020-12-08 21:14 makedumpfile and tmpfs contents Rajendra Dendukuri
@ 2020-12-12  5:30 ` Kazuhito Hagio
  0 siblings, 0 replies; 2+ messages in thread
From: Kazuhito Hagio @ 2020-12-12  5:30 UTC (permalink / raw)
  To: Rajendra Dendukuri; +Cc: kexec

Hi Rajen,

On Fri, Dec 11, 2020 at 11:36 PM Rajendra Dendukuri
<rajendra.dendukuri@broadcom.com> wrote:
>
> Hi,
>
> Is there a possibility or an option to recover contents of a tmpfs by
> the crashkernel after the original kernel has kdump'ed. The idea is to
> store a few other system log files stored in a tmpfs similar to how
> dmesg logs are recovered. Any other ideas to solve this requirement?

I think it would be too hard for makedumpfile to do this, but if you can use
the crash utility to extract contents of a tmpfs from a vmcore, my "cacheutils"
crash extension module [1] might be useful, since tmpfs uses page cache.

[1] https://github.com/k-hagio/crash-cacheutils

Thanks,
Kazu

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2020-12-12  5:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 21:14 makedumpfile and tmpfs contents Rajendra Dendukuri
2020-12-12  5:30 ` Kazuhito Hagio

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.