RE: kernel compile woes

2003-03-02 Thread charles pelletier

speaking of the new compile method, what does that do as far as memory usage
is concerned? i'm using a p166 16MB machine as my NAT/firewall and have had
to add virtual memory space every time i've upgraded using the old method
(i'm at 4.7 current now). am i stuck with having to do this every time even
with the newer current method or should i just increase my memory and be
done with it?
Charles Pelletier
Tech Coordinator
St Luke's School
Irving, TX


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of taxman
Sent: Saturday, March 01, 2003 10:33 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: kernel compile woes


On Friday 28 February 2003 01:13 pm, [EMAIL PROTECTED] wrote:
 I've managed to bork something up badly...

 First off, I had earlier today upgrade my src tree with this supfile:

 *default host=cvsup11.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 *default compress
 src-all

As Kris mentioned cvs tag=. is -current.  see the handbook section on cvsup,
especially the tags.  that should clear it all up for you.

Tim

 Anyway, I went to do a kernel compile and couldn't get passed 1st base, it
 told me that the config command didn't match up with my kernel sources.

Here's the second reason you should read the handbook more.  You probably
don't want to use the old config method of rebuilding you kernel.  Also read
/usr/src/UPDATING.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: kernel compile woes

2003-03-02 Thread Mike Meyer
In [EMAIL PROTECTED], charles pelletier [EMAIL PROTECTED] typed:
 speaking of the new compile method, what does that do as far as memory usage
 is concerned? i'm using a p166 16MB machine as my NAT/firewall and have had
 to add virtual memory space every time i've upgraded using the old method
 (i'm at 4.7 current now). am i stuck with having to do this every time even
 with the newer current method or should i just increase my memory and be
 done with it?

The new method just automates all the steps in the old method, using
tools in /usr/obj if they exist. It won't take any less memory, and
may well take more. So increase your memory.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: kernel compile woes

2003-03-01 Thread taxman
On Friday 28 February 2003 01:13 pm, [EMAIL PROTECTED] wrote:
 I've managed to bork something up badly...

 First off, I had earlier today upgrade my src tree with this supfile:

 *default host=cvsup11.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 *default compress
 src-all

As Kris mentioned cvs tag=. is -current.  see the handbook section on cvsup, 
especially the tags.  that should clear it all up for you.

Tim

 Anyway, I went to do a kernel compile and couldn't get passed 1st base, it
 told me that the config command didn't match up with my kernel sources.

Here's the second reason you should read the handbook more.  You probably 
don't want to use the old config method of rebuilding you kernel.  Also read 
/usr/src/UPDATING.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: kernel compile woes

2003-02-28 Thread Kris Kennaway
On Fri, Feb 28, 2003 at 01:13:31PM -0500, [EMAIL PROTECTED] wrote:
 I've managed to bork something up badly...
 
 First off, I had earlier today upgrade my src tree with this supfile:
 
 *default host=cvsup11.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 *default compress
 src-all
 
 Anyway, I went to do a kernel compile and couldn't get passed 1st base, it told
 me that the config command didn't match up with my kernel sources.

This is because you are trying to build a 5.0-CURRENT kernel on
presumably an older version of FreeBSD.  You can't upgrade this way.

 So, one thing I did was rm -rf /usr/src/sys and then cvsup'ed with:
 *default host=cvsup11.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 *default compress
 src-sys
 
 Now I get:
 
 config: ../../compile/ANDY: No such file or directory
 
 Can anyone tell me how to dig my way out of this one?

Again, you're trying to upgrade in the wrong way.  5.0 uses a
different kernel compile directory (../compile/ANDY, relative to the
kernel configuration directory), but your config(8) binary expects it
in a different location.

Are you really trying to upgrade to 5.0-CURRENT?

Kris


pgp0.pgp
Description: PGP signature