Re:What's Inside a Linux Kernel Core Dump
by loeg on Friday February 09, 2024 @10:37AM
(#39315840)
The crash dumper only needs to write to disk or network. The other steps are just things the kexec process does to achieve that aim.
[ Parent
| on HN ]
Re:What's Inside a Linux Kernel Core Dump
by worthless-trash on Saturday February 10, 2024 @07:43AM
(#39325773)
No, this is not true. If you just boot like a regular operating system, you will trash the crashed kernel making the dump useless.
Re:What's Inside a Linux Kernel Core Dump
by loeg on Saturday February 10, 2024 @10:06AM
(#39326641)
A crash dumper does not have to be implemented with a reboot; this is just something Linux chooses to do. I have actually worked on kernel code that performs crash dumps to disk and over the network, if you find that kind of expertise relevant.
Re:What's Inside a Linux Kernel Core Dump
by worthless-trash on Monday February 12, 2024 @11:16PM
(#39354324)
I really do.
I believe kexec/kdump does execute in place and does not go through a full reboot, am I wrong ?