Date: Thu, 14 Jul 2011 12:02:02 +1000 From: freebsd-questions@herveybayaustralia.com.au To: "Polytropon" <freebsd@edvax.de>, <freebsd-questions@herveybayaustralia.com.au> Cc: freebsd-questions@freebsd.org Subject: Re: atheros 9285 wifi Message-ID: <60375.1310608922@herveybayaustralia.com.au>
next in thread | raw e-mail | index | archive | help
On Thu 14/07/11 11:40 AM , Polytropon wrote:On Thu, 14 Jul 2011 11:37:08 +1000, wrote: > I'm running release, though. I'm not exactly cvs proficient, I prefer > subversion- just installing it is a PITA atm- so how do I bring in the > stable version of the driver? Here's an approach that works quite well: First add to /etc/make.conf: SUP_UPDATE=3Dyes SUP=3D/usr/bin/csup SUPFLAGS=3D-g -L 2 SUPHOST=3Dcvsup.freebsd.org SUPFILE=3D/etc/sup/stable.sup Then create the /etc/sup directory, and in it, create the file /etc/sup/stabe.sup with the following content: *default host=3Dcvsup.freebsd.org *default base=3D/var/db *default prefix=3D/usr *default release=3Dcvs tag=3DRELENG_8 *default delete use-rel-suffix *default compress src-all The setting RELENG_8 will bring you the latest 8-STABLE. Maybe you should replace the servers with something near your location for better speed. Then, as root: # cd /usr/src # make update and you've got the current sources. > I'm assuming also, then, that I will have to recompile my kernel won't > I? Of course, and kernel and world have to be in sync, so building world is also needed. See the instructions in the Makefile's comment section: # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=3DYOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=3DYOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) # # See src/UPDATING `COMMON ITEMS' for more complete information. This is /usr/src/Makefile of course. So are you saying I can't just grab the ath module? I'd rather stick to release, but I guess if I'm having to rebuild the kernel each update... What are the cons to using stable? I thought stable was still being worked on and shouldn't be used for production? I'm providing services to very green users so I'd like to stay close to reliable as possible- hence my addiction with the release versions. ------------------------- Message sent via Atmail Open - http://atmail.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60375.1310608922>