Re: ARM SMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Per Fransson" <per.fransson.ml@xxxxxxxxx> wrote:

> > Might be something to do with different crashdump formats supported
> > by crash or perhaps some historic reason? Dave, any comments on this?
> >
> > Looking history for the kernel/kexec.c shows that crash_notes has
> > been there from the early days of the kexec code.
> >
> 
> Just to elaborate a little bit:
> 
> The crash_notes which end up in the ELF notes, e.g. when collecting
> the core dump through /proc/vmcore on x86, are just copies of the ones
> in kernel/kexec.c. They are located by /proc/vmcore using the ELF
> header that kexec-tools creates. kexec-tools figures out the addresses
> to the crash_notes by reading
> 
> /sys/devices/system/cpu/cpu%d/crash_notes
> 
> or an equivalent file. But why go though all that trouble if they are
> available within the dump anyway?

It's probably a better question for the kexec mailing list,
but I presume it's simply a matter of following ELF conventions?

Dave

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux