UPDATE: ATA mkIII official patches for releng_5

Jonathan Noack noackjr at alumni.rice.edu
Thu Apr 28 11:50:47 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/28/2005 12:05 PM, Damian Gerow wrote:
> Thus spake Jose M Rodriguez (josemi at 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 at alumni.rice.edu | OpenPGP: 0x991D8195
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCcTB9UFz01pkdgZURAhzxAKCUrw4pd3FbN+RNsEnZNsx/nShjlQCfUcF2
wQ1CdxV0knP3z256NXyFIQU=
=sGNH
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list