RE: Error in Hyper-V modules hv_vmbus

From: jdossantos
Date: Thu May 05 2011 - 14:05:20 EST


On Thu, 05 May 2011 14:05:11 +0200, jdossantos@xxxxxxxxxxxxxxxxxx wrote:
On Wed, 4 May 2011 16:00:52 +0000, Hank Janssen wrote:
-----Original Message-----
From: jdossantos@xxxxxxxxxxxxxxxxxx
[mailto:jdossantos@xxxxxxxxxxxxxxxxxx]
Sent: Wednesday, May 04, 2011 2:48 AM
To: Hank Janssen
Cc: KY Srinivasan; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: Error in Hyper-V modules hv_vmbus
> Hank.

Here is my step by step protocol:

Thanks for the detailed setup. I will be trying it with this.

lsmod | grep hv_
hv_timesource 1055 0 [permanent]
hv_vmbus 48554 1

In the logs and with lsmod i see the timesource module running, but
the
time is not in sync with the windows host.
Shutdown function also dosn't work, seems that nothing of the
integrated components are working..hv_netvsc,hv_blkvsc,hv_storvsc are
not
loaded?! But modinfo provides information:

Timesource makes sure that the clock does not drift and uses Hyper-V for
Its stable time source.

The setting of the clock equal to the host is provided by the hv_utils.ko
Module. This module also provides heartbeat, shutdown and KVP functionality.


After that I enabled the synthetic network card, but also here..it
doesn't work and I don't see any hv_netvsc
module loaded, so I tried to load it "by hand" with modprobe
hv_netvsc..but I get a modprobe timeout and nothing happens..

I should know more in the next day or so when I get a VM up and running.

It works fine on Ubuntu, I submitted a few patches to them a few weeks ago
To fix some other problems (these patches are already in mainline)

Hank.
Hi Hank

Yes in ubuntu server (i tested the newest version 11.04) there is no
problem, the hyper-v modules are compiled and activated
as default in the released kernel (2.6.38-8), network, timesync and
all others integrated components are working fine. This is the lsmod
output:
lsmod | grep hv_
hv_utils 12850 0
hv_netvsc 36467 0
hv_timesource 12423 0 [permanent]
hv_vmbus 50431 2 hv_utils,hv_netvsc

Now I have downloaded the newest rc kernel and done the same steps
like in the debian installation, after a reboot I get same errors and
integrated components failed to works...Now I check the hyper-v
modules source from 2.6.38-8 ubuntu kernel and the new one

Regards
Juan Dos Santos

Ok, now I have setup again debian 6.0.1a and compiled the 2.6.39-rc6 kernel but with the hyper-v staging drivers from ubuntu kernel 2.6.38-8 source (just replaced the hv directory, I know maybe it's dirty :) ). But now all is working fine! I have now a debian system with kernel 2.6.39-rc6 with all integrated components running..looks that the hyper-v modules in the ubuntu kernel are more stable that in the newest official rc kernel?!

Regards
Juan



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/