From nobody@FreeBSD.org  Wed Feb  5 15:35:28 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id B37F955D
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Feb 2014 15:35:28 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 9D1DF164C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Feb 2014 15:35:28 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s15FZRxX025240
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 5 Feb 2014 15:35:27 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s15FZRe0025232;
	Wed, 5 Feb 2014 15:35:27 GMT
	(envelope-from nobody)
Message-Id: <201402051535.s15FZRe0025232@oldred.freebsd.org>
Date: Wed, 5 Feb 2014 15:35:27 GMT
From: Marios <kaczorem@iem.pw.edu.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Disks are not shown on Adaptec 5805 (added via passthrough to the VM)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         186485
>Category:       kern
>Synopsis:       [aac] Disks are not shown on Adaptec 5805 (added via passthrough to the VM)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 05 15:40:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Mon Feb 10 04:28:24 UTC 2014
>Originator:     Marios
>Release:        9.2.1 Beta
>Organization:
PW
>Environment:
>Description:
I created a virtual machine with installed FreeBSD on ESXi 5.5. I added controller Adaptec 5805 to the VM via passthrough. FreeBSD detects aac controller but does not show disks. (it does not matter whether JBODs or logical volumes are configured on Adaptec)

I did some tests and ex. it works well on Ubuntu - I can use all disks on controller which was added via passhrough to the virtual machine with Ubuntu.

Everything works well under "physical" FreeBSD.

>How-To-Repeat:
Adding Adaptec controller via passthrough to the virtual machine.
>Fix:
Not known.

>Release-Note:
>Audit-Trail:

From: kaczorem <kaczorem@iem.pw.edu.pl>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: amd64/186485: Disks are not shown on Adaptec 5805 (added via
 passthrough to the VM)
Date: Wed, 05 Feb 2014 20:54:46 +0100

 Just I would like to add some additional information:
 
 logs:
 
 
 aac0: <Adaptec RAID 5805> mem 0xfd200000-0xfd3fffff irq 18 at device 0.0 
 on pci3
 aac0: Enabling 64-bit address support
 aac0: Enable Raw I/O
 aac0: Enable 64-bit array
 aac0: New comm. interface enabled
 aac0: Adaptec 5805, aac driver 2.1.9-1
 aacp0 on aac0
 aacp1 on aac0
 aacp2 on aac0
 (probe2:aacp2:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 
 00
 (probe2:aacp2:0:0:0): CAM status: CCB request completed with an error
 (probe2:aacp2:0:0:0): Retrying command
 (probe2:aacp2:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 
 00
 (probe2:aacp2:0:0:0): CAM status: CCB request completed with an error
 (probe2:aacp2:0:0:0): Retrying command
 (probe2:aacp2:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 
 00
 (probe2:aacp2:0:0:0): CAM status: CCB request completed with an error
 (probe2:aacp2:0:0:0): Retrying command
 (probe2:aacp2:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 
 00
 (probe2:aacp2:0:0:0): CAM status: CCB request completed with an error
 (probe2:aacp2:0:0:0): Retrying command
 (probe2:aacp2:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 
 00
 (probe2:aacp2:0:0:0): CAM status: CCB request completed with an error
 (probe2:aacp2:0:0:0): Retrying command
 (probe2:aacp2:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 
 00
 (probe2:aacp2:0:0:0): CAM status: CCB request completed with an error
 (probe2:aacp2:0:0:0): Error 5, Retries exhausted
 ses0 at aacp2 bus 0 scbus4 target 0 lun 0
 ses0: <AIC SES_BP-4D-1F 130a> Fixed Enclosure Services SCSI-5 device
 ses0: 3.300MB/s transfers (8bit)
 ses0: SCSI-3 ENC Device
 
 
 I did tests also on: 9.2 Stable, 10 and 11. The same problem.
 
 The Adaptec controller 5805 has the latest firmware.
Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Feb 10 04:27:40 UTC 2014 
Responsible-Changed-Why:  
reclassify. 

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