[Bug 188369] [xen] [panic] FreeBSD 10 XENHVM panic under NetBSD Dom0 (xn_txeof: WARNING: response is -1)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 31 06:50:44 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188369
--- Comment #7 from miguelmclara at gmail.com ---
Dunno if this will help in anyway... I lack C skills and I certainly don't know
much about the Xen code...
In anycase I will post my findings:
I decided to compare the changes on 9 and 10, because 9 is working for me.
I noticed that warning comes from netfront.c:
if (txr->status != NETIF_RSP_OKAY) {
printf("%s: WARNING: response is %d!\n",
__func__, txr->status);
}
So I decided to try and find out whats "NETIF_RSP_OKAY", which apears to "come
from" sys/xen/interface/io/netif.h
This is the diff from 9 to 10 (stable) src, could any of this changes be the
cause!?
% diff -u sys/xen/interface/io/netif.h /tmp/netif.h
--- sys/xen/interface/io/netif.h 2014-04-11 01:41:58.000000000 +0100
+++ /tmp/netif.h 2015-01-31 06:42:58.000000000 +0000
@@ -41,7 +41,7 @@
/*
* This is the 'wire' format for packets:
* Request 1: netif_tx_request -- NETTXF_* (any flags)
- * [Request 2: netif_tx_extra] (only if request 1 has NETTXF_extra_info)
+ * [Request 2: netif_tx_extra] (only if request 1 has NETTXF_extra_info)
* [Request 3: netif_tx_extra] (only if request 2 has
XEN_NETIF_EXTRA_FLAG_MORE)
* Request 4: netif_tx_request -- NETTXF_more_data
* Request 5: netif_tx_request -- NETTXF_more_data
@@ -173,6 +173,10 @@
#define _NETRXF_extra_info (3)
#define NETRXF_extra_info (1U<<_NETRXF_extra_info)
+/* GSO Prefix descriptor. */
+#define _NETRXF_gso_prefix (4)
+#define NETRXF_gso_prefix (1U<<_NETRXF_gso_prefix)
+
struct netif_rx_response {
uint16_t id;
uint16_t offset; /* Offset in page of start of received packet */
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-xen
mailing list