Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2005 13:50:42 -0500
From:      Jonathan Noack <noackjr@alumni.rice.edu>
To:        Damian Gerow <dgerow@afflictions.org>
Cc:        Jose M Rodriguez <josemi@freebsd.jazztel.es>
Subject:   Re: UPDATE: ATA mkIII official patches for releng_5
Message-ID:  <42713082.2050606@alumni.rice.edu>
In-Reply-To: <20050428170548.GA721@afflictions.org>
References:  <20050418120423.GA697@afflictions.org> <200504281207.41387.josemi@redesjm.local> <20050428154112.GD69135@afflictions.org> <200504281830.21956.josemi@redesjm.local> <20050428170548.GA721@afflictions.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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
>     <snip>
>     # 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
> 
>     <snip>
> 
>     ===> 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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42713082.2050606>