Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2012 10:48:54 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-drivers@freebsd.org
Subject:   Re: AACRAID 6805 support on FreeBSD 9
Message-ID:  <201205301048.54106.jhb@freebsd.org>
In-Reply-To: <20120522144716.24c94494.AVShutko@mail.khstu.ru>
References:  <20120522144716.24c94494.AVShutko@mail.khstu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, May 21, 2012 11:47:16 pm =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=
=BD=D0=B4=D1=80 =D0=92. =D0=A8=D1=83=D1=82=D0=BA=D0=BE wrote:
> Hi. I'm trying to get AACRAID 6805 support on FreeBSD 9. I downloaded the=
 driver code for =20
> FreeBSD 8.3 and compiled it on FreeBSD 9.0 and it compiled without any er=
rors/warnings. Then I=20
> kldload-ed it and got:
>=20
> aacu0: <Adaptec RAID Controller> mem 0xf8c00000-0xf8ffffff,0xf8bbc000-0xf=
8bbc7ff,0xf8bbe000-
> 0xf8bbe0ff irq 50
> at device 0.0 on pci132
> aacu0: Enable Raw I/O
> aacu0: Enable 64-bit array
> aacu0: New comm. interface type1 enabled
> aacu0: Adaptec 6805, aac driver 2.4.2-18668
> aacd0: <RAID 6> on aacu0
> aacd0: 2860022MB (5857325056 sectors)
>=20
> aacu0: COMMAND 0xffffff8001fe3000 TIMEOUT AFTER 40 SECONDS
> aacu0: aac_timeout: FIB @ 0xffffff86955fe020
> aacu0: XferState 830ad<HOSTOWNED,INITIALISED,EMPTY,FROMHOST,REXPECTED,NOR=
M,ASYNC,FAST_RESPONSE>
> aacu0: Command 502
> aacu0: StructType 1
> aacu0: Flags 0x0
> aacu0: Size 80
> aacu0: SenderSize 2048
> aacu0: SenderAddress 0x0
> aacu0: RcvrAddress 0x1962b020
> aacu0: SenderData 0x0
> aacu0: 00 00 00 00 00 00 00 00 00 02 00 00 00 00 01 00
> aacu0: 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
> The driver hangs forever printing
>=20
> aacu0: COMMAND 0xffffff8001fe3000 TIMEOUT AFTER xxxx SECONDS
>=20
> I compiled it with debug info to get verbose logging and found that all s=
ync commands work during=20
> initialization, but the driver didn't get a reply on the first async rawi=
o command. It looks like=20
> there is some problem with interrupts.
>=20
> On 8.3 this code works without a problem. I tried to disable PCIE MSI/X i=
n loader.conf=20
> but this didn't help.
>=20
> Adaptec support answered "Unfortunately, at the present time we do not of=
fer support for=20
> FreeBSD 9. Only 8.x is currently supported. Support for FreeBSD 9 is sche=
duled and will be=20
> available on a future release currently expected in the fall of this year=
 (Oct time frame)."
>=20
> Any ideas?
>=20
> P.S. On FreeBSD 8.3 I noticed kernel message "aacu0: [ITHREAD]" after=20
> "aacu0: New comm. interface type1 enabled" but FreeBSD 9 doesn't write it.

What do you see if you do 'vmstat -ai | grep aac'?

=2D-=20
John Baldwin



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