DragonFly bugs List (threaded) for 2008-07
Re: nfe0 ping and dhclient problems
Sepherosa Ziehau wrote:
On 7/7/08, Michael Neumann <firstname.lastname@example.org> wrote:
No luck either! I can ping out, but not in, as before.
if_nfe.c rev 1.24
if_nfereg.h rev 1.6
if_nfevar.h rev 1.3
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
vendor = 'Nvidia Corp'
device = 'MCP67 Ethernet'
class = network
subclass = ethernet
$ ifconfig nfe0
nfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
media: Ethernet autoselect
$ dmesg | grep nfe0
nfe0: <NVIDIA MCP67 Gigabit Ethernet> port 0xc880-0xc887 mem
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:
And it works like a charm! Thank you very much!
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.