From: Randolph Chung <randolph@tausq.org>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] 2.5 randomly kills applications with page faults
Date: Wed, 18 Dec 2002 09:02:55 -0800 [thread overview]
Message-ID: <20021218170254.GM19331@tausq.org> (raw)
In-Reply-To: <200212181637.gBIGb5r02708@localhost.localdomain>
> In debugging the problems, so far it has always been stack manipulation
> instructions in the user level code causing this. Further, on adding a
ditto.... there's a note about this in the todo....
> register dump to the page fault debugging code, the reason is that the stack
> pointer is way out of where it should be for a user process (around 0x4f000),
> so I surmise it got clobbered on a rare return path from kernel to user.
> Does anyone have any additional information and pointers? I'm trying to audit
> entry.S to see if there is a little used path that can clobber the stack, but
> my parisc assembly isn't the best...
>
that's what i thought too, so i went through entry.S as well to see what
i can find. haven't found anything yet :(
i was able to get the kernel to die simply by having a program do
gettimeofday() in a loop with 2.5... i would guess it's a case where we
have to do some work on the syscall return path (resched, softirq, etc)
that's clobbering things, but i don't know what it is.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
next prev parent reply other threads:[~2002-12-18 16:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-18 16:37 [parisc-linux] 2.5 randomly kills applications with page faults James Bottomley
2002-12-18 17:02 ` Randolph Chung [this message]
2002-12-20 22:12 ` James Bottomley
2002-12-20 22:19 ` John David Anglin
2002-12-20 22:37 ` Grant Grundler
2002-12-22 7:11 ` Grant Grundler
2002-12-22 10:17 ` Helge Deller
2002-12-22 16:35 ` James Bottomley
2002-12-21 1:38 ` Grant Grundler
2002-12-21 1:46 ` James Bottomley
2002-12-21 4:34 ` Grant Grundler
2002-12-21 5:03 ` James Bottomley
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=20021218170254.GM19331@tausq.org \
--to=randolph@tausq.org \
--cc=James.Bottomley@steeleye.com \
--cc=parisc-linux@lists.parisc-linux.org \
/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