[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] how to use the xen functions



This problem is resolved. Instead of using xen provide compile options,
I entered the linux-2.4.27-xen0 directory and do each compile step just as
a normal linux kernel. After that, the problem went away.

Thanks again for kind help.

Xin


On Thu, 2 Dec 2004, Milan [ISO-8859-1] Holzäpfel wrote:

> On Wed, 1 Dec 2004 19:14:11 -0500 (EST)
> Xin Zhao <zhaoxin@xxxxxxxxxxxxxx> wrote:
>
> > I need to use the function "ctrl_if_send_message_block" in my kernel
> > module running in Dom0. This function  is provided
> > in 2.6.9-sparse/arch/xen/kernel/ctrl_if.c, however, when I tried to insert
> > the
> > module, I got the error message "unresolved symbol
> > ctrl_if_send_message_block". Looks like the function is not exported. So I
> > go to 2.6.9-sparse/arch/xen/kernel/ctrl_if.c to add the following line:
> >
> > EXPORT_SYMBOL(ctrl_if_send_message_block);
> >
> > But after compilation and reboot, I still got the same error message. Can
> > someone give me some advice on how to use xen provided functions?
>
> If you didn't do "make modules_install" after the extra export, a
> "depmod -a" or sth like that might help.  But I'm not quite sure whether
> symbol resolution is done by modutils using some files in
> /lib/modules...
>
> You might want to tell the list if that's what helped.
>
> > Thanks a lot.
> >
> > Xin
>
> well HTH,
> Milan
>
>
> --
>
>                    Milan Holzäpfel alias jagdfalke alias jag
>
> Öff GnuPG-Schlüssel    <URL:http://con.mjh.name/>    GnuPG Public Key
> GnuPG Fingerabdruck     4C8A 5FAF 5D32 6125 89D1     GnuPG Fingerprint
>                         0CE5 DB0C AF4F 6583 7966
>
>
>
>                     http://www.deppenleerzeichen.de/
>
>
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.