Re: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
[ Greg Larkin wrote on Thu 11.Oct'12 at 20:49:19 -0400 ] Hi Stuart, If you click the link in this mailing list article (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), then follow the rest of the threaded messages, you should be able fix the problem once you upgrade to 7.4. The issue is that freebsd-update cannot update the ld-elf.so.1 binary on a running system, so after the upgrade to 7.4 (or higher), the system is not completely updated. This message (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) has a fix, but it involves booting from a liveCD and replacing the binary manually. Would it be easier to do an update by building from source? I've never used freebsd-update myself so not had to troubleshoot these issues before. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
On 10/12/2012 10:53 AM, Jamie Paul Griffin wrote: [ Greg Larkin wrote on Thu 11.Oct'12 at 20:49:19 -0400 ] Hi Stuart, If you click the link in this mailing list article (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), then follow the rest of the threaded messages, you should be able fix the problem once you upgrade to 7.4. The issue is that freebsd-update cannot update the ld-elf.so.1 binary on a running system, so after the upgrade to 7.4 (or higher), the system is not completely updated. This message (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) has a fix, but it involves booting from a liveCD and replacing the binary manually. Would it be easier to do an update by building from source? I've never used freebsd-update myself so not had to troubleshoot these issues before. That's probably the best way. Bit I am wondering about this. I upgraded several systems (physical and virtual machines) with freebsd-update from 7.1 - 7.3 - 8.1 - 8.3 and also one system from 7.1 - 7.4 (with custom kernels) and did not encounter this. Did I just get lucky then? This e-mail message, including any attachment(s), is intended solely for the addressee or addressees. Any views or opinions presented herein are solely those of the author and do not necessarily represent those of OSE. If you are not the intended recipient of this communication please return this e-mail message and the attachment(s) to the sender and delete and destroy all copies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
[ Bas Smeelen wrote on Fri 12.Oct'12 at 11:02:47 +0200 ] On 10/12/2012 10:53 AM, Jamie Paul Griffin wrote: [ Greg Larkin wrote on Thu 11.Oct'12 at 20:49:19 -0400 ] Hi Stuart, If you click the link in this mailing list article (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), then follow the rest of the threaded messages, you should be able fix the problem once you upgrade to 7.4. The issue is that freebsd-update cannot update the ld-elf.so.1 binary on a running system, so after the upgrade to 7.4 (or higher), the system is not completely updated. This message (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) has a fix, but it involves booting from a liveCD and replacing the binary manually. Would it be easier to do an update by building from source? I've never used freebsd-update myself so not had to troubleshoot these issues before. That's probably the best way. Bit I am wondering about this. I upgraded several systems (physical and virtual machines) with freebsd-update from 7.1 - 7.3 - 8.1 - 8.3 and also one system from 7.1 - 7.4 (with custom kernels) and did not encounter this. Did I just get lucky then? I couldn't comment on the freebsd-update(8) procedure as I've never used it. But I'd personally upgrade the system by building from source. You can then easily integrate your custom kernel and I would *imagine* you'd avoid the issues you've encountered so far. Make sure you read /usr/src/UPDATING thoroughly, and also check your customer kernel options. Some changes have been made to more recent versions of FreeBSD, such as the ata(4) driver. I believe in the past certain elements could be (and still can be) added in a modular fasion, explicitly setting each element. Now, you only need to have: device scbus, device ata and options ATA_CAM. Already present in the GENERIC kernel config now. See man 4 ata for details. I hope i've got that right, hopefully others will correct my comments if necessary but in any case, reading the appropriate files will provide all the information needed. For example: /usr/src/sys/conf/NOTES and /usr/src/sys/{i386,amd64}/NOTES have more information about kernel options that might be helpful and of interest to you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
Hi Greg, Thanks for the tips. I'll be able to retry the upgrade this weekend. - Stu On 10/11/2012 5:49 PM, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/11/12 2:43 PM, Stuart Matthews wrote: Hi everyone, I am including as much information in here as I think will be useful. Since I can do snapshots on VMWare, I am happy to try any solution or diagnostics. Steps I took to upgrade FreeBSD: Using freebsd-update, I upgraded from 7.2-RELEASE to 7.2-RELEASE-p8 Then, to upgrade to 9.0-RELEASE, I ran the following commands, using http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html as my guide: freebsd-update -r 9.0-RELEASE upgrade freebsd-update install reboot freebsd-update install portupgrade -f ruby rm /var/db/pkg/pkgdb.db portupgrade -f ruby18-bdb rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db portupgrade -af freebsd-update install reboot I noticed that lots of things weren't working, and specifically that I was getting lots of complaints about /libexec/ld-elf.so.1. I also noticed that when I ran freebsd-update IDS, it seemed to report that every single file had the wrong signature. So, this being a VMWare guest, I reluctantly reverted to a previous snapshot, putting me back at 7.2-RELEASE-p8. I decided to try this time to go from 7.2-RELEASE-p8 to 7.4-RELEASE to 8.0-RELEASE to 8.3-RELEASE. I only got to 7.4-RELEASE before I had the same issues as above. As a specific example of errors I would get, I try to run sudo and I get: [stuart@richelieu ~]$ sudo bash /libexec/ld-elf.so.1: sudo: invalid PT_PHDR This seems to be the most relevant thread to the problem I'm having: http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html However, I'd be more comfortable using an official upgrade path, like freebsd-update, exclusively. That thread involves replacing a file from a FreeBSD liveCD. Also, with freebsd-update IDS reporting so many files with incorrect signatures, I feel like my problem is bigger than fixing one file. Right now I am back on 7.2-RELEASE-p8 eager to get my OS upgraded to something that is under current support by the security team. Optimally I'd like to be on 8.3 after looking at the EOL dates. Also, I did see one other post _somewhere_ mentioning a similar proble also on a VMWare guest. So I am suspicious that the problem might be related to VMWare. Thanks, everyone. - Stuart Matthews Hi Stuart, If you click the link in this mailing list article (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), then follow the rest of the threaded messages, you should be able fix the problem once you upgrade to 7.4. The issue is that freebsd-update cannot update the ld-elf.so.1 binary on a running system, so after the upgrade to 7.4 (or higher), the system is not completely updated. This message (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) has a fix, but it involves booting from a liveCD and replacing the binary manually. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB3aQ8ACgkQ0sRouByUApAj2QCgjZZKHLHa04PM3qhtKfwuzJpq D0MAn3uolwsr/ukwGSxLXK42410IfMt8 =JiOa -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
Hi everyone, I am including as much information in here as I think will be useful. Since I can do snapshots on VMWare, I am happy to try any solution or diagnostics. Steps I took to upgrade FreeBSD: Using freebsd-update, I upgraded from 7.2-RELEASE to 7.2-RELEASE-p8 Then, to upgrade to 9.0-RELEASE, I ran the following commands, using http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html as my guide: freebsd-update -r 9.0-RELEASE upgrade freebsd-update install reboot freebsd-update install portupgrade -f ruby rm /var/db/pkg/pkgdb.db portupgrade -f ruby18-bdb rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db portupgrade -af freebsd-update install reboot I noticed that lots of things weren't working, and specifically that I was getting lots of complaints about /libexec/ld-elf.so.1. I also noticed that when I ran freebsd-update IDS, it seemed to report that every single file had the wrong signature. So, this being a VMWare guest, I reluctantly reverted to a previous snapshot, putting me back at 7.2-RELEASE-p8. I decided to try this time to go from 7.2-RELEASE-p8 to 7.4-RELEASE to 8.0-RELEASE to 8.3-RELEASE. I only got to 7.4-RELEASE before I had the same issues as above. As a specific example of errors I would get, I try to run sudo and I get: [stuart@richelieu ~]$ sudo bash /libexec/ld-elf.so.1: sudo: invalid PT_PHDR This seems to be the most relevant thread to the problem I'm having: http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html However, I'd be more comfortable using an official upgrade path, like freebsd-update, exclusively. That thread involves replacing a file from a FreeBSD liveCD. Also, with freebsd-update IDS reporting so many files with incorrect signatures, I feel like my problem is bigger than fixing one file. Right now I am back on 7.2-RELEASE-p8 eager to get my OS upgraded to something that is under current support by the security team. Optimally I'd like to be on 8.3 after looking at the EOL dates. Also, I did see one other post _somewhere_ mentioning a similar problem, also on a VMWare guest. So I am suspicious that the problem might be related to VMWare. Thanks, everyone. - Stuart Matthews ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/11/12 2:43 PM, Stuart Matthews wrote: Hi everyone, I am including as much information in here as I think will be useful. Since I can do snapshots on VMWare, I am happy to try any solution or diagnostics. Steps I took to upgrade FreeBSD: Using freebsd-update, I upgraded from 7.2-RELEASE to 7.2-RELEASE-p8 Then, to upgrade to 9.0-RELEASE, I ran the following commands, using http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html as my guide: freebsd-update -r 9.0-RELEASE upgrade freebsd-update install reboot freebsd-update install portupgrade -f ruby rm /var/db/pkg/pkgdb.db portupgrade -f ruby18-bdb rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db portupgrade -af freebsd-update install reboot I noticed that lots of things weren't working, and specifically that I was getting lots of complaints about /libexec/ld-elf.so.1. I also noticed that when I ran freebsd-update IDS, it seemed to report that every single file had the wrong signature. So, this being a VMWare guest, I reluctantly reverted to a previous snapshot, putting me back at 7.2-RELEASE-p8. I decided to try this time to go from 7.2-RELEASE-p8 to 7.4-RELEASE to 8.0-RELEASE to 8.3-RELEASE. I only got to 7.4-RELEASE before I had the same issues as above. As a specific example of errors I would get, I try to run sudo and I get: [stuart@richelieu ~]$ sudo bash /libexec/ld-elf.so.1: sudo: invalid PT_PHDR This seems to be the most relevant thread to the problem I'm having: http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html However, I'd be more comfortable using an official upgrade path, like freebsd-update, exclusively. That thread involves replacing a file from a FreeBSD liveCD. Also, with freebsd-update IDS reporting so many files with incorrect signatures, I feel like my problem is bigger than fixing one file. Right now I am back on 7.2-RELEASE-p8 eager to get my OS upgraded to something that is under current support by the security team. Optimally I'd like to be on 8.3 after looking at the EOL dates. Also, I did see one other post _somewhere_ mentioning a similar proble also on a VMWare guest. So I am suspicious that the problem might be related to VMWare. Thanks, everyone. - Stuart Matthews Hi Stuart, If you click the link in this mailing list article (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html), then follow the rest of the threaded messages, you should be able fix the problem once you upgrade to 7.4. The issue is that freebsd-update cannot update the ld-elf.so.1 binary on a running system, so after the upgrade to 7.4 (or higher), the system is not completely updated. This message (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html) has a fix, but it involves booting from a liveCD and replacing the binary manually. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB3aQ8ACgkQ0sRouByUApAj2QCgjZZKHLHa04PM3qhtKfwuzJpq D0MAn3uolwsr/ukwGSxLXK42410IfMt8 =JiOa -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org