[OpenWrt-Devel] Using kdump... persistent logs, etc. (Syrone Wong)

Martin Tippmann martin.tippmann at gmail.com
Thu Feb 23 10:35:11 EST 2017

On Thu, Feb 23, 2017 at 12:13 PM, Bernie McIntosh
<bmcintosh at paceprofessional.co.uk> 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
> An alternative might be helpful.

Another alternative is Kernel crashlogging - I think it's on by
default and you can get the backtrace from the last panic in
/sys/kernel/debug/crashlog after reboot.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list