[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Xen Still hangs up when insmod xenbus.ko. Re: [Xen-devel] Unmodified_drivers modules broke again for 3.0.4?
Hi Ian,Now I can xen-platform-pci.ko can be loaded after building unmodified_drivers modules with the correct kernel header. Thanks for pointing out. However, Xen still hangs up when I try load xenbus.ko module after xen-platform-pci.ko is loaded successfully. The problem remains the same even though I applied the patch you provided and using the latest xen-unstable.hg version. Thanks, Liang----- Original Message ----- From: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx> To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>Cc: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>; "Keir Fraser" <keir@xxxxxxxxxxxxx>; <xen-users@xxxxxxxxxxxxxxxxxxx> Sent: Saturday, January 06, 2007 4:44 AM Subject: Re: [Xen-devel] Unmodified_drivers modules broke again for 3.0.4? On Fri, 2007-01-05 at 16:51 -0700, Liang Yang wrote:Hi,I tried to load unmodified_drivers modules for vbd device and got error whendoing insmod xen-platform-pci.ko in HVM Linux domain: xen_platform_pci: disagrees about version of symbol struct_module insmod: error inserting 'xen-platform-pci.ko' : -1 invalid module format. I used the same kernel version for HVM Linux kernel and the kernel I was building unmodified_drivers, i.e. they are both 2.6.16.33. I testedxen-3.0.4-testing and xen-unstable, all got the same problem. Xen 3.0.2 with2.6.16.29 kernel version still works fine. Could anyone point out some links to fix this?I needed the patch below when I tried the xen-unstable version yesterday. I don't see how it can be related to the problem you are seeing but with it they work fine for me on RHEL4 and SLES9. I didn't try 2.6.16 but I will on Monday. Are you sure you are building against the correct kernel headers for the kernel you are running? Ian. diff -r d04ff58bbe18 unmodified_drivers/linux-2.6/platform-pci/evtchn.c--- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Fri Jan 05 10:40:19 2007 +0000 +++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Fri Jan 05 14:40:02 2007 +0000@@ -48,6 +48,12 @@ static struct { void *dev_id; int close; /* close on unbind_from_irqhandler()? */ } evtchns[MAX_EVTCHN]; + +int irq_to_evtchn_port(int irq) +{ + return irq; +} +EXPORT_SYMBOL_GPL(irq_to_evtchn_port); void mask_evtchn(int port) { _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |