DragonFly bugs List (threaded) for 2008-07
DragonFly BSD
DragonFly bugs List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: nfe0 ping and dhclient problems


To: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
From: Michael Neumann <mneumann@xxxxxxxx>
Date: Mon, 07 Jul 2008 11:02:54 +0200

Sepherosa Ziehau wrote:
On 7/7/08, Michael Neumann <mneumann@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]