According to LEDE's source code:

config KERNEL_CRASHLOG
  bool "Crash logging"
  depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64)
  default y

https://github.com/lede-project/source/blob/master/config/Config-kernel.in

It is enabled by default on some targets and will be available at
`/sys/kernel/debug/crashlog` on next boot after crash.

The implementation detail can be found here:
https://github.com/lede-project/source/blob/master/target/linux/generic/patches-4.9/930-crashlog.patch


Best Regards,
Syrone Wong


On Thu, Feb 23, 2017 at 10:05 AM, Philip Prindeville
<philipp_s...@redfish-solutions.com> wrote:
> Hi,
>
> Has anyone managed to use kdump with OpenWRT/LEDE?
>
> I have a box which periodically panics, and since /var is a link to /tmp/ 
> there are no persistent logs.  Which reminds me: is it safe to configure a 
> third partition on my CF card, format it as ext3, and mount that as /var/log 
> in /etc/fstab?
>
> And how would I modify the build process if I wanted to add additional 
> partitions?
>
> Thanks,
>
> -Philip
> _______________________________________________
> openwrt-devel mailing list
> openwrt-de...@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to