Skip to contentSkip to conversation

wifi driver crashes openwrt device

DISCUSSION andy 4 participants 4 messages May 11, 2016 – May 18, 2016

lore
Share & tools
lore

andy

author
#0 lore raw

hello, every body.
I developed an openwrt device based on git clone
git://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.

#1 lore raw
Quoted 8 lines · andy

hello, every body.
I developed an openwrt device based on git clone
git://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/
#2 lore raw
Quoted 10 lines · Bob Copeland
Quoted 8 lines · andy

hello, every body.
I developed an openwrt device based on git clone
git://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
#3 lore raw

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