All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Lee Revell <rlrevell@joe-job.com>,
	Mark Knecht <markknecht@gmail.com>,
	linux-kernel@vger.kernel.org, rmk@arm.linux.org.uk
Subject: Re: scsi_eh / 1394 bug - -rt7
Date: Wed, 19 Oct 2005 13:22:46 +0200	[thread overview]
Message-ID: <20051019112246.GA32378@elte.hu> (raw)
In-Reply-To: <Pine.LNX.4.58.0510190300010.20634@localhost.localdomain>


* Steven Rostedt <rostedt@goodmis.org> wrote:

> > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> > usb 2-1: USB disconnect, address 2
> > prev->state: 2 != TASK_RUNNING??
> > scsi_eh_0/12648[CPU#0]: BUG in __schedule at kernel/sched.c:3326
> >  [<c01048b9>] dump_stack+0x19/0x20 (20)
> >  [<c011e766>] __WARN_ON+0x46/0x80 (12)
> >  [<c02c0bf7>] __schedule+0x547/0x790 (84)
> >  [<c012057a>] do_exit+0x26a/0x430 (28)
> >  [<c010147b>] kernel_thread_helper+0xb/0x10 (1020129312)
> >
> 
> This is also a problem in the upstream kernel.  It's just that RT 
> catches it!  Here's the patch. I'll also write one for the upstream 
> kernel, although this patch would probably work there as well. But 
> I'll make it official.
> 
> Ingo,
> 
> Here's the patch.  The problem is similar to the pcmcia bug.  It seems 
> that the loop usually exits in the TASK_INTERRUPTIBLE state.

thanks, applied and released in 2.6.14-rc4-rt10.

	Ingo

  parent reply	other threads:[~2005-10-19 11:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 21:02 scsi_eh / 1394 bug - -rt7 Mark Knecht
2005-10-19  3:43 ` Lee Revell
2005-10-19  4:19   ` Lee Revell
2005-10-19  7:10     ` Steven Rostedt
2005-10-19  7:54       ` [PATCH] scsi_error thread exits in TASK_INTERRUPTIBLE state Steven Rostedt
2005-10-19 11:31         ` Christoph Hellwig
2005-10-19 11:51           ` Steven Rostedt
2005-10-19 11:54             ` Christoph Hellwig
2005-10-19 12:22               ` Steven Rostedt
2005-10-19 11:56             ` Ingo Molnar
2005-10-19 11:59               ` Christoph Hellwig
2005-10-19 11:22       ` Ingo Molnar [this message]
2005-10-19 15:23       ` scsi_eh / 1394 bug - -rt7 Mark Knecht

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=20051019112246.GA32378@elte.hu \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markknecht@gmail.com \
    --cc=rlrevell@joe-job.com \
    --cc=rmk@arm.linux.org.uk \
    --cc=rostedt@goodmis.org \
    /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.