<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:126900436;
        mso-list-type:hybrid;
        mso-list-template-ids:-249029744 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">If a user wants to run Linux in a Hyper-V virtual machine (Hyper-V is Microsoft's virtualization solution, included in Windows Server 2008 and higher), Microsoft provides a set of drivers that enable the use of the high-performance synthetic
 devices (the equivalent of Xen's PV drivers). Maverick includes some of our drivers by default - hv_vmbus, hv_netvsc, and hv_utils. However, that version of the kernel has an bug in the hv_netvsc driver (and the underlying hv_vmbus driver) that results in
 multiple issues - specifically, you'll see a number of errors in /var/log/messages referring to schedule while atomic. After a while, the synthetic networking device will end up losing its connection.
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The issue's been fixed upstream as part of the cleanup we've been doing to exit staging, and we have created a patch set against Maverick that fixes it. The patch set consists of four patches:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Ubuntu-10-10-network-atomic-fix: Change the allocation of memory for the hv_netvsc driver from GFP_KERNEL to GFP_ATOMIC.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Ubuntu-10-10-network-stack-print-fix: A wrong check was done when freeing the network device, resulting in a stack trace output which seemed to erroneously indicate that there was a problem.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Ubuntu-10-10-vmbus-atomic-fix: Change the allocation of memory for the hv_vmbus driver from GFP_KERNEL to GFP_ATOMIC.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Ubuntu-10-10-backport-of-mainline-loss-of-network-fix-for-Hyper-V: Locking is required when tweaking bits located in a shared page, usethe sync_version of bitops. Without this change vmbus_on_event() will miss events and as a result,
 vmbus_isr() will not schedule the receive tasklet.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">This does not hit Natty, as we’ve fixed the issue in later kernels. However, given the large install base of Maverick, we’d like to get this included so customers can use the synthetic devices.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Symptoms: <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">[  807.276091] BUG: scheduling while atomic: swapper/0/0x10000100
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">[  807.277476] Modules linked in: parport_pc ppdev binfmt_misc hv_utils(C) hv_netvsc(C) psmouse lp serio_raw hv_vmbus(C) i2c_piix4 parport floppy tulip
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">[  807.294414] Modules linked in: parport_pc ppdev binfmt_misc hv_utils(C) hv_netvsc(C) psmouse lp serio_raw hv_vmbus(C) i2c_piix4 parport floppy tulip
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">[  807.337981] Pid: 0, comm: swapper Tainted: G      D  C  2.6.35-22-generic #33-Ubuntu Virtual Machine/Virtual Machine<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">[  807.339352] EIP: 0060:[<c012c21a>] EFLAGS: 00000246 CPU: 0
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">[  807.340699] EIP is at native_safe_halt+0xa/0x10<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">This has also been logged on Launchpad at  <a href="https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/752064">https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/752064</a><o:p></o:p></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">Please let me know if you have any questions on this. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-M<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:9.0pt;color:#A6A6A6">mike sterling
</span></b><span lang="EN-GB" style="font-size:9.0pt;color:#A6A6A6">|<b> </b>program manager<br>
open source technology center<o:p></o:p></span></p>
<p class="MsoNormal"><a href="http://www.microsoft.com/opensource/"><span lang="EN-GB" style="font-size:8.0pt;color:blue">http://www.microsoft.com/opensource/</span></a><u><span lang="EN-GB" style="font-size:8.0pt;color:#A6A6A6"> 
<o:p></o:p></span></u></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:8.0pt;color:#A6A6A6"><br>
t: +1 425 707 7730<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:8.0pt;color:#A6A6A6">f:  +1 425 708 1799<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:8.0pt;color:#A6A6A6">e: </span>
<a href="mailto:mike.sterling@microsoft.com"><span lang="EN-GB" style="font-size:8.0pt;color:blue">mike.sterling@microsoft.com</span></a><span style="font-size:8.0pt;color:#A6A6A6">
<span lang="EN-GB"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:8.0pt;color:#A6A6A6">t:  </span><a href="http://twitter.com/mikester01"><span lang="EN-GB" style="font-size:8.0pt;color:blue">http://twitter.com/mikester01</span></a><u><span style="font-size:8.0pt;color:#A6A6A6">
<span lang="EN-GB"><o:p></o:p></span></span></u></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>