Error Inserting Hv_vmbus
22:17Hi, Sorry if this is the wrong place. I have a SLES 10 SP4 machine that got virtualized in Hyper-V 2008 R2 a few months ago. I's been runing with only minor problems, until we needed to move it to another hypervisor that is running Hyper-V 2012. After that, we found that it doesn't recognizes the integration modules (vmbus, netvsc, etc). I managed to recompile and load the integration modules in a way that I could even update the machine, but I noticed that the system is trying to load some native modules, like hv_vmbus, hv_netvsc, etc. But when system tries to load these modules, it throws these errors: venus:~ # modprobe -v hv_vmbus insmod /lib/modules/2.6.16.60-0.103.1-smp/kernel/drivers/staging/hv/hv_vmbus.ko FATAL: Error inserting hv_vmbus (/lib/modules/2.6.16.60-0.103.1-smp/kernel/drivers/staging/hv/hv_vmbus.ko): Invalid module format venus:~ # I noticed that these modules are part of the kernel package: venus:~ # rpm -qf /lib/modules/2.6.16.60-0.103.1-smp/kernel/drivers/staging/hv/hv_vmbus.ko kernel-smp-2.6.16.60-0.103.1 venus:~ # Does anybody knows why does this happen? jmozdzen04-Jun-2013, 12:23Hi jqueiroz, > FATAL: Error inserting hv_vmbus (/lib/modules/2.6.16.60-0.103.1-smp/kernel/drivers/staging/hv/hv_vmbus.ko): Invalid module format > Does anybody knows why does this happen? Is there any additional output in "dmesg" when you insmod (i.e. via modprobe) the module? Typically these messages result from some unsatisfied dependency, like other modules that need to be loaded first, and the resulting symbol resolution problems. Regards, Jens jqueiroz04-Jun-2013, 17:27Good catch. venus:/home/JQueiroz # modprobe -v hv_vmbus insmod /lib/modules/2.6.16.60-0.103.1-smp/kernel/drivers/staging/hv/hv_vmbus.ko FATAL: Error inserting hv_vmbus (/lib/modules/2.6.16.60-0.103.1-smp/kernel/drivers/staging/hv/hv_vmbus.ko): Invalid module format venus:/home/JQueiroz # dmesg | tail hv_vmbus: module not supported by Novell, setting U taint
I have compiled and installed the new 2.6.39-rc5 linux kernel with Microsoft Hyper-V modules enabled on my Debian Squeeze system. After a reboot I get these errors (sorry can post only screenshots because I can't copy the log): http://docs.homelinux.org/hv and system doesn't boot. What's wrong? I think modprobe can't load hv_vmbus?!? Regards Juan Dos Santos -- https://forums.suse.com/archive/index.php/t-2833.html To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ Reply Quote KY Srinivasan RE: Error in Hyper-V modules hv_vmbus April 30, 2011 10:31PM > -----Original Message----- > From: http://www.serverphorums.com/read.php?12,310428 root [mailto:[emailprotected]] > Sent: Saturday, April 30, 2011 10:40 AM > To: linux-kernel@vger.kernel.org; KY Srinivasan > Subject: Error in Hyper-V modules hv_vmbus > > Hello > > I have compiled and installed the new 2.6.39-rc5 linux kernel with > Microsoft Hyper-V modules enabled on my Debian Squeeze system. After a > reboot I get these errors (sorry can post only screenshots because I > can't copy the log): What is the version of the Windows host. I have seen some issues with older hosts, where the vmbus driver does not get the correct irq. I have submitted a patch for this (this is yet to be applied by Greg). Regards, K. Y -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at
fixes Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ----- Original Message ----- > 于 2013年03月19日 16:58, Tomas Hozza 写道: > > ----- Original Message ----- http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2013-March/036577.html > >>> -----Original Message----- > >>> From: Tomas Hozza [mailto:thozza at redhat.com] > >>> Sent: Monday, March 18, 2013 11:39 AM > >>> To: KY Srinivasan > >>> Cc: Jason Wang > >>> Subject: Re: Can HyperV KVP daemon detect if running under > >>> Windows > >>> Server > >>> > >>> ----- Original Message ----- > >>>>> -----Original Message----- > >>>>> From: Tomas Hozza [mailto:thozza at redhat.com] > >>>>> error inserting Sent: Monday, March 18, 2013 11:15 AM > >>>>> To: KY Srinivasan > >>>>> Cc: Jason Wang > >>>>> Subject: Re: Can HyperV KVP daemon detect if running under > >>>>> Windows > >>>>> Server > >>>>> > >>>>> I tested the hyperv KVP daemon on RHEL-6.4 running on libvirt > >>>>> KVM virtual machine. None of hv_* kmod-s was loaded. The daemon > >>>>> is running just fine and netlink_send() completes error inserting hv_vmbus successfully > >>>>> even if proper drivers are not loaded. > >>>>> > >>>>> [root at localhost ~]# modprobe hv_vmbus > >>>>> FATAL: Error inserting hv_vmbus (/lib/modules/2.6.32- > >>>>> 358.el6.x86_64/kernel/drivers/hv/hv_vmbus.ko): No such device > >>>>> [root at localhost ~]# modprobe hv_utils > >>>>> FATAL: Error inserting hv_utils (/lib/modules/2.6.32- > >>>>> 358.el6.x86_64/kernel/drivers/hv/hv_utils.ko): No such device > >>>>> [root at localhost ~]# lsmod | grep hv > >>>>> [root at localhost ~]# service hypervkvpd start > >>>>> Starting Hyper-V KVP daemon [ > >>>>> OK ] > >>>>> [root at localhost ~]# service hypervkvpd status > >>>>> hv_kvp_daemon (pid 1509) is running... > >>>>> [root at localhost ~]# grep KVP /var/log/messages > >>>>> Mar 18 16:00:50 localhost KVP: KVP starting; pid is:1509 > >>>>> [root at localhost ~]# uname -a > >>>>> Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Tue > >>>>> Jan 29 > >>>>> 11:47:41 EST > >>>>> 2013 x86_64 x86_64 x86_64 GNU/Linux > >>>>> > >>>>> Maybe there could be some timeout for driver registration. > >>>>> After it the daemon would exit if it got no reply from > >>>>> kernel driver. > >>>> In that case, as you suggest maybe we can have a timeout on the > >>>> first > >>>> receive from the kernel. In the current code, once