public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Prevent NMI oopser
@ 2005-01-25  7:47 Vasily Averin
  2005-01-25  9:35 ` Marcelo Tosatti
  0 siblings, 1 reply; 11+ messages in thread
From: Vasily Averin @ 2005-01-25  7:47 UTC (permalink / raw)
  To: Marcelo Tosatti, Andrey Melnikov; +Cc: linux-kernel

Marcello, Andrey

I believe this patch is wrong.
First, it prevent nothing: NMI watchdog is a signal that you wait too 
long with disabled interrupts. Your controller was not answered too 
long, obviously it is a hardware issue.
Second, you could not call schedule() with io_request_lock spinlock taken.

You should unlock io_request_lock before msleep, like in latest versions 
of megaraid2 drivers.

Please fix it.

Thank you,
      Vasily Averin, SWSoft Linux Kernel Team

# ChangeSet
#   2005/01/19 14:16:32-02:00 temnota@kmv.ru
#   [PATCH] Prevent NMI oopser from triggering when megaraid2 waits
#   for abort/reset cmd completion
#
#   > We should backport msleep() in 2.4.29-pre1.
#
#   Ok, msleep() backported, but driver isn't fixed. This patch
#   acceptable?
#
#   Prevent NMI oopser kill kernel thread when megaraid2 driver waiting
#   abort or reset command completion.
#
#   Signed-off-by: Andrey Melnikov <temnota+kernel@kmv.ru>



^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <41F5FC96.2010103@sw.ru>]

end of thread, other threads:[~2005-02-02 22:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25  7:47 [PATCH] Prevent NMI oopser Vasily Averin
2005-01-25  9:35 ` Marcelo Tosatti
     [not found] <41F5FC96.2010103@sw.ru>
2005-01-31 23:17 ` Marcelo Tosatti
2005-02-02 18:42   ` Vasily Averin
2005-02-02 18:53     ` Andrey J. Melnikoff (TEMHOTA)
2005-02-02 19:06     ` Matt Domsch
2005-02-02 19:32       ` Vasily Averin
2005-02-02 20:19         ` Matt Domsch
2005-02-02 21:08           ` Andrey J. Melnikoff (TEMHOTA)
2005-02-02 19:39       ` Vasily Averin
2005-02-02 19:50       ` Vasily Averin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox