[OpenWrt-Devel] Using kdump... persistent logs, etc.

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Feb 23 12:27:10 EST 2017


Thanks for that.


> On Feb 22, 2017, at 11:44 PM, Syrone Wong <wong.syrone at gmail.com> wrote:
> 
> 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_subx at 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-devel at lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list