Re: Going to BSD 8 from RELENG_7
> Date: Mon, 17 Aug 2009 09:18:11 +0200 > From: Bartosz Stec > Sender: owner-freebsd-sta...@freebsd.org > > Johan Hendriks pisze: > > Be aware that if you go from 7 to 8 you will need to rebuild all your > > installed ports. > > ALso if you do a buildworld from 7 to 8 do not do the make delete-old > > and the make delete-old-libs before you have rebuild your ports. > > If you do the make delete-old and make delete-old-libs runs, all ports > > depending on the FreeBSD 7 libs will not work any more. << read: most > > likely all your ports. > > If you have changed for example your Shell for root to a ports based > > shell like bash and you do the make delete-old-libs you can not log in > > anymore, because bash depends on the 7 libs wich are not there anymore. > > > > And as usual MAKE A GOOD BACKUP > > > > Regards, > > Johan > > > > > > > As I remember when I did upgrade from FreBSD 6.4 to 7.0, I ran > 'portupgrade -afi' after thar, BUT as I remember all my ports in fact > works before they were upgraded. If I understand correctly, the reason > of this was not making delete-old and delete-old-libs? > > So should following upgrade procedure be painless? > > 0. Backup! > 1. cvsup 8.0-stable > 2. make buildworld && make buildkernel > 3. make installkernel > 4. reboot and jump to single user mode > 5. make installworld && mergemastger > 6. take a deep breath & reboot > 7. portupgrade -afi > 8. make delete-old && make delete-old-libs > 9. reboot > 10. Hooray! > > My concern is - will my ports works after point 6. ? Quite important > thing when machine can't be offline by hours during portupgrade -afi You can compress 2 and 3 into: make buildworld && make kernel. To save a LOT of time on SMP systems, use -jN where N is at least (numcpus + 1). IF you get an error with -j, build again without '-jN' and with '-DNO_CLEAN" to quickly find the real error. Do a delete-old. Hold off on delete-old-libs for a bit. (It's generally the old header files which bite, but keeping libs is "safe".) The problem is that, when you start updating ports, you will eventually (and probably pretty quickly) end up with a port that links to two libraries which, in turn, link to a "common" library, but one links to the old and one to the new. When this happens, the real-time loader (rtld) will object strongly and one or more ports are rendered un-runnable. libmap.conf(5) can usually be used as a temporary way to get things working again, but it does not always work. Version numbers are only bumped because there is a reason (I hope). I suggest that you install packages (-P) for any ports that are not using special options. It can save hours of time. Also, use script or something else to keep a copy of the output of the portupgrade. It can be very handy in fixing any problems that crop up. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: ober...@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Going to BSD 8 from RELENG_7
On 14/08/09 11:12 AM, Dan Allen wrote: I cvsup and build RELENG_7 many times a week. This has served me well (except for the ZFS boot problem I had that went in and was backed out) for quite a while. I like to track a STABLE release. When BSD 7 went to 7.1 and to 7.2, it all just happened automatically with the way I do things. Now I am interested on one of my BSD machines to try 8.0. I need to change my cvsup target from RELENG_7 to CURRENT I believe. Is that true? When will STABLE become 8.0? Since I see you are updating from 7 to 8 and are running ZFS, you may be bitten by the fact that ZFS will not work after you install the new kernel. See the last comment here: http://www.daemonology.net/blog/2009-07-11-freebsd-update-to-8.0-beta1.html Ari --> ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Going to BSD 8 from RELENG_7
Ruben de Groot pisze: On Mon, Aug 17, 2009 at 09:18:11AM +0200, Bartosz Stec typed: And as usual MAKE A GOOD BACKUP Regards, Johan As I remember when I did upgrade from FreBSD 6.4 to 7.0, I ran 'portupgrade -afi' after thar, BUT as I remember all my ports in fact works before they were upgraded. If I understand correctly, the reason of this was not making delete-old and delete-old-libs? So should following upgrade procedure be painless? 0. Backup! 1. cvsup 8.0-stable 2. make buildworld && make buildkernel 3. make installkernel 4. reboot and jump to single user mode 5. make installworld && mergemastger 6. take a deep breath & reboot 7. portupgrade -afi 8. make delete-old && make delete-old-libs 9. reboot 10. Hooray! My concern is - will my ports works after point 6. ? Quite important thing when machine can't be offline by hours during portupgrade -afi What do you want to hear? "Yes, all will be fine" ? There's never such guarantee. If it means that much to you, MAKE A GOOD BACKUP. And be prepared to restore it. And if the machine really can't be offline for some hours, you should have a fallback machine anyway which you could use to test it on. cheers, Ruben Oh well, I don't want to hear any guarantees :) . Simple 'It should be OK' or 'You will probably get into troubles with this procedure so use test machine first' would be great. Fortunately Johan Hendriks already gave me answer that explained everything: If the old libs are still there all ports will work after the reboot. So a reboot should do no harm. To test this, try it First on a spare box. this way you will see the problems, or issues if they arise. Also make sure your hardware is fully supported by FreeBSD 8, I always put in a livecd and try all my drive's and mirrors and so on. Also be aware that the libusb port is in the base system on 8. And i do not know if they work on a 8 system with the libusb port installed. But it sounds like a server so there should be little ports that needs libusb. Thank you Johan. -- Bartosz Stec ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Going to BSD 8 from RELENG_7
On Mon, Aug 17, 2009 at 09:18:11AM +0200, Bartosz Stec typed: > > > >And as usual MAKE A GOOD BACKUP > > > >Regards, > >Johan > > > As I remember when I did upgrade from FreBSD 6.4 to 7.0, I ran > 'portupgrade -afi' after thar, BUT as I remember all my ports in fact > works before they were upgraded. If I understand correctly, the reason > of this was not making delete-old and delete-old-libs? > > So should following upgrade procedure be painless? > > 0. Backup! > 1. cvsup 8.0-stable > 2. make buildworld && make buildkernel > 3. make installkernel > 4. reboot and jump to single user mode > 5. make installworld && mergemastger > 6. take a deep breath & reboot > 7. portupgrade -afi > 8. make delete-old && make delete-old-libs > 9. reboot > 10. Hooray! > > My concern is - will my ports works after point 6. ? Quite important > thing when machine can't be offline by hours during portupgrade -afi What do you want to hear? "Yes, all will be fine" ? There's never such guarantee. If it means that much to you, MAKE A GOOD BACKUP. And be prepared to restore it. And if the machine really can't be offline for some hours, you should have a fallback machine anyway which you could use to test it on. cheers, Ruben ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Going to BSD 8 from RELENG_7
Johan Hendriks pisze: Be aware that if you go from 7 to 8 you will need to rebuild all your installed ports. ALso if you do a buildworld from 7 to 8 do not do the make delete-old and the make delete-old-libs before you have rebuild your ports. If you do the make delete-old and make delete-old-libs runs, all ports depending on the FreeBSD 7 libs will not work any more. << read: most likely all your ports. If you have changed for example your Shell for root to a ports based shell like bash and you do the make delete-old-libs you can not log in anymore, because bash depends on the 7 libs wich are not there anymore. And as usual MAKE A GOOD BACKUP Regards, Johan As I remember when I did upgrade from FreBSD 6.4 to 7.0, I ran 'portupgrade -afi' after thar, BUT as I remember all my ports in fact works before they were upgraded. If I understand correctly, the reason of this was not making delete-old and delete-old-libs? So should following upgrade procedure be painless? 0. Backup! 1. cvsup 8.0-stable 2. make buildworld && make buildkernel 3. make installkernel 4. reboot and jump to single user mode 5. make installworld && mergemastger 6. take a deep breath & reboot 7. portupgrade -afi 8. make delete-old && make delete-old-libs 9. reboot 10. Hooray! My concern is - will my ports works after point 6. ? Quite important thing when machine can't be offline by hours during portupgrade -afi -- Bartosz Stec ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Going to BSD 8 from RELENG_7
Dan Allen wrote: > I cvsup and build RELENG_7 many times a week. This has served me well > (except for the ZFS boot problem I had that went in and was backed out) > for quite a while. > > I like to track a STABLE release. When BSD 7 went to 7.1 and to 7.2, it > all just happened automatically with the way I do things. > > Now I am interested on one of my BSD machines to try 8.0. I need to > change my cvsup target from RELENG_7 to CURRENT I believe. Is that > true? When will STABLE become 8.0? Minor terminology issue, "STABLE" is not the name of one version of FreeBSD, it is the label appended to the version number during the ongoing development of the branch after a release. So there are currently 6.4-STABLE and 7.2-STABLE branches, and after 8.0-RELEASE there will be an 8.0-STABLE. BTW, the -STABLE name refers to the API in that branch, as well as (hopefully) the fact that running it should be safe/stable. If you're interested in testing the new 8.0 version before it is released we would all be very glad to have you do that. :) The more testers we get before release the more certain we can be that there are no problems with it. I would like to make one suggestion though, if you could hold off until the 8.0-BETA3 is ready and test a clean install using the cd iso image that would be great! We never get enough people testing clean installations so this is something that is very valuable. Obviously however you test this you'd want to back up your data and any relevant configuration stuff first. Oh, and any feedback on your experiences can go to the freebsd-current mailing list until after the release. Good luck, Doug -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Going to BSD 8 from RELENG_7
> Date: Fri, 14 Aug 2009 10:17:55 +0200 > From: "Johan Hendriks" > Sender: owner-freebsd-sta...@freebsd.org > > >I cvsup and build RELENG_7 many times a week. This has served me well > > >(except for the ZFS boot problem I had that went in and was backed > >out) for quite a while. > > >I like to track a STABLE release. When BSD 7 went to 7.1 and to 7.2, > >it all just happened automatically with the way I do things. > > >Now I am interested on one of my BSD machines to try 8.0. I need to > >change my cvsup target from RELENG_7 to CURRENT I believe. Is that > >true? When will STABLE become 8.0? > > >Also, does anyone know if there is a project page that talks about > >8.0, its timeline, its features, etc? If you type "8.0" into the main > > >freebsd.org web page it find nothing on the entire web site. > >Obviously something is wrong... > > >Thanks! > > >Dan Allen > >Spring Lake, Utah > > Change your target to tag=RELENG_8 to track 8.0-Stable Or to > tag=RELENG_8_0 to get the release (When it is released) > If you want to track CURRENT change your target to tag=. < do not forget > the dot it is CURRENT ;-) > Tag=. Will become FreeBSD 9 when 8 is released. > > > To see some big changes go to the following page. > http://ivoras.sharanet.org/freebsd/freebsd8.html > > It give you one nice overview of things changed. > > > Be aware that if you go from 7 to 8 you will need to rebuild all your > installed ports. > ALso if you do a buildworld from 7 to 8 do not do the make delete-old > and the make delete-old-libs before you have rebuild your ports. > If you do the make delete-old and make delete-old-libs runs, all ports > depending on the FreeBSD 7 libs will not work any more. << read: most > likely all your ports. > If you have changed for example your Shell for root to a ports based > shell like bash and you do the make delete-old-libs you can not log in > anymore, because bash depends on the 7 libs wich are not there anymore. One other suggestion: if you have the libusb port installed, be sure to delete it BEFORE you try updating any ports. libusb is now in the base system and is incompatible with the ports version, so anything that is linked to it will fail with the new USB stack in 8.0. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: ober...@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
RE: Going to BSD 8 from RELENG_7
>I cvsup and build RELENG_7 many times a week. This has served me well >(except for the ZFS boot problem I had that went in and was backed >out) for quite a while. >I like to track a STABLE release. When BSD 7 went to 7.1 and to 7.2, >it all just happened automatically with the way I do things. >Now I am interested on one of my BSD machines to try 8.0. I need to >change my cvsup target from RELENG_7 to CURRENT I believe. Is that >true? When will STABLE become 8.0? >Also, does anyone know if there is a project page that talks about >8.0, its timeline, its features, etc? If you type "8.0" into the main >freebsd.org web page it find nothing on the entire web site. >Obviously something is wrong... >Thanks! >Dan Allen >Spring Lake, Utah Change your target to tag=RELENG_8 to track 8.0-Stable Or to tag=RELENG_8_0 to get the release (When it is released) If you want to track CURRENT change your target to tag=. < do not forget the dot it is CURRENT ;-) Tag=. Will become FreeBSD 9 when 8 is released. To see some big changes go to the following page. http://ivoras.sharanet.org/freebsd/freebsd8.html It give you one nice overview of things changed. Be aware that if you go from 7 to 8 you will need to rebuild all your installed ports. ALso if you do a buildworld from 7 to 8 do not do the make delete-old and the make delete-old-libs before you have rebuild your ports. If you do the make delete-old and make delete-old-libs runs, all ports depending on the FreeBSD 7 libs will not work any more. << read: most likely all your ports. If you have changed for example your Shell for root to a ports based shell like bash and you do the make delete-old-libs you can not log in anymore, because bash depends on the 7 libs wich are not there anymore. And as usual MAKE A GOOD BACKUP Regards, Johan ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.55/2301 - Release Date: 08/13/09 18:16:00 No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.55/2301 - Release Date: 08/13/09 18:16:00 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Going to BSD 8 from RELENG_7
Hi, Dan On Thu, Aug 13, 2009 at 9:12 PM, Dan Allen wrote: > I cvsup and build RELENG_7 many times a week. This has served me well > (except for the ZFS boot problem I had that went in and was backed out) for > quite a while. > > I like to track a STABLE release. When BSD 7 went to 7.1 and to 7.2, it all > just happened automatically with the way I do things. > By BSD, I hope you mean FreeBSD. I think BSD is still at version 4.4. :-) > Now I am interested on one of my BSD machines to try 8.0. I need to change > my cvsup target from RELENG_7 to CURRENT I believe. Is that true? When > will STABLE become 8.0? > 8.0 is still in -BETA2. 8.0-STABLE will be after -BETA3, and the release candidates. If you want 8.0-STABLE, you do not want CURRENT, you want RELENG_8. HTH. -- Glen Barber ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"