Subject: Re: gem GMAC driver for macppc?
To: None <kilbi@rad.rwth-aachen.de>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-macppc
Date: 11/04/2001 13:59:23
Markus W Kilbinger <kilbi@rad.rwth-aachen.de> writes:

> Should the new gem GMAC driver work with 10/100 mbit ethernet on
> macppc, e.g. tibook, too?
> 
> It compiles fine on/for my tiboot, shows reasonable dmesg output (with
> bmtphy0), it is even able to retrieve an ip address via dhclient, but
> not more: No ipv4 or ipv6 connections possible...

Interesting. I had done the same; compiled it for my iBook and
verified that it found the hardware, could detect carrier, and so
on. I didn't try actually using it.

Now that I do try, I am unable to transmit anything. Running
tcpdump, I could see other traffic on the ethernet (10, not 100), but
I did not see gem0 transmitting anything.

For me it probed as:

gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x00)
gem0: interrupting at irq 41
gem0: Ethernet address 00:03:93:53:6d:e4
bmtphy0 at gem0 phy 0: BCM5221 10/100 media interface, rev. 3
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
using internal phy

The report from netstat is:
27 speedy-gonzales:nathanw>netstat -I gem0
Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs Colls
gem0* 1500  <Link>        00:03:93:53:6d:e4      123     0       68    0     8
gem0* 1500  fe80::        fe80::203:93ff:fe      123     0       68    0     8


        - Nathan