All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8
@ 2004-10-21 14:51 Mark_H_Johnson
  2004-10-21 15:06 ` Ingo Molnar
  0 siblings, 1 reply; 111+ messages in thread
From: Mark_H_Johnson @ 2004-10-21 14:51 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Bill Huey, Adam Heath, K.R. Foley, linux-kernel, Florian Schmidt,
	Fernando Pablo Lopez-Lezcano, Lee Revell, Rui Nuno Capela,
	Thomas Gleixner, Michal Schmidt

>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).
Yes I have PREEMPT_REALTIME enabled.

The thing that comes to mind is I do have a script that does
  echo 0 > '/proc/irq/10/Esoniq AudioPCI/threaded
as part of ensuring the all the preemption stuff was set right. I may
have run that script prior to getting those messages. I thought you
said before that the non threaded IRQ stuff was disabled. Perhaps this
interface needs to be disabled as well [unless you really decide to
fix this limitation...].

I was already going into that script to add something like...
  for N in 1 3 4 6 8 10 11 12 14 15 ; do
    chrt -p -f 99 `pidof "IRQ $N"`
  done
to make all the threaded IRQ's max priority RT fifo tasks. I can
certainly comment out the IRQ thread disable code while I'm at it.

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


^ permalink raw reply	[flat|nested] 111+ messages in thread
* Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8
@ 2004-10-21 13:02 Mark_H_Johnson
  2004-10-21 14:14 ` Ingo Molnar
  0 siblings, 1 reply; 111+ messages in thread
From: Mark_H_Johnson @ 2004-10-21 13:02 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Bill Huey, Adam Heath, K.R. Foley, linux-kernel, Florian Schmidt,
	Fernando Pablo Lopez-Lezcano, Lee Revell, Rui Nuno Capela,
	Thomas Gleixner, Michal Schmidt

With a workaround patch for the boot time BUG, I was able to get ...
 - to single user mode w/o any errors
 - a [NOW] non fatal error getting the network up (telinit 3)
 - no further errors getting the X server up (telinit 5)
 - able to hear sample audio
 - system stayed up all night (daemons were stable...)
This is the first time in about two weeks that I had a reasonably stable
system (last known good is -T3).

I was about to run my normal stress tests when the system locked up.

The symptom was the display stopped updating / no mouse motion. Apparently
caused while I was dragging a window with the mouse (USB). We may still
have problems in that area. No apparent response to Alt-Sysrq keys;
hardware reset was sufficient to reboot.

Will check the system logs to see what I can find.

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


^ permalink raw reply	[flat|nested] 111+ messages in thread
* Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8
@ 2004-10-20 14:49 Mark_H_Johnson
  0 siblings, 0 replies; 111+ messages in thread
From: Mark_H_Johnson @ 2004-10-20 14:49 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Bill Huey, Adam Heath, K.R. Foley, linux-kernel, Florian Schmidt,
	Fernando Pablo Lopez-Lezcano, Lee Revell, Rui Nuno Capela,
	Thomas Gleixner, Michal Schmidt

>i have released the -U8 Real-Time Preemption patch:
>
>
http://redhat.com/~mingo/realtime-preempt/realtime-preempt-2.6.9-rc4-mm1-U8

First attempt at booting this version, made it to single user OK but
telinit 3 stopped while starting up the network with the following messages
on console...

INIT: Switching to runlevel: 3
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
Applying Intel IA32 Microcode update:   [ OK ]
Checking for new hardware ----------------[ cut here ]---------------
kernel BUG at include/asm/atomic.h:135!
Invalid operand: 0000 [#1]
PREEMPT SMP
Modules linked in: 8139too mii floppy sg scsi_mod microcode dm_mod uhci_hcd
ext3 jbd
CPU:    0
EIP:    0060:[<c02b8426>]    Not tainted VLI
EFLAGS: 00010246   (2.6.9-rc4-mm1-RT-U8)
EIP is at qdisc_destroy+0x76/0x80
eax: 00000000   ebx: dedf9000   ecx: c037ede0   edx: c037ede0
esi: dedf9000   edi: c03747a8   ebp: df3d9e68   esp: df3d9e64
ds: 007b   es: 007b   ss: 0068   preempt: 00000001
Process modprobe (pid: 1594, threadinfo=df3d8000 task=db708690)
Stack: dedf9000 df3d9e84 c02b863d c037ede0 df3d9e74 df3d9e74 c03423e4
dedf9000
       df3d9ea8 c02a9bdb dedf9000 c01148b0 e0836b10 dedf9420 dedf9000
e083b148
       0807a804 df3d9eb8 c024192e dedf9000 dedf9000 df3d9ed8 e0836b3a
dedf9000
Call Trace:
 [<c02b863d>] dev_shutdown+0x3d/0xa0 (12)
 [<c02a9bdb>] unregister_netdevice+0x13b/0x280 (28)
 [<c01148b0>] mcount+0x14/0x18 (8)
 [<e0836b10>] rtl8139_remove_one+0x0/0xa0 [8139too] (4)
 [<c024192e>] unregister_netdev+0x1e/0x30 (24)
 [<e0836b3a>] rtl8139_remove_one+0x2a/0xa0 [8139too] (16)
 [<c01148b0>] mcount+0x14/0x18 (12)
 [<c01e3a06>] pci_device_remove+0x76/0x80 (20)
 [<c02300bb>] device_detach_shutdown+0xb/0x40 (12)
 [<c022d207>] device_release_driver+0x67/0x70 (12)
 [<c022d23b>] device_detach+0x2b/0x40 (24)
 [<c022d6af>] bus_remove_driver+0x3f/0x70 (20)
 [<c022dbb9>] driver_unregister+0x19/0x30 (20)
 [<c01e3cac>] pci_unregister_driver+0x1c/0x30 (16)
 [<e0838ae7>] rtl8139_cleanup_module+0x17/0x1b [8139too] (16)
 [<c013c751>] sys_delete_module+0x121/0x150 (12)
 [<c01594f4>] sys_munmap+0x54/0x70 (64)
 [<c0118560>] do_page_fault+0x0/0x6d0 (16)
 [<c0107b49>] sysenter_past_esp+0x52/0x71 (16)
preempt count: 00000002
. 2-level deep critical section nesting:
.. entry 1: _spin_lock_irqsave+0x1f/0x80 / (die+0x44/0x190)
.. entry 2: print_traces_0x1d/0x60 / (show_stack+0x8f/0xb0)

Code: 00 ba c0 82 2b c0 c7 43 04 00 02 20 00 5b 5d e9 81 bf e7 ff 0f 0b a5
00 e9
 4d 32 c0 eb cd 0f 0b a4 00 e9 4d 32 c0 eb b8 5b 5d c3 <0f> 0b 87 00 0d 4e
32 c0
 eb 93 55 89 e5 83 ec 10 89 5d f8 89 75

Updating /etc/fstab             [ OK ]
Setting network parameters:     [ OK ]
Bringing up loopback interface:

(no further console output at this point)

Alt-Sysrq-L showed active tasks were swapper (CPU 1) and IRQ 1 (CPU 0) at
cpu_idle and nmi_show_all_regs respectively. Able to repeat this more than
once with the same results each time. Tasks listed by Alt-Sysrq-T included
IRQ 6, S10network, minlogd, initlog, ifup, ip, and grep (all I could see
on the scrollback).

Synced disks (Alt-Sysrq-S) and rebooted (Alt-Sysrq-B) to try again. This
time
turning on syslog before telinit 3. Same results. Will send whatever showed
up
on disk separately.

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


^ permalink raw reply	[flat|nested] 111+ messages in thread
* [patch] VP-2.6.9-rc4-mm1-T8
@ 2004-10-12 19:54 Ingo Molnar
  2004-10-13  6:15 ` [patch] VP-2.6.9-rc4-mm1-T9 Ingo Molnar
  0 siblings, 1 reply; 111+ messages in thread
From: Ingo Molnar @ 2004-10-12 19:54 UTC (permalink / raw)
  To: linux-kernel
  Cc: Fernando Pablo Lopez-Lezcano, Lee Revell, Rui Nuno Capela,
	Wen-chien Jesse Sung, Mark_H_Johnson, K.R. Foley


i've uploaded the -T8 VP patch:

  http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.9-rc4-mm1-T8

lots of stabilization of CONFIG_PREEMPT_REALTIME. It's still in
experimental status but general stability is improving.

Changes since -T7:

 - fixed a nasty category of bugs that were introduced by the use of 
   rwsems for rwlocks. rwsems are not read-recursive, while rwlocks are. 
   Fortunately it was not too hard to identify & fix recursive users of
   tasklist_lock, in fact each of these also qualifies as a cleanup. The 
   symptom of this bug was a soft-deadlocking of the system. 

 - fixed profiler locks, i believe this could resolve the bootup crash
   reported by K.R. Foley.

 - fixed VP / XFS namespace collision reported by Mark H. Johnson

 - fix one more final detail of the new zombie-task handling code

 - fixed 3c59x.c, fasync-handling, ipv6, module-loader runtime
   warnings reported by K.R. Foley.

 - fixed the ali5451 locking

to create a -T8 tree from scratch the patching order is:

   http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.tar.bz2
 + http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.9-rc4.bz2
 + http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc4/2.6.9-rc4-mm1/2.6.9-rc4-mm1.bz2
 + http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.9-rc4-mm1-T8

	Ingo

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

end of thread, other threads:[~2004-10-22 13:48 UTC | newest]

Thread overview: 111+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-21 14:51 [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8 Mark_H_Johnson
2004-10-21 15:06 ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2004-10-21 13:02 Mark_H_Johnson
2004-10-21 14:14 ` Ingo Molnar
2004-10-21 14:22   ` 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

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.