Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2012 14:47:16 +1100
From:      "=?KOI8-R?Q?=E1=CC=C5=CB=D3=C1=CE=C4=D2_=F7._=FB=D5=D4=CB=CF?=" <AVShutko@mail.khstu.ru>
To:        freebsd-drivers@freebsd.org
Subject:   AACRAID 6805 support on FreeBSD 9
Message-ID:  <20120522144716.24c94494.AVShutko@mail.khstu.ru>

next in thread | raw e-mail | index | archive | help
Hi. I'm trying to get AACRAID 6805 support on FreeBSD 9. I downloaded the driver code for  
FreeBSD 8.3 and compiled it on FreeBSD 9.0 and it compiled without any errors/warnings. Then I 
kldload-ed it and got:

aacu0: <Adaptec RAID Controller> mem 0xf8c00000-0xf8ffffff,0xf8bbc000-0xf8bbc7ff,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)

aacu0: COMMAND 0xffffff8001fe3000 TIMEOUT AFTER 40 SECONDS
aacu0: aac_timeout: FIB @ 0xffffff86955fe020
aacu0: XferState 830ad<HOSTOWNED,INITIALISED,EMPTY,FROMHOST,REXPECTED,NORM,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

aacu0: COMMAND 0xffffff8001fe3000 TIMEOUT AFTER xxxx SECONDS

I compiled it with debug info to get verbose logging and found that all sync commands work during 
initialization, but the driver didn't get a reply on the first async rawio command. It looks like 
there is some problem with interrupts.

On 8.3 this code works without a problem. I tried to disable PCIE MSI/X in loader.conf 
but this didn't help.

Adaptec support answered "Unfortunately, at the present time we do not offer support for 
FreeBSD 9. Only 8.x is currently supported. Support for FreeBSD 9 is scheduled and will be 
available on a future release currently expected in the fall of this year (Oct time frame)."

Any ideas?

P.S. On FreeBSD 8.3 I noticed kernel message "aacu0: [ITHREAD]" after 
"aacu0: New comm. interface type1 enabled" but FreeBSD 9 doesn't write it.

-- 
Alexandr V. Shutko <AVShutko@mail.khstu.ru>



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