Hi,
I've installed a FreeBSD (stable 9.2) as a guest on ESXi 5.5. I've added
Adaptec Controller via passthrough. Unfortunately FreeBSD does not show hard
drives. Any clue?
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
arcconf on FreeBSD works well and I can get the controller configuration:
 # arcconf getconfig 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec 5805
   Controller Serial Number                 : 8B1310329FF
   Temperature                              : 80 C/ 176 F (Normal)
   Installed memory                         : 512 MB
   Copyback                                 : Disabled
   Background consistency check             : Disabled
   Automatic Failover                       : Enabled
   Global task priority                     : High
   Performance Mode                         : Default/Dynamic
   Stayawake period                         : Disabled
   Spinup limit internal drives             : 0
   Spinup limit external drives             : 0
   Defunct disk drive count                 : 0
   Logical devices/Failed/Degraded          : 0/0/0
   SSDs assigned to MaxCache pool           : 0
   Maximum SSDs allowed in MaxCache pool    : 8
   MaxCache Read Cache Pool Size            : 0.000 GB
   MaxCache flush and fetch rate            : 0
   MaxCache Read, Write Balance Factor      : 3,1
   NCQ status                               : Enabled
   Statistics data collection mode          : Enabled
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (18948)
   Firmware                                 : 5.2-0 (18948)
   Driver                                   : 2.1-9 (1)
Also I can see all hard drives (configured as JBOD):
Device #0
         Device is a Hard drive
         State                              : Online (JBOD)
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,0(0:0)
         Reported Location                  : Enclosure 0, Slot 0
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : 
         Model                              : SAMSUNG HD103UJ
         Firmware                           : 1AA01106
         Serial number                      : S13PJ1KPB04262
         Size                               : 953869 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off,Reduced
rpm
         SSD                                : No
         MaxCache Capable                   : No
         MaxCache Assigned                  : No
         NCQ status                         : Enabled
any clue?
--
View this message in context:
http://freebsd.1045724.n5.nabble.com/Adaptec-5805-as-a-guest-on-ESXi-5-5-problem-tp5865988.html
Sent from the freebsd-stable mailing list archive at Nabble.com.
Hi, all, Am 04.12.2013 um 20:54 schrieb kaczorem <kaczorem at iem.pw.edu.pl>:> I've installed a FreeBSD (stable 9.2) as a guest on ESXi 5.5. I've added > Adaptec Controller via passthrough. Unfortunately FreeBSD does not show hard > drives. Any clue?Sorry, not really. Just a pointer, that might be helpful. Common wisdom in the FreeNAS (based on FreeBSD) community says that reliable PCI passthrough is a complicated matter of picking exactly the few ?good? components and in the end not a good idea, anyway. You might want to start with this thread: http://forums.freenas.org/threads/please-do-not-run-freenas-in-production-as-a-virtual-machine.12484/ Sorry I could not be of more help. Kind regards Patrick -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info at punkt.de http://www.punkt.de Gf: J?rgen Egeling AG Mannheim 108285 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 496 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20131205/85a9c8b3/attachment-0001.sig>
On Wed, Dec 4, 2013, at 13:54, kaczorem wrote:> Hi, > > I've installed a FreeBSD (stable 9.2) as a guest on ESXi 5.5. I've added > Adaptec Controller via passthrough. Unfortunately FreeBSD does not show > hard > drives. Any clue? >Can you confirm that the controller shows drives on the exact same version of FreeBSD without VMWare being involved? Otherwise you're at the mercy of VMWare support, who in my past experience have no interest in fixing problems for FreeBSD users. The Foundation is working on relations with VMWare, though.
On Wed, Dec 4, 2013, at 13:54, kaczorem wrote:>Hi,> > I've installed a FreeBSD (stable 9.2) as a guest on ESXi 5.5. I've added > Adaptec Controller via passthrough. Unfortunately FreeBSD does not show > hard > drives. Any clue?It?s a problem with the FreeBSD driver. I?ve been running FreeNAS for over a year now in this exact setup. I?ve been using the 9.0 FreeBSD driver from the Adaptec update site along with the newest firmware, I was using the b30034 version of the driver(you might need to pick a newer card on the support site to get your hands on that version of the driver). I recently updated to FreeNAS 9.2RC2 and it broke the binary driver and I had to compile the source for the adaptec site to get a working driver again. It does spit out a bunch of CAM errors during boot up but I?ve been using it in production for over a year now without issue. I do highly recommend switching to a LSI card if you can, I don?t have an option on the box I?m using. Also do read that thread about using FreeNAS in a virtual environment. Just make sure you follow the suggestions that make sense for your environment.