From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 14:17:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F35E316A418 for ; Sun, 6 Jan 2008 14:17:26 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr7.networksolutionsemail.com (omr7.networksolutionsemail.com [205.178.146.57]) by mx1.freebsd.org (Postfix) with ESMTP id BDE4413C448 for ; Sun, 6 Jan 2008 14:17:26 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from mail.networksolutionsemail.com (ns-omr7.mgt.hosting.dc2.netsol.com [10.49.6.70]) by omr7.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id m06EHQtw018556 for ; Sun, 6 Jan 2008 09:17:26 -0500 Received: (qmail 20018 invoked by uid 78); 6 Jan 2008 14:17:25 -0000 Received: from unknown (HELO makeworld.com) (71.113.149.77) by ns-omr7.lb.hosting.dc2.netsol.com with SMTP; 6 Jan 2008 14:17:25 -0000 Date: Sun, 6 Jan 2008 08:17:24 -0600 From: Chris To: Boris Samorodov Message-ID: <20080106081724.761e48d5@makeworld.com> In-Reply-To: <86555282@bb.ipt.ru> References: <77508.48743.qm@web57001.mail.re3.yahoo.com> <86555282@bb.ipt.ru> Organization: Makeworld.com X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.3; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Unga , freebsd-questions@freebsd.org Subject: Re: 7.0-PRERELEASE installworld fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2008 14:17:27 -0000 On Sun, 06 Jan 2008 16:44:45 +0300 Boris Samorodov wrote: > On Sun, 6 Jan 2008 03:38:16 -0800 (PST) Unga wrote: > > > --- Boris Samorodov wrote: > > > > > > This may be an overkill but should do the job: > > > > > # rm -r /usr/src /usr/obj > > > > > > > > > > # cd /usr/src > > > > > # make buildworld > > > > > # make kernel > > > > > # mergemaster -p > > > > > # make installworld > > > > > # mergemaster -i > > > > > > I did above but its still the same story, installworld > > fails: > > -------------------------------------------------------------- > > >>> Installing everything > > -------------------------------------------------------------- > > cd /usr/src; make -f Makefile.inc1 install > > ===> share/info (install) > > ===> lib (install) > > ===> lib/csu/i386-elf (install) > > cc -O2 -fno-strict-aliasing -pipe > > -I/usr/src/lib/csu/i386-elf/../common -I/usr > > /src/lib/csu/i386-elf/../../libc/include > > -Wsystem-headers -Wall -Wno-format-y2k > > -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arit > > h -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > > -Wshadow -Wcast-align -Wunu > > sed-parameter -Wchar-subscripts -Winline > > -Wnested-externs -Wredundant-decls -Wno > > -pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c > > /usr/src/lib/csu/i386-elf/crt1.c:33:20: error: > > stdlib.h: No such file or directory > > > > The only difference what I did compared to your steps: > > Please, do just what I suggested and see if it helps. > > > 1. After download sources, rebooted to single-user > > Single-user mode is not necessary here. > > > mode, adjkerntz -i (as my CMOS is set to local time), > > fsck -p, mount -u /, mount -a, swapon -a, > > This is not needed at all (but seems to be harmless). > > > /usr/local/bin/bash and follow your steps until make > > Ah, don't use bash here (upgrade/build OS). Use standard shells. > > > kernel (in fact, instead make kernel what I did was: > > kernel-toolchain, buildkernel and installkernel) > > > 2. After installkernel, I rebooted to single-user mode > > with the new kernel, adjkerntz -i, fsck -p, mount -u > > /, mount -a, swapon -a, > > Those steps are needed at long jumps and should be harmless > here. > > > /usr/local/bin/bash and follow > > Don't use bash here. > > > your steps until make installworld. > > > Before execute every step, I checked system time with > > date, they were all local time. > > There is no need to check it. Just don't touch time while OS > building/installing. > > > Have I deviated too much than you specified? > > Yep. > > > or is it > > essentially the same? > > No. > > > Am I supposed to reboot with the > > new kernel after make kernel? > > Seems to be "yes" only for very long jumps. Actually I never had to > do it myself. > > > What else I could do to identify the cause? > > ;-) Please, do just what I suggested. > > > WBR Dropping into single user mode is pointless if the device he's upgrading does not serv more then one user (himself only). Additionally - mergemasted can be skipped if the Op does not have custom tweaks to files in /etc. However, the above statement is untrue if upgrading from versions, IE: 6 -> 7 -- Best regards, Chris "Does it worry you that you don't talk any kind of sense? "