wifi driver crashes openwrt device
hello, every body.
I developed an openwrt device based on git clonegit://git.openwrt.org/15.05/openwrt.git.
I found that my device rebooted during wifi initializing sometimes, maybe
one in twenty.
The wifi driver is compat-wireless-2016-01-10.tar.bz2.
Could somebody give some hint or help me to resolve this wired issue? Thank you very much.
Quoted 8 lines · andy
hello, every body.
I developed an openwrt device based on git clonegit://git.openwrt.org/15.05/openwrt.git.
I found that my device rebooted during wifi initializing sometimes, maybe
one in twenty.
The wifi driver is compat-wireless-2016-01-10.tar.bz2.
Could somebody give some hint or help me to resolve this wired issue? Thank you very much.
Hi Andy,
You will probably need to capture a stack trace from the device in order for someone to be able to help, otherwise we can only guess. A serial console can help with that.
Signature · 1 line
Bob Copeland %% http://bobcopeland.com/
Quoted 10 lines · Bob Copeland
Quoted 8 lines · andy
hello, every body.
I developed an openwrt device based on git clonegit://git.openwrt.org/15.05/openwrt.git.
I found that my device rebooted during wifi initializing sometimes, maybe
one in twenty.
The wifi driver is compat-wireless-2016-01-10.tar.bz2.
Could somebody give some hint or help me to resolve this wired issue? Thank you very much.
Quoted 5 lines
Hi Andy,
You will probably need to capture a stack trace from the device in order for someone to be able to help, otherwise we can only guess. A serial console can help with that.
Didn't openwrt have a some sort ramoops facility to collect the last kernel logs before a crash? I don't recall the name right now but I'm pretty sure I used it with one of our APs few years back. That might help (or not).
Signature · 1 line
Kalle Valo
On Monday 16 May 2016 14:46:07 Kalle Valo wrote:
[...]
Quoted 4 lines
Didn't openwrt have a some sort ramoops facility to collect the last kernel logs before a crash? I don't recall the name right now but I'm pretty sure I used it with one of our APs few years back. That might help (or not).
He can just check if /sys/kernel/debug/crashlog exists after the device crashed+rebooted.
I would also be good to have CONFIG_KERNEL_KALLSYMS=y set and compile the
kernel+modules with "KBUILD_CFLAGS += -fno-optimize-sibling-calls" to get
a (slightly) readable calltrace on things like MIPS.
Kind regards,
Sven