All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Luethi <rl@hellgate.ch>
To: Jesper Juhl <juhl-lkml@dif.dk>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: via-rhine breaks with recent Linus kernels : probe of 0000:00:09.0 failed with error -5
Date: Mon, 12 Jul 2004 10:09:33 +0200	[thread overview]
Message-ID: <20040712080933.GA9221@k3.hellgate.ch> (raw)
In-Reply-To: <8A43C34093B3D5119F7D0004AC56F4BC082C7F9E@difpst1a.dif.dk>

[ removed Donald Becker from Cc: -- I doubt he has much interest in
the mainline via-rhine ]

On Mon, 12 Jul 2004 03:49:35 +0200, Jesper Juhl wrote:
> I've noticed that with recent kernels from Linus' tree the via-rhine
> driver that I use for my NIC seems to have broken.
> 
> I don't recall any problems with kernels prior to 2.6.7
> 2.6.7 vanilla - works.
> 2.6.7-BK20    - breaks
> 2.6.8-rc1     - breaks
> 2.6.7-mm1,-mm2,-mm3,-mm6,-mm7 all work
> I haven't tested earlier BK snapshots, but I'm willing to do so if wanted.
> 
> I get the following from the kernels that break:
> Invalid MAC address for card #0
> via-rhine: probe of 0000:00:09.0 failed with error -5

I had this happen recently when I moved from rc3-bk6 to bk20. When I
started to look into it, the problem went away and never came back.

There are some subtle timing issues with chip resets and reloading the
EEPROM. So far, it was the Rhine-I which has been more sensitive, but
when I hit this problem Rhine-I was fine while Rhine-II and Rhine-III
were not.

You can try adding an msleep(5) before and after reload_eeprom (make
sure you get the right one, mainline still has two ifdef'ed calls),
or you can try switching drivers between mainline and -mm.

I'd be happy to tell people to just go with the latest driver which
is the one in -mm, but I'm afraid mainline might be exposing a problem
that still lingers in -mm.

Roger

  reply	other threads:[~2004-07-12  8:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-12  1:49 via-rhine breaks with recent Linus kernels : probe of 0000:00:09.0 failed with error -5 Jesper Juhl
2004-07-12  8:09 ` Roger Luethi [this message]
2004-07-12 11:27   ` Jesper Juhl
2004-07-12 11:54     ` Roger Luethi
2004-07-12 12:00       ` Jesper Juhl

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=20040712080933.GA9221@k3.hellgate.ch \
    --to=rl@hellgate.ch \
    --cc=juhl-lkml@dif.dk \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.