From owner-freebsd-scsi@FreeBSD.ORG Thu Jan 20 16:47:23 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52489106566B for ; Thu, 20 Jan 2011 16:47:23 +0000 (UTC) (envelope-from borjam@sarenet.es) Received: from proxypop1b.sarenet.es (proxypop1b.sarenet.es [194.30.0.104]) by mx1.freebsd.org (Postfix) with ESMTP id CB8D98FC0A for ; Thu, 20 Jan 2011 16:47:22 +0000 (UTC) Received: from [172.16.1.55] (ssglan.sare.net [192.148.167.100]) by proxypop1b.sarenet.es (Postfix) with ESMTP id 4E15B5F13 for ; Thu, 20 Jan 2011 17:47:21 +0100 (CET) From: Borja Marcos Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Thu, 20 Jan 2011 17:47:21 +0100 Message-Id: To: freebsd-scsi@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Subject: mps questions X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2011 16:47:23 -0000 Hello, I''m trying some Dell PERC H200 cards on FreeBSD 8.2 with v28 ZFS. (Not = a production environment, just running tests). I have two variants of them. One is an internal one, identified as this = one. mps0: port 0xfc00-0xfcff mem = 0xdf2b0000-0xdf2bffff,0xdf2c0000-0xdf2fffff irq 32 at device 0.0 on pci2 mps0: Firmware: 02.15.63.00 mps0: IOCCapabilities: = 185c mps0: [ITHREAD] And another one intended to conect to external SAS devices. mps1: port 0xec00-0xecff mem = 0xdf4b0000-0xdf4bffff,0xdf4c0000-0xdf4fffff irq 41 at device 0.0 on pci5 mps1: Firmware: 02.15.63.00 mps1: IOCCapabilities: = 185c mps1: [ITHREAD] Both have two SAS ports. And I am trying them on Dell PowerEdge R510 = servers. I have 8 internal hard disks attached, and a Dell PowerVault = MD1220 connected to one of the external SAS connectors. The MD1220 has 8 = hard disks as well. I haven't configured any logical volumes on the cards, I just want = unobtrusive SAS cards in order to create ZFS pools on raw disks, and the = setup is working great, except for one problem: The *internal* card is showing just six hard disks under FreeBSD, not = eight. da0 at mps0 bus 0 scbus0 target 1 lun 0 da1 at mps0 bus 0 scbus0 target 2 lun 0 da2 at mps0 bus 0 scbus0 target 3 lun 0 da3 at mps0 bus 0 scbus0 target 4 lun 0 da4 at mps0 bus 0 scbus0 target 5 lun 0 da5 at mps0 bus 0 scbus0 target 6 lun 0 And this happens no matter how I connect the internal SAS connectors. = There are two connectors from the disk backplanes to the card, SAS0 and = SAS1 (I assume they are two buses) and even if I reverse them I still = see eight disks.=20 However, when booting the system I see eight disks. The controller BIOS = lists the backplane device and the eight disks, the FreeBSD boot loader = says it sees eight disks, but FreeBSD sees just six. # camcontrol rescan all Re-scan of bus 0 was successful Re-scan of bus 1 was successful # camcontrol devlist at scbus0 target 1 lun 0 (da0,pass0) at scbus0 target 2 lun 0 (da1,pass1) at scbus0 target 3 lun 0 (da2,pass2) at scbus0 target 4 lun 0 (da3,pass3) at scbus0 target 5 lun 0 (da4,pass4) at scbus0 target 6 lun 0 (da5,pass5) at scbus1 target 0 lun 0 (da6,pass6) The card with the outside facing connectors shows the eight hard disks = atttached to the MD1120 and the disks. A camcontrol devlist on the = machine with both mps cards installed I see this: # camcontrol devlist at scbus0 target 1 lun 0 (da0,pass0) at scbus0 target 2 lun 0 (da1,pass1) at scbus0 target 3 lun 0 (da2,pass2) at scbus0 target 4 lun 0 (da3,pass3) at scbus0 target 5 lun 0 (da4,pass4) at scbus0 target 6 lun 0 (da5,pass5) at scbus1 target 1 lun 0 (da6,pass6) at scbus1 target 2 lun 0 (da7,pass7) at scbus1 target 3 lun 0 (da8,pass8) at scbus1 target 4 lun 0 (da9,pass9) at scbus1 target 5 lun 0 = (da10,pass10) at scbus1 target 6 lun 0 = (da11,pass11) at scbus1 target 7 lun 0 = (da12,pass12) at scbus1 target 13 lun 0 = (da13,pass13) at scbus1 target 36 lun 0 = (ses0,pass14) at scbus2 target 0 lun 0 = (pass15,da14) Any ideas? I was wondering if Dell had done something nasty to the = internal card firmware (mps0 in my example), but seems that the eight = internal disks are correctly presented to the BIOS. Thank you, Borja.