From: Ingo Molnar <mingo@elte.hu>
To: Simon Derr <Simon.Derr@bull.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.16-rt10
Date: Tue, 4 Apr 2006 14:00:03 +0200 [thread overview]
Message-ID: <20060404120003.GA15847@elte.hu> (raw)
In-Reply-To: <Pine.LNX.4.61.0604041344000.15050@openx3.frec.bull.fr>
* Simon Derr <Simon.Derr@bull.net> wrote:
> On Tue, 28 Mar 2006, Ingo Molnar wrote:
>
> >
> > * Simon Derr <simon.derr@bull.net> wrote:
> >
> > > On Mon, 27 Mar 2006, Ingo Molnar wrote:
> > >
> > > > i've released -rt10
> > >
> > > Is anyone working on a port of this patch to the IA64 architecture ?
> >
> > not that i know of. If someone wants to do that, take a look at the
> > x86_64 changes (or ppc/mips/i386 changes) to get an idea. These are the
> > rough steps needed:
> > [snip]
>
>
> Work in progress... (based on -rt11)
> So far I have a kernel that almost boots, but not quite.
>
> First issue: 'BUG: udev:45 task might have lost a preemption check!'
>
> When looking at the code in preempt_enable_no_resched(), why is the
> value of preempt_count() checked to be non-zero _after_ calling
> dec_preempt_count() ?
>
> I saw several posts on this list claiming that this message is
> harmless, but I'd like to figure what's going on.
the warning means that doing a preempt_enable_no_resched() while being
in a preemptible section is most likely a bug, and that you could lose a
need_resched() check. (and introduce a scheduling latency) What's the
backtrace? This could be the sign of a not fully/correctly converted
arch/*/kernel/process.c (but i'm only guessing here).
> My boot process is stuck later when insmod loads the driver for the
> MPT Fusion SCSI adapter. It's waiting for a second interrupt to
> arrive, and that never happens.
>
> I see that the -rt patch touches many drivers by changing calls to
> local_irq_save (and friends), changing the type of the semaphores, but
> the MPT driver makes no use of these.
>
> Any ideas ?
you should first check the PREEMPT_NONE kernel with PREEMPT_SOFTIRQS and
PREEMPT_HARDIRQS enabled. I.e. first check whether IRQ threading works.
Then enable all the other PREEMPT options one by one: PREEMPT_DESKTOP,
PREEMPT_RCU, PREEMPT_BKL. Only when all these work switch to PREEMPT_RT.
Ingo
next prev parent reply other threads:[~2006-04-04 12:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-26 21:07 Are ALL_TASKS_PI on in 2.6.16-rt7? Esben Nielsen
2006-03-26 21:23 ` 2.6.16-rt7 and deadlock detection Esben Nielsen
2006-03-26 22:04 ` Esben Nielsen
2006-03-26 22:04 ` Ingo Molnar
2006-03-26 23:35 ` 2.6.16-rt10 Ingo Molnar
2006-03-28 9:43 ` 2.6.16-rt10 Simon Derr
2006-03-28 20:49 ` 2.6.16-rt10 Ingo Molnar
2006-03-29 7:55 ` 2.6.16-rt10 Simon Derr
2006-04-04 11:57 ` 2.6.16-rt10 Simon Derr
2006-04-04 12:00 ` Ingo Molnar [this message]
2006-04-04 15:59 ` 2.6.16-rt10 Simon Derr
2006-04-04 19:27 ` 2.6.16-rt10 Steven Rostedt
2006-03-26 21:27 ` Are ALL_TASKS_PI on in 2.6.16-rt7? Ingo Molnar
2006-03-26 21:33 ` Esben Nielsen
2006-03-26 21:35 ` Ingo Molnar
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=20060404120003.GA15847@elte.hu \
--to=mingo@elte.hu \
--cc=Simon.Derr@bull.net \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox