search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Debian 2.6.36 kernel upgrade for Hyper-V Client drivers (32 bit)
Posted in Linux Server, Virtual Machine Manager | 13 Comments | 27,126 views | 07/01/2011 23:29

I created a new kernel image for Debian x86 (32 bit). If you have to use 32bit OS for your application needs, you can use this deb packages to upgrade your kernel. Also you will have integrated shutdown feature.

1) Install a clean Debian 5.0.6

2) Do following:

apt-get update
aptitude update
wget -c http://www.yusufozturk.info/linux/linux-image-2.6.36-hyperv-debian.i386.deb
wget -c http://www.yusufozturk.info/linux/linux-headers-2.6.36-hyperv-debian.i386.deb
apt-get install build-essential
dpkg -i linux-image-2.6.36-hyperv-debian.i386.deb linux-headers-2.6.36-hyperv-debian.i386.deb
echo -e "hv_vmbus\nhv_storvsc\nhv_blkvsc\nhv_netvsc" >> /etc/initramfs-tools/modules 
update-initramfs –u –k 2.6.36-hyperv

That’s it. Reboot your server with new kernel.


Comments (13)

CV

February 15th, 2011
21:35:59

Thanks, this works. I tried using the 2.6.37 source from debian repositories to build this but it doesn’t boot (several exceptions early on in boot) + “Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly”.
Did you take the kernel.org 2.6.36 sources or did you take the debian sources? I can’t find the 2.6.36 debian sources


admin

February 16th, 2011
08:58:12

Hi CV,
I took it from kernel.org sources.
Actually I’ve never tried debian sources before.


Ravine

April 4th, 2011
23:47:25

Hello!

Strangely, there are very few sites which experiments with hyper-v and LIC. And those are 1 year old…wonder why.
I thought your source will shed some light on the subject, but no, it made more shadows. :(

I installed debian6 on hyper-v R2 core, and tried to make it work with the kernel-integrated hv-drivers. After days, i did it, but i was disappointed with the disk performance.
I’ve checked it with hdparm:
‘hdparm -t /dev/hda’
That was okay, around 640 MB/sec (that’s approx the xen speed). This means hda uses the hv-drivers. However, hdb, hdd use the same vsc driver, somehow the speed is dropped to around 100 MB/sec.

Then i tried your build. Looks like your kernel uses the default libata + ata_piix driver, not the hv ones on /dev/hd*. I see some ‘BLKSVC_probe() ERROR!! register_blkdev failed!’. I think thats bad. The hdd performance is slow also. This is why i removed the libata drivers first, coz they are conflicting (?).

Did i made it wrong? Can you test it pls?
thx


Ravine

April 4th, 2011
23:55:52

Btw, there’s a file on the official LIC iso: noatapiix
It says disable the ata_piix, coz you’ll end up with hda and sda referencing the same disk (i’ve encountered that every time).
Strangely, with the hv drivers itself, i can’t get the cdrom work. It just not found by the vsc drivers…(?).


william

November 22nd, 2011
10:35:00

thx, this work for kernel 2.6.26


Benjamin

December 9th, 2011
12:03:52

Do not forget to configure Synthetic Network Interface

Add the following to /etc/network/interfaces

auto seth0
iface seth0 inet dhcp


jared

January 6th, 2012
01:08:34

so i followed these steps above. Everything seemed fine. Rebooted, no errors except for mounting the cdrom. But when I go to install the inputvsc driver from the Citrix Sitori project I get the error “Vmbus driver not installed!” Why would that be? Isn’t it included with this kernel?


Jeff Miles

April 11th, 2012
20:52:04

I’m having a very difficult time downloading the .deb files. Using wget or pasting the link to IE or Firefox, I get a 404. If I “Save Target As” I can download them, and then transfer them to the VM through FTP but upon install I get “not a debian archive” error.


Misha

May 1st, 2012
00:39:29

The same issue as Jeff has. Unable to download those files.


Haji

July 25th, 2012
03:58:30

Possible to rename or even Zip these files if you cannot update your IIS to accept .deb files?


admin

July 25th, 2012
10:36:29

Sorry for my late response. I’ve added .deb mime type to IIS.

Regards,
Yusuf.


tslacks

January 27th, 2017
20:37:39

I know this is pretty old now, but are these files still available? I still have a Debian 5.0 server running, now migrated under Hyper-V.


TurboMonkey

June 21st, 2018
18:47:43

I have a legacy Debian 5 server that I have to keep running and would love to increase performance by updating the kernel to support HyperV, but the above download links for .deb files don’t work. Any chance you could re-enable/re-upload them? Thank you so much!

Also, I have 8 processors on my current Debian 5, 32-bit vm. You reference that you can now use 4 vCpus, but weren’t you able to use multiple before?



Leave a Reply