Re: Building -CURRENT with 4.5-RELEASE

2002-10-26 Thread Ulrich 'Q' Spoerlein
On Tue, 22 Oct 2002 04:25:23 +0200, you wrote:

Is it possible, or do I need to use a more recent installation to be able to
build -CURRENT?

it was possible for me, but i had to go through a lot of hassles
installing -CURRENT from within -STABLE.

i used the DESTDIR-switch to install everything to /mnt/ (where my
-current partition was mounted). but mergemaster failed due to a system
call lacking (can't remember which one, i think it tried to start a
programm in /mnt/bin which failed because it was linked against libc.so.5
i fixed that by linking libc.so.4 to libc.so.5 temporarily).
the next pitfall is mergemaster NOT creating files/directories necessary,
thus using it on a clean partition (only installworld'd and
installkernel'd) will fail and you have to create some files/directories
by hand.

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



Re: Building -CURRENT with 4.5-RELEASE

2002-10-25 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Tim Kientzle [EMAIL PROTECTED] writes:
:   On Tue, Oct 22, 2002 at 11:52:11PM +0200, Gerhard H=E4ring wrote:
: 
: make installworld dumps core at installing passwd (4.5-RELEASE).
: 
: 
: Brooks Davis:
: 
:  Are you running a current kernel at this point?  If you aren't it's safe
:  to say it won't work.
: 
: The directions in UPDATING leave you running
: an OLD kernel after rebooting into single-user.
: (Installkernel puts the kernel in the new location,
: but the old boot loader is still on disk, so it
: loads the kernel from the old location.)  If
: a new kernel is required at this point, then
: UPDATING is wrong or installkernel is wrong.

You are correct about this.  I'll update it to include installing the
new bootblocks as well, if that isn't already in there for the 4.x -
5.0 upgrade path.

Warner

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



Re: Building -CURRENT with 4.5-RELEASE

2002-10-23 Thread Gerhard Haering
* Brooks Davis [EMAIL PROTECTED] [2002-10-22 16:55 -0700]:
 On Wed, Oct 23, 2002 at 01:48:14AM +0200, Gerhard H?ring wrote:
  * Brooks Davis [EMAIL PROTECTED] [2002-10-22 15:01 -0700]:
   Are you running a current kernel at this point?  If you aren't it's safe
   to say it won't work.
  
  No, this is 4.5-RELEASE, as I said. By current kernel, do you mean an
  up-to-date FreeBSD 4, like 4.7-STABLE, or a -CURRENT kernel?
 
 I mean a -CURRENT kernel like /usr/src/UPDATING tells you to use.
 UPDATING is the authoritative document on this subject.

Ah, thanks. I read about this in the handbook, but reading UPDATING just
didn't provide anything interesting before ;-)

With the information from UPDATING, I now got -CURRENT installed, building
from 4.7-RELEASE this time.

-- Gerhard

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



Re: Building -CURRENT with 4.5-RELEASE

2002-10-22 Thread Ruslan Ermilov
On Tue, Oct 22, 2002 at 04:25:23AM +0200, Gerhard Haering wrote:
 Is it possible, or do I need to use a more recent installation to be able to
 build -CURRENT?
 
Yes, it is.  It should even be possible to build -CURRENT with
as early as 4.0-RELEASE.  If it doesn't, please drop me a line.


Cheers,
-- 
Ruslan Ermilov  Sysadmin and DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age



msg45019/pgp0.pgp
Description: PGP signature


Re: Building -CURRENT with 4.5-RELEASE

2002-10-22 Thread Gerhard Häring
* Ruslan Ermilov [EMAIL PROTECTED] [2002-10-22 12:23 +0300]:
 On Tue, Oct 22, 2002 at 04:25:23AM +0200, Gerhard Haering wrote:
  Is it possible, or do I need to use a more recent installation to be able to
  build -CURRENT?
  
 Yes, it is.  It should even be possible to build -CURRENT with
 as early as 4.0-RELEASE.  If it doesn't, please drop me a line.

make installworld dumps core at installing passwd (4.5-RELEASE).

I've now dl-ed and burnt the DP1 CD instead and am trying to get this to
run.

-- Gerhard

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



Re: Building -CURRENT with 4.5-RELEASE

2002-10-22 Thread Brooks Davis
On Tue, Oct 22, 2002 at 11:52:11PM +0200, Gerhard Häring wrote:
 * Ruslan Ermilov [EMAIL PROTECTED] [2002-10-22 12:23 +0300]:
  On Tue, Oct 22, 2002 at 04:25:23AM +0200, Gerhard Haering wrote:
   Is it possible, or do I need to use a more recent installation to be able to
   build -CURRENT?
   
  Yes, it is.  It should even be possible to build -CURRENT with
  as early as 4.0-RELEASE.  If it doesn't, please drop me a line.
 
 make installworld dumps core at installing passwd (4.5-RELEASE).

Are you running a current kernel at this point?  If you aren't it's safe
to say it won't work.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4



msg45091/pgp0.pgp
Description: PGP signature


Re: Building -CURRENT with 4.5-RELEASE

2002-10-22 Thread Brooks Davis
On Wed, Oct 23, 2002 at 01:48:14AM +0200, Gerhard Häring wrote:
 * Brooks Davis [EMAIL PROTECTED] [2002-10-22 15:01 -0700]:
  Are you running a current kernel at this point?  If you aren't it's safe
  to say it won't work.
 
 No, this is 4.5-RELEASE, as I said. By current kernel, do you mean an
 up-to-date FreeBSD 4, like 4.7-STABLE, or a -CURRENT kernel?

I mean a -CURRENT kernel like /usr/src/UPDATING tells you to use.
UPDATING is the authoritative document on this subject.

 When I came to FreeBSD, ppl told me that you don't update the kernel
 separately, so I'm not sure what you mean.

You don't want to randomly update the kernel without updating userland
because some program like ipfw will stop working sometimes.  On the
flip side, if you don't update the kernel before install world, the
old kernel may not support syscalls required by the new binaries.  In
the past this has included things like /bin/sh so it is necessicary to
install a new kernel before installing a new world unless you want to
get your self into a real mess.  Additionaly, it's very easy to switch
back to an old kernel.  Switching back to an older world requires
backups.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4



msg45098/pgp0.pgp
Description: PGP signature


Re: Building -CURRENT with 4.5-RELEASE

2002-10-22 Thread Gerhard Häring
* Brooks Davis [EMAIL PROTECTED] [2002-10-22 15:01 -0700]:
 On Tue, Oct 22, 2002 at 11:52:11PM +0200, Gerhard Häring wrote:
  * Ruslan Ermilov [EMAIL PROTECTED] [2002-10-22 12:23 +0300]:
   On Tue, Oct 22, 2002 at 04:25:23AM +0200, Gerhard Haering wrote:
Is it possible, or do I need to use a more recent installation to be able to
build -CURRENT?

   Yes, it is.  It should even be possible to build -CURRENT with
   as early as 4.0-RELEASE.  If it doesn't, please drop me a line.
  
  make installworld dumps core at installing passwd (4.5-RELEASE).
 
 Are you running a current kernel at this point?  If you aren't it's safe
 to say it won't work.

No, this is 4.5-RELEASE, as I said. By current kernel, do you mean an
up-to-date FreeBSD 4, like 4.7-STABLE, or a -CURRENT kernel?

When I came to FreeBSD, ppl told me that you don't update the kernel
separately, so I'm not sure what you mean.

Confused,

Gerhard

PS: Using DP1 to compile -CURRENT CVS also doesn't work :-( 

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



Building -CURRENT with 4.5-RELEASE

2002-10-21 Thread Gerhard Haering
Is it possible, or do I need to use a more recent installation to be able to
build -CURRENT?

-- Gerhard

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