lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e9c3a7c20703012231h7543efd0sb59ef13eae55d47e@mail.gmail.com>
Date:	Thu, 1 Mar 2007 23:31:03 -0700
From:	"Dan Williams" <dan.j.williams@...el.com>
To:	"Linus Torvalds" <torvalds@...ux-foundation.org>
Cc:	"Jeff Garzik" <jeff@...zik.org>, netdev@...r.kernel.org
Subject: Re: [git patches] net driver fixes

On 3/1/07, Linus Torvalds <torvalds@...ux-foundation.org> wrote:
>
>
> Ok, here's an interesting one: my e1000 card no longer worked for a while.
>
> The green link-light blinks on/off once a second, and in time to that, my
> dmesg fills up with an endless supply of
>
>         e1000: eth0: e1000_watchdog: NIC Link is Down
>         e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
>         e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
>
> and networking obviously doesn't actually work.
>
> I tried to do bisection, but my log made no sense, since it seemed to say
> that the problem was introduced between git commits 2442d310 and bff288c1,
> and there aren't even any commits to drivers/net/ in that range!
>
> SO...
>
> It seems to be that what actually happened is that my switch got confused
> (I ended up just power-cycling the switch when I hit the "impossible"
> situation, and that seems to be what made it start working again, rather
> than any kernel changes due to bisection ;)
>
> Regardless, the "spam the logs every second" is a *bad* idea. I'll try to
> see if I can re-create the problem (probably not), but I thought I'd
> report this message spamming regardless. If there really is some link
> problem, no way do I want to see a message about it every second for all
> eternity. Hmm?
>
> Does this "once a second link issue" ring any bells for anybody? Suggested
> fixes? I realize people do want to know about link problems, but that was
> a bit excessive and since it happened with a reboot, I thought it was a
> kernel bug (it may still be - I'll have to try to recreate it, but my
> suspicion right now is that the reboot just caused some noise and/or link
> renegotiation on the ethernet link that was what actually confused my
> switch).
>
I have seen this occasionally with the e1000 on Xscale IOP development
boards.  The driver prints the up/down messages and makes no progress.
 I can also confirm that resetting the switch (SMC8505T) fixed things
for me.  It might be nice to just print "e1000 link can not be
established try resetting your switch?" after some time.

It's not clear what the steps are to reproduce this, and it doesn't
happen frequently enough to be a show stopper in my environment.  The
IOP boards in the lab typically run an NFS root and are often power
cycled without running shutdown.

So at least an "I see it too" for what it's worth.

>                 Linus

--
Dan
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ