From: Wei Liu Subject: Re: Frag is bigger than frame. Date: Fri, 26 Apr 2013 09:36:11 +0100 Message-ID: <20130426083611.GE27096@zion.uk.xensource.com> References: <51791266.20308@crc.id.au> <20130425151114.GK7466@zion.uk.xensource.com> <517A00B2.2010403@crc.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Teck Choon Giam Cc: Wei Liu , xen-devel , Steven Haigh , Wei Liu List-Id: xen-devel@lists.xenproject.org On Fri, Apr 26, 2013 at 09:21:30AM +0100, Teck Choon Giam wrote: > I guess those patches posted by Wei Liu are suitable for all kernels regardless it is used for domU or dom0. However the fix to address the guest interface is for dom0 and that is why Wei Liu mentioned that you should be able to revert your "MAX_SKB_FRAGS -> 19 hack". > > Wei Liu posted those patches (few versions) few times to xen-devel mailing list besides others. I guess should be this http://lists.xen.org/archives/html/xen-devel/2013-04/msg02118.html is the latest for net-next. Search xen-devel with Author "Wei Liu" you should be able to get what you want. > Yes, that's the final series. To apply those four fixes, you would need to cherry-pick 3 prerequisit changesets though. Search for my name in DaveM's net-next tree and you will see three mechanical fixes prior to those four. Wei. > Thanks. > > Kindest regards, > Giam Teck Choon > > > On Fri, Apr 26, 2013 at 12:21 PM, Steven Haigh > wrote: > On 26/04/2013 1:36 AM, Wei Liu wrote: > On Thu, Apr 25, 2013 at 4:11 PM, Wei Liu > wrote: > On Thu, Apr 25, 2013 at 12:24:22PM +0100, Steven Haigh wrote: > Hi all, > > I've noticed a couple of DomUs have networking freeze with the following > getting printed to the Dom0's /var/log/messages: > > Apr 25 12:09:25 hosting kernel: vif vif-4-0 vif.crc: Frag is bigger than > frame. > Apr 25 12:09:25 hosting kernel: vif vif-4-0 vif.crc: fatal error; > disabling device > Apr 25 12:09:25 hosting kernel: br0: port 5(vif.crc) entered disabled state > > I thought this was something to do with MAX_SKB_FRAGS - however the > kernel I use has this increased to 19 - so in theory I shouldn't hit > this (as far as I know). > > Are there any other things that could trigger this? > > > You're seeing a netfront bug which is fixed in that series. And it is > not related to MAX_SKB_FRAGS but related to GSO. > > Could you try applying my patch set "Bundle fixes for Xen netfront / > netback" version 7. That series has been applied to DaveM's net-next. > > > BTW with that series you should be able to get rid of the > MAX_SKB_FRAGS -> 19 hack. > > This could be quite difficult. The DomU kernel is RHEL based - and not easily changed without sending the patch upstream to RH - which may or may not apply it. > > My google-fu has failed a little here - do you have a link to the patches? Is it against Xen or the kernel? Further, is it something that just altering the Dom0 part would resolve? > > > -- > Steven Haigh > > Email: netwiz@crc.id.au > Web: https://www.crc.id.au > Phone: (03) 9001 6090 - 0412 935 897 > Fax: (03) 8338 0299 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >