1919d Upgraded from 7.1 to 8.3 and the system won't boot now - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old August 3rd, 2012, 21:09
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default Upgraded from 7.1 to 8.3 and the system won't boot now

I upgraded a 7.1 system to 8.3 using the following procedure:

Code:
1. Change RELENG_7_1 to RELENG_8 in /usr/share/examples/cvsup/standard-supfile 
2. csup -g -L 2 -h cvsup5.us.freebsd.org /usr/share/examples/cvsup/standard-supfile
3. cd /usr/src
4. make buildworld
5. make buildkernel KERNCONF="GENERIC"
6. make installkernel KERNCONF="GENERIC"
7. make installworld
8. shutdown -r now
Now the system won't boot. It gives me the following message right after it mounts the file systems and tries to execute things:

Code:
/libexec/ld-elf.so.1: /lib/libc.so.7: Unsupported version 61089 of Elf_Verdef entry
I had it backed up and I'm currently restoring the backup so I can try upgrading again but I'm wondering what I did wrong.

Thanks!

J.
Reply With Quote
  #2  
Old August 3rd, 2012, 21:13
kpa kpa is offline
Senior Member
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 1,982
Thanks: 44
Thanked 460 Times in 390 Posts
Default

Post your /etc/make.conf and /etc/src.conf. It may be safer to upgrade first to 7.4 and then to 8.3. 8.3 is actually RELENG_8_3 but I don't think it makes much difference compared to RELENG_8
Reply With Quote
  #3  
Old August 6th, 2012, 15:11
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

/etc/make.conf
Code:
# 
added by use.perl 2012-07-31 11:40:38
PERL_VERSION=5.8.9
/etc/src.conf doesn't exist.

Thanks!

J.

Last edited by SirDice; August 6th, 2012 at 15:15. Reason: Format (all) path/file/device/program/variable/function names: http://forums.freebsd.org/showthread.php?t=8816#file
Reply With Quote
  #4  
Old August 6th, 2012, 19:10
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

I successfully upgraded it to 7.4. Now I'm trying to go from 7.4 to 8.3.
Reply With Quote
  #5  
Old August 6th, 2012, 20:57
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

Upgrading from 7.4 to 8.3 didn't work. I'm getting the same error at boot time. Perhaps I should mention that this is a VM running in Hyper-V.
Reply With Quote
  #6  
Old August 6th, 2012, 21:42
gkontos's Avatar
gkontos gkontos is offline
Senior Member
 
Join Date: Dec 2009
Location: Polidendri, GR
Posts: 1,264
Thanks: 42
Thanked 218 Times in 164 Posts
Default

Quote:
Originally Posted by ph0enix View Post
Perhaps I should mention that this is a VM running in Hyper-V.
http://blogs.technet.com/b/openness/...r-hyper-v.aspx
__________________
Powered by BareBSD
Reply With Quote
  #7  
Old August 6th, 2012, 22:14
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by gkontos View Post
Thanks! I'm aware of that project and waiting for the hyper-v drivers. In the meantime, I should be able to get 8.x running in hyper-v without the integration services - 7.1 and 7.4 worked fine that way. I booted the 8.3 livefs CD without issues so it does work.
Reply With Quote
  #8  
Old August 6th, 2012, 22:22
kpa kpa is offline
Senior Member
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 1,982
Thanks: 44
Thanked 460 Times in 390 Posts
Default

Is your kernel configuration file GENERIC really the standard GENERIC that comes with the 8.3 sources? If you have a custom kernel configuration it's a bad idea to call it GENERIC.
Reply With Quote
  #9  
Old August 7th, 2012, 13:47
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

It's really GENERIC. I wanted to get a working system before making changes to the kernel config and recompiling it.
Reply With Quote
  #10  
Old August 7th, 2012, 14:01
kpa kpa is offline
Senior Member
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 1,982
Thanks: 44
Thanked 460 Times in 390 Posts
Default

Try if updating to 8.2 first works, otherwise I'm out of ideas. You could ask on freebsd-stable mailing list as well.
Reply With Quote
  #11  
Old August 14th, 2012, 14:56
disi disi is offline
Junior Member
 
Join Date: Mar 2011
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default

There is some port that needs rebuilding, I had the same going from RELENG_9 to RELENG_8:
1. After upgrade, boot the new system and Ctrl+C your way through the start process until you reach a logon prompt (which will not start most of the services)
2. follow the guide here to rebuild all ports:
portmaster man page, the information is at the very bottom of the page under Using portmaster to do a complete reinstallation of all your ports:
3. reboot
Reply With Quote
The Following User Says Thank You to disi For This Useful Post:
wblock@ (August 15th, 2012)
  #12  
Old August 17th, 2012, 15:00
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by disi View Post
There is some port that needs rebuilding, I had the same going from RELENG_9 to RELENG_8:
1. After upgrade, boot the new system and Ctrl+C your way through the start process until you reach a logon prompt (which will not start most of the services)
2. follow the guide here to rebuild all ports:
portmaster man page, the information is at the very bottom of the page under Using portmaster to do a complete reinstallation of all your ports:
3. reboot
I'm not sure what you mean by Ctrl+C your way through the start process. I'm getting the following message when the system boots:

Code:
Enter full pathname of shell or RETURN for /bin/sh:
I can't get far enough in order to be able to recompile the ports. Please advise.

Thanks!
Reply With Quote
  #13  
Old August 17th, 2012, 15:08
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

I was able to use /rescue/sh. I'm getting a shell now but any command I try to use after that gives:

Code:
/libexec/ld-elf.so.1: /lib/libc.so.7: Unsupported version 59477 of Elf_Verdef entry
If you notice the version # has changed. That's because I tried upgrading the system to 8.2. I ran pkgdb -Ff and recompiled all the ports before the upgrade to make sure everything is consistent. I need to be able to upgrade the system to at least 8.2.
Reply With Quote
  #14  
Old August 20th, 2012, 14:40
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

I read somewhere that I should install the 7.x compat libraries but when I try on the 7.4 system, I'm told that it needs to be at least 8.0. According to mergemaster -p, nothing needs to be merged. How should I proceed? Am I SOL?
Reply With Quote
  #15  
Old August 20th, 2012, 16:32
disi disi is offline
Junior Member
 
Join Date: Mar 2011
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by ph0enix View Post
I was able to use /rescue/sh. I'm getting a shell now but any command I try to use after that gives:

Code:
/libexec/ld-elf.so.1: /lib/libc.so.7: Unsupported version 59477 of Elf_Verdef entry
If you notice the version # has changed. That's because I tried upgrading the system to 8.2. I ran pkgdb -Ff and recompiled all the ports before the upgrade to make sure everything is consistent. I need to be able to upgrade the system to at least 8.2.
Can you execute '/bin/csh' (default root shell), does '/bin/cd' work? What I meant with Ctrl+C is, that if the boot hangs with this error, press Ctrl+C once and then it should try the next script in the runlevel.
Alternatively you can wait 'maybe a long time' for it to give up itself and drop to a shell.
Reply With Quote
  #16  
Old August 20th, 2012, 21:04
ph0enix ph0enix is offline
Member
 
Join Date: Mar 2009
Posts: 232
Thanks: 117
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by disi View Post
Can you execute '/bin/csh' (default root shell), does '/bin/cd' work? What I meant with Ctrl+C is, that if the boot hangs with this error, press Ctrl+C once and then it should try the next script in the runlevel.
Alternatively you can wait 'maybe a long time' for it to give up itself and drop to a shell.
I had to restore the 7.4 system from a backup to get it working again and I can give the upgrade another go at some point but I'm wondering if what you're saying would work since the rescue shell is unable to execute any command or shell due to the libc.so.7 (Standard C library?) not working correctly (error above).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
System boot error after System upgrade hp21 Installing & Upgrading 0 November 19th, 2010 12:00
mfsBSD upgraded to stable with stable-8-v15.patch - BOOT FAILURE - PLEASE HELP!!! EMax Installing & Upgrading 5 August 27th, 2010 06:58
Upgraded to FreeBSD 8.0-BETA4 - sshd no longer binds on boot Cataztrohpy Installing & Upgrading 2 September 17th, 2009 17:33
how to boot system? hirohitosan System Hardware 13 April 18th, 2009 10:07
Cannot boot the system srikanth10 General 1 February 20th, 2009 23:59


All times are GMT +1. The time now is 00:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0