WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Error while binding VIRQ to IRQ_HANDLER

On Wed, 2010-11-10 at 16:02 +0000, Srujan D. Kotikela wrote:
> hi,
> 
> 
> I already have the following:
> 
> 
> EXPORT_SYMBOL_GPL(bind_virq_to_irqhandler);

You probably also need MODULE_LICENSE("GPL") in your module.

Ian.

> 
> 
> in my evtchn.c file.
> 
> 
> --
> Srujan D. Kotikela
> 
> 
> On Wed, Nov 10, 2010 at 8:14 AM, Konrad Rzeszutek Wilk
> <konrad.wilk@xxxxxxxxxx> wrote:
>         On Tue, Nov 09, 2010 at 10:43:46AM -0600, Srujan D. Kotikela
>         wrote:
>         > Hi,
>         >
>         > I wrote a kernel module for handling a custom VIRQ. It is
>         *compiling* fine,
>         > but when I try to do *modprobe * it's giving me the
>         following error:
>         >
>         > FATAL: Error inserting vbase (/lib/modules/
>         > > 2.6.18.8/kernel/drivers/xen/vbase/vbase.ko): Unknown
>         symbol in module, or
>         > > unknown parameter (see dmesg)
>         >
>         >
>         > The output of dmesg is as follows:
>         >
>         > vbase: Unknown symbol bind_virq_to_irqhandler
>         
>         
>         You will to tweak your Linux kernel source to have
>         'EXPORT_SYMBOL_GPL' around
>         that function and recompile your kernel.
> 
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel