From nobody@FreeBSD.org  Mon Apr  7 23:54:21 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id D40FBD5D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Apr 2014 23:54:21 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id C23FF14A1
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Apr 2014 23:54:21 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s37NsLNO014079
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 7 Apr 2014 23:54:21 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s37NsLYg014078;
	Mon, 7 Apr 2014 23:54:21 GMT
	(envelope-from nobody)
Message-Id: <201404072354.s37NsLYg014078@cgiserv.freebsd.org>
Date: Mon, 7 Apr 2014 23:54:21 GMT
From: Miguel Clara <miguelmclara@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 10 XENHVM panic under NetBSD Dom0 (xn_txeof: WARNING: response is -1)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         188369
>Category:       kern
>Synopsis:       [xen] [panic] FreeBSD 10 XENHVM panic under NetBSD Dom0 (xn_txeof: WARNING: response is -1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-xen
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 08 00:00:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Sun Apr 20 02:33:42 UTC 2014
>Originator:     Miguel Clara
>Release:        FreeBSD 10.0 stable
>Organization:
>Environment:
>Description:
Hi,

I've reported this to xen-devel, but it seems not much people use NetBSD as
a Dom0 and I was wondering if anyone is?

I'm getting a panic and an error message (xn_txeof: WARNING: response is
-1) when I try to use ssh (the error also show for other network operation
but not the panic)

Here goes the panic I get after I try ssh:

xn_txeof: WARNING: response is -1!
panic: mbuf already on the free list, but we're trying to free it again!
cpuid = 0
KDB: enter: panic
[ thread pid 12 tid 100026 ]
Stopped at      kdb_enter+0x3e: movq    $0,kdb_why
db> bt
Tracing pid 12 tid 100026 td 0xfffffe000be79920
kdb_enter() at kdb_enter+0x3e/frame 0xffffff80002fe8c0
vpanic() at vpanic+0x146/frame 0xffffff80002fe900
kassert_panic() at kassert_panic+0x136/frame 0xffffff80002fe970
xn_txeof() at xn_txeof+0x99/frame 0xffffff80002fe9c0
xn_intr() at xn_intr+0x59/frame 0xffffff80002feab0
evtchn_interrupt() at evtchn_interrupt+0x1e6/frame 0xffffff80002feb30
intr_event_execute_handlers() at intr_event_execute_handlers+0x90/frame
0xffffff80002feb70
ithread_loop() at ithread_loop+0x148/frame 0xffffff80002febb0
fork_exit() at fork_exit+0x84/frame 0xffffff80002febf0
fork_trampoline() at fork_trampoline+0xe/frame 0xffffff80002febf0
--- trap 0, rip = 0, rsp = 0xffffff80002fecb0, rbp = 0 ---


I've tried a few revisions and actually revert way back to the last one
that was working on 9.x which in stable/10 would be Revision 251297 but no
luck.

I'm using NetBSD 6.1.2 btw

>How-To-Repeat:
Install Freebsd 10 on a netbsd DOMU, enable ssh try to access remotely, machine panincs
>Fix:


>Release-Note:
>Audit-Trail:
Date: Fri, 11 Apr 2014 00:42:20 +0100
From: Miguel Clara <miguelmclara@gmail.com>
To: bug-followup@freebsd.org
Subject: Fwd: misc/188369: FreeBSD 10 XENHVM panic under NetBSD Dom0
 (xn_txeof: WARNING: response is -1)

 --047d7bacc0fadd0f8604f6b8c529
 Content-Type: text/plain; charset=ISO-8859-1
 
 NOTE: disabling tso (ifconfig xn0 -tso) stops the panic, ssh hangs and
 xn_txeof warning still shows!
 Tried enable/disable other feaures (LRO, tx/rx csum) but I see no changes!
 
 --047d7bacc0fadd0f8604f6b8c529--

From: Miguel Clara <miguelmclara@gmail.com>
To: bug-followup@freebsd.org, miguelmclara@gmail.com
Cc:  
Subject: Re: misc/188369: FreeBSD 10 XENHVM panic under NetBSD Dom0 (xn_txeof:
 WARNING: response is -1)
Date: Mon, 14 Apr 2014 01:22:34 +0100

 --047d7b5d28583db35704f6f5af4e
 Content-Type: text/plain; charset=ISO-8859-1
 
 There's another report about this here:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=182903
 
 I was browsing trough my reports on the xen list and notice I even refereed
 to it at the time.
 Should this be close has a duplicate?
 
 Also I've been reporting this and testing since at least June 2013 (See
 http://thr3ads.net/xen-users/2013/06/2653989-Re-FreeBSD-PVHVM-call-for-testing)
 long before FreeBSD-10 was released.
 
 And the PR I mention is from Oct 2013.
 
 Both reports are marked has non-critical and of low-priority.
 
 Should I assume FreeBSD is not to be supported in NetBSD DOM0's anymore?
 
 Please don't take this the wrong way, I understand not all things can be
 done, just want to know If I should forget about this and keep with
 FreeBSD-9 or migrate the Dom0 to Linux!
 
 Thanks
 
 --047d7b5d28583db35704f6f5af4e--
State-Changed-From-To: open->open 
State-Changed-By: linimon 
State-Changed-When: Sun Apr 20 01:48:45 UTC 2014 
State-Changed-Why:  
Over to maintainer(s). 


Responsible-Changed-From-To: freebsd-bugs->freebsd-xen 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Apr 20 01:48:45 UTC 2014 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=188369 
>Unformatted:
