Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2008 09:39:10 +0200
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@freebsd.org>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        Andrey Chernov <ache@nagual.pp.ru>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-current@freebsd.org
Subject:   Re: par. ata not seen if sata is present
Message-ID:  <09A876B4-6932-42DD-A068-81698F7597D7@freebsd.org>
In-Reply-To: <483A677E.2080302@gmail.com>
References:  <483A4CBC.3070702@gmail.com> <483A5ECE.8050407@yandex.ru> <483A653D.1070607@gmail.com> <20080526072628.GA99389@nagual.pp.ru> <483A677E.2080302@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Hi!

The param->model problem is a side effect of ATA not supporting this =20
chip.

The marvell chips apparently need special support to work properly, so =20=

I need to have the HW here for "hands on" development (marvell doesn't =20=

hand out docs).

Same routine as for the last decade, get me the HW and I'll work out =20
how to support it if at all possible.

-S=F8ren




On 26May, 2008, at 9:32 , Aryeh M. Friedman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrey Chernov wrote:
> | On Mon, May 26, 2008 at 03:22:37AM -0400, Aryeh M. Friedman wrote:
> |> atapci0@pci0:3:0:0:    class=3D0x01018f card=3D0x612111ab =20
> chip=3D0x612111ab
> |> rev=3D0xb1 hdr=3D0x00
> |
> | See also "atadev->param.model problem or bug with Marvell 88SE6811 =20=

> chip"
> | thread in current@
> |
> I tried the patch in that thread:
>
> - --------------------------------------------------------------
> |>> stage 3.2: building everything
> - --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/MONSTER; MAKEOBJDIRPREFIX=3D/usr/obj  =20
> MACHINE_ARCH=3Damd64  MACHINE=3Damd64  CPUTYPE=3Dnocona  =
GROFF_BIN_PATH=3D/=20
> usr/obj/usr/src/tmp/legacy/usr/bin  GROFF_FONT_PATH=3D/usr/obj/usr/src/=20=

> tmp/legacy/usr/share/groff_font  GROFF_TMAC_PATH=3D/usr/obj/usr/src/=20=

> tmp/legacy/usr/share/tmac  _SHLIBDIRPREFIX=3D/usr/obj/usr/src/tmp  =20
> VERSION=3D"FreeBSD 8.0-CURRENT amd64 800037"  INSTALL=3D"sh /usr/src/=20=

> tools/install.sh"  PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/=20=

> obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/=20
> games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/=20
> usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=3D1 =
=20
> make KERNEL=3Dkernel all -DNO_MODULES_OBJ
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -=20
> march=3Dnocona -std=3Dc99  -Wall -Wredundant-decls -Wnested-externs -=20=

> Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -=20
> Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  =20=

> -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -=20
> DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -=20
> finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-=20=

> function-growth=3D1000  -mcmodel=3Dkernel -mno-red-zone  -mfpmath=3D387 =
-=20
> mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float -fno-=20
> asynchronous-unwind-tables -ffreestanding -Werror  /usr/src/sys/dev/=20=

> ata/ata-all.c;
> /usr/src/sys/dev/ata/ata-all.c: In function 'ata_getparam':
> /usr/src/sys/dev/ata/ata-all.c:610: error: 'struct ata_device' has =20
> no member named 'config'
> /usr/src/sys/dev/ata/ata-all.c:611: error: 'struct ata_device' has =20
> no member named 'reserved2'
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkg6Z30ACgkQk8GFzCrQm4AuOwCgysw4y6/gQh3cIEYr53VcYqlZ
> CAcAoI2NO5kpZn9PMIwUTeI+oClZZ3H1
> =3Dr1BV
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to =
"freebsd-current-unsubscribe@freebsd.org=20
> "
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09A876B4-6932-42DD-A068-81698F7597D7>