[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] network hang



"full queue wasn't stopped" should never be printed. If you can
reproduce this message then it is worth printing some more info at th
esame point -- for example, np->tx->req_prod, np->tx->resp_prod,
np->tx_resp_cons. This will let us see whether the ring is indeed full.
If the network stack/driver has got itself into a state wher eit can print
this message, I'm not surprised it hangs for a while.

e.g., add this where that message gets printed in netfront.c:

 {
   unsigned long flags;
   local_irq_save(flags);
   printk(KERN_ALERT "full=%d req_prod=%08x rsp_prod=%08x"
          "rsp_cons=%08x\n", np->tx_full, np->tx->req_prod,
          np->tx->resp_prod, np->tx_resp_cons);
   local_irq_restore(flags);
 }

 -- Keir

> I'm playing with nbd+raid1, and am finding that during a resync the network 
> in xenU is dying and simply not sending packets anymore. At first I thought 
> this was a bridging problem, but in xen0 I have removed the vif from the 
> bridge and given it its own ip address, and given the eth interface in xenU a 
> similar ip address, but no traffic is passing anymore.
> 
> After a while though, it seemed to come good again and I was able to add the 
> interface to the bridge again and it started working.
> 
> The only strange thing in the kernel logs was this in xenU:
> 
> eth0: full queue wasn't stopped!
> 
> but i'm not sure at what point this was logged though.
> 
> James
 -=- MIME -=- 
--_5CA9A503-EEF7-4FB1-8592-2E2052031B95_
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm playing with nbd+raid1, and am finding that during a resync the network=
 in xenU is dying and simply not sending packets anymore. At first I though=
t this was a bridging problem, but in xen0 I have removed the vif from the =
bridge and given it its own ip address, and given the eth interface in xenU=
 a similar ip address, but no traffic is passing anymore.

After a while though, it seemed to come good again and I was able to add th=
e interface to the bridge again and it started working.

The only strange thing in the kernel logs was this in xenU:

eth0: full queue wasn't stopped!

but i'm not sure at what point this was logged though.

James

--_5CA9A503-EEF7-4FB1-8592-2E2052031B95_
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>I'm playing with nbd+raid1=
, and am finding that during a resync the network in xenU is dying and simp=
ly not sending packets anymore. At first I thought this was a bridging prob=
lem, but in xen0 I have removed the vif from the bridge and given it its ow=
n ip address, and given the eth interface in xenU a similar ip address, but=
 no traffic is passing anymore.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>After a while though, it seemed to come go=
od again and I was able to add the interface to the bridge again and it sta=
rted working.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The only strange thing in the kernel logs =
was this in xenU:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>eth0: full queue wasn't stopped!<BR></DIV>=
</FONT>
<DIV><FONT face=3DArial size=3D2>but i'm not sure at what point this was lo=
gged though.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>James</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

--_5CA9A503-EEF7-4FB1-8592-2E2052031B95_--


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.