From: Jeff Dike <jdike@addtoit.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: BlaisorBlade <blaisorblade_spam@yahoo.it>,
user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: Diagnosed and repeatable kernel mode panic in schedule() for 2.6!
Date: Mon, 16 Feb 2004 19:52:26 -0500 [thread overview]
Message-ID: <200402170052.i1H0qQsq025107@ccure.user-mode-linux.org> (raw)
In-Reply-To: Your message of "Mon, 16 Feb 2004 20:27:03 +0100." <20040216192703.GA13746@elte.hu>
mingo@elte.hu said:
> i cannot reproduce using 2.6.2-rc3-mm1, so it's likely some recent
> breakage.
I can. At least the original panic that BlaisorBlade found. The stack shows
schedule() recursing through switch_to because of a signal arriving at the
wrong time, and the interrupt handler calling schedule():
#6 schedule () at kernel/sched.c:1680
#7 0xa00154f9 in interrupt_end () at arch/um/kernel/process_kern.c:138
#8 0xa001f5aa in userspace (regs=0xa03233b8)
at arch/um/kernel/skas/process.c:174
#9 0xa001fd9a in fork_handler (sig=10)
at arch/um/kernel/skas/process_kern.c:103
#10 <signal handler called>
#11 0xa016974d in syscall ()
#12 0x00000001 in ?? ()
#13 0xa7fd388c in ?? ()
#14 0xa7fd395c in ?? ()
#15 0xa0015351 in external_pid (t=0xa0323080)
at arch/um/kernel/process_kern.c:69
#16 0xa0015487 in set_current (t=0xa0323080)
at arch/um/kernel/process_kern.c:126
#17 0xa001fb69 in switch_to_skas (prev=0xa0a97740, next=0xa0323080)
at arch/um/kernel/skas/process_kern.c:40
#18 0xa00154c7 in _switch_to (prev=0xa0a97740, next=0xa0323080,
last=0xa0a97740) at arch/um/kernel/process_kern.c:132
#19 0xa0030845 in schedule () at kernel/sched.c:919
So, this seems very wrong. It's not obvious to me offhand what the correct
fix is, since the scheduler runs with interrupts enabled. Time to look at what
x86 does, I guess.
Jeff
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-02-17 0:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-15 18:50 [uml-devel] Diagnosed and repeatable kernel mode panic in schedule() for 2.6! BlaisorBlade
2004-02-16 9:53 ` [uml-devel] " Ingo Molnar
2004-02-16 19:25 ` BlaisorBlade
2004-02-16 19:27 ` Ingo Molnar
2004-02-17 0:52 ` Jeff Dike [this message]
2004-02-17 4:46 ` Jeff Dike
2004-02-17 7:18 ` William Stearns
2004-02-19 19:01 ` BlaisorBlade
2004-02-20 2:06 ` Jeff Dike
2004-02-20 7:48 ` Ingo Molnar
2004-02-17 15:56 ` BlaisorBlade
2004-02-18 21:15 ` Jeff Dike
2004-02-19 18:15 ` BlaisorBlade
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=200402170052.i1H0qQsq025107@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=blaisorblade_spam@yahoo.it \
--cc=mingo@elte.hu \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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