mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stevie Trujillo <stevie.trujillo@gmail.com>
To: Milton Miller <miltonm@bga.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to get backtrace? modprobe -r iwlagn; modprobe iwlagn kills kernel
Date: Wed, 18 May 2011 18:29:34 +0200	[thread overview]
Message-ID: <201105181829.34827.stevie.trujillo@gmail.com> (raw)
In-Reply-To: <1305734101_6569@mail4.comsite.net>

On Wednesday 18 May 2011 17:55:01 Milton Miller wrote:
> On Wed May 18 2011 about 10:37:54 EST, Stevie Trujillo wrote:
> > I then tried kexec+crashkernel, but I only managed to get a backtrace
> > for the last panic (which I think is just a result of memory corruption
> > or something).  Finally I tried compiling ramoops into my kernel,
> > but it didn't want to load because of "No such device".
> 
> For the kexec+crashkernel, try to retrieve the kernel log buffer:
> 
> There are some macros available, but basically log_buf is a pointer
> to a buffer of length log_buf_len initialized to __log_buf (but can
> be expanded via the command line or sysctl, in). log_end is the
> end of the buffer.  If you haven't wrapped then just print log_end
> characters.

Thank you! This worked perfectly. I sent it to linux-wireless now.

      parent reply	other threads:[~2011-05-18 16:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18 14:37 Stevie Trujillo
2011-05-18 15:55 ` Milton Miller
2011-05-18 16:02   ` Américo Wang
2011-05-18 16:29   ` Stevie Trujillo [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=201105181829.34827.stevie.trujillo@gmail.com \
    --to=stevie.trujillo@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miltonm@bga.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome