Index of /~yongari/age/
Building age(4) dirver on FreeBSD 7.0-RELEASE and CURRENT/RELENG_7.
********************************************************************
To CURRENT users:
age(4) was committed to HEAD as of May 19, 2008.
So if you're CURRENT user, use HEAD instead of pataches living
in this directory.
********************************************************************
To RELENG_7 users:
MFC age(4) to RELENG_7 was done as of July 10, 2008.
So if you're RELENG_7 user, use latest stable(RELENG_7) instead
of pataches living in this directory.
********************************************************************
The following only applies to 7.0-RELEASE users.
Download http://people.freebsd.org/~yongari/age/age.7.0R.diff
After downloading the jumbo patch you should do
1. Apply patch to src tree.
#cd /usr/src
#patch -p0 < /path/to/downloadfile/age.7.0R.diff
2. Since I update age(4) codes frequently, the above patch may have
stale code, so download again the following files.
http://people.freebsd.org/~yongari/age/atphy.c
http://people.freebsd.org/~yongari/age/atphyreg.h
http://people.freebsd.org/~yongari/age/if_age.c
http://people.freebsd.org/~yongari/age/if_agereg.h
http://people.freebsd.org/~yongari/age/if_agevar.h
Copy atphy.c atphyreg.h to /usr/src/sys/dev/mii directory.
Copy if_age.c if_agereg.h and if_agevar.h to /usr/src/sys/dev/age
directory.
3. Build your kernel and reboot.
4. After reboot, login as root and load if_age.ko kernel module
and configure it.
#kldload if_age
#ifconfig age0 inet x.x.x.x netmask y.y.y.y
Please send me success/failure report of age(4).
If you noticed that I've updated one of driver files, download
modified files only and rebuild new age(4).
#fetch -- download latest files ---
Overwrite existing files with new ones.
#cd /usr/src/sys/modules/age
#make
If you are already using if_age kernel module, stop the
interface and unload it.
#ifconfig age0 down
#ifconfig age0 inet delete
#kldunload if_age
And then reload newly built one.
#kldload ./if_age.ko
If you have any questions, feel free to ask.
Thanks.