nfe0 ping and dhclient problems

Michael Neumann mneumann at ntecs.de
Mon Jul 7 02:02:54 PDT 2008


Sepherosa Ziehau wrote:
On 7/7/08, Michael Neumann <mneumann at ntecs.de> wrote:
Try
if_nfe.c rev 1.24
if_nfereg.h rev 1.6
if_nfevar.h rev 1.3
 No luck either! I can ping out, but not in, as before.

 To rule out other possible problems, it works fine when booting from a
 FreeBSD 7.0 cdrom.

Give me the output of 'ifconfig nfe0' and the dmesg, if possible.

 Here is pciconf, ifconfig and dmesg output:

 $ pciconf -lv | grep -A4 '^nfe0'
 nfe0 at pci0:10:0: class=0x020000 card=0x82b31043 chip=0x054c10de rev=0xa2
hdr=0x00
    vendor   = 'Nvidia Corp'
    device   = 'MCP67 Ethernet'
    class    = network
    subclass = ethernet
 $ ifconfig nfe0
 nfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        ether 4f:ad:6d:c6:1f:00
        media: Ethernet autoselect
        status: active
 $ dmesg | grep nfe0
 nfe0: <NVIDIA MCP67 Gigabit Ethernet> port 0xc880-0xc887 mem
0xdfefe000-0xdfefe00f,0xdfefe400-0xdfefe4ff,0xdfefc000-0xdfefcfff
irq 10 at device 10.0 on pci0
 miibus1: <MII bus> on nfe0
 nfe0: MAC address: 4f:ad:6d:c6:1f:00
Hehe, I know what you mean :)

After the patch:

ether 00:1f:c6:6d:ad:4f

And it works like a charm! Thank you very much!

Regards,

  Michael

Hehe, I see.  I wanted to change that code for a long time.  MCP61 and
above has different MAC address order.  Linux also added some code to
adjust TX_POLL, but it does not affect MCP61 and above.  Please test
the attached patch.
Best Regards,
sephe





More information about the Bugs mailing list