LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   What the reason of this unknow symbol (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/what-the-reason-of-this-unknow-symbol-4175438209/)

RickCheung 11-21-2012 07:53 PM

What the reason of this unknow symbol
 
When I insert a kernel module into a virtual machine which runs on Xen3.4.3, it shows an insert error message that"unknow symbol 'HYPERVISOR_event_channel_op_compat'"(Everything is OK when I use Xen3.2.0). But when I use 'cat /proc/kallsyms' in the virtual machines, it shows that the symbol
'HYPERVISOR_event_channel_op_compat' do exist. What's the reason of this error message?

xeleema 11-24-2012 07:17 AM

Sounds like the module you're inserting into the VM was not compiled against the correct kernel sources. If you have access to the source for the module, recompile it. If not, take it up with the vendor that supplied you with said module.

RickCheung 11-24-2012 11:13 AM

Quote:

Originally Posted by xeleema (Post 4835998)
Sounds like the module you're inserting into the VM was not compiled against the correct kernel sources. If you have access to the source for the module, recompile it. If not, take it up with the vendor that supplied you with said module.

This error has been solved by recompile the xen-linux kernel with a compatibility option turned on.
But there comes another problem. The xenbus_printf function in the module returned errno=-13, but it works well on xen3.2.0. Do you know why?

xeleema 12-01-2012 03:27 AM

No idea, I'm not a Xen guy (VMware, VirtualBox, and Solaris zones are my poison of choice).


All times are GMT -5. The time now is 03:56 AM.