From: Sam Portolla <samportolla@yahoo.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Hugh Dickins <hughd@google.com>,
"kaber@trash.net" <kaber@trash.net>,
"davem@davemloft.net" <davem@davemloft.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: exit_mmap BUG_ON in 2.6.23 (and Add qdisc __NET_XMIT_STOLEN)
Date: Wed, 30 May 2012 17:28:41 -0700 (PDT) [thread overview]
Message-ID: <1338424121.11094.YahooMailNeo@web121306.mail.ne1.yahoo.com> (raw)
In-Reply-To: <1338013015.10135.23.camel@edumazet-glaptop>
----- Original Message -----
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Sam Portolla <samportolla@yahoo.com>
Cc: Hugh Dickins <hughd@google.com>; "kaber@trash.net" <kaber@trash.net>; "jarkao2@gmail.com" <jarkao2@gmail.com>; "davem@davemloft.net" <davem@davemloft.net>; "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Sent: Friday, May 25, 2012 11:16 PM
Subject: Re: exit_mmap BUG_ON in 2.6.23 (and Add qdisc __NET_XMIT_STOLEN)
On Fri, 2012-05-25 at 22:27 -0700, Sam Portolla wrote:
> Yes, thanks I had looked at the kernel code and know how transmit
> timeouts come to be in normal cases. The driver specifies a timeout
> period to the network layer, along with a callback function to call in
> case of Tx timeout so the driver can do error handling which is
> typically to reset the driver (and this happened in the case of the
> BNX2 linux driver our system uses as well). Above I had asked some
> specific questions with regards to whether a known bug w/ qdisc could
> stop the Tx Q's to the device and thereby cause traffic timeouts. Also
> it seems from the email thread on the patch I had mentioned above that
> the qdisc issue can cause memory corruption, which could then tie it
> in with the BUG_ON in exit_mmap() which Hugh had previously commented
> on. I am hoping the engineers who fixed the QDISC issue can comment on
> the former and Hugh can comment on the BUG_ON again. Regards.
The commit you mention is about a very unusual use of qdiscs.
I really doubt it is your problem.
Most advanced tc users probably wont stick with 2.6.23 kernels.
Please post :
tc -s -d qdisc
And for all your network devices :
for DEV in eth0 eth1 eth2
do
tc -s -d class show dev $DEV
done
Hi Eric,
Can you please elaborate on what you mean by the commit is "about a very unusual use of qdiscs"?
The lack of this fix was at the time determined to cause the ether driver to do a NULL ptr de-ref on its Tx ring SKB, which is what we saw in our case as well. The qdisc code apparently was changing the "nr_frags" field in the SKB, while the driver was the owner of the SKB, causing the issue.
Can't find the "tc" command mentioned above on our system. Tried from harddisk directory as well dev directory.
What is "tc" and could you please paste how you run it on your system? Also the 2.6.23 GNU/linux we use is not fully compatible with the previously mentioned qdisc commit. For example, there is no qdisc_enqueue() function in our baseline and ditto for some of the other code. So seems risky to backport this patch. If we go w/ backporting it, i can post my diffs here, and would really appreciate a review from you. Regards.
next prev parent reply other threads:[~2012-05-31 0:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1337406674.48432.YahooMailNeo@web121303.mail.ne1.yahoo.com>
2012-05-19 20:45 ` exit_mmap BUG_ON in 2.6.23 Hugh Dickins
2012-05-26 0:28 ` exit_mmap BUG_ON in 2.6.23 (and Add qdisc __NET_XMIT_STOLEN) Sam Portolla
2012-05-26 4:25 ` Eric Dumazet
2012-05-26 5:27 ` Sam Portolla
2012-05-26 6:16 ` Eric Dumazet
2012-05-31 0:28 ` Sam Portolla [this message]
2012-05-26 18:06 ` Hugh Dickins
2012-05-31 18:32 ` Sam Portolla
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=1338424121.11094.YahooMailNeo@web121306.mail.ne1.yahoo.com \
--to=samportolla@yahoo.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=hughd@google.com \
--cc=kaber@trash.net \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®