linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Mark_H_Johnson@raytheon.com
Cc: Bill Huey <bhuey@lnxw.com>, Adam Heath <doogie@debian.org>,
	"K.R. Foley" <kr@cybsft.com>,
	linux-kernel@vger.kernel.org,
	Florian Schmidt <mista.tapas@gmx.net>,
	Fernando Pablo Lopez-Lezcano <nando@ccrma.Stanford.EDU>,
	Lee Revell <rlrevell@joe-job.com>,
	Rui Nuno Capela <rncbc@rncbc.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Michal Schmidt <xschmi00@stud.feec.vutbr.cz>
Subject: Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8
Date: Thu, 21 Oct 2004 16:22:15 +0200	[thread overview]
Message-ID: <20041021142215.GA3972@elte.hu> (raw)
In-Reply-To: <20041021141439.GB2875@elte.hu>


* Ingo Molnar <mingo@elte.hu> wrote:

> the soundcard IRQ trace you got is interesting:
> 
>  BUG: sleeping function called from invalid context X(2948) at kernel/mutex.c:25 Oct 21 07:53:02 localhost kernel: in_atomic():1 [00010000], irqs_disabled():0
>   [<c011f06a>] __might_sleep+0xca/0xe0 (12)
>   [<c01387e6>] _mutex_lock+0x26/0x50 (36)
>   [<e0a549b6>] snd_audiopci_interrupt+0x46/0xf0 [snd_ens1371] (20)
>   [<c01436f6>] handle_IRQ_event+0x46/0x80 (24)
>   [<c0143837>] __do_IRQ+0x107/0x160 (32)
>   [<c010a299>] do_IRQ+0x59/0x90 (36)
>   [<c0108510>] common_interrupt+0x18/0x20 (20)
>  preempt count: 00010001
> 
> do you have PREEMPT_REALTIME enabled? The above trace is a direct
> interrupt - only the timer interrupt is allowed to execute directly in
> the PREEMPT_REALTIME model - things break badly if it happens for any
> other interrupt (such as the soundcard IRQ).

this also seems to be the major cause of the other problems in your log:
kernel preempting off a hardirq context and then confusing other kernel
code. It's surprising that it booted up at all! Now how did the
soundcard IRQ end up being non-threaded?

	Ingo

  reply	other threads:[~2004-10-21 14:27 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-21 13:02 [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8 Mark_H_Johnson
2004-10-21 14:14 ` Ingo Molnar
2004-10-21 14:22   ` Ingo Molnar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-10-21 14:51 Mark_H_Johnson
2004-10-21 15:06 ` Ingo Molnar
2004-10-20 14:49 Mark_H_Johnson
2004-10-12 19:54 [patch] VP-2.6.9-rc4-mm1-T8 Ingo Molnar
2004-10-13  6:15 ` [patch] VP-2.6.9-rc4-mm1-T9 Ingo Molnar
2004-10-14  0:24   ` [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U0 Ingo Molnar
2004-10-14 14:31     ` [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U1 Ingo Molnar
2004-10-14 23:42       ` [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U2 Ingo Molnar
2004-10-15 10:26         ` [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U3 Ingo Molnar
2004-10-16 15:33           ` [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U4 Ingo Molnar
2004-10-18 14:50             ` [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U5 Ingo Molnar
2004-10-19 12:46               ` [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U6 Ingo Molnar
2004-10-19 18:00                 ` [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U7 Ingo Molnar
2004-10-20  9:45                   ` [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8 Ingo Molnar
2004-10-20 10:04                     ` Ingo Molnar
2004-10-20 10:32                       ` Rui Nuno Capela
2004-10-20 10:40                         ` Ingo Molnar
2004-10-20 11:31                           ` Rui Nuno Capela
2004-10-20 11:43                             ` Ingo Molnar
2004-10-20 12:40                               ` Rui Nuno Capela
2004-10-20 10:38                     ` Michal Schmidt
2004-10-20 10:56                       ` Ingo Molnar
2004-10-20 11:01                         ` Michal Schmidt
2004-10-20 12:04                           ` Ingo Molnar
2004-10-20 21:34                             ` Michal Schmidt
2004-10-21  8:12                               ` Ingo Molnar
2004-10-21  8:18                                 ` Ingo Molnar
2004-10-21  8:20                                   ` Ingo Molnar
2004-10-20 12:50                     ` Florian Schmidt
2004-10-20 12:55                       ` Ingo Molnar
2004-10-20 13:25                         ` Florian Schmidt
2004-10-20 13:24                           ` Ingo Molnar
2004-10-20 14:24                           ` Florian Schmidt
2004-10-20 14:18                             ` Ingo Molnar
2004-10-20 14:53                               ` Florian Schmidt
2004-10-20 15:08                                 ` Florian Schmidt
2004-10-20 15:37                               ` Lee Revell
2004-10-20 12:52                     ` Lorenzo Allegrucci
2004-10-20 12:56                       ` Ingo Molnar
2004-10-20 16:27                     ` Adam Heath
2004-10-21 16:59                       ` Adam Heath
2004-10-20 17:49                     ` Alexander Batyrshin
2004-10-20 19:02                       ` Adam Heath
2004-10-20 22:35                       ` Daniel Walker
2004-10-22 13:19                       ` Ingo Molnar
2004-10-22 13:48                       ` Ingo Molnar
2004-10-20 21:19                     ` Esben Nielsen
2004-10-21  0:32                     ` Fernando Pablo Lopez-Lezcano
2004-10-21  9:12                     ` Rui Nuno Capela
2004-10-21  9:16                       ` Thomas Gleixner
2004-10-21  9:35                         ` Christoph Hellwig
2004-10-21  9:44                           ` Ingo Molnar
2004-10-21  9:47                             ` Christoph Hellwig
2004-10-21 10:03                               ` Ingo Molnar
2004-10-21  9:47                           ` Thomas Gleixner
2004-10-21  9:53                         ` Jens Axboe
2004-10-21  9:54                           ` Thomas Gleixner
2004-10-21 10:11                             ` Jens Axboe
2004-10-21 10:11                               ` Thomas Gleixner
2004-10-21 10:42                                 ` Ingo Molnar
2004-10-21 11:59                                   ` john cooper
2004-10-21 14:16                                     ` Esben Nielsen
2004-10-21 14:52                                       ` john cooper
2004-10-21 15:47                                         ` Eugeny S. Mints
2004-10-21 16:49                                           ` john cooper
2004-10-21 17:33                                             ` Scott Wood
2004-10-21 18:09                                               ` john cooper
2004-10-21 18:47                                                 ` Scott Wood
2004-10-21 20:18                                                   ` john cooper
2004-10-21 21:12                                                     ` Scott Wood
2004-10-21 22:15                                                       ` john cooper
2004-10-21 22:30                                                         ` Scott Wood
2004-10-21 22:55                                                           ` john cooper
2004-10-21 21:01                                                   ` Esben Nielsen
2004-10-21 21:52                                                     ` Scott Wood
2004-10-22  0:46                                                     ` john cooper
2004-10-21 18:10                                               ` Eugeny S. Mints
2004-10-21 18:29                                                 ` Scott Wood
2004-10-21 17:54                                             ` Eugeny S. Mints
2004-10-21 17:41                                           ` Scott Wood
2004-10-21 11:11                                 ` Jens Axboe
2004-10-21 11:18                                   ` Thomas Gleixner
2004-10-21 10:18                               ` Ingo Molnar
2004-10-21 10:34                                 ` Jens Axboe
2004-10-21 19:58                               ` Bill Huey
2004-10-21 20:14                                 ` Jens Axboe
2004-10-21 20:24                                   ` Bill Huey
2004-10-21 20:33                                     ` Jens Axboe
2004-10-21 20:38                                       ` Bill Huey
2004-10-21 20:43                                         ` Thomas Gleixner
2004-10-21 23:06                                           ` Bill Huey
2004-10-22  6:24                                           ` Jens Axboe
2004-10-21 20:49                                         ` Bill Huey
2004-10-22  6:19                                         ` Jens Axboe
2004-10-22  7:29                                           ` Ingo Molnar
2004-10-22  8:01                                             ` Jens Axboe
2004-10-22  8:13                                               ` Ingo Molnar
2004-10-22  8:50                                           ` Bill Huey
2004-10-22  8:59                                             ` Jens Axboe
2004-10-22  9:06                                               ` Bill Huey
2004-10-22  9:09                                                 ` Bill Huey
2004-10-22  9:20                                                   ` Jens Axboe
2004-10-22  9:24                                                     ` Bill Huey
2004-10-22  9:31                                                       ` Jens Axboe
2004-10-22  9:17                                                 ` Jens Axboe
2004-10-22  9:23                                                 ` Thomas Gleixner
2004-10-22  9:00                                             ` Ingo Molnar
2004-10-22 10:21                                             ` Christoph Hellwig
2004-10-21 22:42                                     ` Timothy Miller
2004-10-21 23:01                                       ` Thomas Gleixner
2004-10-21  9:18                       ` Ingo Molnar
2004-10-21 10:26                         ` Rui Nuno Capela
2004-10-21 11:20                           ` Rui Nuno Capela
2004-10-21  9:55                       ` Thomas Gleixner
2004-10-21 13:03                       ` Rui Nuno Capela
2004-10-21 13:41                         ` Ingo Molnar
2004-10-21 13:53                           ` Ingo Molnar
2004-10-22 10:15                         ` Rui Nuno Capela

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=20041021142215.GA3972@elte.hu \
    --to=mingo@elte.hu \
    --cc=Mark_H_Johnson@raytheon.com \
    --cc=bhuey@lnxw.com \
    --cc=doogie@debian.org \
    --cc=kr@cybsft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mista.tapas@gmx.net \
    --cc=nando@ccrma.Stanford.EDU \
    --cc=rlrevell@joe-job.com \
    --cc=rncbc@rncbc.org \
    --cc=tglx@linutronix.de \
    --cc=xschmi00@stud.feec.vutbr.cz \
    /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).