linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* emac driver broken in 2.6.12.2 ?
@ 2005-09-19 13:37 Peter Fercher
  2005-09-19 13:42 ` Josh Boyer
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peter Fercher @ 2005-09-19 13:37 UTC (permalink / raw)
  To: benh; +Cc: linux-ppc-embedded

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

hi,
 
i have problems with the IBM EMAC with 2.6.12.2 (the driver worked with
2.4.25)
running on ppc405EP octobus board. Cross compiled on x86 using the eldk-3.1
toolchain
 
any hints ?
 
emac: IBM EMAC Ethernet driver, version 2.0

Maintained by Benjamin Herrenschmidt <benh@kernel.crashing.org>

eth0: IBM emac, MAC 00:00:00:00:00:00

eth0: Found Generic MII PHY (0x00)

eth1: IBM emac, MAC 00:00:00:00:00:00

eth1: Found Generic MII PHY (0x01)

 
cheers, peter

---------------------------------------------------------
Supercomputing Systems AG    phone:  +41 (0)43 456 16 31
Peter Fercher                fax:    +41 (0)43 456 16 10
Technoparkstrasse 1          email:  peter.fercher@scs.ch
CH-8005 Zuerich              url:    http://www.scs.ch <http://www.scs.ch/>

---------------------------------------------------------
  

 

[-- Attachment #2: Type: text/html, Size: 3639 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emac driver broken in 2.6.12.2 ?
  2005-09-19 13:37 emac driver broken in 2.6.12.2 ? Peter Fercher
@ 2005-09-19 13:42 ` Josh Boyer
  2005-09-19 13:51   ` Peter Fercher
  2005-09-19 13:51 ` Stefan Roese
  2005-09-19 13:59 ` AW: " David Grab
  2 siblings, 1 reply; 7+ messages in thread
From: Josh Boyer @ 2005-09-19 13:42 UTC (permalink / raw)
  To: Peter Fercher; +Cc: linux-ppc-embedded

On Mon, 2005-09-19 at 15:37 +0200, Peter Fercher wrote:
> hi,
>  
> i have problems with the IBM EMAC with 2.6.12.2 (the driver worked
> with 2.4.25)
> running on ppc405EP octobus board. Cross compiled on x86 using the
> eldk-3.1 toolchain
>  
> any hints ?

I think you'd need to be more explicit about what "problems" means.
Hard to give hints with what you have here.

josh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: emac driver broken in 2.6.12.2 ?
  2005-09-19 13:42 ` Josh Boyer
@ 2005-09-19 13:51   ` Peter Fercher
  2005-09-19 14:23     ` Josh Boyer
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Fercher @ 2005-09-19 13:51 UTC (permalink / raw)
  To: 'Josh Boyer'; +Cc: 'linux-ppc-embedded'

hi,

when you read the output I have pasted there you can see the following =
(also
in my origninal mail)
eth0: IBM emac, MAC 00:00:00:00:00:00

eth0: Found Generic MII PHY (0x00)

eth1: IBM emac, MAC 00:00:00:00:00:00

eth1: Found Generic MII PHY (0x01)


I think that this MAC addresses are crap (sorry if not formulated =
clearly
enough for you ;)
am I wrong ?

cheers, peter

> -----Original Message-----
> From: Josh Boyer [mailto:jwboyer@jdub.homelinux.org]=20
> Sent: Montag, 19. September 2005 15:42
> To: Peter Fercher
> Cc: benh@kernel.crashing.org; linux-ppc-embedded
> Subject: Re: emac driver broken in 2.6.12.2 ?
>=20
>=20
> On Mon, 2005-09-19 at 15:37 +0200, Peter Fercher wrote:
> > hi,
> > =20
> > i have problems with the IBM EMAC with 2.6.12.2 (the driver worked=20
> > with 2.4.25) running on ppc405EP octobus board. Cross=20
> compiled on x86=20
> > using the eldk-3.1 toolchain
> > =20
> > any hints ?
>=20
> I think you'd need to be more explicit about what "problems"=20
> means. Hard to give hints with what you have here.
>=20
> josh
>=20
>=20
>=20

hi,
=20
i have problems with the IBM EMAC with 2.6.12.2 (the driver worked with
2.4.25)
running on ppc405EP octobus board. Cross compiled on x86 using the =
eldk-3.1
toolchain
=20
any hints ?
=20
emac: IBM EMAC Ethernet driver, version 2.0

Maintained by Benjamin Herrenschmidt <benh@kernel.crashing.org>

eth0: IBM emac, MAC 00:00:00:00:00:00

eth0: Found Generic MII PHY (0x00)

eth1: IBM emac, MAC 00:00:00:00:00:00

eth1: Found Generic MII PHY (0x01)

=20
cheers, peter
---------------------------------------------------------
Supercomputing Systems AG    phone:  +41 (0)43 456 16 31
Peter Fercher                fax:    +41 (0)43 456 16 10
Technoparkstrasse 1          email:  peter.fercher@scs.ch
CH-8005 Zuerich              url:    http://www.scs.ch=20
---------------------------------------------------------
 =20

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emac driver broken in 2.6.12.2 ?
  2005-09-19 13:37 emac driver broken in 2.6.12.2 ? Peter Fercher
  2005-09-19 13:42 ` Josh Boyer
@ 2005-09-19 13:51 ` Stefan Roese
  2005-09-19 13:59 ` AW: " David Grab
  2 siblings, 0 replies; 7+ messages in thread
From: Stefan Roese @ 2005-09-19 13:51 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: Peter Fercher

Hi Peter,

On Monday 19 September 2005 15:37, Peter Fercher wrote:
> i have problems with the IBM EMAC with 2.6.12.2 (the driver worked with
> 2.4.25)
> running on ppc405EP octobus board. Cross compiled on x86 using the eldk-3.1
> toolchain
>
> any hints ?
>
> emac: IBM EMAC Ethernet driver, version 2.0
>
> Maintained by Benjamin Herrenschmidt <benh@kernel.crashing.org>
>
> eth0: IBM emac, MAC 00:00:00:00:00:00
>
> eth0: Found Generic MII PHY (0x00)
>
> eth1: IBM emac, MAC 00:00:00:00:00:00
>
> eth1: Found Generic MII PHY (0x01)

Looks like your board platform file is not copying the MAC addresses into the 
ocp struct. Take a look at bubinga_setup_arch() in platforms/4xx/bubinga.c. 
Here ibm_ocp_set_emac() is used to copy the addresses.

Best regards,
Stefan

^ permalink raw reply	[flat|nested] 7+ messages in thread

* AW: emac driver broken in 2.6.12.2 ?
  2005-09-19 13:37 emac driver broken in 2.6.12.2 ? Peter Fercher
  2005-09-19 13:42 ` Josh Boyer
  2005-09-19 13:51 ` Stefan Roese
@ 2005-09-19 13:59 ` David Grab
  2 siblings, 0 replies; 7+ messages in thread
From: David Grab @ 2005-09-19 13:59 UTC (permalink / raw)
  To: 'Peter Fercher', benh; +Cc: 'linux-ppc-embedded'

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

Message>> emac: IBM EMAC Ethernet driver, version 2.0
>> Maintained by Benjamin Herrenschmidt <benh@kernel.crashing.org>
>> eth0: IBM ema c, MAC 00:00:00:00:00:00
>> eth0: Found Generic MII PHY (0x00)
>> eth1: IBM emac, MAC 00:00:00:00:00:00
>> eth1: Found Generic MII PHY (0x01)

Are you sure that you?ve configured your ethernet driver? There is no MAC
address defined. And the PHY address is really located at 0x0 or 0x1? If not
you have also to configure the offset from which address the PHY routine
start in your board specific files like for OCOTEA reference board in
linux-2.6.12/arch/ppc/platforms/4xx/ocotea.c

Best regards,

David

[-- Attachment #2: Type: text/html, Size: 3801 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: emac driver broken in 2.6.12.2 ?
  2005-09-19 13:51   ` Peter Fercher
@ 2005-09-19 14:23     ` Josh Boyer
  2005-09-19 14:28       ` Matt Porter
  0 siblings, 1 reply; 7+ messages in thread
From: Josh Boyer @ 2005-09-19 14:23 UTC (permalink / raw)
  To: Peter Fercher; +Cc: 'linux-ppc-embedded'

On Mon, 2005-09-19 at 15:51 +0200, Peter Fercher wrote:
> hi,
> 
> when you read the output I have pasted there you can see the following (also
> in my origninal mail)
<snip>
> 
> 
> I think that this MAC addresses are crap (sorry if not formulated clearly
> enough for you ;)
> am I wrong ?

No, you're not wrong.  My brain just didn't parse that as a problem with
the emac code itself.

Anyway, I think David and Stefan have pointed you in the right
direction.

josh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emac driver broken in 2.6.12.2 ?
  2005-09-19 14:23     ` Josh Boyer
@ 2005-09-19 14:28       ` Matt Porter
  0 siblings, 0 replies; 7+ messages in thread
From: Matt Porter @ 2005-09-19 14:28 UTC (permalink / raw)
  To: Josh Boyer; +Cc: Peter Fercher, 'linux-ppc-embedded'

On Mon, Sep 19, 2005 at 09:23:36AM -0500, Josh Boyer wrote:
> On Mon, 2005-09-19 at 15:51 +0200, Peter Fercher wrote:
> > I think that this MAC addresses are crap (sorry if not formulated clearly
> > enough for you ;)
> > am I wrong ?
> 
> No, you're not wrong.  My brain just didn't parse that as a problem with
> the emac code itself.
> 
> Anyway, I think David and Stefan have pointed you in the right
> direction.

Yep, he's got to configure the driver properly for his platform.

-Matt

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-09-19 14:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-19 13:37 emac driver broken in 2.6.12.2 ? Peter Fercher
2005-09-19 13:42 ` Josh Boyer
2005-09-19 13:51   ` Peter Fercher
2005-09-19 14:23     ` Josh Boyer
2005-09-19 14:28       ` Matt Porter
2005-09-19 13:51 ` Stefan Roese
2005-09-19 13:59 ` AW: " David Grab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).