From owner-freebsd-current@FreeBSD.ORG Mon Dec 15 10:10:57 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9D4C16A4CE for ; Mon, 15 Dec 2003 10:10:57 -0800 (PST) Received: from dyaptive.dnsalias.com (207-194-143-195.dsl.axion.net [207.194.143.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEA3943D33 for ; Mon, 15 Dec 2003 10:10:40 -0800 (PST) (envelope-from hbrown@dyaptive.com) Received: from whistler.dyaptive.com (whistler.dyaptive.com [IPv6:2002:cfc2:8fc3:0:250:baff:fe43:d1b0])hBFIAeYq041806; Mon, 15 Dec 2003 10:10:40 -0800 (PST) (envelope-from hbrown@dyaptive.com) Received: from robson.dyaptive.com (robson.dyaptive.com [IPv6:2002:cfc2:8fc3:0:2e0:18ff:fefe:2485])hBFIANRV097079; Mon, 15 Dec 2003 10:10:23 -0800 (PST) (envelope-from hbrown@dyaptive.com) Received: (from hbrown@localhost) by robson.dyaptive.com (8.12.7/8.12.7/Submit) id hBFIAL7s014723; Mon, 15 Dec 2003 10:10:21 -0800 (PST) (envelope-from hbrown@dyaptive.com) X-Authentication-Warning: robson.dyaptive.com: hbrown set sender to hbrown@dyaptive.com using -f Date: Mon, 15 Dec 2003 10:10:20 -0800 From: Hugh Brown To: freebsd-current@freebsd.org Message-ID: <20031215181016.GN55744@robson.dyaptive.com> References: <20031213122314.GV13101@mindwipe.org> <20031214001656.GA12744@mebtel.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031214001656.GA12744@mebtel.net> User-Agent: Mutt/1.4i cc: Marcus Larsson Subject: Re: sk0 and dhclient X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 18:10:57 -0000 Derek Tattersall wrote: > * Marcus Larsson (kore@mindwipe.org) [031213 19:04]: > > I have a 3com 940 ethernet card and I have ifconfig_sk0="DHCP" > > in my rc.conf. When I boot my machine it hangs on dhclient but > > after a certain amount of time dhclient gives up and the boot > > process continues. When I login and run 'dhclient sk0' it > > works without any hazzle but I can't get an IP addy during > > bootup. Now is anyone else experiencing this? > > iBecause I can get it to work by just restarting dhclient after it time > out, I figured I would try to earn my kernel hacker merit badge and > figure out what's going on. No joy so far. It's got to be some sort of > timing problem but I'm at a loss. Anybody got a clue to offer? There's a report of this problem from August [1]. I've got a similar problem with the 3c940 on an Asus P4P800 motherboard: it will not pick up an IPv6 address using rtsol *unless* the interface is put into promiscuous mode ("tcpdump -n -i sk0" works well). Wilko Bulte wrote [2] that there are pending patches that deal with promiscuous mode; I'm hoping that these will fix this problem. FTR, I'm using 4.8, not current, with the sk driver grabbed from 4-RELENG; however, it appears to be substantially the same as the driver in -CURRENT, and I've been watching this list for changes to the driver to test. I've been told by my betters that both DHCP and IPv6 route solicitation depend on multicast being dealt with correctly in the driver, so I'm guessing we have the same problem. Apologies for not being completely on-topic; I realize that my not running -CURRENT does skew things. But I wanted to let you know that I've seen problems with the 3c940 as well. -- Hugh Brown hbrown@dyaptive.com Refs: 1: http://groups.google.com/groups?q=3c940+sk+multicast&hl=en&lr=&ie=UTF-8&selm=bgm50p%242vip%241%40FreeBSD.csie.NCTU.edu.tw&rnum=21: 2: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2260445+2263778+/usr/local/www/db/text/2003/freebsd-current/20031109.freebsd-current