NetBSD Problem Report #40650

From jakllsch@terminus.kollasch.net  Sun Feb 15 17:46:39 2009
Return-Path: <jakllsch@terminus.kollasch.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7A17C63C17C
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 15 Feb 2009 17:46:39 +0000 (UTC)
Message-Id: <20090215174637.4ECDB5237@terminus.kollasch.net>
Date: Sun, 15 Feb 2009 17:46:37 +0000 (UTC)
From: jakllsch@kollasch.net
Reply-To: jakllsch@kollasch.net
To: gnats-bugs@gnats.NetBSD.org
Subject: xvif and modern linux
X-Send-Pr-Version: 3.95

>Number:         40650
>Category:       port-xen
>Synopsis:       xen xvif(4) network backend lacks support for 'copying'
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bouyer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 15 17:50:00 +0000 2009
>Closed-Date:    Fri Oct 16 17:21:47 +0000 2009
>Last-Modified:  Fri Oct 16 17:21:47 +0000 2009
>Originator:     Jonathan A. Kollasch
>Release:        NetBSD 5.0_RC2
>Organization:

>Environment:
System: NetBSD terminus.kollasch.net 5.0_RC2 NetBSD 5.0_RC2 (XEN3_DOM0) #0: Thu Feb 12 00:18:10 UTC 2009 build@kakrafoon.kollasch.net:/local/build/amd64-5-obj-20090211/sys/arch/amd64/compile/XEN3_DOM0 amd64
Architecture: x86_64
Machine: amd64
>Description:
The NetBSD Xen paravirtual network backend driver doesn't support "copying",
which is required by modern mainstream vanilla Linux kernels.
>How-To-Repeat:
Try to run a Xen domU kernel from a modern linux distro, and note:

net eth0: backend does not support copying receive path

in it's dmesg.  I used one from Debian 5.0, but any paravirt_ops-based
Linux kernel should exibit this.
>Fix:
Implement 'copying' in the xen network backend, so that copying-only
frontends can work.

>Release-Note:

>Audit-Trail:
From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40650 CVS commit: src/sys/arch/xen/xen
Date: Fri, 25 Sep 2009 23:11:57 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Fri Sep 25 23:11:57 UTC 2009

 Modified Files:
 	src/sys/arch/xen/xen: xennetback_xenbus.c

 Log Message:
 Announce feature-rx-copy and feature-rx-flip.
 Add support for request-rx-copy. Tested with a Debian lenny install.
 Should fix PR port-xen/40650


 To generate a diff of this commit:
 cvs rdiff -u -r1.28 -r1.29 src/sys/arch/xen/xen/xennetback_xenbus.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: port-xen-maintainer->bouyer
Responsible-Changed-By: bouyer@NetBSD.org
Responsible-Changed-When: Fri, 25 Sep 2009 23:17:19 +0000
Responsible-Changed-Why:
I implemented request-rx-copy.


State-Changed-From-To: open->feedback
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Fri, 25 Sep 2009 23:17:19 +0000
State-Changed-Why:
Hi,
can you see if a recent (as of today) -current kernel would allow your
linux domU to have network ?


From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40650 CVS commit: [netbsd-5] src/sys/arch/xen/xen
Date: Mon, 28 Sep 2009 01:46:49 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Mon Sep 28 01:46:48 UTC 2009

 Modified Files:
 	src/sys/arch/xen/xen [netbsd-5]: xennetback_xenbus.c

 Log Message:
 Pull up following revision(s) (requested by bouyer in ticket #1030):
 	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.29 via patch
 Announce feature-rx-copy and feature-rx-flip.
 Add support for request-rx-copy. Tested with a Debian lenny install.
 Should fix PR port-xen/40650


 To generate a diff of this commit:
 cvs rdiff -u -r1.24 -r1.24.4.1 src/sys/arch/xen/xen/xennetback_xenbus.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-xen/40650 (xen xvif(4) network backend lacks support for
 'copying')
Date: Fri, 16 Oct 2009 17:15:06 +0000

 On Fri, Sep 25, 2009 at 11:17:21PM +0000, bouyer@NetBSD.org wrote:
 > Hi,
 > can you see if a recent (as of today) -current kernel would allow your
 > linux domU to have network ?

 A 5.99.20 does allow a Linux 2.6.31.1 kernel to network, thanks.

State-Changed-From-To: feedback->closed
State-Changed-By: jakllsch@NetBSD.org
State-Changed-When: Fri, 16 Oct 2009 17:21:47 +0000
State-Changed-Why:
I (the submitter) provided positive feedback.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.