From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 21:34:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80A0E16A4CE for ; Thu, 29 Jan 2004 21:34:05 -0800 (PST) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 680A743D46 for ; Thu, 29 Jan 2004 21:34:03 -0800 (PST) (envelope-from aardvark@saintaardvarkthecarpeted.com) Received: from pd5mr1so.prod.shaw.ca (pd5mr1so-qfe3.prod.shaw.ca [10.0.141.232]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HSA00HD3F9QOS@l-daemon> for freebsd-questions@freebsd.org; Thu, 29 Jan 2004 22:29:50 -0700 (MST) Received: from pn2ml9so.prod.shaw.ca (pn2ml9so-qfe0.prod.shaw.ca [10.0.121.7]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HSA00CU8F9QPG@l-daemon> for freebsd-questions@freebsd.org; Thu, 29 Jan 2004 22:29:50 -0700 (MST) Received: from francisco.saintaardvarkthecarpeted.com (h24-87-202-31.vc.shawcable.net [24.87.202.31]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HSA0001QF9P7R@l-daemon> for freebsd-questions@freebsd.org; Thu, 29 Jan 2004 22:29:50 -0700 (MST) Received: from hardesty.hardesty.saintaardvarkthecarpeted.com ([192.168.23.1]) by francisco.saintaardvarkthecarpeted.com (8.12.9/8.12.9) with ESMTP id i0U5jUJC041061; Thu, 29 Jan 2004 21:45:31 -0800 Received: from aardvark by hardesty.hardesty.saintaardvarkthecarpeted.com with local (Exim 3.36 #1 (Debian)) id 1AmRBU-0001o2-00; Thu, 29 Jan 2004 21:27:16 -0800 Date: Thu, 29 Jan 2004 21:27:16 -0800 From: Saint Aardvark the Carpeted In-reply-to: <200401300340.TAA01625@badboy.spawar.navy.mil> Sender: Debian User To: Lee Slaughter Message-id: <20040130052715.GV3224@hardesty.saintaardvarkthecarpeted.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.4i References: <200401300340.TAA01625@badboy.spawar.navy.mil> cc: lee.slaughter@navy.mil cc: freebsd-questions@freebsd.org Subject: Re: kernel probe of NICs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 05:34:05 -0000 lees@badboy.spawar.navy.mil disturbed my sleep to write: > i've installed one machine no problems but on another a suspect > ethernet interface has developed. It's an Asus p4p800 motherboard > with 3C940 on the board. (i'm suspect of this much integration) > At first, messing with Debian and Suse, the card worked fine. > When i sent to installing FreeBSD no card was detected > by sysinstall->Configure->Networking->Interfaces. > Shouldn't it show up there? > ifconfig doesn't see it. > (i don't know how else to look for it) Disclaimer: I haven't worked with 5.1 yet, but I have got FreeBSD to work with this motherboard and the 3c940. Also, I'm assuming that you've tried all this *after* installing FreeBSD, and you're not just doing this all from the install process. First of all, you can list all the interfaces FreeBSD has detected by running "ifconfig -a". The driver for the 3c940 is the sk(4) driver, which means that if it's been detected you'll see something like: sk0: flags=8843 mtu 1500 If you see that, you've got it made. If not, there's another couple things to try. First, if you haven't compiled your own kernel yet, you may have the sk driver around as a loadable kernel module. See if "ls /modules/*sk*" shows anything; if you see something like "if_sk.ko", try "kldload if_sk" and then "ifconfig -a" to see if it has shown up. Another thing to try is compiling your own kernel. Instructions can be found in the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html); you'll want to include the sk device and whatever else it may need. One final note: this driver has had problems up until recently with promiscuous mode, which among other things means problems picking up an IP address by DHCP. I had to grab the very latest code in order to get it working; this is a fair amount of trouble, and you may want to consider another card until the new driver makes it to a FreeBSD release. > I plugged in another reportedly good ethernet card into a > PCI slot and no kernel probe detection there either, > but do get a green (carrier ?) light, > but no green light on the motherboard NIC. What model of ethernet card? Again, try "ifconfig -a" to see what shows up. This will show you a lot of interfaces like "lo0" or "xl1"; if you chop off the number and look at the man pages (ie, "man xl"), you'll see what the device is. With luck, one of them will be your PCI card. Let me know what happens, and good luck Hugh -- Saint Aardvark the Carpeted aardvark@saintaardvarkthecarpeted.com Because the plural of Anecdote is Myth.