Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 21:06:41 -0800
From:      bmah@acm.org (Bruce A. Mah)
To:        "Jin Guojun[ITG]" <j_guojun@lbl.gov>
Cc:        ashp@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/27087: FreeBSD 4.3-RELEASE does not recognize GigE NIC 
Message-ID:  <200201190506.g0J56fb60438@bmah.dyndns.org>
In-Reply-To: <3C48E5C0.BDFAE09A@lbl.gov> 
References:  <200201170303.g0H33S297380@freefall.freebsd.org> <3C48E5C0.BDFAE09A@lbl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201190506.g0J56fb60438>