UPDATE: ATA mkIII official patches for releng_5
tofik suleymanov
tofik at oxygen.az
Wed Apr 20 00:53:44 PDT 2005
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
More information about the freebsd-stable
mailing list