From: Ben Gardiner <BenGardiner@nanometrics.ca>
To: Ganesh Kumar N M <ganeshkumar@signal-networks.com>
Cc: linuxppc-dev@ozlabs.org, linuxppc-embedded@ozlabs.org
Subject: Re: Loadable module crashes at kernel stack overflow or machine check
Date: Fri, 17 Oct 2008 09:12:07 -0400 [thread overview]
Message-ID: <48F88F27.4040107@nanometrics.ca> (raw)
In-Reply-To: <004c01c92f92$bca991d0$0d01a8c0@signet>
[-- Attachment #1: Type: text/plain, Size: 1414 bytes --]
Ganesh Kumar N M wrote:
> *Hi All,*
> **
> * I'm working on MPC860 with Montavista linux 2.4.18*
> *We have a Linux kernel loadable module which on loading*
> *panicks after some random time say 8 hours, 4 hours or so*
> *the oops outputs say either machine check exception or *
> *kernel stack overflow (randomly both show up) a**re as below:*
I don't know for sure what could be causing your problem. I can only
suggest some patches that have helped us in the past.
I'm not familiar with Montavista's kernel versions; but I know our
2.4.24 kernel did not have the 'separate I-TLB error and miss handling'
patch (
http://ozlabs.org/pipermail/linuxppc-embedded/2005-January/016382.html )
which caused our applications to segfault for not apparent reason.
I also suggest applying the CPU15 fix (
http://git.denx.de/?p=linuxppc_2_4_devel.git;a=commit;h=baf9a6caca75b1f338ae370669e5882809000164
and
http://git.denx.de/?p=linuxppc_2_4_devel.git;a=commit;h=3ad403717f1d9c6a09ec41a5b016ac5245591122
) and enabling it temporarily to see if the problem could be the unlucky
placement of a branch instruction at the end of a page; but evaluate the
performance of your application carefully if you are considering running
production code with the patch enabled as it introduces significant
overhead.
Regards,
Ben Gardiner
Nanometrics Seismological Instruments
250 Herzberg Rd., Kanata, ON, CA, K2K 2A1
[-- Attachment #2: Type: text/html, Size: 2814 bytes --]
prev parent reply other threads:[~2008-10-17 13:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-16 13:26 Loadable module crashes at kernel stack overflow or machine check Ganesh Kumar N M
2008-10-17 10:19 ` Oops in during system run Sreejith
2008-10-17 15:21 ` Scott Wood
2008-10-17 13:12 ` Ben Gardiner [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=48F88F27.4040107@nanometrics.ca \
--to=bengardiner@nanometrics.ca \
--cc=ganeshkumar@signal-networks.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).