Possible to upgrade the v3.1 Integration Components included in Ubuntu 12.04 to the latest v3.3 released today?
I see today that Microsoft released the latest v3.3 Integration Components for Linux. These are for Hyper-V 3 in Server 2012 and Windows 8. http://www.microsoft.com/en-us/download/details.aspx?id=29991
Now, Ubuntu 12.04 comes with the v3.1 integration components included, so you don't need to install them. This makes running integrated Ubuntu on Hyper-V very easy.
So, does anyone know if it is possible to upgrade these to v3.3, and if so, what is the easiest way? I can mount the Microsoft IC ISO from /dev/cdrom to /mnt/cdrom. But Ubuntu doesn't support RPM, so I can't run install.sh.
And, I don't know if the v3.1 components are installed in Ubuntu 12.04 as modules (which presumably could be relatively easily updated?), or if the source code has been integrated directly into the kernel (in which case, I don't know if it could be superseded with v3.3 components?)
Any knowledge here?
- Edited by David Trounce Thursday, June 07, 2012 9:23 PM
Mike Sterling, Virtualization Program Manager at Microsoft says (via twitter): @davidtrounce No need. Drivers in Ubuntu 12.04 are the same functionally as the 3.3 release.
However, it's still not clear why under the Networking tab in Hyper-V Manager, it shows “Status: Degraded (Integration services upgrade required)."
This error occurs because the LIS version in Ubuntu 12.04 doesn't know about Windows Server 2012 Hyper-V. But the error message is bogus because the LIS is compatible with WS 2012 Hyper-V. Everything is working properly and you can ignore the message. The product team is looking at how we can prevent this error from occurring in the future when new versions of Hyper-V come out.
Michael Kelley, Lead Program Manager, Open Source Technology Center
- Edited by Michael Kelley [MSFT] Wednesday, May 01, 2013 4:09 PM
On a fresh 12.04LTS build, I was able to upgrade the kernel to 3.8 to support the v3.3 ICs, most notably the balloon driver for dynamic memory support.
Here are the steps:
First, To enable the integration services you will need to edit the modules file located in /etc/initramfs-tools.
Below are the step by step instructions on how to do so in vi:
sudo vi /etc/initramfs-tools/modules
Insert the following at the end of the file (press I to begin insert mode in vi):
Save the file (ESC, then type ':wq!' without the quotes).
Then, enter the following commands:
sudo sed -i 's/quantal/raring/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get dist-upgrade
Now reboot the server:
Once you log back in, enable hv_balloon with the following:
sudo modprobe hv_balloon
To verify everything is loaded properly, type:
Module Size Used by
hv_balloon 21788 0 [permanent]
joydev 17613 0
hid_generic 12548 0
hid_hyperv 13207 0
hid 106315 2 hid_generic,hid_hyperv
psmouse 104093 0
serio_raw 13413 0
i2c_piix4 22299 0
hyperv_fb 17737 1
mac_hid 13253 0
lp 17799 0
parport 42466 1 lp
ext2 73909 1
hv_utils 18348 0
hv_netvsc 31677 0
hv_storvsc 22357 2
floppy 70206 0
hv_vmbus 48420 6 hv_balloon,hid_hyperv,hyperv_fb,hv_utils,hv_netvsc,hv_storvsc
Note that mouse functionality now works as well.