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

2017-02-23 Thread Philip Prindeville
Thanks for that.


> On Feb 22, 2017, at 11:44 PM, Syrone Wong  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
>  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@lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


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

2017-02-23 Thread Martin Tippmann
On Thu, Feb 23, 2017 at 12:13 PM, Bernie McIntosh
 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.

regards
Martin
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


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

2017-02-23 Thread David Lang
If you run into problems configuring rsyslog, we have a fairly active mailing 
list at rsyslog-users , or ask questions here and 
I'll be happy to answer them.


David Lang
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


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

2017-02-23 Thread Bernie McIntosh
> 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.

I use rsyslog to send log to a  host on my LAN. 

How to enable it on Openwrt:   https://wiki.openwrt.org/doc/uci/system

How to set up rsyslog server (depends on Linux flavour) : 
http://www.thegeekstuff.com/2012/01/rsyslog-remote-logging

Regards

Bernie



___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] SVN server

2017-02-23 Thread Christoph Kottke
Hi,

is there also a mirror from the luci svn server?

Ch,...

Am 18.03.2016 um 14:33 schrieb John Crispin:
> --> svn://svn.mein.io/openwrt
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel