From: Hannes Frederic Sowa <hannes@stressinduktion.org>
To: David Miller <davem@davemloft.net>
Cc: dvlasenk@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, kuznet@ms2.inr.ac.ru,
jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net,
jpirko@redhat.com
Subject: Re: [patch net-next v2] ipv6: log autoconfiguration failures
Date: Wed, 11 Dec 2013 22:09:51 +0100 [thread overview]
Message-ID: <20131211210951.GC4675@order.stressinduktion.org> (raw)
In-Reply-To: <20131211.155452.558417595732985707.davem@davemloft.net>
On Wed, Dec 11, 2013 at 03:54:52PM -0500, David Miller wrote:
> From: Hannes Frederic Sowa <hannes@stressinduktion.org>
> Date: Wed, 11 Dec 2013 20:21:38 +0100
>
> > On Wed, Dec 11, 2013 at 12:45:14PM +0100, Denys Vlasenko wrote:
> >> If ipv6 auto-configuration does not work, currently it's hard
> >> to track what's going on. This change adds log messages
> >> (at debug level) on every code path where ipv6 autoconf fails.
> >>
> >> v2: fixed indentation in multi-line log output statements.
> >
> > Have you seen lots of those problems? Some of those seem like very
> > serious problems and maybe could also deserve a pr_warn or pr_err.
> >
> > I hope these are one-time errors, so I don't think counters would
> > be helpful.
>
> I still think that statitics would better serve this issue.
>
> For one thing, the event would always be counted, whereas with
> pr_debug() someone has to turn on dynamic debugging in order
> to see the message.
I proposed switching some of these to pr_warn/err. pr_debugs get used very
seldomly, I agree.
> You can make them part of the per-inet6_dev MIB, and therefore
> implicitly letting the admin know what interface the events
> occurred on.
If such an error happens I would try to recreate the interface (in case of
virtual ones), thus erasing the statistics.
> I would even prefer an approach involving signalling netlink
> events in such circumstances with more detailed information.
That sounds good. But I would like to hear how often these problems
really occur first. Maybe Denys has some numbers? If that happens a lot
I would like to check if the notifier_chains are correctly setup so that
interfaces correclty notify ipv6 to retry link local address generation.
Greetings,
Hannes
next prev parent reply other threads:[~2013-12-11 21:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-11 11:45 Denys Vlasenko
2013-12-11 19:21 ` Hannes Frederic Sowa
2013-12-11 20:54 ` David Miller
2013-12-11 21:09 ` Hannes Frederic Sowa [this message]
2013-12-12 11:28 ` Denys Vlasenko
2013-12-12 17:24 ` David Miller
2013-12-12 11:17 ` Denys Vlasenko
2013-12-12 17:22 ` David Miller
2013-12-12 17:58 ` Vlad Yasevich
2013-12-12 18:24 ` David Miller
2013-12-12 19:00 ` Hannes Frederic Sowa
2013-12-12 19:06 ` David Miller
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=20131211210951.GC4675@order.stressinduktion.org \
--to=hannes@stressinduktion.org \
--cc=davem@davemloft.net \
--cc=dvlasenk@redhat.com \
--cc=jmorris@namei.org \
--cc=jpirko@redhat.com \
--cc=kaber@trash.net \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.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®