<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Debian SE Linux Status</title>
	<atom:link href="http://etbe.coker.com.au/2008/03/28/debian-se-linux-status/feed/" rel="self" type="application/rss+xml" />
	<link>http://etbe.coker.com.au/2008/03/28/debian-se-linux-status/</link>
	<description>Linux, politics, and other interesting things</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:09:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Matthew Grant</title>
		<link>http://etbe.coker.com.au/2008/03/28/debian-se-linux-status/comment-page-1/#comment-13141</link>
		<dc:creator>Matthew Grant</dc:creator>
		<pubDate>Tue, 22 Apr 2008 06:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://etbe.coker.com.au/2008/03/28/debian-se-linux-status/#comment-13141</guid>
		<description>I have Linux 2.6.24 Dom0 and DomU working stably with code from Ubuntu Hardy.

Ubuntus&#039;s Hardy code base is good minus a patch:

Signed-off-by: Chuck Short 
---
 .../xen/patchset/004-xen-net-fix.patch             &#124;   38 ++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 debian/binary-custom.d/xen/patchset/004-xen-net-fix.patch

diff --git a/debian/binary-custom.d/xen/patchset/004-xen-net-fix.patch b/debian/binary-custom.d/xen/patchset/004-xen-net-fix.patch
new file mode 100644
index 0000000..996991b
--- /dev/null
+++ b/debian/binary-custom.d/xen/patchset/004-xen-net-fix.patch
@@ -0,0 +1,38 @@
+diff -Naur ubuntu-hardy-xen/drivers/xen/netfront/netfront.c ubuntu-hardy-xen-new/drivers/xen/netfront/netfront.c
+--- ubuntu-hardy-xen/drivers/xen/netfront/netfront.c   2008-04-21 09:16:12.000000000 -0400
++++ ubuntu-hardy-xen-new/drivers/xen/netfront/netfront.c       2008-04-21 09:37:02.000000000 -0400
+@@ -622,6 +622,7 @@
+       struct netfront_info *np = netdev_priv(dev);
+ 
+       memset(&amp;np-&gt;stats, 0, sizeof(np-&gt;stats));
++      napi_enable(&amp;np-&gt;napi);
+ 
+       spin_lock_bh(&amp;np-&gt;rx_lock);
+       if (netfront_carrier_ok(np)) {
+@@ -830,6 +831,8 @@
+               reservation.domid        = DOMID_SELF;
+ 
+               if (!xen_feature(XENFEAT_auto_translated_physmap)) {
++                      int j;
++
+                       /* After all PTEs have been zapped, flush the TLB. */
+                       np-&gt;rx_mcl[i-1].args[MULTI_UVMFLAGS_INDEX] =
+                               UVMF_TLB_FLUSH&#124;UVMF_ALL;
+@@ -847,7 +850,8 @@
+                       /* Check return status of HYPERVISOR_memory_op(). */
+                       if (unlikely(np-&gt;rx_mcl[i].result != i))
+                               panic(&quot;Unable to reduce memory reservation\n&quot;);
+-                      while (i--)
++                      j = i;
++                      while (j--)
+                               BUG_ON(np-&gt;rx_mcl[i].result);
+               } else {
+                       if (HYPERVISOR_memory_op(XENMEM_decrease_reservation,
+@@ -1671,6 +1675,7 @@
+ static int network_close(struct net_device *dev)
+ {
+       struct netfront_info *np = netdev_priv(dev);
++      napi_disable(&amp;np-&gt;napi);
+       netif_stop_queue(np-&gt;netdev);
+       return 0;
+ }
-- 
1.5.4.3</description>
		<content:encoded><![CDATA[<p>I have Linux 2.6.24 Dom0 and DomU working stably with code from Ubuntu Hardy.</p>
<p>Ubuntus&#8217;s Hardy code base is good minus a patch:</p>
<p>Signed-off-by: Chuck Short<br />
&#8212;<br />
 &#8230;/xen/patchset/004-xen-net-fix.patch             |   38 ++++++++++++++++++++<br />
 1 files changed, 38 insertions(+), 0 deletions(-)<br />
 create mode 100644 debian/binary-custom.d/xen/patchset/004-xen-net-fix.patch</p>
<p>diff &#8211;git a/debian/binary-custom.d/xen/patchset/004-xen-net-fix.patch b/debian/binary-custom.d/xen/patchset/004-xen-net-fix.patch<br />
new file mode 100644<br />
index 0000000..996991b<br />
&#8212; /dev/null<br />
+++ b/debian/binary-custom.d/xen/patchset/004-xen-net-fix.patch<br />
@@ -0,0 +1,38 @@<br />
+diff -Naur ubuntu-hardy-xen/drivers/xen/netfront/netfront.c ubuntu-hardy-xen-new/drivers/xen/netfront/netfront.c<br />
+&#8212; ubuntu-hardy-xen/drivers/xen/netfront/netfront.c   2008-04-21 09:16:12.000000000 -0400<br />
++++ ubuntu-hardy-xen-new/drivers/xen/netfront/netfront.c       2008-04-21 09:37:02.000000000 -0400<br />
+@@ -622,6 +622,7 @@<br />
+       struct netfront_info *np = netdev_priv(dev);<br />
+<br />
+       memset(&amp;np-&gt;stats, 0, sizeof(np-&gt;stats));<br />
++      napi_enable(&amp;np-&gt;napi);<br />
+<br />
+       spin_lock_bh(&amp;np-&gt;rx_lock);<br />
+       if (netfront_carrier_ok(np)) {<br />
+@@ -830,6 +831,8 @@<br />
+               reservation.domid        = DOMID_SELF;<br />
+<br />
+               if (!xen_feature(XENFEAT_auto_translated_physmap)) {<br />
++                      int j;<br />
++<br />
+                       /* After all PTEs have been zapped, flush the TLB. */<br />
+                       np-&gt;rx_mcl[i-1].args[MULTI_UVMFLAGS_INDEX] =<br />
+                               UVMF_TLB_FLUSH|UVMF_ALL;<br />
+@@ -847,7 +850,8 @@<br />
+                       /* Check return status of HYPERVISOR_memory_op(). */<br />
+                       if (unlikely(np-&gt;rx_mcl[i].result != i))<br />
+                               panic(&#8220;Unable to reduce memory reservation\n&#8221;);<br />
+-                      while (i&#8211;)<br />
++                      j = i;<br />
++                      while (j&#8211;)<br />
+                               BUG_ON(np-&gt;rx_mcl[i].result);<br />
+               } else {<br />
+                       if (HYPERVISOR_memory_op(XENMEM_decrease_reservation,<br />
+@@ -1671,6 +1675,7 @@<br />
+ static int network_close(struct net_device *dev)<br />
+ {<br />
+       struct netfront_info *np = netdev_priv(dev);<br />
++      napi_disable(&amp;np-&gt;napi);<br />
+       netif_stop_queue(np-&gt;netdev);<br />
+       return 0;<br />
+ }<br />
&#8211;<br />
1.5.4.3</p>
]]></content:encoded>
	</item>
</channel>
</rss>

