mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Lee Revell <rlrevell@joe-job.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.12-rc1-RT-V0.7.41-15: it_real_fn oops on boot in run_timer_softirq
Date: Thu, 31 Mar 2005 11:08:14 +0200	[thread overview]
Message-ID: <20050331090814.GB22232@elte.hu> (raw)
In-Reply-To: <1112228970.19975.7.camel@mindpipe>


* Lee Revell <rlrevell@joe-job.com> wrote:

> Since 2.6.12-rc1-RT something I get this Oops on boot about 50% of the 
> time.  It's clearly some kind of race because if I just reboot again 
> it works.  Seems to happen shortly after ksoftirqd startup (maybe the 
> first time we hit the timer softirq?).
> 
> This is (lazily) hand copied and incomplete, but hopefully is enough 
> info...

hm, does the patch below help?

If not then please try to capture the full oops via serial logging, or 
if it's not possible, here are some guidelines wrt. how to minimize work 
when writing down oopses by hand:

1)

write down the EIP of the crash, and do:

	objdump -d vmlinux > vmlinux.asm
	grep -C 100 c0xxxxxx vmlinux.asm > toingo.asm

c0xxxxxx is the EIP of the oops. This way i'll know precisely which 
instruction crashed, and can match it up in my kernel image, even if i 
have a different .config and different build environment.

2)

Or write down the 'EIP is at ...' line plus ~10 bytes of the 'Code: ' 
line of the oops too, starting at the byte that is enclosed by <>. This 
info is enough in most cases.

	Ingo

--- linux/kernel/itimer.c.orig
+++ linux/kernel/itimer.c
@@ -138,7 +138,8 @@ void it_real_fn(unsigned long __data)
 	 * here because do_setitimer makes sure we have finished running
 	 * before it touches anything.
 	 */
-	it_real_arm(p, p->signal->it_real_incr);
+	if (p->signal)
+		it_real_arm(p, p->signal->it_real_incr);
 }
 
 int do_setitimer(int which, struct itimerval *value, struct itimerval *ovalue)

      reply	other threads:[~2005-03-31  9:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31  0:29 Lee Revell
2005-03-31  9:08 ` Ingo Molnar [this message]

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=20050331090814.GB22232@elte.hu \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rlrevell@joe-job.com \
    /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

all inboxes | Powered by JetHome®