Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 11:42:58 -0400
From:      Damian Gerow <dgerow@afflictions.org>
To:        tofik suleymanov <tofik@oxygen.az>
Cc:        stable@freebsd.org
Subject:   Re: UPDATE: ATA mkIII official patches for releng_5
Message-ID:  <20050420154258.GI720@afflictions.org>
In-Reply-To: <42660A86.8060103@oxygen.az>
References:  <20050418120423.GA697@afflictions.org> <42660A86.8060103@oxygen.az>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake tofik suleymanov (tofik@oxygen.az) [20/04/05 03:55]:
: This patch worked fine on RELENG_5 for amd64.Here are the  steps we 
: did(as long as i remmember them):
: 
: (assuming RELENG_5 is already up and running):
: tar -zxf ata-mk3n-releng5.tar.gz
: cp -R sys/modules/ata /usr/src/sys/modules/
: cp -Rf  sys/dev/ata  /usr/src/sys/dev/
: #  applying the patch
: cd /usr/src/
: gzip -d ata-mk3n.diff-releng5.gz
: patch < /usr/src/ata-mk3n.diff-releng5
: # build and install kernel part
: make buildkernel KERNCONF=PIZDA
: make installkernel KERNCONF=PIZDA

That's about what I did:

    # rm -rf /usr/src
    # cvsup /etc/stable-supfile
    <snip>
    # cd /usr/src
    # cp ~/machine sys/amd64/conf
    # tar -zxf ~/ata-mk3n-releng5.tar.gz
    # patch < ~/ata-mk3n.diff-releng5
    # make buildkernel KERNCONF=GENERIC
    <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.
    #

I don't really see what I'm doing wrong.  My make.conf isn't insane, either:

    KERNCONF?=machine

    CFLAGS= -O -pipe
    COPTFLAGS= -O -pipe

    INSTALL=install -C
    
    PPP_NOSUID=true
    NO_I4B=true
    NO_LPR=true
    NO_SENDMAIL=true

    CUPS_OVERWRITE_BASE=yes
    NO_SUID_XSERVER=yes
    X_WINDOW_SYSTEM=xorg

    WITH_LIBMAP=yes

And the perl stuff.



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