public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: "K.R. Foley" <kr@cybsft.com>
Cc: linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.13-rc6-rt6
Date: Wed, 17 Aug 2005 15:31:35 -0400	[thread overview]
Message-ID: <1124307095.5186.5.camel@localhost.localdomain> (raw)
In-Reply-To: <1124303466.5247.8.camel@localhost.localdomain>

On Wed, 2005-08-17 at 14:31 -0400, Steven Rostedt wrote:

> On my AMD SMP box, the system boots with no problems. 

I shouldn't say no problems. I got this really nasty stuff on the serial
but not on the vga.  Below is the patch.

I'm currently compiling my laptop to try this out. I started converting
to my AMD box and decided to try this first. Unfortunately, I modified
enough to do a full compile from scratch again.


BUG: stack overflow: only 984 bytes left! [c05c0424...(c05c0000-c05c2000)]
----------------------------->
| new stack-footprint maximum: swapper/0, 7096 bytes (out of 8136 bytes).
------------|
 [<c05c2000>] no_halt+0x0/0x20 (20)
 [<c01430cb>] __mcount+0x4b/0xe0 (20)
 [<c0142a77>] fill_worst_stack+0x67/0x70 (12)
 [<c0142c30>] debug_stackoverflow+0x70/0xd0 (16)
 [<c01223d0>] printk+0x20/0x30 (8)
 [<c01223ee>] vprintk+0xe/0x2b0 (4)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c01223ee>] vprintk+0xe/0x2b0 (20)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (8)
 [<c01223bb>] printk+0xb/0x30 (60)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c01223d0>] printk+0x20/0x30 (20)
 [<c0142aab>] __print_worst_stack+0x2b/0xf0 (20)
 [<c01457ac>] sub_preempt_count+0x1c/0x20 (8)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (24)
 [<c0142baf>] print_worst_stack+0x3f/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (4)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c01430cb>] __mcount+0x4b/0xe0 (32)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (40)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)
 [<c0113d8c>] mcount+0x14/0x18 (8)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (20)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c01225dd>] vprintk+0x1fd/0x2b0 (12)
 [<c01430cb>] __mcount+0x4b/0xe0 (28)
 [<c01223bb>] printk+0xb/0x30 (40)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c01223bb>] printk+0xb/0x30 (20)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (20)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (32)
 [<c0142baf>] print_worst_stack+0x3f/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (4)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c01430cb>] __mcount+0x4b/0xe0 (32)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (40)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)
 [<c0113d8c>] mcount+0x14/0x18 (8)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (20)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
[<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c01225dd>] vprintk+0x1fd/0x2b0 (12)
 [<c01430cb>] __mcount+0x4b/0xe0 (28)
 [<c01223bb>] printk+0xb/0x30 (40)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c01223bb>] printk+0xb/0x30 (20)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (20)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (32)
 [<c0142baf>] print_worst_stack+0x3f/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (4)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c01430cb>] __mcount+0x4b/0xe0 (32)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (40)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)
 [<c0113d8c>] mcount+0x14/0x18 (8)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (20)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c01225dd>] vprintk+0x1fd/0x2b0 (12)
 [<c01430cb>] __mcount+0x4b/0xe0 (28)
 [<c01223bb>] printk+0xb/0x30 (40)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c01223bb>] printk+0xb/0x30 (20)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (20)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (32)
 [<c0142baf>] print_worst_stack+0x3f/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (4)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c01430cb>] __mcount+0x4b/0xe0 (32)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (40)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)
 [<c0113d8c>] mcount+0x14/0x18 (8)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (20)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c01225dd>] vprintk+0x1fd/0x2b0 (12)
 [<c01430cb>] __mcount+0x4b/0xe0 (28)
 [<c01223bb>] printk+0xb/0x30 (40)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c01223bb>] printk+0xb/0x30 (20)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (20)
 [<c0142b8a>] print_worst_stack+0x1a/0x50 (32)
 [<c0142baf>] print_worst_stack+0x3f/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (4)
 [<c01425fb>] check_raw_flags+0xb/0x60 (4)
 [<c01430cb>] __mcount+0x4b/0xe0 (32)
 [<c02ec334>] _raw_spin_lock_irqsave+0x14/0xb0 (40)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (12)

[...]

 [<c01223bb>] printk+0xb/0x30 (40)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c01223bb>] printk+0xb/0x30 (20)
 [<c0142ae1>] __print_worst_stack+0x61/0xf0 (20)
 [<c0122753>] release_console_sem+0x33/0xf0 (32)
 [<c0142baf>] print_worst_stack+0x3f/0x50 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (8)
 [<c0142c17>] debug_stackoverflow+0x57/0xd0 (20)
 [<c01430cb>] __mcount+0x4b/0xe0 (20)
 [<c0122184>] call_console_drivers+0x14/0x150 (40)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c0122184>] call_console_drivers+0x14/0x150 (20)
 [<c0122753>] release_console_sem+0x33/0xf0 (44)
 [<c0122628>] vprintk+0x248/0x2b0 (32)
 [<c01223bb>] printk+0xb/0x30 (68)
 [<c0113d8c>] mcount+0x14/0x18 (20)
 [<c01223d0>] printk+0x20/0x30 (20)
 [<c05d2d4c>] sched_init+0x12c/0x150 (20)
 [<c0113d8c>] mcount+0x14/0x18 (8)
 [<c05c2901>] start_kernel+0x51/0x220 (32)



-- Steve

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Index: linux_realtime_goliath/kernel/latency.c
===================================================================
--- linux_realtime_goliath/kernel/latency.c	(revision 295)
+++ linux_realtime_goliath/kernel/latency.c	(working copy)
@@ -377,8 +377,11 @@
 		print_worst_stack();
 		tr->stack_check++;
 	} else
-		if (worst_stack_printed != worst_stack_left)
+		if (worst_stack_printed != worst_stack_left) {
+			tr->stack_check--;
 			print_worst_stack();
+			tr->stack_check++;
+		}
 out:
 	atomic_dec(&tr->disabled);
 }



  reply	other threads:[~2005-08-17 19:31 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-16 12:18 2.6.13-rc6-rt3 Ingo Molnar
2005-08-16 15:31 ` 2.6.13-rc6-rt5 Steven Rostedt
2005-08-16 15:44   ` 2.6.13-rc6-rt5 Steven Rostedt
2005-08-16 16:08     ` 2.6.13-rc6-rt5 Steven Rostedt
2005-08-16 16:16       ` 2.6.13-rc6-rt5 Ingo Molnar
2005-08-16 16:22       ` 2.6.13-rc6-rt5 Ingo Molnar
2005-08-16 16:32       ` 2.6.13-rc6-rt5 Ingo Molnar
2005-08-16 16:37         ` 2.6.13-rc6-rt5 Ingo Molnar
2005-08-16 16:52           ` 2.6.13-rc6-rt5 Ingo Molnar
2005-08-16 17:08             ` 2.6.13-rc6-rt6 Ingo Molnar
2005-08-16 17:50               ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-16 18:07                 ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-16 18:50                   ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17  4:20                     ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17  5:46                       ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17  6:47                         ` 2.6.13-rc6-rt6 Ingo Molnar
2005-08-17 14:05                           ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17 14:24                             ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17 16:13                               ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17 16:23                                 ` 2.6.13-rc6-rt6 Ingo Molnar
2005-08-17 17:10                                   ` 2.6.13-rc6-rt6 K.R. Foley
2005-08-17 18:31                                     ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17 19:31                                       ` Steven Rostedt [this message]
2005-08-18  0:02                                   ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-18  2:44                                     ` 2.6.13-rc6-rt6 Steven Rostedt
     [not found]                                       ` <20050822075012.GB19386@elte.hu>
     [not found]                                         ` <1124704837.5208.22.camel@localhost.localdomain>
     [not found]                                           ` <20050822101632.GA28803@elte.hu>
     [not found]                                             ` <1124710309.5208.30.camel@localhost.localdomain>
     [not found]                                               ` <20050822113858.GA1160@elte.hu>
     [not found]                                                 ` <1124715755.5647.4.camel@localhost.localdomain>
     [not found]                                                   ` <20050822183355.GB13888@elte.hu>
2005-08-22 19:40                                                     ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-22 19:44                                                       ` [RFC] RT-patch update to remove the global pi_lock Steven Rostedt
2005-08-22 22:19                                                         ` Daniel Walker
2005-08-23  0:26                                                           ` Steven Rostedt
2005-08-23  0:51                                                             ` Daniel Walker
2005-08-23  1:32                                                               ` Steven Rostedt
2005-08-23  3:38                                                                 ` Steven Rostedt
     [not found]                                                                   ` <1124908080.5604.22.camel@localhost.localdomain>
     [not found]                                                                     ` <1124917003.5711.8.camel@localhost.localdomain>
2005-08-24 21:05                                                                       ` Thomas Gleixner
2005-08-25  1:13                                                                       ` Steven Rostedt
2005-08-25  1:38                                                                         ` Daniel Walker
2005-08-25  1:48                                                                           ` Steven Rostedt
2005-08-25  6:31                                                                         ` Ingo Molnar
2005-08-25  6:35                                                                         ` Ingo Molnar
2005-08-25 16:15                                                                           ` Steven Rostedt
2005-08-25 19:34                                                                             ` Ingo Molnar
2005-08-25 19:46                                                                               ` Steven Rostedt
2005-08-23  5:29                                                             ` Ingo Molnar
2005-08-25 14:47                                                         ` Steven Rostedt
2005-08-25 15:06                                                           ` Steven Rostedt
2005-08-25 17:47                                                             ` Ingo Molnar
2005-08-25 20:09                                                               ` Steven Rostedt
2005-08-25 21:32                                                                 ` Daniel Walker
2005-08-26  2:23                                                                 ` Steven Rostedt
2005-08-26 13:52                                                                   ` Steven Rostedt
2005-08-30 15:00                                                                     ` Steven Rostedt
2005-08-30 15:52                                                                       ` Steven Rostedt
2005-08-30 23:08                                                                         ` Steven Rostedt
2005-08-31 15:01                                                                         ` [FYI] 2.6.13-rt3 and a nanosleep jitter test Steven Rostedt
2005-08-31 15:12                                                                           ` Daniel Walker
2005-08-31 15:30                                                                             ` Steven Rostedt
2005-08-31 15:13                                                                           ` Daniel Walker
2005-08-31 15:19                                                                             ` Steven Rostedt
2005-08-31 15:30                                                                               ` Daniel Walker
2005-08-23  5:46                                                       ` 2.6.13-rc6-rt6 Ingo Molnar
2005-08-19 21:22                                   ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-19 22:47                                     ` 2.6.13-rc6-rt6 Paul E. McKenney
2005-08-19 23:02                                       ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-19 23:12                                         ` 2.6.13-rc6-rt6 Paul E. McKenney
2005-08-19 23:20                                           ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-19 23:44                                             ` 2.6.13-rc6-rt6 Paul E. McKenney
2005-08-22  7:53                                     ` 2.6.13-rc6-rt6 Ingo Molnar
2005-08-17 19:27                                 ` 2.6.13-rc6-rt6 Ingo Molnar
2005-08-17 19:39                                   ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17 17:32                           ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17 19:34                             ` 2.6.13-rc6-rt6 Steven Rostedt
2005-08-17  5:59                     ` 2.6.13-rc6-rt6 Ingo Molnar
2005-08-17 20:01 ` 2.6.13-rc6-rt8 Peter Bortas
2005-08-23  6:14   ` 2.6.13-rc6-rt8 Ingo Molnar
2005-08-28 20:36     ` 2.6.13-rc6-rt8 Peter Bortas
2005-08-18  9:57 ` 2.6.13-rc6-rt3 Alistair John Strachan
2005-08-18 10:00   ` 2.6.13-rc6-rt3 Thomas Gleixner

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=1124307095.5186.5.camel@localhost.localdomain \
    --to=rostedt@goodmis.org \
    --cc=kr@cybsft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /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