From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 18:50:47 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C95416A4CE for ; Thu, 28 Apr 2005 18:50:47 +0000 (GMT) Received: from smtp807.mail.sc5.yahoo.com (smtp807.mail.sc5.yahoo.com [66.163.168.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 28AC143D5A for ; Thu, 28 Apr 2005 18:50:47 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.205.64 with login) by smtp807.mail.sc5.yahoo.com with SMTP; 28 Apr 2005 18:50:46 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 8E2AD60F7; Thu, 28 Apr 2005 13:50:45 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 41920-01; Thu, 28 Apr 2005 13:50:42 -0500 (CDT) Received: from [127.0.0.1] (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id 6122060D4; Thu, 28 Apr 2005 13:50:42 -0500 (CDT) Message-ID: <42713082.2050606@alumni.rice.edu> Date: Thu, 28 Apr 2005 13:50:42 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Damian Gerow References: <20050418120423.GA697@afflictions.org> <200504281207.41387.josemi@redesjm.local> <20050428154112.GD69135@afflictions.org> <200504281830.21956.josemi@redesjm.local> <20050428170548.GA721@afflictions.org> In-Reply-To: <20050428170548.GA721@afflictions.org> X-Enigmail-Version: 0.91.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at noacks.org cc: freebsd-stable@freebsd.org cc: Jose M Rodriguez Subject: Re: UPDATE: ATA mkIII official patches for releng_5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 18:50:47 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/28/2005 12:05 PM, Damian Gerow wrote: > Thus spake Jose M Rodriguez (josemi@freebsd.jazztel.es) [28/04/05 12:32]: > : > I'm positive it's something about my build environment, but I don't > : > know /what/. > : > : For safety, and only about what I'm using (RELENG_5_4), you: > : - cvs/cvsup fresh sources > : - apply the patchset > : - untar the tarball > : > : And get what build error? > > # rm -rf /usr/src > # cvsup -g /etc/stable-supfile > /dev/null > # cd /usr/src > # patch -p0 < ~/ata-mk3n.diff-releng5 > > # tar -zxf ~/ata-mk3n-releng5.tar.gz > # make buildkernel KERNCONF=GENERIC > > -------------------------------------------------------------- > >>> Kernel build for GENERIC started on Thu Apr 28 13:04:42 EDT 2005 > -------------------------------------------------------------- > ===> GENERIC > mkdir -p /usr/obj/usr/src/sys > > > > ===> ata/atapci > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: if-less endif > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: Need an operator > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: if-less endif > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: Need an operator > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 313: Need an operator > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: if-less endif > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: Need an operator > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 313: Need an operator > "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 325: Need an operator > "Makefile", line 9: 1 open conditional: > "Makefile", line 9: at line 315 (evaluated to true) > make: fatal errors encountered -- cannot continue > *** Error code 1 > > Stop in /usr/src/sys/modules/ata. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > # > > And yes, if I do a 'make buildworld' beforehand, I get the same error. Does this error happen all the time or only with ATA mkIII? Check /etc/stable-supfile to make sure you're getting RELENG_5_4 (tag=RELENG_5_4 and no date=). Also, do any of the hunks fail when patching? An easy way to find out is by checking the patch before applying (this is a good habit anyway): $ cd /usr/src $ patch -C < ~/ata-mk3n.diff-releng5 2>&1 | grep Hunk If they all say succeeded then the patch should apply correctly. If this doesn't generate any leads, try "make -DALWAYS_CHECK_MAKE buildworld" before building the kernel. I'm not sure but this could be an out-of-date make. Hope that helps. - -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) iD8DBQFCcTB9UFz01pkdgZURAhzxAKCUrw4pd3FbN+RNsEnZNsx/nShjlQCfUcF2 wQ1CdxV0knP3z256NXyFIQU= =sGNH -----END PGP SIGNATURE-----