From owner-freebsd-net Fri Feb 8 14:44:35 2002 Delivered-To: freebsd-net@freebsd.org Received: from web9906.mail.yahoo.com (web9906.mail.yahoo.com [216.136.129.249]) by hub.freebsd.org (Postfix) with SMTP id AE3EB37B402 for ; Fri, 8 Feb 2002 14:44:31 -0800 (PST) Message-ID: <20020208224431.72985.qmail@web9906.mail.yahoo.com> Received: from [216.98.102.241] by web9906.mail.yahoo.com via HTTP; Fri, 08 Feb 2002 14:44:31 PST Date: Fri, 8 Feb 2002 14:44:31 -0800 (PST) From: W Alexander Hagen Subject: Re: How to Update and recompile an device driver To: Kevin Oberman Cc: net@freebsd.org In-Reply-To: <20020204204445.8DF855D0D@ptavv.es.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2136481958-1013208271=:72958" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0-2136481958-1013208271=:72958 Content-Type: text/plain; charset=us-ascii Is is possible to cvsup only a device driver. I have tried copying the source of the driver and then rebuilding the kernel, but it allways seems to invoke dependencies that are assumed to be updated over the base 4.3 FreeBSD as well. The latest try I get if_an.c IFM_IEE80211 undeclared and related messages How can I update the AN Driver !! The suggestion by Kevin Oberman: 1. Did not specify where to get the updated AN drivers (I got the latest from the source online in the /src/sys/dev/an MAIN branch) 2. When I tried cd /usr/sys I got directory not found. Kevin Oberman wrote: > Date: Mon, 4 Feb 2002 12:06:13 -0800 (PST) > From: W Alexander Hagen > Sender: owner-freebsd-net@FreeBSD.ORG > > What is the best way to update FreeBSD 4.3 AN driver only ? Short form: 1. Figure out which files you will be editing and make copies of the originals in /sys/dev/an/. (I usually append '.orig' to the file name. 2. cd /sys/dev/an and update/edit the files you want to change. (The an driver is made up of 5 different source files.) 3. cd /usr/sys 4. make kernel KERNCONF=your_kernel_config_name 5. Reboot new kernel. If you are using the loadable module you can try unloading the module and re-loading it, but this MAY crash your system as some kernel modules don't unload cleanly. (kldunload/kldload) That's it. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message --------------------------------- Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! --0-2136481958-1013208271=:72958 Content-Type: text/html; charset=us-ascii

Is is possible to cvsup only a device driver. I have tried copying the source of the driver and then rebuilding the kernel, but it allways seems to invoke dependencies that are assumed to be updated over the base 4.3 FreeBSD as well. The latest try I get

 

if_an.c IFM_IEE80211 undeclared and related messages

How can I update the AN Driver !! The suggestion by Kevin Oberman:

1. Did not specify where to get the updated AN drivers (I got the latest from the source online in the /src/sys/dev/an MAIN branch)

2. When I tried cd /usr/sys I got directory not found.

 

  Kevin Oberman <oberman@es.net> wrote:

> Date: Mon, 4 Feb 2002 12:06:13 -0800 (PST)
> From: W Alexander Hagen
> Sender: owner-freebsd-net@FreeBSD.ORG
>
> What is the best way to update FreeBSD 4.3 AN driver only ?

Short form:

1. Figure out which files you will be editing and make copies of the
originals in /sys/dev/an/. (I usually append '.orig' to the file name.

2. cd /sys/dev/an and update/edit the files you want to change. (The
an driver is made up of 5 different source files.)

3. cd /usr/sys

4. make kernel KERNCONF=your_kernel_config_name

5. Reboot new kernel. If you are using the loadable module you can
try unloading the module and re-loading it, but this MAY crash
your system as some kernel modules don't unload cleanly.
(kldunload/kldload)

That's it.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings! --0-2136481958-1013208271=:72958-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message