From: Tomas Henzl <thenzl@redhat.com>
To: linux-scsi@vger.kernel.org
Cc: steve.masters@lsi.com, michael.benz@lsi.com, aradford@gmail.com,
bo.yang@lsi.com, Tomas Henzl <thenzl@redhat.com>
Subject: [PATCH 0/2] megaraid_sas: Fix an errant command from hw
Date: Wed, 24 Aug 2011 17:35:28 +0200 [thread overview]
Message-ID: <1314200130-28890-1-git-send-email-thenzl@redhat.com> (raw)
The following patch series provides a partial fix for a problem
seen in kdump after saving vmcore when the driver shuts down.
For unknown reason the card sends a command to the driver with a random values,
we can then sometimes see this -
BUG: unable to handle kernel NULL pointer dereference at 00000090
....
The proper solution is to prevent this, maybe a firmware change is needed?
The first patch initializes the cmd field to a dummy value so the 'ghost' command
can be recognized.
The second patch removes the call to the megasas_shutdown_controller
in the megasas_shutdown_controller, because the errant cmd is sent while the controller
is shut down and it seems to be enough to only flush cache and disable interrupts.
Tomas
next reply other threads:[~2011-08-24 15:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-24 15:35 Tomas Henzl [this message]
2011-08-24 15:35 ` [PATCH 1/2] megaraid_sas: Remove the shutdown_controller call Tomas Henzl
2011-08-24 20:55 ` adam radford
2011-08-25 8:17 ` Tomas Henzl
2011-08-26 0:00 ` adam radford
2011-09-05 14:17 ` Tomas Henzl
2011-08-24 15:35 ` [PATCH 2/2] megaraid_sas: Initialize the cmd field to a known value Tomas Henzl
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=1314200130-28890-1-git-send-email-thenzl@redhat.com \
--to=thenzl@redhat.com \
--cc=aradford@gmail.com \
--cc=bo.yang@lsi.com \
--cc=linux-scsi@vger.kernel.org \
--cc=michael.benz@lsi.com \
--cc=steve.masters@lsi.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;
as well as URLs for NNTP newsgroup(s).