From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 16:03:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 844F537B401 for ; Fri, 4 Apr 2003 16:03:10 -0800 (PST) Received: from smtp.acd.net (smtp.acd.net [207.179.64.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id C64A043FA3 for ; Fri, 4 Apr 2003 16:03:09 -0800 (PST) (envelope-from taxman@ACD.NET) Received: from modem6583.acdtech.com ([207.179.65.83]) by smtp.acd.net with Microsoft SMTPSVC(5.0.2195.5329); Fri, 4 Apr 2003 19:04:08 -0500 From: taxman To: Brent Bailey , Date: Fri, 4 Apr 2003 19:06:45 -0500 User-Agent: KMail/1.5 References: <1205.66.63.99.171.1049484495.squirrel@bmyster.com> In-Reply-To: <1205.66.63.99.171.1049484495.squirrel@bmyster.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304041906.45343.taxman@acd.net> X-OriginalArrivalTime: 05 Apr 2003 00:04:08.0968 (UTC) FILETIME=[E1654080:01C2FB06] Subject: Re: Kernel out of sync was: make buildworld help please ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 00:03:12 -0000 On Friday 04 April 2003 02:28 pm, Brent Bailey wrote: > Hello, Im running a FBSD 4.5 machine DUEL CPU 450 w/ 512 MB ram . Anywho > ...i tried to CVSUP to the latest stable release , seems the CVSUP went then a good idea is to use the -stable mailing list. Try 4.8 release. RELENG_4_8 > well ...ANYWHO my problem after all was said and done was that i cant do a > "ps -ax" or "w" or "top" > this is the procedure i did with no good results: > > make a backup of etc > cp -Rp /etc /etc.old good > in a prebuild world environment > # /usr/sbin/mergemaster -p -v > > # cd /usr/obj > # chflags -R noschg * > # rm -rf * > > Compile the sources: > > # cd /usr/src > # make buildworld <-- this failed the first time something to do with > sendmail ..so i removed freebsd.mc * from the > /usr/local/etc/cvsup/sup/refuse file so it would ignore sendmail > then did a "cleandir" and then redid CVSUP and then redid > make buildworld > > > Compile and install the new kernel: > > # cd /usr/src > # make buildkernel KERNCONF=LOQTIS-SMP-1 <-- this failed to saying it > couldnt make LOQTIS-SMP-1 although it said it made the GENERIC kern. go > figure > At this point i didnt know what to do ...so i just continued > i rebooted into single user mode and ran: > > #make installworld <-- no errors this is your problem. if you installworld before compiling and installing a kernel successfully, then you are running a 4.5 kernel with a 4-stable world. This is bad and leads to the problems you've reported with ps. I don't know why the kernel build failed, but it could be due to what you have in your refuse file. Try blanking that. You should not refuse anything that you do not understand the full effects of. Make sure to read /usr/src/UPDATING carefully. There are pitfalls in upgrading accross 4.6 if you're not careful. Tim > #/usr/sbin/mergemaster -v <-- from what i understand if you select "d" > it deletes the temporary file, if you select "i" it installes the new > version of the file. what i did was any file that I knew to be modified > by me i did a "d" to keep my original file and the rest that i knew wasnt > modified by me ...i chose "i" to install the new version. > then I did > # cd /usr/src/release/sysinstall > # make clean > # make all install > > when i rebooted i ran into the problem of not being able to do a > "ps -ax" or a "w" ... i know this means that the make buildworld didnt > work or at least a part of it didnt work right. > Please ..any help or suggestions would be greatly appreciated ..as a note > i did this same procedure on another non-production FBSD 4.5 box with no > issues. also ..i have tape backup of the whole system so if all else fails > i can go back ..but id rather not concidering the recent expoits found in > certain ports im running.Figures huh... > > Thank you > Brent > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"