From: Alex A <alecsnox@gmail.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Frag is bigger than frame.
Date: Tue, 4 Jun 2013 12:56:35 -0700 [thread overview]
Message-ID: <CAA9v1NjSw0AX8b_ATCYi1kMO2G2u_K9aYS=RWON7bEhmybC--A@mail.gmail.com> (raw)
In-Reply-To: <20130604084458.GB15897@zion.uk.xensource.com>
[-- Attachment #1.1: Type: text/plain, Size: 3972 bytes --]
On Tue, Jun 4, 2013 at 1:44 AM, Wei Liu <wei.liu2@citrix.com> wrote:
> On Mon, Jun 03, 2013 at 05:49:11PM -0700, Alex A wrote:
> > On Fri, Apr 26, 2013 at 05:21:06AM +0100, Steven Haigh wrote:
> > >* On 26/04/2013 1:36 AM, Wei Liu wrote:*
> > >* > On Thu, Apr 25, 2013 at 4:11 PM, Wei Liu <wei.liu2@xxxxxxxxxx>
> 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?*
> > >* *
> >
> > They are for Linux kernel only. Xen is not involved.
> >
> > To get rid of your MAX_SKB_FRAGS hack, you need to patch Dom0 only.
> >
> > To fix "Frag is bigger than frame", you need to patch DomU. If that's
> > not possible at the moment, I remember seeing a thread about disabling
> > guest GSO can workaround ths problem. You can give it a shot.
> >
> >
> > Wei.
> >
> > >* -- *
> > >* Steven Haigh*
> > >* *
> > >* Email: netwiz@xxxxxxxxx*
> > >* Web: https://www.crc.id.au*
> > >* Phone: (03) 9001 6090 - 0412 935 897*
> > >* Fax: (03) 8338 0299*
> >
> >
> > Wei,
> >
> > we just hit this bug as well on CentOS 5.9 with kernels
> > 2.6.18-348.4.1.el5 and 2.6.18-348.6.1.el5, however I checked it on all
> > domUs and dom0s GSO is off, only TSO is on. Would TSO still cause this
> > issue?
> >
>
> I really think the proper thing to do is to fix your backend instead of
> working around that problem -- the patch is available now and you're
> running your customized kernel, right?
>
>
> Wei.
>
> > Alex
>
I completely agree that fixing the backend is the proper thing to do. Do
you mean these patches?
http://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=697089dc13c52d668322ac6cb8548520de27ed0e
http://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=9ecd1a75d977e2e8c48139c7d3efed183f898d94
http://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=2810e5b9a7731ca5fce22bfbe12c96e16ac44b6f
http://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=03393fd5cc2b6cdeec32b704ecba64dbb0feae3c
If I'm not mistaken aren't these patches against 2.6.3x kernel or 3.0.x?
I'm running 2.6.18, so I would have to port those patches to 2.6.18 base,
unless there exist same patches for 2.6.18?
Also you are correct, we are running our custom compiled rhel kernels, that
are based on rhel source rpms.
Alex
[-- Attachment #1.2: Type: text/html, Size: 7413 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-06-04 19:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-04 0:49 Frag is bigger than frame Alex A
2013-06-04 8:44 ` Wei Liu
2013-06-04 19:56 ` Alex A [this message]
2013-06-04 20:08 ` Wei Liu
2013-06-11 5:15 ` Alex A
-- strict thread matches above, loose matches on Subject: below --
2013-04-25 11:24 Steven Haigh
2013-04-25 15:11 ` Wei Liu
2013-04-25 15:36 ` Wei Liu
2013-04-26 4:21 ` Steven Haigh
2013-04-26 8:21 ` Teck Choon Giam
2013-04-26 8:36 ` Wei Liu
2013-04-26 9:13 ` Teck Choon Giam
2013-04-26 8:32 ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA9v1NjSw0AX8b_ATCYi1kMO2G2u_K9aYS=RWON7bEhmybC--A@mail.gmail.com' \
--to=alecsnox@gmail.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).