LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index -> Operating Systems » OS - Unix
Author Message
soup4you2
Tail-Wagger
Tail-Wagger


Joined: 15 Mar 2002
Posts: 2453
Location: Desolate wastelands of Virginia

Post Posted: Thu Jan 01, 2004 4:53 pm   Post subject: Important FreeBSD upgrade notes... Reply with quote Back to top  

Just a heads up I know a lot of people out there dont read the UPDATING file when upgrading releases, (shame on you). I should let you experience things the hard way but i thought i would point something important out for those of you preparing to update their systems to 5.2 upon it's release.


--QUOTE--
The statfs structure has been updated with 64-bit fields to allow accurate reporting of multi-terabyte filesystem sizes. You should build world, then build and boot the new kernel BEFORE doing a `installworld' as the new kernel will know about binaries using the old statfs structure, but an old kernel will not know about the new system calls that support the new statfs structure. Note that the backwards compatibility is only present when the kernel is configured with the COMPAT_FREEBSD4 option. Since even /bin/sh will not run with a new kernel without said option you're pretty much dead in the water without it. Make sure you have COMPAT_FREEBSD4! Running an old kernel after a `make world' will cause programs such as `df' that do a statfs system call to fail with a bad system call. Marco Wertejuk also reports that cfsd (ports/security/cfs) needs to be recompiled after these changes are installed.

****************************DANGER*******************************

DO NOT make installworld after the buildworld w/o building and installing a new kernel FIRST. You will be unable to build a new kernel otherwise on a system with new binaries and an old kernel.

However recovery is possible.. i've helped a few people out in recovering from this.


Pretty much the only way i found recovery to work is to boot into single user mode run mount -a and use the sysinstaller to upgrade with the 5.1 cd in your cdrom. you might even be able to use the upgrade from the cd it's self.. but that is the only method of recovering from this disaster.

_________________
tomorrow will be canceled due to lack of interest
View user's profile Send private message Send e-mail
EdisonRex
Lead Dog
Lead Dog


Joined: 06 May 2002
Posts: 10154
Location: Not Moscow

Post Posted: Thu Jan 01, 2004 5:31 pm   Post subject: Reply with quote Back to top  

upgrades are never easy.

_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
View user's profile Send private message AIM Address Yahoo Messenger
soup4you2
Tail-Wagger
Tail-Wagger


Joined: 15 Mar 2002
Posts: 2453
Location: Desolate wastelands of Virginia

Post Posted: Thu Jan 01, 2004 5:53 pm   Post subject: Reply with quote Back to top  

i've never had problems.. normally it's a pain when jumping branches like upgrading from 4x to 5x but i've never run into odd things when going from say 5.0 to 5.1 .. which is why a lot of people are borking their systems right now when upgrading to -CURRENT

_________________
tomorrow will be canceled due to lack of interest
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!