lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 11 Mar 2009 07:50:01 +1100
From:	Benjamin Herrenschmidt <benh@...nel.crashing.org>
To:	Felix Radensky <felix@...edded-sol.com>
Cc:	netdev@...r.kernel.org
Subject: Re: RX problem in ibm_newemac driver

On Tue, 2009-03-10 at 21:50 +0200, Felix Radensky wrote:
> Hi,
> 
> I'm experiencing RX problem on custom board based on AMCC
> 405EXr processor. Channel 0 of EMAC is connected to 10/100
> Micrel KSZ8041NL PHY in MII mode. Ethernet works fine in
> u-boot (version 2009.01). In Linux (2.6.27) Ethernet works fine
> as well if EMAC was initialized in u-boot. It is enough to send
> ping from u-boot (even to non-existing host) to make things work
> in linux. But if u-boot takes kernel and ramdisk images from flash
> and does not initialize EMAC only TX side works in linux.

You should CC linuxppc-dev where you are more likely to find people to
help here.

> I can see that TX counters are incremented when pinging from
> EMAC side, but RX counters remain zero.  RX error counter
> in PHY is zero as well.  I've enabled debugging in EMAC
> driver and verified that RX EOB interrupt is not triggered.
> FER register in RGMII bridge is properly configured for MII
> mode on channel 0.  I've tried to dump EMAC registers using
> ethtool and got machine check exception.
> 
> I don't know what else could be done to identify the source of
> the problem. Any tips would be greatly appreciated.

I don't have a 405EXr here, but it smells like the old reset problem
when the link is down. Maybe we are missing code to force clocks on
405EXr when there's no link ?

Ben.


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ