From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 12 22:27:50 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E66616A41F for ; Mon, 12 Sep 2005 22:27:50 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E8043D45 for ; Mon, 12 Sep 2005 22:27:49 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j8CMRn0r012408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Sep 2005 18:27:49 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j8CMRm6P024591; Mon, 12 Sep 2005 18:27:48 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 489A8511FC; Mon, 12 Sep 2005 18:27:48 -0400 (EDT) Date: Mon, 12 Sep 2005 18:27:48 -0400 From: Kris Kennaway To: theblues gnr Message-ID: <20050912222748.GA12943@xor.obsecurity.org> References: <20050912194026.GA63524@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@freebsd.org Subject: Re: Compiling modules statically X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 22:27:50 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 12, 2005 at 06:37:06PM -0300, theblues gnr wrote: >=20 >=20 > First of all, thank you for your reply. >=20 > Mon, Sep 12, 2005 at 04:34:15PM -0300, theblues gnr wrote: > >> Hello everyone! > >> > >> I'm having trouble setting up networking on the ABIT AV8 motherboard= =20 > >using > >> the onboard NIC. From: > >> http://www.freebsd.org/platforms/amd64/motherboards.html > >> > >> "On-board ethernet controller (vge(4)) does not work unless statically > >> compiled into kernel." > >> > >> I do know how to compile a kernel (from the Handbook) but I do not kno= w=20 > >how > >> to compile a module statically. Could anyone please point me to the=20 > >right > >> documentation on doing that? > > > >It means "do not use a (dynamic) module, compile the driver into your > >(static) kernel." > > > >Kris >=20 > I didn't word my problem correctly; what I wanted to know is how to compi= le=20 > the driver statically. When I follow the instructions on building a custo= m=20 > kernel the vge driver gets built as a module. Edit the kernel configuration file and add the appropriate entry (cf GENERIC or NOTES). This is surely described in the handbook. Kris --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDJgDjWry0BWjoQKURAoD6AKC/RoregfpOVwMkGUMk/XBip62k6wCgyOj3 mCpGlHvWp9vNTeDAdsRvtWQ= =HyWY -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--