All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [patch] Real-Time Preemption, -RT-2.6.10-mm1-V0.7.34-00
@ 2005-01-06 19:15 Mark_H_Johnson
  2005-01-06 19:44 ` Florian Schmidt
  0 siblings, 1 reply; 9+ messages in thread
From: Mark_H_Johnson @ 2005-01-06 19:15 UTC (permalink / raw)
  To: Florian Schmidt
  Cc: Bill Huey, Adam Heath, K.R. Foley, linux-kernel, Ingo Molnar,
	Fernando Pablo Lopez-Lezcano, Lee Revell, Rui Nuno Capela,
	Steven Rostedt, Thomas Gleixner

> On Tue, 4 Jan 2005 10:45:18 +0100
> Ingo Molnar <mingo@elte.hu> wrote:
>
> >   http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2
> >   http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10
/2.6.10-mm1/2.6.10-mm1.bz2
> >
http://redhat.com/~mingo/realtime-preempt/realtime-preempt-2.6.10-mm1-V0.7.34-00

>
> Hi,
>
> something is wrong with 34-01 and ALSA:

[snip - detailed error messages]

This is a known problem with -mm1 and the ALSA people already fixed it.
The change log for -mm2 indicates it should be in that version.

A work around is to ENABLE power management. Another possible solution
is to apply the patch I already provided in a lkml email message. See

http://groups-beta.google.com/group/linux.kernel/attach/4fc6393590a2fa25/ac97-fix-nopm.patch?part=2
for the patch or

http://groups-beta.google.com/group/linux.kernel/browse_frm/thread/191dcbdb2db8683a/10b2db7bba380ae4#10b2db7bba380ae4
for the context of the email exchange. This is NOT the same fix the ALSA
people provided - but it worked for me.

--Mark H Johnson
  <mailto:Mark_H_Johnson@raytheon.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.28-1
@ 2004-11-18 12:35 Ingo Molnar
  2004-11-18 16:46 ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.29-0 Ingo Molnar
  0 siblings, 1 reply; 9+ messages in thread
From: Ingo Molnar @ 2004-11-18 12:35 UTC (permalink / raw)
  To: linux-kernel
  Cc: Lee Revell, Rui Nuno Capela, Mark_H_Johnson, K.R. Foley,
	Bill Huey, Adam Heath, Florian Schmidt, Thomas Gleixner,
	Michal Schmidt, Fernando Pablo Lopez-Lezcano, Karsten Wiese,
	Gunther Persoons, emann, Shane Shrybman, Amit Shah


i have released the -V0.7.28-1 Real-Time Preemption patch, which can be
downloaded from the usual place:

	http://redhat.com/~mingo/realtime-preempt/

this should fix the lockup bug reported by Florian Schmidt.

there's a generic PREEMPT bug in the upstream kernel: there exists a
single-instruction race window in __flush_tlb(), if the kernel preempted
exactly there in a lazy-TLB thread and certain other, rare scheduling
and MM properties were true as well (a certain constellation of threads
and lazy-TLB kernel threads occured), and the lazy-TLB task then got
another user TLB to inherit, and switched to a task from which it
inherited that new TLB, thus the wrong cr3 was loaded and inherited by
this next, non-lazy-TLB next task; then (and only then) this scenario
would typically manifest itself in the form of an infinite pagefault
lockup occuring much after the fact, upon the next userspace access (to
the joy of a totally baffled kernel developer). I suspect from the
description you can guess how much fun it was to debug it =B-)

the bug is even more rare in the generic kernel, because there most (but
not all) TLB flush points are in a critical section.

this fix could resolve some of the other 'my box just locked up'
reports.

Changes since a -V0.7.28-0:

 - reverted the UP-ioapic change - it was unrelated to the lockup and it
   is known to cause problems on certain IDE/soundcard combinations.

 - fixed and improved the trace_print_on_crash tracing feature - it was
   highly needed to find the TLB bug ...

to create a -V0.7.28-1 tree from scratch, the patching order is:

  http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2
  http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.10-rc2.bz2
  http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10-rc2/2.6.10-rc2-mm1/2.6.10-rc2-mm1.bz2
  http://redhat.com/~mingo/realtime-preempt/realtime-preempt-2.6.10-rc2-mm1-V0.7.28-1

	Ingo

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

end of thread, other threads:[~2005-01-07 19:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-06 19:15 [patch] Real-Time Preemption, -RT-2.6.10-mm1-V0.7.34-00 Mark_H_Johnson
2005-01-06 19:44 ` Florian Schmidt
  -- strict thread matches above, loose matches on Subject: below --
2004-11-18 12:35 [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.28-1 Ingo Molnar
2004-11-18 16:46 ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.29-0 Ingo Molnar
2004-11-22  0:54   ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.30-2 Ingo Molnar
2004-11-23 17:58     ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.30-9 Ingo Molnar
2004-11-24 10:16       ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.30-10 Ingo Molnar
2004-12-03 20:58         ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.32-0 Ingo Molnar
2004-12-07 13:29           ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.32-4 Ingo Molnar
2004-12-07 14:11             ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.32-6 Ingo Molnar
2004-12-14 13:28               ` [patch] Real-Time Preemption, -RT-2.6.10-rc3-mm1-V0.7.33-0 Ingo Molnar
2005-01-04  6:40                 ` Bill Huey
2005-01-04  9:45                   ` [patch] Real-Time Preemption, -RT-2.6.10-mm1-V0.7.34-00 Ingo Molnar
2005-01-04 10:48                     ` Bill Huey
2005-01-04 10:52                       ` Ingo Molnar
2005-01-04 10:55                     ` Felipe Alfaro Solana
2005-01-06 18:45                     ` Florian Schmidt
2005-01-07 19:26                     ` Tom Rini
2005-01-07 19:36                       ` Lee Revell

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.