DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th August 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default 7.0-STABLE -> 7.1-PRERELEASE Problems

Hi,

Today I decided to upgrade my FreeBSD 7.0-STABLE (about 2 months old) to FreeBSD 7.1-PRERELEASE.

The whole build/install process goes well, but I end up with a non-working C compiler, and it has now happened twice in a row (I had to borrow another BSD 7 system's C compiler for the second try).

The affected (non-functioning) files appear to be

/usr/bin/cc
/usr/libexec/cc1
/usr/libexec/cc1obj
/usr/libexec/cc1plus
/usr/bin/as
/usr/bin/ld


(replacing these with another system's binaries gives me a working C compiler anyway)

Has anyone else tried to compile and run FreeBSD 7.1-PRERELEASE (the standard 32-bits version from csup) today or _very_ recently and encountered problems like these? The error cc produces on execution is 'Abort Trap 6', by the way.

Note: I did clear /usr/obj between the first build and the second, but not a make clean in /usr/src. Trying that now for the third build.

Last edited by DutchDaemon; 27th August 2008 at 10:52 PM.
Reply With Quote
  #2   (View Single Post)  
Old 28th August 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

The third attempt was successful. I saw an updated src/Makefile creep in during a csup. It may have something to do with it. I also cleared out the CPUTYPE setting from /etc/make.conf, though I hardly think that was the problem, since it's been in there for over a hundred builds on dozens of machines, ever since the pentium4 target was added. Anyhoo, back in business. Thanks for reading
Reply With Quote
  #3   (View Single Post)  
Old 28th August 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Default

This bit me as well yesterday and now my email server is down

I hope to get it up soon, I used sysinstall to see if I could revert back to 7.0-RELEASE but I lost all access to the server after a reboot.

I hope that it didn't mess everything up to much.
Reply With Quote
  #4   (View Single Post)  
Old 28th August 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

When I rebooted for the first time (after the first make installworld) I lost (remote) access to the server as well; it pinged, but no ports were open. When I had physical access to the machine I saw it hung right after an ntpdate command (during the loading of daemons). A simple Ctl+C set the wheels in motion again. It didn't happen a second time, though. The interesting thing was that all other binary stuff (/bin, /usr/bin, /usr/sbin, etc.) worked. Only cc and its associated helpers were actually in disrepair.
Reply With Quote
  #5   (View Single Post)  
Old 28th August 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Default

All I have is remote access, I'm in London and the server is in Berlin.

I got my ISP on it so hopefully they can get me up and running soon.
Reply With Quote
  #6   (View Single Post)  
Old 28th August 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

When running -STABLE, always be sure to subscribe to the stable@freebsd.org mailing list. There was a big HEAD'S UP about this on the list yesterday. Everything should be working today, though.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7   (View Single Post)  
Old 28th August 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Oh, my head's up now, P.
Reply With Quote
  #8   (View Single Post)  
Old 28th August 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

Quote:
Originally Posted by hamba View Post
This bit me as well yesterday and now my email server is down
This is precisely why -STABLE is not recommended for production environments. It's fun to play around with new features at home, but when it counts, stick to -RELEASE.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
  #9   (View Single Post)  
Old 28th August 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Default

True but I've been running stable on my servers for as long as I can remember and this was the first time I had such a big failure. I finally am now able to get back into my system and I'm rebuilding everything.
Reply With Quote
Old 28th August 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Me too. Been running STABLE since 2.2.5, and maybe had three problems in 1000+ installs and updates (usually every 2/3 months for every install).
Reply With Quote
Old 28th August 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

Quote:
Originally Posted by hamba View Post
True but I've been running stable on my servers for as long as I can remember and this was the first time I had such a big failure.
Quote:
Originally Posted by DutchDaemon View Post
Me too. Been running STABLE since 2.2.5, and maybe had three problems in 1000+ installs and updates (usually every 2/3 months for every install).
Certainly I agree that in a vast majority if your experience, -STABLE will almost never nuke your system, and when it does, you can get it back online quickly. I always run it on my desktop, and occasionally even bump around in -CURRENT.

However, if you are using it in a work/production environment, where 99.95% uptime is generally expected (and that .05% is always announced days if not weeks in advance), those unexpected outages could mean some tense moments between you and your boss.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
Old 29th August 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Ah, but in situations where you need 99.95% uptime, you have a testing environment setup where every little update gets tested before it hits the production servers, so there's not much risk to running -STABLE in that setup.

Bottom line to running -STABLE (or -CURRENT): subscribe to the relevant mailing list, and always stay a couple days behind the major MFCs and other imports.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
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
-Release vs. -Stable guitarscn OpenBSD Installation and Upgrading 3 2nd October 2008 02:32 PM
aaccli - stable carpman FreeBSD Ports and Packages 0 9th July 2008 03:04 PM
Running -stable and using packages ai-danno OpenBSD Installation and Upgrading 4 4th June 2008 03:18 AM
OpenBSD -STABLE BSDfan666 OpenBSD General 6 21st May 2008 10:10 PM
-stable question jwhal OpenBSD General 9 15th May 2008 12:29 AM


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick