linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Samuel Rydh <samuel@ibrium.se>
To: puetzk6715@uni.edu, linuxppc-dev@lists.linuxppc.org
Subject: Re: mac-on-linux (g3/r5 problems)
Date: Wed, 12 May 1999 22:12:42 +0200	[thread overview]
Message-ID: <19990512221242.30065@ibrium.se> (raw)
In-Reply-To: <Pine.PMDF.3.96.990512134259.539075676A-100000@uni.edu>; from puetzk6715@uni.edu on Wed, May 12, 1999 at 01:52:39PM -0500


On Wed, May 12, 1999 at 01:52:39PM -0500, puetzk6715@uni.edu wrote:
> 
> Everything compiled, but the link failed, because
> arch/ppc/macos/macos_ksyms.c and kernel/ksyms.c both tried to define
> __ksymtab_find_vma and .kstrtab_find_vma. At this point I munged it
> (commented out EXPORT_SYMBOL(find_vma) in arch/ppc/macos/macos_ksyms.c)
> and it built (I was curious how much farther I'd get). How am I supposed
> to get past this / what did I do wrong that caused it?
> 
> The kenel boots, seems to work, but any attempt to insert macos_mod fails
> because clear_tlb_table is not defined - this symbol is in my vmlinux
> file, but does not appear in /proc/ksyms. Is this the 603 bug (since the
> 750 is like a 603 in many ways, and I know the problem is related to
> memory mapping...)?
>
The problem is that the clear_tlb_table symbol is not exported.
I think it should be sufficient to add EXPORT_SYMBOL(clear_tlb_table)
to macos_ksyms.c. Even better, compile the kernel with the module
config option set to no (module support is probably going
to disappear since it is only a relatively small part of the 
code which actually can be put in a module).

/Samuel

-- 

----------------------------------------------------------
  E-mail <samuel@ibrium.se>  WWW: <http://www.ibrium.se>
    Phone/fax: (home) +46 4418431, (work) +46 7908470   
----------------------------------------------------------

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

      reply	other threads:[~1999-05-12 20:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-12 18:52 mac-on-linux (g3/r5 problems) puetzk6715
1999-05-12 20:12 ` Samuel Rydh [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=19990512221242.30065@ibrium.se \
    --to=samuel@ibrium.se \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=puetzk6715@uni.edu \
    /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).