From: "Ian Jiang" <ianjiang.ict@gmail.com>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] 2.4.21 insmod problem: unresolved symbol to_virt
Date: Mon, 23 Oct 2006 10:04:00 +0800 [thread overview]
Message-ID: <7b2fa1820610221904q53df7d55w522384177fe3d705@mail.gmail.com> (raw)
In-Reply-To: <20061020163751.GD5530@ccure.user-mode-linux.org>
Hi Jeff!
Thanks for your reply!
On 10/21/06, Jeff Dike <jdike@addtoit.com> wrote:
> On Fri, Oct 20, 2006 at 02:02:09PM +0800, Ian Jiang wrote:
> > Then I tried the example 4-1 chardev.c at
> > http://tldp.org/LDP/lkmpg/2.4/html/x579.html, but I got "unresolved
> > symbol to_virt" from insmod. I noted it's the calling for put_user()
> > by chardev.c that lead to use of to_virt().
>
> Export it in arch/um/kernel/ksyms.c
>
I tried just as you told and the problem was fixed.
In fact, I used to export the symbol to_virt in um/kernel/physmem.c
where it was defined. But this had no effect. What is the difference
between the ksyms.c and physmem.c while exporting symbols? Could you
give an explanation? Thanks again and best wishes!
--
Ian Jiang
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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:[~2006-10-23 2:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-20 6:02 [uml-devel] 2.4.21 insmod problem: unresolved symbol to_virt Ian Jiang
2006-10-20 16:37 ` Jeff Dike
2006-10-23 2:04 ` Ian Jiang [this message]
2006-10-25 15:26 ` Jeff Dike
2006-10-26 0:10 ` 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=7b2fa1820610221904q53df7d55w522384177fe3d705@mail.gmail.com \
--to=ianjiang.ict@gmail.com \
--cc=jdike@addtoit.com \
--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