Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2005 22:06:17 +0100
From:      Zsolt =?ISO-8859-2?Q?K=FAti?= <kutizs@axelero.hu>
To:        freebsd-stable@freebsd.org
Subject:   Re: UPDATE2: ATA mkIII first official patches - please test!
Message-ID:  <20050220220617.5d0a1627.kutizs@axelero.hu>
In-Reply-To: <421464C3.2030308@DeepCore.dk>
References:  <42028F29.1030801@DeepCore.dk> <420A1792.900@DeepCore.dk> <421464C3.2030308@DeepCore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Feb 2005 10:32:51 +0100
S=F8ren Schmidt <sos@DeepCore.dk> wrote:

> S=F8ren Schmidt wrote:
[...]
> New version available for testing:
>=20
> http://people.freebsd.org/~sos/ata-mk3l.diff-releng5.gz
> http://people.freebsd.org/~sos/ata-mk3l.diff-current.gz
> http://people.freebsd.org/~sos/ata-mk3l.tar.gz
>=20
> This time the diff must be reapplied as there are new changes in
> there.

Hello,

I tried this on a freshly downloaded RELENG_5_3 src tree and got the
following:
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=3Dc99  -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
-D_KERNEL -include opt_global.h -fno-common -finline-limit=3D8000 --param
inline-unit-growth=3D100 --param large-function-growth=3D1000=20
-mno-align-long-strings -mpreferred-stack-boundary=3D2 -ffreestanding
-Werror  /usr/src/sys/dev/ata/ata-card.c
/usr/src/sys/dev/ata/ata-card.c:56: error:
`PCMCIA_PRODUCT_IODATA3_CBIDE2' undeclared here (not in a function)
/usr/src/sys/dev/ata/ata-card.c:56: error: initializer element is not
constant /usr/src/sys/dev/ata/ata-card.c:56: error: (near initialization
for `ata_pccard_products[2].pp_product')
/usr/src/sys/dev/ata/ata-card.c:56: error: `PCMCIA_CIS_IODATA3_CBIDE2'
undeclared here (not in a function) /usr/src/sys/dev/ata/ata-card.c:56:
error: initializer element is not constant
/usr/src/sys/dev/ata/ata-card.c:56: error: (near initialization for
`ata_pccard_products[2].pp_cis') /usr/src/sys/dev/ata/ata-card.c:56:
error: initializer element is not constant
/usr/src/sys/dev/ata/ata-card.c:56: error: (near initialization for
`ata_pccard_products[2]')=20
... and a lot more err.

Since I am not too skilled doing things like this my apologies was this
a false alarm.

I did this on a 5.3beta7 system that I am forced to use due to=20
interrupt problems with my SiI 3112 SATA150 controller and Samsung
drive, I earlier reported. (B7 exhibits "TIMEOUT - WRITE_DMA retrying"
but the system, despite frequent being stalled for seconds, still
usable.) So after downloading RELENG_5_3 source tree in the /usr/src I
untarred ata-mk3l.tar.gz and also here applied patch
<ata-mk3l.diff-releng5.gz (both file being the latest, the latter a
plain text file despite its name). Patching went OK. After buildworld
done, buildkernel failed as above.

Could you help me how to overcome this?
Thank you!

Zsolt



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