[OpenWrt-Devel] Help, how to troubleshoot openwrt crash(reboot)

2014-10-11 Thread document
hi,


how to troubleshoot openwrt crash(reboot) ?


i have openvpn-2.3.2 installed from opkg but when i manually start it about 
1min passed, router (openwrt-12.09) will reboot.


when i enabled openvpn service on startup, router will auto reboot forever.


i have a little linux skill, but output of logread at openwrt-12.09 will not 
help and will be empty when there is a new boot.


even both openvpn client (my router) and server (linux vps) debug level logs 
not help.


the same configure files for client on both other platform like windows7 (home) 
and fedora20 (office) work normally.


all packages from opkg at tp-link wr703n.


--- may be useless above, blah blah...


Any ideas of how to troubleshoot normal software or process booboo on 
openwrt-12.09 ?


update: i update firmware to openwrt-14.09, router get the same issure.___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Help, how to troubleshoot openwrt crash(reboot)

2014-10-11 Thread edgar . soldin
On 11.10.2014 20:40, document wrote:
> hi,
> 
> how to troubleshoot openwrt crash(reboot) ?
> 
> i have openvpn-2.3.2 installed from opkg but when i manually start it about 
> 1min passed, router (openwrt-12.09) will reboot.
> 
> when i enabled openvpn service on startup, router will auto reboot forever.
> 
> i have a little linux skill, but output of logread at openwrt-12.09 will not 
> help and will be empty when there is a new boot.
> 
> even both openvpn client (my router) and server (linux vps) debug level logs 
> not help.
> 
> the same configure files for client on both other platform like windows7 
> (home) and fedora20 (office) work normally.
> 
> all packages from opkg at tp-link wr703n.
> 
> --- may be useless above, blah blah...
> 
> Any ideas of how to troubleshoot normal software or process booboo on 
> openwrt-12.09 ?
> 
> update: i update firmware to openwrt-14.09, router get the same issure.
> 

try 
http://wiki.openwrt.org/doc/howto/generic.failsafe

disable openvpn auto start up. try to start it manually after the box booted up 
normally.

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


Re: [OpenWrt-Devel] Help, how to troubleshoot openwrt crash(reboot)

2014-10-11 Thread Bastian Bittorf
* document  [12.10.2014 07:54]:
> i have a little linux skill, but output of logread at openwrt-12.09 will not 
> help and will be empty when there is a new boot.

try a 'cat /sys/kernel/debug/crashlog' after a crash/reboot.
some platforms (e.g. ar71xx) support this, maybe yours to.

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


Re: [OpenWrt-Devel] Help, how to troubleshoot openwrt crash(reboot)

2014-10-12 Thread Yousong Zhou
On Oct 12, 2014 2:41 AM, "document"  wrote:
>
> hi,
>
> how to troubleshoot openwrt crash(reboot) ?
>
> i have openvpn-2.3.2 installed from opkg but when i manually start it
about 1min passed, router (openwrt-12.09) will reboot.
>
> when i enabled openvpn service on startup, router will auto reboot
forever.
>

have you tried using command "logread -f" to follow the kernel log when the
reboot occured?  it may help.

> i have a little linux skill, but output of logread at openwrt-12.09 will
not help and will be empty when there is a new boot.
>
> even both openvpn client (my router) and server (linux vps) debug level
logs not help.
>
> the same configure files for client on both other platform like windows7
(home) and fedora20 (office) work normally.
>
> all packages from opkg at tp-link wr703n.
>

mayne some kind of out-of-memory panic occured, just a wild guess...

yousong

> --- may be useless above, blah blah...
>
> Any ideas of how to troubleshoot normal software or process booboo on
openwrt-12.09 ?
>
> update: i update firmware to openwrt-14.09, router get the same issure.
>
>
>
>
> ___
> 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