I use FreeBSD 7 and I try enable PF so put this line in kernel and start compile kernel
Code:
options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Required for SMP build
and start compile kernel by this step
Code:
cd /usr/src/sys/i386/conf
then
Code:
cp GENERIC GMFARIDISRV
then I put this options in kernel
Code:
options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Required for SMP build
then I type
then I type
Code:
make buildkernel KERNCONF=GMFARIDISRV
and after build kernel I type
Code:
make installkernel KERNCONF=GMFARDISRV
after install kernel I reboot my system and after reboot I type this command
and I see this
Code:
FreeBSD Mostafa.Faridi 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Jul 12 12:14:02 AFT 2008 Mostafa@Mostafa.Faridi:/usr/obj/usr/src/sys/GMFARIDISRV i386
when I install FreeBSD my FreeBSD was RELEASE but after compile kernel FreeBSD change to STABLE
I do not want
STABLE I want
RELEASE so I go to
Code:
/etc/stable-supfile
and change this line
Code:
default release=cvs tag=RELENG_7
to
Code:
default release=cvs tag=RELENG_7_0
and start compile again
when I type
Code:
make buildkernel KERNCONF=GMFARIDISRV
I see this error
Code:
Mostafa# make buildkernel KERNCONF=GMFARIDISRV
--------------------------------------------------------------
>>> Kernel build for GMFARIDISRV started on Sat Jul 12 20:01:53 AFT 2008
--------------------------------------------------------------
===> GMFARIDISRV
mkdir -p /usr/obj/usr/src/sys
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/GMFARIDISRV /usr/src/sys/i386/conf/GMFARIDISRV
/usr/src/sys/i386/conf/GMFARIDISRV: unknown option "STACK"
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
and I can not compile kernel again
which stage I make mistake ??
I do not like
STABLE and I want use only
RELEASE