* Endless "Trying 100/HALF" messages using FCC ethernet on MPC8248
@ 2006-07-24 9:39 Laurent Pinchart
2006-07-24 11:45 ` Vitaly Bordug
2006-07-25 18:46 ` Andy Fleming
0 siblings, 2 replies; 3+ messages in thread
From: Laurent Pinchart @ 2006-07-24 9:39 UTC (permalink / raw)
To: linuxppc-embedded
Hi everybody,
I'm not sure if this issue is ppc-specific, so forgive me if it should have
been reported to the drivers/net/phy maintainer.
When using the MPC8248 FCC ethernet ports, the following messages are printed
by the kernel on the console when a link is down (ethernet cable unplugged):
Trying 100/FULL
Trying 100/HALF
Trying 100/HALF
Trying 100/HALF
...
This goes on forever, with a new message every 5 or 10 seconds. The message is
printed by drivers/net/phy/phy.c at line 463.
Those messages are pretty annoying. Commenting the pr_info() call gave me some
rest, but a proper fix is probably needed.
For the record, I'm using FCC1 and FCC2 with an LXT973 phy in bit-banging
mode.
Laurent Pinchart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Endless "Trying 100/HALF" messages using FCC ethernet on MPC8248
2006-07-24 9:39 Endless "Trying 100/HALF" messages using FCC ethernet on MPC8248 Laurent Pinchart
@ 2006-07-24 11:45 ` Vitaly Bordug
2006-07-25 18:46 ` Andy Fleming
1 sibling, 0 replies; 3+ messages in thread
From: Vitaly Bordug @ 2006-07-24 11:45 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linuxppc-embedded
On Mon, 24 Jul 2006 11:39:01 +0200
Laurent Pinchart <laurent.pinchart@tbox.biz> wrote:
> Hi everybody,
>
> I'm not sure if this issue is ppc-specific, so forgive me if it should have
> been reported to the drivers/net/phy maintainer.
>
> When using the MPC8248 FCC ethernet ports, the following messages are printed
> by the kernel on the console when a link is down (ethernet cable unplugged):
>
> Trying 100/FULL
> Trying 100/HALF
> Trying 100/HALF
> Trying 100/HALF
> ...
>
> This goes on forever, with a new message every 5 or 10 seconds. The message is
> printed by drivers/net/phy/phy.c at line 463.
>
> Those messages are pretty annoying. Commenting the pr_info() call gave me some
> rest, but a proper fix is probably needed.
>
> For the record, I'm using FCC1 and FCC2 with an LXT973 phy in bit-banging
> mode.
>
The thing you'll need is to make driver to trust autonegotiation...
IIRC that was addressed in my patches for fs-enet. what's happening: The PAL subsystem tries hard to be
wise, an dif there are no link located, it starts to try forced mode, setting various stuff as link params and looking if link appeared or not. To keep consistency, I used the special flag passed via platform info, to just trust what ANEG had find out.
Prolly we need to limit the forced aneg as well somehow - say give up after it failed to get link going at 10/HALF or smth like that.
--
Sincerely,
Vitaly
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Endless "Trying 100/HALF" messages using FCC ethernet on MPC8248
2006-07-24 9:39 Endless "Trying 100/HALF" messages using FCC ethernet on MPC8248 Laurent Pinchart
2006-07-24 11:45 ` Vitaly Bordug
@ 2006-07-25 18:46 ` Andy Fleming
1 sibling, 0 replies; 3+ messages in thread
From: Andy Fleming @ 2006-07-25 18:46 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linuxppc-embedded
On Jul 24, 2006, at 04:39, Laurent Pinchart wrote:
> Hi everybody,
>
> I'm not sure if this issue is ppc-specific, so forgive me if it
> should have
> been reported to the drivers/net/phy maintainer.
>
> When using the MPC8248 FCC ethernet ports, the following messages
> are printed
> by the kernel on the console when a link is down (ethernet cable
> unplugged):
>
> Trying 100/FULL
> Trying 100/HALF
> Trying 100/HALF
> Trying 100/HALF
> ...
>
> This goes on forever, with a new message every 5 or 10 seconds. The
> message is
> printed by drivers/net/phy/phy.c at line 463.
>
> Those messages are pretty annoying. Commenting the pr_info() call
> gave me some
> rest, but a proper fix is probably needed.
>
> For the record, I'm using FCC1 and FCC2 with an LXT973 phy in bit-
> banging
> mode.
There are two bugs at play, here. One of which has been solved by a
patch, which hasn't been accepted yet. However, there's still a bug,
in that the PHY layer assumes that autonegotiation will complete if
the link is down. I believe you only see the message if you bring
up the interface while the link is down.
I'm working on a fix for this.
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-25 18:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-24 9:39 Endless "Trying 100/HALF" messages using FCC ethernet on MPC8248 Laurent Pinchart
2006-07-24 11:45 ` Vitaly Bordug
2006-07-25 18:46 ` Andy Fleming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox