linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephan von Krawczynski <skraw@ithnet.com>
To: Jonathan Lundell <jlundell@lundell-bros.com>
Cc: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: Problem with 2.4.24 e1000 and keepalived
Date: Sat, 10 Jan 2004 00:56:44 +0100	[thread overview]
Message-ID: <20040110005644.000e4c37.skraw@ithnet.com> (raw)
In-Reply-To: <p0602047abc24a5dc714d@[192.168.0.3]>

On Fri, 9 Jan 2004 10:43:13 -0800
Jonathan Lundell <jlundell@lundell-bros.com> wrote:

> At 1:18pm +0100 1/9/04, Stephan von Krawczynski wrote:
> >On Thu, 8 Jan 2004 17:00:42 -0800
> >Jonathan Lundell <jlundell@lundell-bros.com> wrote:
> >
> >>  At 1:45am +0100 1/9/04, Willy Tarreau wrote:
> >>  >  > It's unfortunate that the two conditions are conflated by most net
> >>  >  > drivers.
> >>  >
> >>  >IMHO, saying "most net drivers" is unfair : tg3, tulip, 3c59x, starfire,
> >>  >realtek, sis900, dl2k, pcnet32, and IIRC sunhme are OK. eepro100 is
> >nearly>  >OK but has this annoying bug, and only older 10 Mbps drivers don't
> >report>  >their status, often because the chip itself doesn't know.
> >>
> >>  I'm sure you're right; I should have said most of the drivers that
> >>  I'm using (including e100 &e1000).
> >
> >Can we find the cause for this obviously buggy behaviour inside the source?
> >Where is the handling of physical up/down events different in tulip 
> >compared to
> >e100(0) ?
> 
> In e1000 5.2.20 (as in earlier versions), the link-state reporters 
> rely on netif_carrier_ok() for the state, which is in turned 
> maintained by the driver's watchdog timer.
> 
> e1000_down() both cancels the watchdog timer and calls 
> netif_carrier_off(), guaranteeing that if the interface is logically 
> down, the link will be reported as down regardless of the actual link 
> state.

That cannot be the cause, as the logical interface state is UP in the problem
case.

Regards,
Stephan

      reply	other threads:[~2004-01-09 23:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07 19:05 Problem with 2.4.24 e1000 and keepalived Stephan von Krawczynski
2004-01-07 21:02 ` Willy Tarreau
2004-01-08  2:45   ` Ben Greear
2004-01-08  5:20     ` Willy Tarreau
2004-01-08  8:07       ` Ben Greear
2004-01-08  8:46         ` Willy Tarreau
2004-01-08  8:14     ` Stephan von Krawczynski
2004-01-08  8:47       ` Willy Tarreau
2004-01-08 17:49         ` Jonathan Lundell
2004-01-09  0:45           ` Willy Tarreau
2004-01-09  1:00             ` Jonathan Lundell
2004-01-09 12:18               ` Stephan von Krawczynski
2004-01-09 18:43                 ` Jonathan Lundell
2004-01-09 23:56                   ` Stephan von Krawczynski [this message]

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=20040110005644.000e4c37.skraw@ithnet.com \
    --to=skraw@ithnet.com \
    --cc=jlundell@lundell-bros.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@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;
as well as URLs for NNTP newsgroup(s).