Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2008 18:13:51 +0200
From:      Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To:        freebsd-hackers@freebsd.org
Subject:   Adaptec RAID 3805 and FreeBSD 7.0
Message-ID:  <20080513161351.GA10097@marvin.blogreen.org>

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

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi!

I am trying to have an Adaptec RAID 3805 controller working on FreeBSD
7.0. According to the release note [1], it's okay.  Unfortunately, the
driver fails to detect everything as expected.  The following is
displayed at boot-time:

> aac0: <Adaptec RAID 3805> mem 0xff200000-0xff3fffff irq 16 at device 14.0=
 on pci3
> aac0: couldn't allocate register window 0
> device_attach: aac0 attach returned 6

The CD provided with the controller include kernel modules for FreeBSD 5
and 6, but not 7 (I however tried to kldload it (Yes, I am _very_
optimistic by nature) but link_elf fails with "symbol msleep
undefined").

The Adaptec website does not provide drivers for FreeBSD 7.0, but has a
much more recent version of the driver than the one on the CD, so I
fetched it, and tried to compile it (AACRAID 32- and 64-bit Driver Build
15727 for FreeBSD 6.1 and 6.2).  I fixed the source the "lazy way", that
is fixing that makes the compilation fail untill it pass.

The result was not much better:
> aacu0: <Adaptec RAID 3805> mem 0xff200000-0xff3fffff irq 16 at device 14.=
0 on pci3
> aacu0: couldn't allocate register window 0
> device_attach: aacu0 attach returned 12

So I took the aac(4) source code of FreeBSD 6.2-STABLE, 7.0-STABLE and
the version of Adaptec and tried to merge changes from 6.2 to 7.0 in the
Adaptec code... The result is however almost the same :-(

Has anybody tried / succeeded in using such a controller on FreeBSD
7.0-CURRENT?  Has somebody this controller working on FreeBSD 6.3 (I can
consider to downgrade to the legacy release if required since the
machine is not yet in production)?

Thank you!
Romain

References:
  1. http://www.freebsd.org/releases/7.0R/hardware.html#DISK

--=20
Romain Tarti=E8re <romain@blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated)

--ibTvN161/egqYuK8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkgpvj8ACgkQ2OmjP/9W/0OfewCdF93k/Zvo7en8Q4xlm0iNrhQg
H6kAn3nxKlvYmduX8zU77sDDHk7yt9so
=slzr
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--



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