From owner-freebsd-bugs Fri Jan 18 21: 6:45 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 16B8037B417; Fri, 18 Jan 2002 21:06:42 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020119050641.VIDA3578.rwcrmhc52.attbi.com@bmah.dyndns.org>; Sat, 19 Jan 2002 05:06:41 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id g0J56fb60438; Fri, 18 Jan 2002 21:06:41 -0800 (PST) (envelope-from bmah) Message-Id: <200201190506.g0J56fb60438@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Jin Guojun[ITG]" Cc: ashp@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/27087: FreeBSD 4.3-RELEASE does not recognize GigE NIC In-reply-to: <3C48E5C0.BDFAE09A@lbl.gov> References: <200201170303.g0H33S297380@freefall.freebsd.org> <3C48E5C0.BDFAE09A@lbl.gov> Comments: In-reply-to "Jin Guojun[ITG]" message dated "Fri, 18 Jan 2002 19:19:28 -0800." From: bmah@acm.org (Bruce A. Mah) Reply-To: bmah@acm.org X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 Jan 2002 21:06:41 -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If memory serves me right, "Jin Guojun[ITG]" wrote: > Yes, it is still the problem in 4.4-RELEASE. The work around is to add > following lines into the /etc/rc.conf (for sk NIC): > > ------/etc/rc.conf > # -- sysinstall generated deltas -- # Fri Dec 21 12:05:49 2001 > # Created: Fri Dec 21 12:05:49 2001 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > ifconfig sk0 # kldload /modules/if_sk.ko does not work > sleep 2 > ifconfig_sk0="inet xxx.yyy.zzz.hhh netmask 255.255.255.0 media 1000baseSX > mediaopt > -------end of /etc/rc.conf It's been awhile since I looked at this PR, but I remember thinking that the "real" problem was that you needed the sk (or ti) driver and it wasn't in GENERIC (or on the stripped-down kernel used on the boot floppies). I'm not sure why, but none of the GigE drivers are in GENERIC. A slightly cleaner way of loading the module you need is to put the lines: if_sk_load="YES" if_ti_load="YES" into /boot/loader.conf. This will cause the applicable module(s) to be loaded along with the kernel. This doesn't help you for first-time installs though. But one way to do this is to put the module you need on a floppy disk. sysinstall now has the ability to load a kernel module from a floppy disk (look on the Configure menu). This will let you do the installation; you can then manually edit /boot/loader.conf as described above. Caveat: I haven't tried this myself. Hope this helps... Bruce. PS. Hi, Jin! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message