From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 16:09:56 2005 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 42DE216A4CE for ; Thu, 28 Apr 2005 16:09:56 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB24043D45 for ; Thu, 28 Apr 2005 16:09:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 208EA5133E; Thu, 28 Apr 2005 09:09:55 -0700 (PDT) Date: Thu, 28 Apr 2005 09:09:55 -0700 From: Kris Kennaway To: freebsd-questions@freebsd.org Message-ID: <20050428160954.GB63525@xor.obsecurity.org> References: <63349.216.177.243.42.1114575288.localmail@webmail.dnswatch.com> <44is27m6bd.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline In-Reply-To: <44is27m6bd.fsf@be-well.ilk.org> User-Agent: Mutt/1.4.2.1i cc: null@dnswatch.com Subject: Re: can't build kernel [with CONFIG this time] 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: Thu, 28 Apr 2005 16:09:56 -0000 --l76fUT7nc3MelDdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 28, 2005 at 08:31:02AM -0400, Lowell Gilbert wrote: > "/dev/null" writes: >=20 > > Hello, > > Just got a new CPU today. Running 5.4-RC3 on GENERIC until the new CPU > > showed up. Installed the CPU drafted a new config for the kernel cd'd to > > /usr/src, typed "make buildkernel KERNCONF=3DDEMON01", build process we= nt as > > expected. But before the build process completed the machine froze for = no > > apparent reason at the sound driver part. Couldn't ssh into it from ano= ther > > box, so hit the reset button, chose 4 from the menu (single user mode). > > Performed a fsck -f. Rebooted and attempted to rebuild. But it barfed. > > So I performed an rm -fr /usr/src. > > Then /stand/sysinstall > install entire src tree and tried another > > "make buildkernel KERNCONF=3DDEMON01" in /usr/src. > > It barfed with the following: > > .... > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > =3D=3D=3D> rp > > rm -f /usr/src/sys/modules/rp/export_syms rp.ko rp.kld rp.o rp_pci.o @ > > machine s > > ymb.tmp tmp.o opt_compat.h pci_if.h bus_if.h device_if.h > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > =3D=3D=3D> rue > > ".depend", line 1: Need an operator > > ".depend", line 3: Need an operator > > ".depend", line 4: Need an operator > > ".depend", line 5: Need an operator > > ".depend", line 6: Need an operator > > ".depend", line 9: Need an operator > > ".depend", line 18: Need an operator > > ".depend", line 20: Need an operator > > ".depend", line 21: Need an operator > > ".depend", line 25: Need an operator > > ".depend", line 43: Need an operator > > make: fatal errors encountered -- cannot continue > > *** Error code 1 > >=20 > > Stop in /usr/src/sys/modules. > > *** Error code 1 > >=20 > > Stop in /usr/obj/usr/src/sys/DEMON01. > > *** Error code 1 > >=20 > > Stop in /usr/src. > > *** Error code 1 > >=20 > > Stop in /usr/src. > >=20 > > /usr/src >=20 > Sounds like maybe something involved with make(1) itself got > corrupted. Rare, but it happens. Reinstalling the base system > would probably help (just do a "binary upgrade" -- you don't need > to reinstall the whole system). No, probably he just neds to 'make cleandir' in /usr/src/sys/modules, or remove /usr/obj, to clean up from his failed previous build. Kris --l76fUT7nc3MelDdI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCcQrSWry0BWjoQKURAhODAKDxZCDTOuq7KXyPtl46YnFypbkPrwCgvsQG 2wKu2H6Fy+zfd//WOVHv+xE= =ySXa -----END PGP SIGNATURE----- --l76fUT7nc3MelDdI--