From: Manfred Spraul <manfred@colorfullife.com>
To: Tim Waugh <twaugh@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Gigabit Ethernet support for forcedeth
Date: Fri, 30 Jul 2004 18:52:15 +0200 [thread overview]
Message-ID: <410A7CBF.2020708@colorfullife.com> (raw)
In-Reply-To: <20040730162023.GD8175@redhat.com>
Tim Waugh wrote:
>>Which phy is used by your board? Could you enable dprintk (near line
>>115) and reload the driver?
>>
>>
>
>I've enabled dprintk and captured *.debug syslog output from a normal
>boot. Here is the result:
>
>http://cyberelk.net/tim/tmp/forcedeth-debug
>
>
>
The log is very odd - why are there two lines with
> forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.28.
Did you rmmod/insmod the driver twice?
Could you manually insmod the driver, wait for two seconds and then call
ifup? The new driver
- resets the phy during _probe. The result is no link for a few seconds,
until autonegotiation has completed.
- check if there is a link during _open(). If there is a link, it's
used. If there is no link, then it relies on the link irq to detect it.
I frequently see the "no link" messages during ifup, but on my system
the driver recovers as soon as the autonegotiation is completed. Perhaps
I must add a link handling timer that polls for link changes.
If a delay before ifup is not enough: manually call nv_link_irq even if
NVREG_IRQ_LINK is not set. If this is not enough: comment out the
NVREG_MIISTAT_LINKCHANGE test in nv_link_irq.
--
Manfred
--
Manfred
next prev parent reply other threads:[~2004-07-30 16:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-30 10:04 [PATCH] Gigabit Ethernet support for forcedeth Tim Waugh
[not found] ` <410A4A1C.4040608@colorfullife.com>
2004-07-30 16:20 ` Tim Waugh
2004-07-30 16:52 ` Manfred Spraul [this message]
2004-07-30 17:16 ` Tim Waugh
2004-07-30 17:29 ` Manfred Spraul
2004-08-02 11:51 ` Tim Waugh
-- strict thread matches above, loose matches on Subject: below --
2004-06-30 5:44 Manfred Spraul
2004-06-30 6:10 ` Jeff Garzik
2004-06-30 16:11 ` Manfred Spraul
2004-06-30 18:55 ` Manfred Spraul
2004-07-02 15:51 ` Jeff Garzik
2004-07-02 19:29 ` Manfred Spraul
2004-07-03 6:17 ` Jeff Garzik
2004-07-04 18:27 ` Pavel Machek
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=410A7CBF.2020708@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=linux-kernel@vger.kernel.org \
--cc=twaugh@redhat.com \
/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