Re: after upgrade from 6.0 to 6.1

2006-05-21 Thread Lowell Gilbert
"Zimmerman, Eric" <[EMAIL PROTECTED]> writes:

>>Your procedure is almost identical to mine but I usually reboot after 
>>installing
>>the new kernel, test it and then drop into single user mode to do the rest.
>>The only exception is your step #7, I don't do it and wondering why you
>>have it in there. Maybe I've been doing it wrong all along
>>
>>-Yuri
>
>  
> i think thats out of the handbook if i recall.  here is the reference:
>  
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
>  
> under section 21.4.5
>  
> no issues so far. its just another way to get into single user mode after a 
> reboot.
>  
> i do the kernel stuff in multiuser mode, all the other compiling in
> multiuser mode, and then drop to single user mode to installworld.

As long as you boot into the new kernel before doing the installworld.
If you've done the installworld before you know that the kernel works,
you're going to be very unhappy if it doesn't.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: after upgrade from 6.0 to 6.1

2006-05-20 Thread Zimmerman, Eric
>Your procedure is almost identical to mine but I usually reboot after 
>installing
>the new kernel, test it and then drop into single user mode to do the rest.
>The only exception is your step #7, I don't do it and wondering why you
>have it in there. Maybe I've been doing it wrong all along
>
>-Yuri

 
i think thats out of the handbook if i recall.  here is the reference:
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 
under section 21.4.5
 
no issues so far. its just another way to get into single user mode after a 
reboot.
 
i do the kernel stuff in multiuser mode, all the other compiling in multiuser 
mode, and then drop to single user mode to installworld.
 
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: after upgrade from 6.0 to 6.1

2006-05-19 Thread Yuri Lukin
Hi Eric,

>Hi,
>
>You used my page (mikestammer.com) to upgrade. =)
>
>Notice the comment in the standard-supfile says:
>
># use 'RELENG_6' for STABLE or 'RELENG_6_0' for RELEASE
>
>As others have mentioned, you would use:
>
>*default release=cvs tag=RELENG_6_1
>
>To get FreeBSD 6.1. 
>
>I added a note to make it a little clearer:
>
>NOTE: Change the cvs tag as appropriate for what you are trying to do!
>IE if you want FreeBSD 6.1 RELEASE, use *default release=cvs
>tag=RELENG_6_1 and so on.
>
>
>The good news is the instructions worked =) Sorry for the confusion
>
>Eric

Your procedure is almost identical to mine but I usually reboot after installing
the new kernel, test it and then drop into single user mode to do the rest. 
The only exception is your step #7, I don't do it and wondering why you
have it in there. Maybe I've been doing it wrong all along

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

Re: after upgrade from 6.0 to 6.1

2006-05-15 Thread Jeff Cross
Jeff Cross wrote:
> Zimmerman, Eric wrote:
>>> If you followed those instructions, you used the wrong cvsup tag.  Set
>> the
>>> tag to:
>>> *default release=cvs delete tag=RELENG_6_1
>>>
>>> in your cvsupfile, and rebuild everything again.
>>>
>>>  -Derek
>>>
>> Hi,
>>
>> You used my page (mikestammer.com) to upgrade. =)
>>
>> Notice the comment in the standard-supfile says:
>>
>> # use 'RELENG_6' for STABLE or 'RELENG_6_0' for RELEASE
>>
>> As others have mentioned, you would use:
>>
>> *default release=cvs tag=RELENG_6_1
>>
>> To get FreeBSD 6.1. 
>>
>> I added a note to make it a little clearer:
>>
>> NOTE: Change the cvs tag as appropriate for what you are trying to do!
>> IE if you want FreeBSD 6.1 RELEASE, use *default release=cvs
>> tag=RELENG_6_1 and so on.
>>
>>
>> The good news is the instructions worked =) Sorry for the confusion
>>
>> Eric
>>
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>>
>>
>>
> I also used the mentioned directions but changed the tag to RELENG_6_1
> before beginning the process.  Here are the contents of my standard-supfile:
> 
> # cvsup -g -L 2 standard-supfile
> *default host=cvsup3.us.FreeBSD.org
> *default base=/var/db
> *default release=cvs tag=RELENG_6_1
> *default delete use-rel-suffix
> *default compress
> src-all
> 
> The process went smoothly, shows my kernel recompiled today, but like
> the initial poster, it shows 6.0-RELEASE in the uname -a output:
> 
> FreeBSD xtop.xnet.local 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon May 15
> 08:14:54 CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
>  i386
> 
> I followed the directions to a "t" minus the custom kernel.  I just
> recompiled the kernel w/o the KERNCONF= parameters.  Have I done
> something incorrect also?  Do some CVS servers by chance not have the
> upgraded source?  I will try this again in a little while but don't
> really want to take the time if my results will be the same in the end.
> 
> Any ideas?
> 
> Jeff Cross
> http://www.averageadmins.com/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> 
Ok, so after looking at my supfile again, I noticed that I didn't add
the prefix line.  So, I will try this again but I have one more
question: What happened since that line wasn;t in the file?  Where did
it download everything to?  Is there anything I need to clean up?

Jeff Cross
http://www.averageadmins.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: after upgrade from 6.0 to 6.1

2006-05-15 Thread Jeff Cross
Zimmerman, Eric wrote:
>> If you followed those instructions, you used the wrong cvsup tag.  Set
> the
>> tag to:
>> *default release=cvs delete tag=RELENG_6_1
>>
>> in your cvsupfile, and rebuild everything again.
>>
>>  -Derek
>>
> 
> Hi,
> 
> You used my page (mikestammer.com) to upgrade. =)
> 
> Notice the comment in the standard-supfile says:
> 
> # use 'RELENG_6' for STABLE or 'RELENG_6_0' for RELEASE
> 
> As others have mentioned, you would use:
> 
> *default release=cvs tag=RELENG_6_1
> 
> To get FreeBSD 6.1. 
> 
> I added a note to make it a little clearer:
> 
> NOTE: Change the cvs tag as appropriate for what you are trying to do!
> IE if you want FreeBSD 6.1 RELEASE, use *default release=cvs
> tag=RELENG_6_1 and so on.
> 
> 
> The good news is the instructions worked =) Sorry for the confusion
> 
> Eric
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> 
I also used the mentioned directions but changed the tag to RELENG_6_1
before beginning the process.  Here are the contents of my standard-supfile:

# cvsup -g -L 2 standard-supfile
*default host=cvsup3.us.FreeBSD.org
*default base=/var/db
*default release=cvs tag=RELENG_6_1
*default delete use-rel-suffix
*default compress
src-all

The process went smoothly, shows my kernel recompiled today, but like
the initial poster, it shows 6.0-RELEASE in the uname -a output:

FreeBSD xtop.xnet.local 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon May 15
08:14:54 CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

I followed the directions to a "t" minus the custom kernel.  I just
recompiled the kernel w/o the KERNCONF= parameters.  Have I done
something incorrect also?  Do some CVS servers by chance not have the
upgraded source?  I will try this again in a little while but don't
really want to take the time if my results will be the same in the end.

Any ideas?

Jeff Cross
http://www.averageadmins.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: after upgrade from 6.0 to 6.1

2006-05-15 Thread Zimmerman, Eric
> If you followed those instructions, you used the wrong cvsup tag.  Set
the
> tag to:
> *default release=cvs delete tag=RELENG_6_1
> 
> in your cvsupfile, and rebuild everything again.
> 
>  -Derek
> 

Hi,

You used my page (mikestammer.com) to upgrade. =)

Notice the comment in the standard-supfile says:

# use 'RELENG_6' for STABLE or 'RELENG_6_0' for RELEASE

As others have mentioned, you would use:

*default release=cvs tag=RELENG_6_1

To get FreeBSD 6.1. 

I added a note to make it a little clearer:

NOTE: Change the cvs tag as appropriate for what you are trying to do!
IE if you want FreeBSD 6.1 RELEASE, use *default release=cvs
tag=RELENG_6_1 and so on.


The good news is the instructions worked =) Sorry for the confusion

Eric


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


Re: after upgrade from 6.0 to 6.1

2006-05-13 Thread Derek Ragona
If you followed those instructions, you used the wrong cvsup tag.  Set the 
tag to:

*default release=cvs delete tag=RELENG_6_1

in your cvsupfile, and rebuild everything again.

-Derek


At 10:27 AM 5/13/2006, Marwan Sultan wrote:

Hello everyone,

  After years of using freebsd i decided this time to make upgrades 
insted of fresh install,

  I'm on 6.0-Release and decided to upgrade to 6.1-R

  I did whats excatly on https://mikestammer.com/doku.php?id=updateos
  after comparing it to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

  The upgrade steps went sucssuflly without an issue or an error,

  After the upgrades Done, and reboot, i checked the version by uname -a
 it was still showing 6.0Release ? isnt suppoze to be 6.1-Release ?

$ uname -a
FreeBSD Host_Here 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #0: Sat May 13 
11:34:05 UTC 2006 Host_Here:/usr/obj/usr/src/sys/GENERIC  i386


 did I do anything wrong?
 Is there any missing step?
 Please note that I didnot have any custom kernel and i did
# make buildkernel
# make installkernel
 without KERNCONF=MYKERNEL variable? correct?

Any Advise?
how to make it 6.1-Release.

Thank you.
 Marwan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: after upgrade from 6.0 to 6.1

2006-05-13 Thread Kevin Kinsey

Marwan Sultan wrote:

Hello everyone,

  After years of using freebsd i decided this time to make upgrades 
insted of fresh install,

  I'm on 6.0-Release and decided to upgrade to 6.1-R

  I did whats excatly on https://mikestammer.com/doku.php?id=updateos
  after comparing it to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

  The upgrade steps went sucssuflly without an issue or an error,

  After the upgrades Done, and reboot, i checked the version by uname -a
 it was still showing 6.0Release ? isnt suppoze to be 6.1-Release ?

$ uname -a
FreeBSD Host_Here 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #0: Sat May 13 
11:34:05 UTC 2006 Host_Here:/usr/obj/usr/src/sys/GENERIC  i386


 did I do anything wrong?


Looks like it.


 Is there any missing step?


Yes, if the below is all you did.  Remember that
a OS is a kernel and a "userland" or accompanying
software that the system uses to interact with
the kernel.


 Please note that I didnot have any custom kernel and i did
# make buildkernel
# make installkernel
 without KERNCONF=MYKERNEL variable? correct?

Any Advise?
how to make it 6.1-Release.


See the handbook and Do the Right Thing(TM) ;-)

You must:

1.  Fetch the new sources, usually via cvsup.
2.  Read /usr/src/UPDATING.
3.  If needed, run "mergemaser -p"
4.  Build a new "world" (all userland programs, libs, utils).
5.  Configure your kernel, if desired.
6.  Build a new kernel.
7.  Install the new kernel.
8.  Reboot, preferably in single user mode.
9.  Install the world.
10.  Run 'mergemaster' to update /etc.

I run two scripts that handle everything except 'mergemaster'
and the reading of UPDATING (which, :o, I read often after
the world fails to build instead of before...)  But, since
I'm still working and simply checking me mail periodically,
it's no big deal to me, personally.  I've attached them for
reference --- if you choose to use them, it's at your own
risk, of course.  But you could easily adapt them and test
them and use them yourself if you know sh scripting at all.

Now, if you did indeed follow the correct procedure, I'd
check your supfile first, because you may have fetch the
wrong source code

Kevin Kinsey
#!/bin/sh

#  By Kevin Kinsey.  See /COPYRIGHT for details on the
#  BSD license, incorporated herein by reference.

# Variables.  Change to match your setup, paths, etc.

   HOST=`hostname`
   [EMAIL PROTECTED]
   CVSUPLOGFILE=/home/me/logs/cvsup.src.log
   WORLDLOGFILE=/home/me/logs/buildworld.log
   KERNELLOGFILE=/home/me/logs/kernel.log
   SUPFILE=/stable-supfile
   KERNCONF=/usr/src/sys/i386/conf/GENERIC
   KERNINSTLOG=/home/me/logs/kern.inst.log
   KERNELMESSAGE=/home/me/scripts/kernelmessage.txt

# STEP ONE - CVSUP

#Get to proper wd
   cd /usr/src

# CVSup the source tree
   /usr/local/bin/cvsup $SUPFILE > $LOGFILE 2>&1

#report the activity
   /bin/echo "$HOSTNAME cvsup script reporting" > /tmp/buildlogfoo
   /bin/echo " " >> /tmp/buildlogfoo
   tail $CVSUPLOGFILE >> /tmp/buildlogfoo
   /bin/cat /tmp/buildlogfoo | /usr/bin/mail -s "Server Report $HOST CVSup" 
$MAILTO

# clean up
   /bin/rm /tmp/buildlogfoo

# STEP 2: buildworld
   /usr/bin/make buildworld > $WORLDLOGFILE 2>&1

# report
   /bin/echo "$HOST buildworld script reporting" > /tmp/buildlogfoo
   /bin/echo " " >> /tmp/buildlogfoo
   tail $WORLDLOGFILE >> /tmp/buildlogfoo
   /bin/cat /tmp/buildlogfoo | /usr/bin/mail -s "Server Report $HOST 
Buildworld" $MAILTO
   /bin/rm /tmp/buildlogfoo

# This section is modified for my personal setup/preferences and should
# be omitted or changed for your needs.

# Set up kernel options for Firewall, Nat, Dummynet
#   /bin/echo " " >> $KERNCONF
#   /bin/echo "# added by /home/me/scripts/buildworld.sh " >> $KERNCONF
#   /bin/echo " " >> $KERNCONF
#   /bin/echo "options   IPFIREWALL" >> $KERNCONF
#   /bin/echo "options   IPFIREWALL_VERBOSE_LIMIT=10" >> $KERNCONF
#   /bin/echo "options   IPDIVERT" >> $KERNCONF
#   /bin/echo "options   DUMMYNET" >> $KERNCONF
#   /bin/echo "options   HZ=1000" >> $KERNCONF
#   /bin/echo " " >> $KERNCONF
 
# Build the kernel
   /usr/bin/make buildkernel > $KERNELLOGFILE 2>&1
   tail $KERNELLOGFILE > /tmp/kernelfoobuild
   /bin/cat $KERNELMESSAGE /tmp/kernelfoobuild | /usr/bin/mail -s "$HOST Kernel 
Build Report" $MAILTO
   /bin/rm /tmp/kernelfoobuild 

# Install the new kernel
   /usr/bin/make installkernel > $KERNELINSTLOG 2>&1
   /bin/echo "Kernel installation report - $HOST " >> /tmp/kernelinstallfoo
   /bin/cat /tmp/kernelinstallfoo $KERNELINSTLOG | /usr/bin/mail -s "$HOST 
kernel install report" $MAILTO
   /bin/rm /tmp/kernelinstallfoo 
#! /bin/sh

# By Kevin Kinsey.  See ./COPYRIGHT for the BSD license,
# incorporated herein by reference.

#Variables
   $LOGFILE=/home/me/logs/worldinstall
   $HOST=`hostname`
   [EMAIL PROTECTED]

# Finish up the process by installing the world built in buildworld.sh
   cd /usr/src
   /usr/bin/make installworld > $LOGFILE 2>&1
   /bin/echo "$HOST reporting on World Install" > /tmp/w