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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Error while binding VIRQ to IRQ_HANDLER
From: "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>
Date: Wed, 10 Nov 2010 10:02:55 -0600
Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Wed, 10 Nov 2010 08:04:01 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Lg5U39cXHMooEGeZY6YkNLJSYMTpaDhGb7dSzdI+EnY=; b=lJe27BRQEFCnNmVKPMBSc80ZqyO8LgILUxIi6PST+heFxYOSWGUXncmm8LGbj1bYBx 3vl6jUwM0fyedtPBwTyBTR5sJ9neb9FQCrgUBa7bgGeiyHbMr1lESmrBz06rjUMRNx7v +U9nhw6AqAw8Sd4fJ50aiFCTH3nPd/x7FSPYs=
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=BaDDWFkWqO68LGS9MB+LgVWtMiC2ey7yJcMv/bGeiBJqkD9HO0MIT0gNXoKLU33lCD 5EXTx8FUnHOI0Kzu3No5/Z5LuUBwwhYiCYqEI2Zb0J7oBbyvPpCa/t4jVbWMrv1w/6bS l7H6n6XkFIbMksKKJPdKUeuQXI723PzKPpvZM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101110141425.GA16120@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=iJcfysg4UmNh89+bYXU_KxZtPsGF1P4NuWsU7@xxxxxxxxxxxxxx> <20101110141425.GA16120@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,

I already have the following:

EXPORT_SYMBOL_GPL(bind_virq_to_irqhandler);

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