kernel netfront: Too many frags in Xen VM

We set up Xen F19 VMs on a Xen 3.4.3 / 2.6.32.13 xenified kernel. Check here.). However, we find the Xen VM keeps reporting:

kernel netfront: Too many frags

and

skb rides the rocket

in the dmsg.

This solves the problem (assume in physical server vif1.0 is for the eth0 on the VM):

On the VM:

# ethtool -K eth0 sg off

On the host (Xen Domain 0):

# ethtool -K vif1.0 tso off
# ethtool -K vif1.0 sg off

Some references: 1 and 2.

Answered by Eric Z Ma.

Eric Z Ma

Eric is a father and systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *