Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-24 Thread Tuc at T-B-O-H.NET
   Also, the list of things to do is a bit mis-ordered and truncated. The
   official list is in /usr/src/UPDATING and reads:
   
   make sure you have good level 0 dumps
   make buildworld
   make kernel KERNCONF=YOUR_KERNEL_HERE
   [1]
   reboot in single user [3]
   mergemaster -p  [5]
   make installworld
   make delete-old
  
  ^ Where in /usr/src/UPDATING is that command. I
  can't see it.
  
   mergemaster [4]
   reboot
  
  
  Thanks, Tuc
  
 
 Sorry. It is there on my 6-Stable system, but it looks like it is not in 
 6.2-Release.It's been in HEAD for over 2 years.
 
 I am a bit confused,though. I see my 6.2-Stable has src/UPDATING,v 
 1.416.2.35, but I can't find that version in CVS. I see only one commit, 
 1.416, in RELENG_6 and I know that it has had more commits since then.

Um, I went to go check the file on a 7.0-BETA1 I just installed and and 
doing the ground
up on.. And I just realized something...

WHERE is the step to install the kernel?? I always thought it was :


make buildworld
make kernel KERNCONF=YOUR_KERNEL_HERE
make installkernel KERNCONF=YOUR_KERNEL_HERE
[1]
reboot in single  [3]


Tuc
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-24 Thread Greg Byshenk
On Wed, Oct 24, 2007 at 11:18:30AM -0400, Tuc at T-B-O-H.NET wrote:

Also, the list of things to do is a bit mis-ordered and truncated. The
official list is in /usr/src/UPDATING and reads:

make sure you have good level 0 dumps
make buildworld
make kernel KERNCONF=YOUR_KERNEL_HERE
[1]
reboot in single user [3]
mergemaster -p  [5]
make installworld
make delete-old

   Um, I went to go check the file on a 7.0-BETA1 I just installed and and 
 doing the ground
 up on.. And I just realized something...
 
   WHERE is the step to install the kernel?? I always thought it was :
 
 make buildworld
 make kernel KERNCONF=YOUR_KERNEL_HERE
   make installkernel KERNCONF=YOUR_KERNEL_HERE
   [1]
   reboot in single  [3]


Pay attention to the make options (you can find them in /usr/src/Makefile).

'make kernel' is equivalent to 'make buildkernel + installkernel', just like
'make world' is equivalent to 'make buildworld + installworld'. The latter
can be dangerous, but the former usually isn't.

One process is:

[csup, etc.]
make buildworld
make buildkernel
make installkernel  [reboot single user]
[mergemaster -p if necessary]
make installworld   
mergemaster [reboot]
[ports or other stuff]

If you wish, the 'make buildkernel' + 'make installkernel' can be replaced
with 'make kernel', which does them both in sequence with one command.


-- 
greg byshenk  -  [EMAIL PROTECTED]  -  Leiden, NL
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-24 Thread Kevin Oberman
 From: Tuc at T-B-O-H.NET [EMAIL PROTECTED]
 Date: Wed, 24 Oct 2007 11:18:30 -0400 (EDT)
 
Also, the list of things to do is a bit mis-ordered and truncated. The
official list is in /usr/src/UPDATING and reads:

make sure you have good level 0 dumps
make buildworld
make kernel KERNCONF=YOUR_KERNEL_HERE
[1]
reboot in single user [3]
mergemaster -p  [5]
make installworld
make delete-old
   
 ^ Where in /usr/src/UPDATING is that command. I
   can't see it.
   
mergemaster [4]
reboot
   
   
 Thanks, Tuc
   
  
  Sorry. It is there on my 6-Stable system, but it looks like it is not in 
  6.2-Release.It's been in HEAD for over 2 years.
  
  I am a bit confused,though. I see my 6.2-Stable has src/UPDATING,v 
  1.416.2.35, but I can't find that version in CVS. I see only one commit, 
  1.416, in RELENG_6 and I know that it has had more commits since then.
 
   Um, I went to go check the file on a 7.0-BETA1 I just installed and and 
 doing the ground
 up on.. And I just realized something...
 
   WHERE is the step to install the kernel?? I always thought it was :
 
 
 make buildworld
 make kernel KERNCONF=YOUR_KERNEL_HERE
   make installkernel KERNCONF=YOUR_KERNEL_HERE
   [1]
   reboot in single  [3]
 

'make kernel' makes buildworld and then makes installkernel. So 'make
kernel' both builds and installs the kernel.

'make kernel' is not new (goes back to at least V4), but was not placed
in the UPDATING file until V7.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgphNTwWm2Skv.pgp
Description: PGP signature


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-24 Thread Tuc at T-B-O-H
  WHERE is the step to install the kernel?? I always thought it was :
  
  
  make buildworld
  make kernel KERNCONF=YOUR_KERNEL_HERE
  make installkernel KERNCONF=YOUR_KERNEL_HERE
  [1]
  reboot in single  [3]
  
 
 'make kernel' makes buildworld and then makes installkernel. So 'make
 kernel' both builds and installs the kernel.
 
 'make kernel' is not new (goes back to at least V4), but was not placed
 in the UPDATING file until V7.

SORRY My bad. I was reading too fast.. I normally do buildkernel
then installkernel, and was too use to doing it via 2 lines.

Tuc
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-23 Thread Tuc at T-B-O-H.NET
 
 Also, the list of things to do is a bit mis-ordered and truncated. The
 official list is in /usr/src/UPDATING and reads:
 
 make sure you have good level 0 dumps
 make buildworld
 make kernel KERNCONF=YOUR_KERNEL_HERE
 [1]
 reboot in single user [3]
 mergemaster -p  [5]
 make installworld
 make delete-old

^ Where in /usr/src/UPDATING is that command. I
can't see it.

 mergemaster [4]
 reboot


Thanks, Tuc
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-23 Thread Kevin Oberman
  
  Also, the list of things to do is a bit mis-ordered and truncated. The
  official list is in /usr/src/UPDATING and reads:
  
  make sure you have good level 0 dumps
  make buildworld
  make kernel KERNCONF=YOUR_KERNEL_HERE
  [1]
  reboot in single user [3]
  mergemaster -p  [5]
  make installworld
  make delete-old
 
   ^ Where in /usr/src/UPDATING is that command. I
 can't see it.
 
  mergemaster [4]
  reboot
 
 
   Thanks, Tuc
 

Sorry. It is there on my 6-Stable system, but it looks like it is not in 
6.2-Release.It's been in HEAD for over 2 years.

I am a bit confused,though. I see my 6.2-Stable has src/UPDATING,v 1.416.2.35, 
but I can't find that version in CVS. I see only one commit, 1.416, in RELENG_6 
and I know that it has had more commits since then.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751






pgps4l0GxzD1V.pgp
Description: PGP signature


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-23 Thread Tuc at T-B-O-H.NET
 
 --==_Exmh_1193178365_55823P
 Content-Type: text/plain; charset=us-ascii
 
   
   Also, the list of things to do is a bit mis-ordered and truncated. The
   official list is in /usr/src/UPDATING and reads:
   
   make sure you have good level 0 dumps
   make buildworld
   make kernel KERNCONF=YOUR_KERNEL_HERE
   [1]
   reboot in single user [3]
   mergemaster -p  [5]
   make installworld
   make delete-old
  
  ^ Where in /usr/src/UPDATING is that command. I
  can't see it.
  
   mergemaster [4]
   reboot
  
  
  Thanks, Tuc
  
 
 Sorry. It is there on my 6-Stable system, but it looks like it is not in 
 6.2-Release.It's been in HEAD for over 2 years.
 
 I am a bit confused,though. I see my 6.2-Stable has src/UPDATING,v 
 1.416.2.35, but I can't find that version in CVS. I see only one commit, 
 1.416, in RELENG_6 and I know that it has had more commits since then.

AH, no wonder why I don't see it... I'm on 5.5 still, and only have 
version
1.342.2.36 from 5/26/2006.

Thanks, Tuc
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-20 Thread CmdLnKid

On Tue, 16 Oct 2007 05:42 +0800, robert.a.chalmers wrote:



I should just be able to change the TAG in standard-supfile from 6_1 to 6_2,
do a cvsup, and the builds etc to end up with 6.2-RELEASE right?
yes? no?

ta
rob



Change that tag and then follow anything thats said in the README
UPDATING  Makefile.

Specificly follow this after you upgrade your sources.
( head -n55 /usr/src/Makefile |tail -n13 )

--

 - (2^(N-1))

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-17 Thread Kevin Oberman
 
 Yep:
 
 1. make buildworld
 2. make buildkernel (add KERNCONF=mykernel to /etc/make.conf)
 3. mergemaster -p
 4. make installkernel
 5. shutdown -r now and boot into single user
 6. mount -a (if /usr/src and /usr/obj resides on their own partitions)
 7. mergemaster
 8. make installworld
 9. reboot
 
 I usually omit 5 and 6 because most of the time it works fine.

Please don't recommend skipping 5 and 6. While it almost always works
(and I have done it in the past and probably will again), it is very
dangerous. 

You have a new userland and the new kernel won't work. you boot
kernel.old. You now have a new userland and an old kernel. This can
leave you totally hosed if changes in userland require features in the
new kernel and not the old.

While this can be recovered, it is time consuming and tedious. If you are
not fairly familiar with how things work in FreeBSD, it may be hopeless.

Also, the list of things to do is a bit mis-ordered and truncated. The
official list is in /usr/src/UPDATING and reads:

make sure you have good level 0 dumps
make buildworld
make kernel KERNCONF=YOUR_KERNEL_HERE
[1]
reboot in single user [3]
mergemaster -p  [5]
make installworld
make delete-old
mergemaster [4]
reboot
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpuJo0znHRhi.pgp
Description: PGP signature


Thanks, done. Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-16 Thread Robert Chalmers

Thanks guys,
All done.  Just wasn't sure if I could do the upgrade via cvsup.
all done, all working. cool

Thanks for everyone's help.

rob


- Original Message -
From: CmdLnKid [EMAIL PROTECTED]
To: Robert Chalmers [EMAIL PROTECTED]
Cc: freebsd-stable@freebsd.org
Sent: Wednesday, October 17, 2007 1:29 AM
Subject: Re: can I do 6.1-RELEASE to 6.2 via cvsup


On Tue, 16 Oct 2007 05:42 +0800, robert.a.chalmers wrote:



I should just be able to change the TAG in standard-supfile from 6_1 to 
6_2,

do a cvsup, and the builds etc to end up with 6.2-RELEASE right?
yes? no?

ta
rob



Change that tag and then follow anything thats said in the README
UPDATING  Makefile.

Specificly follow this after you upgrade your sources.
( head -n55 /usr/src/Makefile |tail -n13 )

--

 - (2^(N-1))


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-16 Thread Miguel Lopes Santos Ramos
 From [EMAIL PROTECTED]  Tue Oct 16 22:01:02 2007

 I should just be able to change the TAG in standard-supfile from 6_1 to 6_2, 
 do a cvsup, and the builds etc to end up with 6.2-RELEASE right?
 yes? no?

Right. And back, you can change the tag back to 6_1... Or just RELENG_6 for 
6-STABLE.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-15 Thread Claus Guttesen
 I should just be able to change the TAG in standard-supfile from 6_1 to 6_2,
 do a cvsup, and the builds etc to end up with 6.2-RELEASE right?
 yes? no?

Yep:

1. make buildworld
2. make buildkernel (add KERNCONF=mykernel to /etc/make.conf)
3. mergemaster -p
4. make installkernel
5. shutdown -r now and boot into single user
6. mount -a (if /usr/src and /usr/obj resides on their own partitions)
7. mergemaster
8. make installworld
9. reboot

I usually omit 5 and 6 because most of the time it works fine.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I do 6.1-RELEASE to 6.2 via cvsup

2007-10-15 Thread Diego Arias

Robert Chalmers escribió:
I should just be able to change the TAG in standard-supfile from 6_1 to 6_2, 
do a cvsup, and the builds etc to end up with 6.2-RELEASE right?

yes? no?

ta
rob


 
___

freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

you will have the 6.2 source code. if you want to upgrade, you have to 
compile and install it.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]