Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2002 14:44:31 -0800 (PST)
From:      W Alexander Hagen <aligzanduh@yahoo.com>
To:        Kevin Oberman <oberman@es.net>
Cc:        net@freebsd.org
Subject:   Re: How to Update and recompile an device driver 
Message-ID:  <20020208224431.72985.qmail@web9906.mail.yahoo.com>
In-Reply-To: <20020204204445.8DF855D0D@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <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
Content-Type: text/html; charset=us-ascii

<P> 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 
<P>&nbsp;
<P>if_an.c IFM_IEE80211 undeclared and related messages
<P>How can I update the AN Driver !! The suggestion by Kevin Oberman:
<P>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)
<P>2. When I tried cd /usr/sys I got directory not found.
<P>&nbsp;
<P>&nbsp; <B><I>Kevin Oberman &lt;oberman@es.net&gt;</I></B> wrote: 
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">&gt; Date: Mon, 4 Feb 2002 12:06:13 -0800 (PST)<BR>&gt; From: W Alexander Hagen <ALIGZANDUH@YAHOO.COM><BR>&gt; Sender: owner-freebsd-net@FreeBSD.ORG<BR>&gt; <BR>&gt; What is the best way to update FreeBSD 4.3 AN driver only ?<BR><BR>Short form:<BR><BR>1. Figure out which files you will be editing and make copies of the<BR>originals in /sys/dev/an/. (I usually append '.orig' to the file name.<BR><BR>2. cd /sys/dev/an and update/edit the files you want to change. (The<BR>an driver is made up of 5 different source files.)<BR><BR>3. cd /usr/sys<BR><BR>4. make kernel KERNCONF=your_kernel_config_name<BR><BR>5. Reboot new kernel. If you are using the loadable module you can<BR>try unloading the module and re-loading it, but this MAY crash<BR>your system as some kernel modules don't unload cleanly.<BR>(kldunload/kldload) <BR><BR>That's it.<BR><BR>R. Kevin Oberman, Network Engineer<BR>Energy Sciences Network (ESnet)<BR>Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)<BR>E-mail: oberman@es.net Phone: +1 510 486-8634<BR><BR>To Unsubscribe: send mail to majordomo@FreeBSD.org<BR>with "unsubscribe freebsd-net" in the body of the message</BLOCKQUOTE><p><br><hr size=1><b>Do You Yahoo!?</b><br>
Send FREE Valentine eCards with <a href="http://rd.yahoo.com/mail_us/tag/?http://greetings.yahoo.com">Yahoo! Greetings!</a>
--0-2136481958-1013208271=:72958--

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




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