All of lore.kernel.org
 help / color / mirror / Atom feed
From: benh@kernel.crashing.org
To: "Kevin B. Hendricks" <khendricks@ivey.uwo.ca>
Cc: roger blofeld <blofeldus@yahoo.com>, <linuxppc-dev@lists.linuxppc.org>
Subject: Re: Sungem bug or something else?
Date: Thu, 6 Jun 2002 22:25:23 +0200	[thread overview]
Message-ID: <20020606202523.13690@mailhost.mipsys.com> (raw)
In-Reply-To: <D1467143-798D-11D6-8CF5-0003938E434C@ivey.uwo.ca>


>Hi,
>
>Does sungem use autonegotiate to determine its interface type and speed
>(like some  of the more advanced interface drivers) or does it look at
>the rom or use a table?
>
>If it autonegotiates, does the driver actually wait long enough for the
>autonegotiation to fully complete before returning the first time?

It autonegociates first, then tries fixed speeds, etc..

>Under some tulip drivers, I noticed something very similar (but no oops,
>just a inability to use the driver until I rmmod and then insmod it
>once).  I think it happens because the the autonegotiation results where
>handled asynchronously and the main driver routine simply started it and
>returned before the auonegotiation actually completed and the interface
>and speed were properly determined.  The problem was right after
>bringing up the network in the boot sequence things tried to use it (the
>appletalk drivers, etc).  So if I waited to insert the module for the
>driver until after everything else was started (at the end of the
>bootsequence) all was well.
>
>This is all just a wag, but it is something to look at.

Nah, it's clearly the chip beeing powered down. I know I have a bug
in the driver that doesn't prevent HW access to the PHY via the
ethtool ioctl's when the chip is down, and that will cause a Machine
Check. I just didn't yet take the time to fix it.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-06-06 20:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-05 20:20 Patch: Fix SMP hang on modem close roger blofeld
2002-04-06 10:24 ` Benjamin Herrenschmidt
2002-06-06 19:25   ` Sungem bug or something else? roger blofeld
2002-06-06 19:30     ` Tom Rini
2002-06-06 19:45     ` Benjamin Herrenschmidt
2002-06-06 20:35       ` roger blofeld
2002-06-06 20:41       ` Kevin B. Hendricks
2002-06-06 20:25         ` benh [this message]
2002-06-06 21:02         ` roger blofeld
2002-06-07  0:51       ` roger blofeld

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=20020606202523.13690@mailhost.mipsys.com \
    --to=benh@kernel.crashing.org \
    --cc=blofeldus@yahoo.com \
    --cc=khendricks@ivey.uwo.ca \
    --cc=linuxppc-dev@lists.linuxppc.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.