Re: Safe to just rebuild kernel after cvsuping src?

2004-12-15 Thread Charles Ulrich

Kevin D. Kinsey, DaleCo, S.P. said:
 It's really a question for the programmers, and it's
 likely that whatever they say will include a lot of
 disclaimers and warnings.

 I once got kernel and world a lil' out of sync, and
 had things running apparently normally.  However,
 top(1) broken; when I asked the list what was up,
 someone else with experience was able to determine
 the problem immediately.

 In short, it's probably not a good idea unless one
 can determine that relatively nothing has changed
 in the source since the other part (kernel or world)
 was built.  Looking at CVS, you don't see much
 completely idle time.  And, unless you are aware
 of every bit of code that might have changed, it's
 impossible (for me, Joe Average) to know what might
 break 

I'll keep that in mind, then. Thanks!

-- 
Charles Ulrich
Ideal Solution, LLC - http://www.idealso.com

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


Re: Safe to just rebuild kernel after cvsuping src?

2004-12-14 Thread Robert Huff

Charles Ulrich writes:

  As a general rule, this is _never_ safe.  Unless you're
   prepared to locate and understand all the changes - just bite the
   bullet and make world.
  (This is not to say you can't do it and have it work - been
   there, done that - but you're definitely increasing the odds of a
   problem.)
  
  I've been doing the opposite on some of my machines which run
  stable releases of FreeBSD. Is it relatively safe to build and
  install a slightly newer world without rebuilding the kernel?

Were I to want to do this, I would (after updating the sources):

1) read /usr/src/UPDATING.  If there is an entry that requires
it (e,g, 20041102) or even implies it; then rebuild world.
2) following the directions in the Handbook rebuild the kernel
only.  Capture the output, and look for any complaints about missing
symbols, etc.
3) Save the old kernel/kernel directory into a dated space.
The install kernel target will save a copy ... but that gets
overwritten if you have to build/again.
4) (optional) sacrifice black chicken to deity of choice (if
any).
5) install new kernel and reboot.  If sucessful, run
mergemaster and reboot.
6) Test all first and second tier system functions and user
applications.  For this purpose, method of updating source code is
a first-tier application.


Robert Huff


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


Re: Safe to just rebuild kernel after cvsuping src?

2004-12-14 Thread Kevin D. Kinsey, DaleCo, S.P.
Charles Ulrich wrote:
Robert Huff said:
 

Nikolas Britton writes:
   

Is it generally safe to just rebuild the kernel, and not make
world, when your only tracking a release and not -STABLE,
i.g. setting cvsup to track RELENG_5_3?
 

	As a general rule, this is _never_ safe.  Unless you're
prepared to locate and understand all the changes - just bite the
bullet and make world.
	(This is not to say you can't do it and have it work - been
there, done that - but you're definitely increasing the odds of a
problem.)
   

I've been doing the opposite on some of my machines which run stable releases
of FreeBSD. Is it relatively safe to build and install a slightly newer world
without rebuilding the kernel?
 

It's really a question for the programmers, and it's
likely that whatever they say will include a lot of
disclaimers and warnings.
I once got kernel and world a lil' out of sync, and
had things running apparently normally.  However,
top(1) broken; when I asked the list what was up,
someone else with experience was able to determine
the problem immediately.
In short, it's probably not a good idea unless one
can determine that relatively nothing has changed
in the source since the other part (kernel or world)
was built.  Looking at CVS, you don't see much
completely idle time.  And, unless you are aware
of every bit of code that might have changed, it's
impossible (for me, Joe Average) to know what might
break 
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Safe to just rebuild kernel after cvsuping src?

2004-12-13 Thread Nikolas Britton
Ben Washington-Yule wrote:
Nikolas Britton wrote:
Ben Washington-Yule wrote:
Nikolas Britton wrote:
Is it generally safe to just rebuild the kernel, and not make 
world, when your only tracking a release and not -STABLE, i.g. 
setting cvsup to track RELENG_5_3?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

But why would you update your sources if you are not going to 
compile and install them?

Umm, umm, lol, yes I thought of this after I sent it, most of the 
updates are for userland and system tools, not the kernel, duh, sorry.


I know everyone always says read the handbook but in this case it is 
very useful. Read the chapters on the FreeBSD kernel and also the 
chapter aptly named The Cutting Edge

Regards, Ben
Been there done that and I did it long time ago, this was just a moment 
of stupidity and not thinking before posting. I was in the middle of 
updating my sources when I had to make some changes to the kernel and 
rebuild it and I didn't have time or the desire rebuild world.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Safe to just rebuild kernel after cvsuping src?

2004-12-13 Thread Charles Ulrich

Robert Huff said:

 Nikolas Britton writes:

  Is it generally safe to just rebuild the kernel, and not make
  world, when your only tracking a release and not -STABLE,
  i.g. setting cvsup to track RELENG_5_3?

   As a general rule, this is _never_ safe.  Unless you're
 prepared to locate and understand all the changes - just bite the
 bullet and make world.
   (This is not to say you can't do it and have it work - been
 there, done that - but you're definitely increasing the odds of a
 problem.)

I've been doing the opposite on some of my machines which run stable releases
of FreeBSD. Is it relatively safe to build and install a slightly newer world
without rebuilding the kernel?

-- 
Charles Ulrich
Ideal Solution, LLC - http://www.idealso.com

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


Re: Safe to just rebuild kernel after cvsuping src?

2004-12-13 Thread Nikolas Britton
Ben Washington-Yule wrote:
Nikolas Britton wrote:
Is it generally safe to just rebuild the kernel, and not make world, 
when your only tracking a release and not -STABLE, i.g. setting cvsup 
to track RELENG_5_3?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

But why would you update your sources if you are not going to compile 
and install them?
Umm, umm, lol, yes I thought of this after I sent it, most of the
updates are for userland and system tools, not the kernel, duh, sorry.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]