UPDATE2: ATA mkIII first official patches - please test!

ZsoltKúti kutizs at axelero.hu
Sun Feb 20 13:04:32 PST 2005


On Thu, 17 Feb 2005 10:32:51 +0100
Sřren Schmidt <sos at DeepCore.dk> wrote:

> Sřren Schmidt wrote:
[...]
> New version available for testing:
> 
> 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
> 
> 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=c99  -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=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 
-mno-align-long-strings -mpreferred-stack-boundary=2 -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]') 
... 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 
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


More information about the freebsd-stable mailing list