All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] megaraid_sas: Fix an errant command from hw
@ 2011-08-24 15:35 Tomas Henzl
  2011-08-24 15:35 ` [PATCH 1/2] megaraid_sas: Remove the shutdown_controller call Tomas Henzl
  2011-08-24 15:35 ` [PATCH 2/2] megaraid_sas: Initialize the cmd field to a known value Tomas Henzl
  0 siblings, 2 replies; 7+ messages in thread
From: Tomas Henzl @ 2011-08-24 15:35 UTC (permalink / raw)
  To: linux-scsi; +Cc: steve.masters, michael.benz, aradford, bo.yang, Tomas Henzl

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-05 14:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-24 15:35 [PATCH 0/2] megaraid_sas: Fix an errant command from hw Tomas Henzl
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

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.