netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* unclear ipv6 redirect message (was Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board)
       [not found]             ` <20150121094453.GO26493@n2100.arm.linux.org.uk>
@ 2015-01-21 16:05               ` Joe Perches
       [not found]                 ` <1421856321.10574.13.camel-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Perches @ 2015-01-21 16:05 UTC (permalink / raw)
  To: Russell King - ARM Linux, netdev
  Cc: Robert Jarzmik, Lee Jones, Mark Rutland, devicetree, Samuel Ortiz,
	Pawel Moll, Ian Campbell, Dmitry Eremin-Solenikov, linux-kernel,
	Haojian Zhuang, Rob Herring, Arnd Bergmann, linux-arm-kernel,
	Kumar Gala, Daniel Mack

(adding netdev)

On Wed, 2015-01-21 at 09:44 +0000, Russell King - ARM Linux wrote:
> On Wed, Jan 21, 2015 at 08:46:29AM +0100, Robert Jarzmik wrote:
> > Russell King - ARM Linux <linux@arm.linux.org.uk> writes:
> > 
> > > What I'd suggest (and always have done) is:
> > >
> > > 	dev_err(&pdev->dev, "couldn't request main irq%d: %d\n",
> > > 		irq, ret);
> > I like it, it's even more compact, I'll use it for next patch version.
> 
> BTW, this is an example why I have the policy of always ensuring that
> the kernel messages print sufficient diagnostics.  Right now, I have
> a problem - since I rebooted my firewall a few nights ago, I now get
> on one of my machines:
> 
>   rt6_redirect: source isn't a valid nexthop for redirect target
> 
> and it spews that for a few minutes every 26 hours or so.  No further
> information, and it leaves you wondering "well, what was the invalid
> next hop?  What was the source?"
> 
> Pretty much the only way to try and find out is to leave a tcpdump or
> wireshark running for 24 hours to try and get a dump - which is not
> that easy if you don't have lots of disk space.  So, right now, I have
> no way to diagnose the above.
> 
> If it printed that information, then I'd be able to see what the
> addresses were, and I'd probably be able to come up with a tcpdump
> filter which didn't involve logging all IPv6 traffic.
> 
> Kernel messages need to be smart.  If not, they might as well just be
> "The kernel encountered a problem. Abort, Retry or Fail?"
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unclear ipv6 redirect message (was Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board)
       [not found]                 ` <1421856321.10574.13.camel-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
@ 2015-01-21 16:11                   ` Russell King - ARM Linux
  2015-01-21 16:40                     ` Joe Perches
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2015-01-21 16:11 UTC (permalink / raw)
  To: Joe Perches
  Cc: netdev, Robert Jarzmik, Lee Jones, Mark Rutland,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz, Pawel Moll,
	Ian Campbell, Dmitry Eremin-Solenikov,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Haojian Zhuang, Rob Herring,
	Arnd Bergmann, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Kumar Gala, Daniel Mack

On Wed, Jan 21, 2015 at 08:05:21AM -0800, Joe Perches wrote:
> (adding netdev)

I wasn't actually reporting that as an issue; I was using it as an
example.  It's from a very old kernel (2.6.27.21) which I run on one
of my old x86 machines.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unclear ipv6 redirect message (was Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board)
  2015-01-21 16:11                   ` Russell King - ARM Linux
@ 2015-01-21 16:40                     ` Joe Perches
  2015-01-21 16:46                       ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Perches @ 2015-01-21 16:40 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: netdev, Robert Jarzmik, Lee Jones, Mark Rutland, devicetree,
	Samuel Ortiz, Pawel Moll, Ian Campbell, Dmitry Eremin-Solenikov,
	linux-kernel, Haojian Zhuang, Rob Herring, Arnd Bergmann,
	linux-arm-kernel, Kumar Gala, Daniel Mack

On Wed, 2015-01-21 at 16:11 +0000, Russell King - ARM Linux wrote:
> On Wed, Jan 21, 2015 at 08:05:21AM -0800, Joe Perches wrote:
> > (adding netdev)
> 
> I wasn't actually reporting that as an issue; I was using it as an
> example.  It's from a very old kernel (2.6.27.21) which I run on one
> of my old x86 machines.

It's still the same code.
If the message can be improved, why not do it?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unclear ipv6 redirect message (was Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board)
  2015-01-21 16:40                     ` Joe Perches
@ 2015-01-21 16:46                       ` Russell King - ARM Linux
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King - ARM Linux @ 2015-01-21 16:46 UTC (permalink / raw)
  To: Joe Perches
  Cc: netdev, Robert Jarzmik, Lee Jones, Mark Rutland, devicetree,
	Samuel Ortiz, Pawel Moll, Ian Campbell, Dmitry Eremin-Solenikov,
	linux-kernel, Haojian Zhuang, Rob Herring, Arnd Bergmann,
	linux-arm-kernel, Kumar Gala, Daniel Mack

On Wed, Jan 21, 2015 at 08:40:44AM -0800, Joe Perches wrote:
> On Wed, 2015-01-21 at 16:11 +0000, Russell King - ARM Linux wrote:
> > On Wed, Jan 21, 2015 at 08:05:21AM -0800, Joe Perches wrote:
> > > (adding netdev)
> > 
> > I wasn't actually reporting that as an issue; I was using it as an
> > example.  It's from a very old kernel (2.6.27.21) which I run on one
> > of my old x86 machines.
> 
> It's still the same code.
> If the message can be improved, why not do it?

I assume you're taking the responsibility to test anything that comes
out of this then?

I'm not; I tried updating the kernel on the machine to 2.6.32 many
years ago and that was a no-go because of userspace (udev)
incompatibilities.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-21 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1421406010-14851-1-git-send-email-robert.jarzmik@free.fr>
     [not found] ` <1421406010-14851-2-git-send-email-robert.jarzmik@free.fr>
     [not found]   ` <20150119091705.GG21886@x1>
     [not found]     ` <87ppaah9k5.fsf@free.fr>
     [not found]       ` <20150120102919.GP5767@x1>
     [not found]         ` <20150120115658.GJ26493@n2100.arm.linux.org.uk>
     [not found]           ` <873874fuei.fsf@free.fr>
     [not found]             ` <20150121094453.GO26493@n2100.arm.linux.org.uk>
2015-01-21 16:05               ` unclear ipv6 redirect message (was Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board) Joe Perches
     [not found]                 ` <1421856321.10574.13.camel-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2015-01-21 16:11                   ` Russell King - ARM Linux
2015-01-21 16:40                     ` Joe Perches
2015-01-21 16:46                       ` Russell King - ARM Linux

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).