All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Hirst <rhirst@linuxcare.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Kernel dumps stacks while calling exported function from a loadable module
Date: Tue, 20 Aug 2002 11:22:30 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590701905959@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905956@msgid-missing>

On Tue, Aug 20, 2002 at 07:41:47PM +0800, Jeff Lee wrote:
> My kernel was from the RH installation CD.  I haven't touched it yet.
> 
> I used gcc3.1 for a reason: the 2.96 gcc causes the same problem; hence I tried gcc3.1 but that doesn't seem to matter,
> 
> Actually, I tried a little experiment.  I printed the address of dummy() out;  surprisingly, the reading of dummy() is different in the exporting module from the calling module (no wonder the kernel stacks).  But, any other global variables look fine.  
> 
> What so special about the kernel function symbols in IA 64?

A pointer to a function on ia64 is actually a pointer to a struct
containing the address of the function and the data pointer to use in
the function.

Richard



  parent reply	other threads:[~2002-08-20 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-20  9:52 [Linux-ia64] Kernel dumps stacks while calling exported function from a loadable module Jeff Lee
2002-08-20 11:11 ` Matthew Wilcox
2002-08-20 11:22 ` Richard Hirst [this message]
2002-08-20 11:41 ` Jeff Lee

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=marc-linux-ia64-105590701905959@msgid-missing \
    --to=rhirst@linuxcare.com \
    --cc=linux-ia64@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.