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

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


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • From: "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>
  • Date: Wed, 10 Nov 2010 13:28:27 -0600
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • Delivery-date: Wed, 10 Nov 2010 11:29:31 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iAqDGS8hLjevvYudKVveJNqnPKlYYYl+VtwEuUkR1BYbrw43FXH4e4Aifc+pqIYpI2 pJmekaZejYOVfiU2vU86sops599EpQFk7unOGAzZyvOsnCMXLoFe3Qvs7I5x9kQEW8Qh WgQhoomkjF4TdqZeZy4sycD/LgvPqM7HuqkEM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I got the problem fixed. 

Can I pass some information (an integer value) to Dom0 along with the VIRQ. 

--
Srujan D. Kotikela


On Wed, Nov 10, 2010 at 12:41 PM, Srujan D. Kotikela <ksrujandas@xxxxxxxxx> wrote:
Hi Ian,

That fixed the problem. But it's not handling the VIRQ. I am passing the VIRQ as follows in "xen"

send_guest_global_virq(dom0, 11);

--
Srujan D. Kotikela



On Wed, Nov 10, 2010 at 10:13 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
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

 


Rackspace

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