linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3
@ 2004-11-16 16:09 Mark_H_Johnson
  2004-11-16 18:43 ` Ingo Molnar
  0 siblings, 1 reply; 46+ messages in thread
From: Mark_H_Johnson @ 2004-11-16 16:09 UTC (permalink / raw)
  To: Ingo Molnar, Florian Schmidt
  Cc: linux-kernel, Lee Revell, Rui Nuno Capela, K.R. Foley, Bill Huey,
	Adam Heath, Thomas Gleixner, Michal Schmidt,
	Fernando Pablo Lopez-Lezcano, Karsten Wiese, Gunther Persoons,
	emann, Shane Shrybman, Amit Shah

Florian Schmidt <mista.tapas@gmx.net> wrote:

>ok, this new build still hangs at the same spot.

Me too. The serial console output follows at the end. Will try a
few boot alternatives and let you know if I can get this to run.
>From what I can tell, it was attempting to test the NMI watchdog
when it failed.

  --Mark

-----

Linux version 2.6.10-rc2-mm1-RT-V0.7.27-4 (root@dws77) (gcc version 3.3.3
20040412 (Red Hat Linux 3.3.3-7)) #1 SMP Tue Nov 16 09:18:20 CST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data)
 BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
511MB LOWMEM available.
found SMP MP-table at 000fb170
DMI 2.3 present.
Using APIC driver default
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 17
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 6:8 APIC version 17
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.1
    Virtual Wire compatibility mode.
OEM ID: VIA      Product ID: VT3075       APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Processors: 2
Real-Time Preemption Support (c) Ingo Molnar
Built 1 zonelists
Initializing CPU#0
Kernel command line: ro root=LABEL=/ nmi_watchdog=1 single
console=ttyS0,9600n8r profile=2
kernel CPU profiling enabled
kernel profiling shift: 2
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 864.206 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 511224k/524224k available (2231k kernel code, 12612k reserved, 658k
data, 232k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel Pentium III (Coppermine) stepping 06
per-CPU timeslice cutoff: 730.77 usecs.
task migration cache decay timeout: 1 msecs.
Booting processor 1/1 eip 2000
Initializing CPU#1
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel Pentium III (Coppermine) stepping 06
Total of 2 processors activated (3411.96 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=0
t<

[from a good boot of -V0.7.26-4...]
testing NMI watchdog ... OK.
checking TSC synchronization across 2 CPUs: passed.
IRQ#0 thread RT prio: 49.
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
softirq RT prio: 24.
desched cpu_callback 2/00000000
desched thread 0 started up.
desched cpu_callback 3/00000001
desched cpu_callback 2/00000001
ksoftirqd started up.
softirq RT prio: 24.
Brought up 2 CPUs
... and so on ...


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

>great. The current release is meanwhile at -V0.7.27-10, which includes
>other minor updates:

A kernel built with -V0.7.27-10 had the following BUG early in the
boot sequence. All boot messages prior to this point were basically
the same as I sent in the previous report.
  --Mark


[this is where -4 died...]
testing NMI watchdog ... OK.
checking TSC synchronization across 2 CPUs: passed.
IRQ#0 thread RT prio: 49.
BUG at kernel/softirq.c:514!
------------[ cut here ]------------
kernel BUG at kernel/softirq.c:514!
invalid operand: 0000 [#1]
PREEMPT SMP
Modules linked in:
CPU:    0
EIP:    0060:[<c012751e>]    Not tainted VLI
EFLAGS: 00010286   (2.6.10-rc2-mm1-RT-V0.7.27-10)
EIP is at cpu_callback+0xfe/0x130
eax: 0000001d   ebx: 00000000   ecx: c032ab6e   edx: dff82000
esi: 00000000   edi: 00000000   ebp: dff83fb0   esp: dff83f98
ds: 007b   es: 007b   ss: 0068   preempt: 00000001
Process swapper (pid: 1, threadinfo=dff82000 task=dff81460)
Stack: c033cefe c033f16e 00000202 c013b924 00000000 00000000 dff83fc8
c03eb7ee
       c037843c 00000003 00000000 c0100350 dff83fd0 c0100302 dff83fec
c0100387
       00000008 00000000 0000007b c0100350 00000000 00000000 c0102019
00000000
Call Trace:
 [<c0104e3f>] show_stack+0x8f/0xb0 (28)
 [<c0104fff>] show_registers+0x16f/0x1e0 (56)
 [<c0105236>] die+0x106/0x190 (64)
 [<c0105810>] do_invalid_op+0x130/0x140 (192)
 [<c0104a7f>] error_code+0x2b/0x30 (84)
 [<c03eb7ee>] spawn_ksoftirqd+0x2e/0x60 (24)
 [<c0100302>] do_pre_smp_initcalls+0x12/0x20 (8)
 [<c0100387>] init+0x37/0x1b0 (28)
 [<c0102019>] kernel_thread_helper+0x5/0xc (537378836)
---------------------------
| preempt count: 00000002 ]
| 2-level deep critical section nesting:
----------------------------------------
.. [<c032c702>] .... _raw_spin_lock_irqsave+0x22/0x90
.....[<c0105174>] ..   ( <= die+0x44/0x190)
.. [<c013dfbd>] .... print_traces+0x1d/0x60
.....[<c0104e3f>] ..   ( <= show_stack+0x8f/0xb0)

Code: 0f 0b 03 02 6e f1 33 c0 e9 77 ff ff ff c7 04 24 fe ce 33 c0 b8 02 02
00 00 89 44 24 08 b8 6e f1 33 c0 89 44 24 04 e8 62 9c ff ff <0f> 0b 02 02
6e f1 33 c0 8b 14 b5 20 20 41 c0 e9 39 ff ff ff 8b
 <0>Kernel panic - not syncing: Attempted to kill init!


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

>From what I can tell, it was attempting to test the NMI watchdog
>when it failed.

Confirmed, clean boot when I removed
  nmi_watchdog=1 profile=2
from the boot parameters. Will be doing some tests without it.

   --Mark


^ permalink raw reply	[flat|nested] 46+ messages in thread
* [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.3
@ 2004-10-27  0:15 Ingo Molnar
  2004-11-03 10:58 ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm2-V0.7.1 Ingo Molnar
  0 siblings, 1 reply; 46+ messages in thread
From: Ingo Molnar @ 2004-10-27  0:15 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


i have released the -V0.3 Real-Time Preemption patch, which can be
downloaded from:

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

this is a fixes-only release, but still experimental.

this release should fix a number of bugs that were reported for the V0
series: the futex.c assert, the lockups and the 'slowdown problem'.

The slowdown problem was an architectural issue that surfaced sometime
around U10 and increased in prominence as the the number of mutexes
increased and the number of spinlocks decreased. The futex.c assert was
related to this architectural issue as well, and most of the lockups
reported were i believe livelocks caused by the same issue. Also, the
scheduler path had an easy-to-trigger deadlock that often just silently
locked up.

some of the networking lockups might be related to this issue too, but i
think PREEMPT_REALTIME still has separate lock odering issues within the
networking code. Please re-report any deadlock-tracer asserts that you
might encounter.

Changes since -V0.2:

 - HEAP_SIZE fix from Karsten Wiese

 - fix hdparm-triggered debugging message reported by Mark H Johnson

 - fixed mutex related preemption to not impact the task state, just 
   like a normal spinlock does. This necessiated the introduction of
   TASK_RUNNING_MUTEX handling and related kernel infrastructure. This 
   framework avoids spurious wakeups done by mutex handling by isolating
   the state changes done by normal wakeups vs. the state changes caused
   by the mutex code.

 - added per-CPU deschedule threads. This fixes a deadlock scenario and
   it is also much faster than keventd.

 - fix debugging message upon console unblanking

to create a -V0.3 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/people/akpm/patches/2.6/2.6.9/2.6.9-mm1/2.6.9-mm1.bz2
 + http://redhat.com/~mingo/realtime-preempt/realtime-preempt-2.6.9-mm1-V0.3

	Ingo

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

end of thread, other threads:[~2004-11-17 14:05 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-16 16:09 [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3 Mark_H_Johnson
2004-11-16 18:43 ` Ingo Molnar
2004-11-16 18:41   ` K.R. Foley
2004-11-16 19:51   ` K.R. Foley
2004-11-16 21:24     ` Ingo Molnar
2004-11-16 21:20       ` Florian Schmidt
2004-11-16 21:32         ` Florian Schmidt
2004-11-16 22:42           ` Ingo Molnar
2004-11-16 22:04             ` Florian Schmidt
2004-11-16 23:11               ` Ingo Molnar
2004-11-16 22:55                 ` Florian Schmidt
2004-11-16 23:29                   ` Florian Schmidt
2004-11-17  0:06                     ` john cooper
2004-11-17 11:23                       ` Florian Schmidt
2004-11-17 12:28                         ` Ingo Molnar
2004-11-17 13:02                         ` Ingo Molnar
2004-11-17 12:14                           ` Florian Schmidt
2004-11-17 13:41                             ` Ingo Molnar
2004-11-17 12:59                               ` Florian Schmidt
2004-11-17 13:35                                 ` Paul Ma
2004-11-17 13:45                             ` Ingo Molnar
2004-11-17 13:00                               ` Florian Schmidt
2004-11-17 15:01                                 ` Ingo Molnar
2004-11-17  6:19                   ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-11 ???
2004-11-16 21:42         ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3 K.R. Foley
2004-11-16 21:47           ` Florian Schmidt
2004-11-16 22:31         ` Ingo Molnar
2004-11-16 21:33           ` Florian Schmidt
2004-11-16 21:40             ` Florian Schmidt
2004-11-16 23:03               ` Ingo Molnar
2004-11-17  7:59       ` BUG with 0.7.27-11, with KGDB Amit Shah
2004-11-17  8:26         ` Bill Huey
2004-11-17  9:19           ` Bill Huey
2004-11-17 12:05             ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2004-11-17 14:01 [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3 Mark_H_Johnson
2004-11-16 16:15 Mark_H_Johnson
2004-11-16 17:39 ` K.R. Foley
2004-10-27  0:15 [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.3 Ingo Molnar
2004-11-03 10:58 ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm2-V0.7.1 Ingo Molnar
2004-11-06 15:57   ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.18 Ingo Molnar
2004-11-08  9:16     ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.19 Ingo Molnar
2004-11-08 16:57       ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.21 Ingo Molnar
2004-11-09 16:05         ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.23 Ingo Molnar
2004-11-11 14:44           ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.25-0 Ingo Molnar
2004-11-11 21:51             ` [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.25-1 Ingo Molnar
2004-11-16 12:54               ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-0 Ingo Molnar
2004-11-16 13:09                 ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-1 Ingo Molnar
2004-11-16 13:40                   ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3 Ingo Molnar
2004-11-16 14:20                     ` Florian Schmidt
2004-11-16 15:08                       ` Florian Schmidt
2004-11-16 15:29                         ` Florian Schmidt
2004-11-16 15:52                           ` Stefan Schweizer
2004-11-16 18:43                     ` Marcos D. Marado Torres
2004-11-16 18:51                       ` Lee Revell
2004-11-16 19:53                       ` Ingo Molnar
2004-11-17  0:36                     ` Bill Huey

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).