<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Piethein Strengholt&#039;s Blog &#187; Hyper-V</title>
	<atom:link href="http://www.strengholt-online.nl/category/hyper-v/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strengholt-online.nl</link>
	<description>Bloggen over van alles en nog wat...</description>
	<lastBuildDate>Mon, 20 Sep 2010 11:56:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Building a hyper-v enabled linux kernel</title>
		<link>http://www.strengholt-online.nl/building-a-hyper-v-enabled-linux-kernel/</link>
		<comments>http://www.strengholt-online.nl/building-a-hyper-v-enabled-linux-kernel/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 08:52:23 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=894</guid>
		<description><![CDATA[Here are the instructions for building a hyper-v enabled linux kernel. The system I&#8217;m using is Ubuntu 9.10. First get all the essential packages: sudo apt-get build-dep linux Install some more build essentials: sudo apt-get install libncurses5 libncurses5-dev sudo apt-get install kernel-package Next step is to download the latest kernel packages from: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/ Install them [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the instructions for building a hyper-v enabled linux kernel. The system I&#8217;m using is Ubuntu 9.10.</p>
<p>First get all the essential packages:</p>
<p><code>sudo apt-get build-dep linux</code></p>
<p>Install some more build essentials:</p>
<p><code>sudo apt-get install libncurses5 libncurses5-dev<br />
sudo apt-get install kernel-package</code></p>
<p>Next step is to download the latest kernel packages from: <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/">http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/</a></p>
<p>Install them with the following commands:</p>
<p><code>sudo dpkg -i linux-headers-2.6.32-020632_2.6.32-020632_all.deb<br />
sudo dpkg -i linux-image-2.6.32-020632-generic_2.6.32-020632_i386.deb<br />
sudo dpkg -i linux-headers-2.6.32-020632-generic_2.6.32-020632_i386.deb<br />
sudo dpkg -i linux-source-2.6.32_2.6.32-020632_all.deb</code></p>
<p>Update grub and reboot:</p>
<p><code>sudo update-grub<br />
sudo reboot</code></p>
<p>Verify that you using the new kernel:</p>
<p><code>uname -a<br />
Linux ubuntu 2.6.32-020632-generic #020632 SMP Thu Dec 3 10:58:45 UTC 2009 i686 GNU/Linux</code></p>
<p>Go the /usr/src/ and unzip the kernel source:</p>
<p><code>tar -jxf linux-source-2.6.32.tar.bz2<br />
cd linux-source-2.6.32</code></p>
<p>Copy your current (old) kernel configuration file to the kernel source directory:</p>
<p><code>sudo cp -vi /boot/config-`uname -r` .config</code></p>
<p>Run the make menuconfig wizard</p>
<p><code>sudo make menuconfig</code></p>
<p>Enable the staging drivers</p>
<p><img class="size-full wp-image-895 alignnone" title="staging01" src="http://www.strengholt-online.nl/wp-content/uploads/2009/12/staging01.png" alt="staging01" width="600" height="465" /></p>
<p>And include the hyper-v enabled drivers</p>
<p><img class="size-full wp-image-896 alignnone" title="staging02" src="http://www.strengholt-online.nl/wp-content/uploads/2009/12/staging02.png" alt="staging02" width="600" height="465" /></p>
<p>Press ESC, ESC to return to the main menu&#8217;s and save the new configuration file!</p>
<p>Make clean and start building:</p>
<p><code>sudo make-kpkg clean<br />
sudo fakeroot make-kpkg --initrd --append-to-version=-hyper-v kernel-image kernel-headers</code></p>
<p>You&#8217;ll find your kernel under /usr/src/</p>
<p>Install your kernel with: <code>sudo dpkg -i *.deb</code><br />
Update grub with: <code>sudo update-grub</code></p>
<p>Reboot</p>
<p>After you&#8217;ve rebooted the system your modules are listed under: <code>/lib/modules/2.6.32-hyper-v/kernel/drivers/staging/hv</code> , to load them type:</p>
<p><code>sudo modprobe hv_vmbus<br />
sudo modprobe hv_blkvsc<br />
sudo modprobe hv_netvsc<br />
sudo modprobe hv_storvsc</code></p>
<p>You could verify if the modules are loaded by using <code>lsmod</code>. Also check <code>dmesg</code> and <code>/var/log/messages</code> for any errors.</p>
<p><code>$ lsmod<br />
Module                  Size  Used by<br />
hv_storvsc             21798  0<br />
hv_netvsc              29396  0<br />
hv_blkvsc              25207  0<br />
hv_vmbus               43234  3 hv_storvsc,hv_netvsc,hv_blkvsc<br />
lp                      6868  0<br />
psmouse                52658  0<br />
iptable_filter          2199  0<br />
serio_raw               3812  0<br />
parport                31970  1 lp<br />
i2c_piix4               8052  0<br />
ip_tables               9157  1 iptable_filter<br />
x_tables               13875  1 ip_tables<br />
floppy                 49858  0<br />
tulip                  43835  0</code></p>
<p>The following lines should be present in the /var/log/messages:</p>
<p><code>VMBUS_DRV: Vmbus initializing.... current log level 0x1f1f0006 (1f1f,6)<br />
VMBUS: +++++++ Build Date=Dec 15 2009 06:23:59 +++++++<br />
VMBUS: +++++++ Build Description=Version 2.0 +++++++<br />
VMBUS: +++++++ Vmbus supported version = 13 +++++++<br />
VMBUS: +++++++ Vmbus using SINT 2 +++++++<br />
VMBUS: Windows hypervisor detected! Retrieving more info...<br />
VMBUS: Vendor ID: Microsoft Hv<br />
VMBUS: Interface ID: Hv#1<br />
VMBUS: OS Build:6001-6.0-18-0.18016<br />
VMBUS: Hypercall page VA=e1002000, PA=0x1f9e8000<br />
VMBUS_DRV: irq 0x5 vector 0x35<br />
VMBUS: SynIC version: 1<br />
VMBUS: Vmbus connected!!<br />
VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={c5295816-f63a-4d5f-8d1a4daf999ca185}<br />
VMBUS: Channel offer notification - child relid 1 monitor id 0 allocated 1, type {32412632-86cb-44a2-9b5c50d1417354f5} instance {00000000-0000-8899-0000000000000000}<br />
VMBUS: Channel offer notification - child relid 2 monitor id 1 allocated 1, type {32412632-86cb-44a2-9b5c50d1417354f5} instance {00000001-0000-8899-0000000000000000}<br />
VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={32412632-86cb-44a2-9b5c50d1417354f5}</code></p>
<p>Precompiled kernels are here:</p>
<p><a href="http://www.strengholt-online.nl/hyperv/linux-image-2.6.32-020632-hyper-v_i386.deb">http://www.strengholt-online.nl/hyperv/linux-image-2.6.32-020632-hyper-v_i386.deb</a><br />
<a href="http://www.strengholt-online.nl/hyperv/linux-headers-2.6.32-020632-hyper-v_i386.deb"> http://www.strengholt-online.nl/hyperv/linux-headers-2.6.32-020632-hyper-v_i386.deb</a></p>
<p><em>Remark: The synthetic nic loaded by the hv_netvsc module is called seth0</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/building-a-hyper-v-enabled-linux-kernel/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linux kernel 2.6.32 en Hyper-V</title>
		<link>http://www.strengholt-online.nl/linux-kernel-2-6-32-en-hyper-v/</link>
		<comments>http://www.strengholt-online.nl/linux-kernel-2-6-32-en-hyper-v/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 13:41:38 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=891</guid>
		<description><![CDATA[Om Hyper-V te gebruiker onder Linux is het noodzakelijk een nieuwe kernel te compileren. Het makkelijkste is om een kopie van de oude kernel config te gebruiken (http://aligunduz.org/articles/buildkernel.html) en de onderstaande onderdelen aan te zetten. De HV zou dan automatisch gedetecteerd moeten worden. [Y] Microsoft Hyper-V client drivers (CONFIG_HYPERV) [Y] Microsoft Hyper-V virtual storage driver [...]]]></description>
			<content:encoded><![CDATA[<p>Om Hyper-V te gebruiker onder Linux is het noodzakelijk een nieuwe kernel te compileren. Het makkelijkste is om een kopie van de oude kernel config te gebruiken (<a href="http://aligunduz.org/articles/buildkernel.html">http://aligunduz.org/articles/buildkernel.html</a>) en de onderstaande onderdelen aan te zetten. De HV zou dan automatisch gedetecteerd moeten worden.</p>
<p>[Y] Microsoft Hyper-V client drivers (CONFIG_HYPERV)<br />
[Y] Microsoft Hyper-V virtual storage driver (CONFIG_HYPERV_STORAGE)<br />
[Y] Microsoft Hyper-V virtual block driver (CONFIG_HYPERV_BLOCK)<br />
[Y] Microsoft Hyper-V virtual network driver (CONFIG_HYPERV_NET)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/linux-kernel-2-6-32-en-hyper-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Hyper-v drivers in staging tree linux kernel 2.6.32</title>
		<link>http://www.strengholt-online.nl/microsoft-hyper-v-drivers-in-staging-tree-linux-kernel-2-6-32/</link>
		<comments>http://www.strengholt-online.nl/microsoft-hyper-v-drivers-in-staging-tree-linux-kernel-2-6-32/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 10:59:40 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=868</guid>
		<description><![CDATA[Volgens het onderstaande artikel zijn Red Hat Enterprise Linux 5.2, 5.3, 5.4 gecertificeerd voor Hyper-V. De bedoeling is dat bij de volgende kernel release alle drivers in de kernel zijn ingebakken. Meer info: http://blogs.technet.com/virtualization/archive/2009/10/07/microsoft-and-red-hat-complete-cooperative-technical-support.aspx http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=565e7dc81d9f239aa5896e754816c4f9dc51f1be]]></description>
			<content:encoded><![CDATA[<p>Volgens het onderstaande artikel zijn <span style="font-family: Calibri; font-size: small;">Red Hat Enterprise Linux 5.2, 5.3, 5.4 gecertificeerd voor Hyper-V. De bedoeling is dat bij de volgende kernel release alle drivers in de kernel zijn ingebakken.</span></p>
<p>Meer info: <a href="http://blogs.technet.com/virtualization/archive/2009/10/07/microsoft-and-red-hat-complete-cooperative-technical-support.aspx">http://blogs.technet.com/virtualization/archive/2009/10/07/microsoft-and-red-hat-complete-cooperative-technical-support.aspx</a></p>
<p><a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=565e7dc81d9f239aa5896e754816c4f9dc51f1be">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=565e7dc81d9f239aa5896e754816c4f9dc51f1be</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/microsoft-hyper-v-drivers-in-staging-tree-linux-kernel-2-6-32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Hyper-V drivers for Linux</title>
		<link>http://www.strengholt-online.nl/microsoft-hyper-v-drivers-for-linux/</link>
		<comments>http://www.strengholt-online.nl/microsoft-hyper-v-drivers-for-linux/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 07:40:28 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=260</guid>
		<description><![CDATA[Microsoft heeft de Hyper-V drivers voor Linux open source gemaakt en probeert deze middels een patch toe te voegen aan de Linux kernel tree. Een behoorlijke draai de andere kant op! Het bericht is hier te vinden: http://lkml.org/lkml/2009/7/20/167 Verder staat er vandaag op de site van Microsoft een bericht: www.microsoft.com/presspass/features/2009/Jul09/07-20LinuxQA.mspx De patches zijn trouwens hier [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft heeft de Hyper-V drivers voor Linux open source gemaakt en probeert deze middels een patch toe te voegen aan de Linux kernel tree. Een behoorlijke draai de andere kant op! Het bericht is hier te vinden: <a href="http://lkml.org/lkml/2009/7/20/167">http://lkml.org/lkml/2009/7/20/167</a></p>
<p>Verder staat er vandaag op de site van Microsoft een bericht: <a href="http://www.microsoft.com/presspass/features/2009/Jul09/07-20LinuxQA.mspx">www.microsoft.com/presspass/features/2009/Jul09/07-20LinuxQA.mspx</a></p>
<p>De patches zijn trouwens hier te vinden: <a href="http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-05-staging/">http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-05-staging/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/microsoft-hyper-v-drivers-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

