DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 12th July 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default compile kernel error

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

Code:
cd /usr/src
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

Code:
uname -a
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
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to Debug C++ Compile Error [Shibboleth] on FreeBSD starbuck Programming 4 15th January 2009 10:30 PM
Kernel Compilation --> Error code 2 --> geom_part_pc98 (FreeBSD 7.0) stou FreeBSD Installation and Upgrading 15 11th October 2008 04:43 AM
Can't load kernel error on PC-BSD / FreeSBIE lazerbeat FreeBSD Installation and Upgrading 3 5th July 2008 08:39 PM
Kernel error with ieee802111 disappearedng FreeBSD General 1 29th June 2008 10:56 AM
Kernel Driver Not accesable error In Virtural Box on Ubntu hardy FloridaBSD Other BSD and UNIX/UNIX-like 8 28th May 2008 01:11 AM


All times are GMT. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick