From: "Matt Carlson" <mcarlson@broadcom•com>
To: "Thomas Habets" <thomas@habets•pp.se>
Cc: "Matthew Carlson" <mcarlson@broadcom•com>,
"Eric Dumazet" <eric.dumazet@gmail•com>,
"linux-kernel@vger•kernel.org" <linux-kernel@vger•kernel.org>,
netdev <netdev@vger•kernel.org>,
"Michael Chan" <mchan@broadcom•com>
Subject: Re: BUG: IPv6 stops working after a while, needs ip ne del command to reset
Date: Tue, 17 Aug 2010 18:23:18 -0700 [thread overview]
Message-ID: <20100818012318.GA4630@mcarlson.broadcom.com> (raw)
In-Reply-To: <alpine.DEB.1.10.1008172035520.21857@red.crap.retrofitta.se>
On Tue, Aug 17, 2010 at 11:52:27AM -0700, Thomas Habets wrote:
> On Tue, 17 Aug 2010, Matt Carlson wrote:
> > Thanks. I put the question out to the firmware developer. While we
> > wait, can you keep Eric's patch in place and give me the results along
> > with the output of 'ethtool -d eth0 | grep 0x047' after the problem
> > happens?
>
> Sure.
>
> I think the problem occurs shortly after booting, or is triggered by it
> Linux getting a neighbor table entry for the router. The reason it took a
> while for everything to actually stop working is that the router was
> caching and presumably updating its neighbors cache when it saw traffic.
>
> That is, maybe it only works if the router sets up its neigbor table
> first, and not otherwise.
>
> The problem is there now. Last output in the kernel log about this is:
>
> $ dmesg | egrep 'eth0|^add mc|^filters='
> [...]
> add mc_addr(ha->addr=33:33:00:00:00:01)
> add mc_addr(ha->addr=01:00:5e:00:00:01)
> add mc_addr(ha->addr=33:33:ff:5c:00:02)
> add mc_addr(ha->addr=33:33:ff:a3:44:24)
> filters=80020001 00000000 00000000 40000000
>
> $ sudo ethtool -d eth0 | grep 0x047
> 0x0470 0x80020001
> 0x0474 0x00000000
> 0x0478 0x00000000
> 0x047c 0x40000000
>
> > Eric's patch shows the hash registers at the time they are programmed.
> > I'm interested to see if the values change (by firmware) after the
> > failure.
>
> Look the same.
>
> But a strange thing is that if I delete the ipv6 neighbor on the Linux
> box (ip ne del 2a00:800:752:1::5c:1 dev eth0) it suddenly answers a ND
> solicitation. I tried it just now and it "wakes it up".
>
> Nothing was written to the kernel log when I ran this command, and the
> ethtools -d output is the same afterwards as it was before. So unless
> there's another code path that changes the registers when I do "ip ne
> del" it may still be something else.
Do you have access to any diagnostic software that might have come with
your machine?
next prev parent reply other threads:[~2010-08-18 1:23 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <alpine.DEB.1.10.1008131952470.19570@red.crap.retrofitta.se>
2010-08-16 10:19 ` BUG: IPv6 stops working after a while, needs ip ne del command to reset Eric Dumazet
2010-08-16 10:59 ` Thomas Habets
2010-08-17 5:35 ` Thomas Habets
2010-08-17 6:00 ` Eric Dumazet
2010-08-17 11:08 ` Thomas Habets
2010-08-17 13:15 ` Eric Dumazet
2010-08-17 14:09 ` Thomas Habets
2010-08-17 14:34 ` Eric Dumazet
2010-08-17 15:58 ` Thomas Habets
2010-08-17 17:11 ` Matt Carlson
2010-08-17 17:29 ` Thomas Habets
2010-08-17 18:31 ` Matt Carlson
2010-08-17 18:52 ` Thomas Habets
2010-08-18 1:23 ` Matt Carlson [this message]
2010-08-18 7:02 ` Thomas Habets
2010-09-01 9:21 ` Thomas Habets
2010-09-01 13:19 ` Eric Dumazet
2010-09-01 14:40 ` Brian Haley
2010-09-14 19:56 ` Thomas Habets
2010-09-15 17:37 ` Brian Haley
2010-08-17 17:13 ` Eric Dumazet
2010-08-17 16:14 ` Thomas Habets
2010-08-06 8:25 Thomas Habets
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=20100818012318.GA4630@mcarlson.broadcom.com \
--to=mcarlson@broadcom$(echo .)com \
--cc=eric.dumazet@gmail$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=mchan@broadcom$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=thomas@habets$(echo .)pp.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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