All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: Kalle Valo <kvalo@codeaurora.org>
Cc: Bob Copeland <me@bobcopeland.com>, andy <lgkbiti@163.com>,
	linux-wireless@vger.kernel.org
Subject: Re: wifi driver crashes openwrt device
Date: Wed, 18 May 2016 11:27:48 +0200	[thread overview]
Message-ID: <7546204.U6Dr6cmRjt@bentobox> (raw)
In-Reply-To: <87d1omp6o0.fsf@purkki.adurom.net>

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

On Monday 16 May 2016 14:46:07 Kalle Valo wrote:
[...]
> 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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2016-05-18  9:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-10 15:17 wifi driver crashes openwrt device andy
2016-05-15 17:47 ` Bob Copeland
2016-05-16 11:46   ` Kalle Valo
2016-05-18  9:27     ` Sven Eckelmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7546204.U6Dr6cmRjt@bentobox \
    --to=sven@narfation.org \
    --cc=kvalo@codeaurora.org \
    --cc=lgkbiti@163.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.