From nobody@FreeBSD.org  Fri May 11 10:20:29 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 0615416A402
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 May 2007 10:20:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id EEB1413C448
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 May 2007 10:20:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4BAKSrp052941
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 May 2007 10:20:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l4BAFReR052227;
	Fri, 11 May 2007 10:15:27 GMT
	(envelope-from nobody)
Message-Id: <200705111015.l4BAFReR052227@www.freebsd.org>
Date: Fri, 11 May 2007 10:15:27 GMT
From: Dmitriy Simakov<suxx2@at.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: aac driver causes kernel panic - page fault on 2xXeon 5050 with Multi-core features enabled (SMP kernel)
X-Send-Pr-Version: www-3.0

>Number:         112596
>Category:       i386
>Synopsis:       [aac] aac driver causes kernel panic - page fault on 2xXeon 5050 with Multi-core features enabled (SMP kernel)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    emaste
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 11 10:30:03 GMT 2007
>Closed-Date:    Thu Jan 15 15:05:21 UTC 2009
>Last-Modified:  Thu Jan 15 15:05:21 UTC 2009
>Originator:     Dmitriy Simakov
>Release:        FreeBSD 6.2-RELEASE
>Organization:
>Environment:
FreeBSD root.anews.ru 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #1: Tue May  1 13:37:01 MSD 2007     basilio@anews.ru:/usr/obj/usr/src/sys/SMP  i386

>Description:
Hardware:
Intel SR2500 server platform (S5000PAL chipset)
2x Dual-Core Xeon 5050 3.0Ghz
Adaptec SAS/SATA RAID 4805SAS

With Multi-Core enabled (by default), FreeBSD SMP kernel causes a panic - page fault right after detecting aac0 controller. GENERIC kernel works ok
>How-To-Repeat:
Enable Multi-Core capabilities in BIOS, install FreeBSD 6.2 (default options, SMP kernel) on aac-based raid5, try to boot system. I've got instant panic after aac0 initialisation.
>Fix:
1. Disable Multi-Core in BIOS. This also disables HyperThreading.
2. My coleague had similar problem with another Adaptec controller, also aac-based. Panic was not immediate, but regular. He swithced to amd64 kernel, and problem disappeared. 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: emaste 
State-Changed-When: Tue Aug 12 16:59:56 UTC 2008 
State-Changed-Why:  
Submitter has been asked for feedback. 


Responsible-Changed-From-To: freebsd-i386->emaste 
Responsible-Changed-By: emaste 
Responsible-Changed-When: Tue Aug 12 16:59:56 UTC 2008 
Responsible-Changed-Why:  
Grab. 

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

From: Ed Maste <emaste@freebsd.org>
To: bug-followup@FreeBSD.org, suxx2@at.ru
Cc:  
Subject: Re: i386/112596: [aac] aac driver causes kernel panic - page fault on 2xXeon 5050 with Multi-core features enabled (SMP kernel)
Date: Tue, 12 Aug 2008 12:59:43 -0400

 Hello Dmitriy.
 
 Can you obtain a backtrace for this crash as described in the
 Developer's Handbook[1], or try out either FreeBSD 6-STABLE or 7-STABLE
 and see if the problem still happens for you.  I've merged in a number
 of fixes from Adaptec's upstream aac driver, including some locking
 fixes.
 
 [1] http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html
 
 -Ed

From: Ed Maste <emaste@freebsd.org>
To: suxx2@at.ru
Cc: bug-followup@FreeBSD.org
Subject: Re: i386/112596: [aac] aac driver causes kernel panic - page fault on 2xXeon 5050 with Multi-core features enabled (SMP kernel)
Date: Mon, 12 Jan 2009 17:01:57 -0500

 Hello Dmitriy.
 
 I haven't heard anything on this issue -- please let me know if you're
 able to reproduce this panic on a more recent FreeBSD version, or if
 you can obtain a backtrace.
 
 -Ed
State-Changed-From-To: feedback->closed 
State-Changed-By: emaste 
State-Changed-When: Thu Jan 15 15:02:57 UTC 2009 
State-Changed-Why:  
Submitter reports that he no longer has access to that server to test 
newer kernels. 

He also reports that a friend saw the same behaviour on 6.2-RELEASE, 
but that his problems disappeared after upgrading to 6-STABLE at some 
point.   We'll assume that the merges from Adaptec's vendor driver 
fixed the bug. 

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