UPDATE: ATA mkIII official patches for releng_5
Damian Gerow
dgerow at afflictions.org
Wed Apr 20 08:43:12 PDT 2005
Thus spake tofik suleymanov (tofik at 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.
More information about the freebsd-stable
mailing list