Re: options USER_LDT *(solved)

2000-12-27 Thread Kevin Oberman

> Date: Wed, 27 Dec 2000 16:44:08 -0500 (EST)
> From: Donn Miller <[EMAIL PROTECTED]>
> Sender: [EMAIL PROTECTED]
> 
> On Wed, 27 Dec 2000, Evren Yurtesen wrote:
> 
> > is it enough if I make make buildworld ?
> >
> > anyway thanks for the help. now I could compile kernel
> > without any problem. I didnt know that I have to make world etc.
> > Since when this is required? (or is it required?)
> >
> 
> I knew it was the problem, since I've done the same thing myself. :-)
> Generally, "make buildkernel" is used in conjunction with a "make world"
> to update the world and kernel simulaneously.  I think it's just a
> convenience to make kernel building easier when you make the world.

It's NOT just a convenience!

Another explanation of this appears to be in order:

"make buildkernel" makes use of the special knowledge make has of the
new, uninstalled system to build the kernel using the updated
tools. This assures that the kernel and user files are synchronized.

ALWAYS use buildkernel/installkernel when you have updated sources and
done a fresh buildworld. NEVER use buildkernel/installkernel if you
have not previously done a buildworld. If /usr/obj is not populated,
buildkernel will fail.

If you are simply modifying the kernel configuration and rebuilding,
the best way is to: 
cd /sys/i386/conf
config YOURKERNELNAME
and follow the instructions provided. This does not require that the
/usr/src or /usr/obj trees be populated.

If you have previously done a buildworld and installworld and have not
updated your sources, the kernel may be built either way with
identical results, but buildkernel/installkernel takes a bit longer.

I hope that's clear. If you are confused, get back to me and I'll try
to clarify.


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



RE: options USER_LDT *(solved)

2000-12-27 Thread Donn Miller

On Wed, 27 Dec 2000, Evren Yurtesen wrote:

> is it enough if I make make buildworld ?
>
> anyway thanks for the help. now I could compile kernel
> without any problem. I didnt know that I have to make world etc.
> Since when this is required? (or is it required?)
>

I knew it was the problem, since I've done the same thing myself. :-)
Generally, "make buildkernel" is used in conjunction with a "make world"
to update the world and kernel simulaneously.  I think it's just a
convenience to make kernel building easier when you make the world.



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



RE: options USER_LDT *(solved)

2000-12-27 Thread Evren Yurtesen

is it enough if I make make buildworld ?

anyway thanks for the help. now I could compile kernel
without any problem. I didnt know that I have to make world etc.
Since when this is required? (or is it required?)

On Wed, 27 Dec 2000, Donn Miller wrote:

> On Wed, 27 Dec 2000, Evren Yurtesen wrote:
> 
> > > }> > .data" {.data section} - "KERNBASE" {*UND* section} at
> > > }file address 1496.
> > > }> > {standard input}:2444: Error: Subtraction of two symbols
> > > }in different
> > > }> > sections "IdlePTD" {.data section} - "KERNBASE" {*UND*
> > > }section} at file
> 
> Looks to me like you're doing a make buildkernel in /usr/src without doing
> a make world first.  In that case,
> 
> cd /sys/i386/conf
> config -r CUSTOM
> 
> cd [to the directory config gives you]
> make depend all install
> 
> 




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