[LEDE-DEV] Supporting crashdumps w/ kexec

Philip Prindeville philipp_subx at redfish-solutions.com
Wed Mar 8 09:20:00 PST 2017


> On Mar 8, 2017, at 1:12 AM, David Woodhouse <dwmw2 at infradead.org> wrote:
> 
> On Tue, 2017-03-07 at 17:40 -0700, Philip Prindeville wrote:
>> 
>> First, obviously, is that kexec needs access to the boot partition to
>> reuse the kernel (since most of our architectures support relocatable
>> images, there’s no reason that the system kernel and the crash dump
>> kernel can’t be one in the same).  Is where does /boot get unmounted,
>> and is there an easy way to keep it around a bit longer, at least
>> until the init.d scripts have finished running?
> 
> Hm, /boot doesn't ever get mounted at all, does it?


Then…  grub reads the raw file system?  Hmm…  Okay, that would explain why I couldn’t find references to /boot in preinit, etc.

What do I do to make /boot be mounted then?

Thanks,

-Philip




More information about the Lede-dev mailing list