From romain@blogreen.org  Wed May 14 10:03:13 2008
Return-Path: <romain@blogreen.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CAC451065672
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 May 2008 10:03:13 +0000 (UTC)
	(envelope-from romain@blogreen.org)
Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29])
	by mx1.freebsd.org (Postfix) with ESMTP id 8E78D8FC27
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 May 2008 10:03:13 +0000 (UTC)
	(envelope-from romain@blogreen.org)
Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1])
	by smtp3-g19.free.fr (Postfix) with ESMTP id 15FF017B59A;
	Wed, 14 May 2008 12:03:12 +0200 (CEST)
Received: from marvin.blogreen.org (marvin.blogreen.org [82.247.213.140])
	by smtp3-g19.free.fr (Postfix) with ESMTP id EC54017B57E;
	Wed, 14 May 2008 12:03:11 +0200 (CEST)
Received: by marvin.blogreen.org (Postfix, from userid 1001)
	id A304E5C070; Wed, 14 May 2008 12:03:11 +0200 (CEST)
Message-Id: <20080514100311.A304E5C070@marvin.blogreen.org>
Date: Wed, 14 May 2008 12:03:11 +0200 (CEST)
From: Romain Tartiere <romain@blogreen.org>
Reply-To: Romain Tartiere <romain@blogreen.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Andrey V. Elsukov <bu7cher@yandex.ru>, Ed Maste <emaste@FreeBSD.org>, scottl@freebsd.org, Romain Tartiere <romain@blogreen.org>
Subject: aac(4) will not work with Adaptec SAS RAID 3805 controller
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         123666
>Category:       kern
>Synopsis:       [aac] attach fails with Adaptec SAS RAID 3805 controller and MSI RC410-M2 rev. 1.0 motherboard
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-scsi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 14 10:10:01 UTC 2008
>Closed-Date:    Fri Aug 27 12:03:46 UTC 2010
>Last-Modified:  Fri Aug 27 12:03:46 UTC 2010
>Originator:     Romain Tartiere
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System:
  - FreeBSD 7.0-STABLE i386
  - FreeBSD 8.0-CURRENT i386 (April snapshot)

>Description:

The aac(4) driver will detect an Adaptec SAS RAID 3805 controller but
fail configuring it for use. Boot messages will show the following:
> aac0: <Adaptec RAID 3805> mem 0xff200000-0xff3fffff irq 16 at device 14.0 on pci3
> aac0: couldn't allocate register window
> device_attach: aac0 attach returned 6

The controller is however listed as a supported one by the aac(4) man
page:
> % man aac | grep 3805
>      o	 Adaptec SAS RAID 3805

Compiling the kernel with "options AAC_DEBUG=3" only adds additional...
> aac_pci_probe:
... but nothing more relevant.

I can perform tests and provide feedback to help fixing this issue.

>How-To-Repeat:
Plug a controller and boot :-)

>Fix:

No fix is known at the time of sending this PR.

Unsuccessful attempt to fix the problem for which diff are available on
demand include:
  - Patch the Adaptec driver provided on the CD-ROM for FreeBSD 5/6 so
    that is builds on FreeBSD 7;
  - Patch the last version of the Adaptec driver provided on the Adaptec
    website to merge changes of the FreeBSD aac(4) driver from FreeBSD 6
    to 7.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Wed May 14 11:33:35 UTC 2008 
Responsible-Changed-Why:  

Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123666 

From: Alexander Titaev <tit@ispserver.com>
To: bug-followup@FreeBSD.org, romain@blogreen.org
Cc:  
Subject: Re: kern/123666: [aac] aac(4) will not work with Adaptec SAS RAID 3805 controller
Date: Wed, 28 May 2008 11:52:54 +0900

 Hi
 
   it find type volume (single drive) only
   
 msk-srv# dmesg | grep ^aac
 aac0: <Adaptec RAID 3805> mem 0xd8400000-0xd85fffff irq 18 at device 14.0 on pci11
 aac0: Enabling 64-bit address support
 aac0: New comm. interface enabled
 aac0: [ITHREAD]
 aac0: Adaptec 3805, aac driver 2.0.0-1
 aacp0: <SCSI Passthrough Bus> on aac0
 aacp1: <SCSI Passthrough Bus> on aac0
 aacp2: <SCSI Passthrough Bus> on aac0
 aacd0: <Volume> on aac0
 aacd0: 953690MB (1953157120 sectors)
 msk-srv# uname -mr
 7.0-RELEASE-p1 amd64
 
 -- 
 regards,
  Alexander                          mailto:tit@ispserver.com
 

From: Alexander Titaev <tit@ispserver.com>
To: bug-followup@FreeBSD.org, romain@blogreen.org
Cc:  
Subject: Re: kern/123666: [aac] aac(4) will not work with Adaptec SAS RAID 3805 controller
Date: Thu, 29 May 2008 14:28:58 +0900

 =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, bug-followup.
 
 but in 7.0-STABLE all worked fine
 
 msk-srv# uname -mr
 7.0-STABLE amd64
 msk-srv# dmesg | grep ^aa
 aac0: <Adaptec RAID 3805> mem 0xd8400000-0xd85fffff irq 18 at device 14.0 o=
 n pci11
 aac0: Enabling 64-bit address support
 aac0: Enable Raw I/O
 aac0: Enable 64-bit array
 aac0: New comm. interface enabled
 aac0: [ITHREAD]
 aac0: Adaptec 3805, aac driver 2.0.0-1
 aacp0: <SCSI Passthrough Bus> on aac0
 aacp1: <SCSI Passthrough Bus> on aac0
 aacp2: <SCSI Passthrough Bus> on aac0
 aacd0: <Volume> on aac0
 aacd0: 953690MB (1953157120 sectors)
 aacd1: <RAID 5> on aac0
 aacd1: 5722190MB (11719045120 sectors)
 
 --=20
 =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC,
  Alexander                          mailto:tit@ispserver.com
 

From: Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To: Alexander Titaev <tit@ispserver.com>
Cc: bug-followup@FreeBSD.org, romain@blogreen.org
Subject: Re: kern/123666: [aac] aac(4) will not work with Adaptec SAS RAID 3805 controller
Date: Thu, 5 Jun 2008 17:58:33 +0200

 --Q68bSM7Ycu6FN28Q
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Sorry for late answer.
 
 After more tests, the problem is specific to the motherboard we are
 using: MSI RC410-M2 rev. 1.0 with the controller plugged in the PCI
 Express port originaly used with the video card.  Since it is the only
 port the controller can be plugged-in, we cannot try on another port.
 
 The controller works on 7.0-STABLE / 8.0-CURRENT on my home machine with
 a different motherboard.
 
 Any leads / tests / hacks / ideas are welcome!
 
 Kind regards,
 Romain
 
 --=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)
 
 --Q68bSM7Ycu6FN28Q
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEARECAAYFAkhIDSgACgkQ2OmjP/9W/0M34wCcC3fh2wtQFoKpyK9jlzSTecmU
 CUsAn1pTTEYAc47Jxxfkopx7+grR4kLl
 =jj9k
 -----END PGP SIGNATURE-----
 
 --Q68bSM7Ycu6FN28Q--

From: Ed Maste <emaste@freebsd.org>
To: Alexander Titaev <tit@ispserver.com>, bug-followup@FreeBSD.org
Cc: freebsd-scsi@FreeBSD.org
Subject: Re: kern/123666: [aac] aac(4) will not work with Adaptec SAS RAID 3805 controller
Date: Fri, 6 Jun 2008 17:15:51 -0400

 >  but in 7.0-STABLE all worked fine
 >  
 >  msk-srv# uname -mr
 >  7.0-STABLE amd64
 >  msk-srv# dmesg | grep ^aa
 >  aac0: <Adaptec RAID 3805> mem 0xd8400000-0xd85fffff irq 18 at device 14.0 o=
 >  n pci11
 >  aac0: Enabling 64-bit address support
 >  aac0: Enable Raw I/O
 >  aac0: Enable 64-bit array
 >  aac0: New comm. interface enabled
 >  aac0: [ITHREAD]
 >  aac0: Adaptec 3805, aac driver 2.0.0-1
 >  aacp0: <SCSI Passthrough Bus> on aac0
 >  aacp1: <SCSI Passthrough Bus> on aac0
 >  aacp2: <SCSI Passthrough Bus> on aac0
 >  aacd0: <Volume> on aac0
 >  aacd0: 953690MB (1953157120 sectors)
 >  aacd1: <RAID 5> on aac0
 >  aacd1: 5722190MB (11719045120 sectors)
 
 It looks like this followup was to the wrong PR;  kern/123666 is about
 a failure of the driver to attach.  Your issue is that your RAID-5 array
 is larger than 2TB and the driver in 7.0-RELEASE is missing support for
 that; it is fixed in RELENG_7 and will be in 7.1.
 
 -Ed

From: Vladimir Ermakov <samflanker@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: re: kern/123666: [aac] attach fails with Adaptec SAS RAID 3805 controller
 and MSI RC410-M2 rev. 1.0 motherboard
Date: Mon, 24 Aug 2009 15:27:23 +0400

 Romain Tartiere, try call to adaptec support, this very specific problem.
 
State-Changed-From-To: open->feedback 
State-Changed-By: emaste 
State-Changed-When: Thu Oct 29 13:51:13 UTC 2009 
State-Changed-Why:  
A followup suggested contacting Adaptec support and I agree that this is 
the best course of action since this appears to be a hardware 
incompatibility with a specific motherboard. 

Please let us know if Adaptec's able to provide any assistance. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=123666 

From: Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/123666: [aac] attach fails with Adaptec SAS RAID 3805
 controller and MSI RC410-M2 rev. 1.0 motherboard
Date: Thu, 26 Aug 2010 13:42:03 +0200

 --C7zPtVaVf+AK4Oqc
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hi
 
 The system I had this issue broke recently and I could retry to install
 FreeBSD on the same motherboard/raid controller. I don't know if the
 driver was updated or if it was a problem with the firmware, but the
 problem has vanished and I can use the RAID array with FreeBSD
 8.1-RELEASE.
 
 The PR can be closed.
 
 Thanks
 
 --=20
 Romain Tarti=E8re <romain@blogreen.org>        http://romain.blogreen.org/
 pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
 (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated)
 
 --C7zPtVaVf+AK4Oqc
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.16 (FreeBSD)
 
 iQGcBAEBAgAGBQJMdlMHAAoJELpNHZVREjNvpA4L/j8ccTwi2snHopnAk0r3UBnA
 8HxUxvI8O9l/yzBJhjRAcWzqMcBuqoKCZNLLs9N4UZ2gxC9SzfZ/rtmQuQQ0owq7
 APfivxCQTRLDfbEXWM1GfrIGo2uK2HsSO79BNFCE2msVQerFCaaLqnpDtLzWgzwq
 4iH3+MBbH0lyOZwo83SKRdqx4ZmB4Z13xkeTWtKL9zCotdKHQA13IuRpcXIsi0MU
 3eZRYJcmqZKM/t2ukiARi4mHBrxvE2rCETg3tuy5BmAma7yNqe7Jsjv7T/zFTniQ
 dEfI1oPQ+K78lpie2Ohe6XocDY6EnG2MvnFjPIdCvUqR+wh6O5uM3uBzxuzS96LU
 E6yYtDuo9SHDAVUnxSYN9YZATQ1matclyEIzjwciRhH9a7DGPi5N5uS7gbkienil
 MraiEIZFnG8fVRCBsmRSBQ9CM6UJuW42c77HQeE787quH9+2sMVx/v7QaEOKaAxR
 8xjIsCA8BbHKLfqp6icOghydPlXxhh9UlOGUcJD6TQ==
 =/e8r
 -----END PGP SIGNATURE-----
 
 --C7zPtVaVf+AK4Oqc--
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Fri Aug 27 12:03:45 UTC 2010 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123666 
>Unformatted:
