From owner-freebsd-stable@FreeBSD.ORG Wed Apr 20 07:53:44 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 81A8F16A4CF for ; Wed, 20 Apr 2005 07:53:44 +0000 (GMT) Received: from ns01.connect.az (ns02.connect.az [62.212.236.162]) by mx1.FreeBSD.org (Postfix) with SMTP id D999043D2F for ; Wed, 20 Apr 2005 07:53:42 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: (qmail 786 invoked from network); 20 Apr 2005 10:54:03 -0000 Received: from unknown (HELO ?192.168.0.10?) (192.168.0.10) by office.connect.az with SMTP; 20 Apr 2005 10:54:03 -0000 Message-ID: <42660A86.8060103@oxygen.az> Date: Wed, 20 Apr 2005 12:53:42 +0500 From: tofik suleymanov User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050401) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Damian Gerow References: <20050418120423.GA697@afflictions.org> In-Reply-To: <20050418120423.GA697@afflictions.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: stable@freebsd.org Subject: Re: UPDATE: ATA mkIII official patches for releng_5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 07:53:44 -0000 Damian Gerow wrote: >Thus spake Soren: >: I've just uploaded the latest ATA mkIII patches for releng_5 (and >: releng_5_4 for that matter). >: >: Since this work is now in -current there will only be releng_5 patches >: now and then if there is sufficient interest. > >Since the work was done for ATAPICAM, I decided to try the patches on a new >RELENG_5 build (cvsup'ed earlier this evening). I'm not quite sure what I'm >doing wrong, but the build's failing for me in strange ways. This is with n >applied to a freshly sup'ed tree. From what I can tell, the changes to >kmod.mk /shouldn't/ be causing problems, but... they are? > > -------------------------------------------------------------- > >>> Kernel build for machine started on Sun Apr 17 20:53:18 EDT 2005 > -------------------------------------------------------------- > ><...> > > ===> ata/ataisa > rm -f /usr/src/sys/modules/ata/ataisa/export_syms ataisa.ko ataisa.kld ata-isa.o @ machine symb.tmp tmp.o opt_ata.h ata_if.h isa_if.h bus_if.h device_if.h > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> 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/machine. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > 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