dhclient wedged

Brooks Davis brooks at one-eyed-alien.net
Mon Jan 23 16:20:54 PST 2006


On Mon, Jan 23, 2006 at 11:25:25PM +0100, Krzysztof Kowalik wrote:
> Brooks Davis <brooks at one-eyed-alien.net> wrote:
> > What NIC are you using?
> 
> fxp0: <Intel 82559 Pro/100 Ethernet> port 0xc000-0xc03f mem
> 0xdb121000-0xdb121fff,0xdb000000-0xdb0fffff irq 11 at device 1.0 on pci2

What's ifconfig say?

> > This particular issue sounds like a NIC returning corrupt packets for
> > some reason. Alternatively, the sending server could be producing corrupt
> > packets.  Some tcpdump traces (preferably raw dumps) could be useful.
> 
> As I said, I didn't see anything bad in the tcpdump. And since I really
> didn't have such issues before, and I don't see anything weird in any
> other place... I recompiled dhclient with "-g" and will tcpdump the
> traffic again, if I notice it eating 99% of CPU time again.

OK, thanks.  My other guess would be that we're getting misaligned
relative to the buffer somehow and that's causing all the checksums to
fail.  If you can get into gdb when dhclient is spinning and check the
values of interface->rbuf_offset, interface->rbuf_len, and length in
receive_packet() that might tell us something intresting.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060123/9a8b2e90/attachment.bin


More information about the freebsd-stable mailing list