From owner-freebsd-current@FreeBSD.ORG Mon Sep 2 22:03:48 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1AF5A595 for ; Mon, 2 Sep 2013 22:03:47 +0000 (UTC) (envelope-from ken@kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 60F872945 for ; Mon, 2 Sep 2013 22:03:46 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.2/8.14.2) with ESMTP id r82LdDBe058310; Mon, 2 Sep 2013 15:39:13 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id r82LdDiw058309; Mon, 2 Sep 2013 15:39:13 -0600 (MDT) (envelope-from ken) Date: Mon, 2 Sep 2013 15:39:13 -0600 From: "Kenneth D. Merry" To: "Sam Fourman Jr." Subject: Re: LSI SAS2008 mps(4) 4TB disk only shows 2TB on CURRENT r255089 Message-ID: <20130902213913.GA58274@nargothrond.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 22:03:48 -0000 On Sat, Aug 31, 2013 at 13:07:53 -0400, Sam Fourman Jr. wrote: > Hello list > > I have two issues that may in fact be both related to the LSI SAS2008 card > or > the mps(4) driver. > > this server is running FreeBSD 10.0-CURRENT #0 r255089 > > > 1) All of the SSD disks are showing up at SATA2 300MB's > but the card is in fact a 6GB Sata3 card.. > > 2) a Westren Digital 4TB disk only shows 2TB (connected to the LSI > controller) > > full dmesg here > https://gist.github.com/sfourman/6399419 Both problems are because the drives in question are plugged into an mpt(4) controller, not the mps(4) controller in the system. The first one is because mpt(4) controllers only support up to 3Gb of course, but the second one is because mpt(4) controllers don't support SATA drives over 2TB. Or more precisely don't let you access the capacity over 2TB. Both problems should go away if you plug them into the mps(4) controller. >From the dmesg: mps0: port 0xe000-0xe0ff mem 0xfeb3c000-0xfeb3ffff,0xfeb40000-0xfeb7ffff irq 24 at device 0.0 on pci9 mps0: Firmware: 15.00.00.00, Driver: 16.00.00.00-fbsd mps0: IOCCapabilities: 1285c pcib2: irq 52 at device 3.0 on pci0 pci8: on pcib2 mpt0: port 0xd000-0xd0ff mem 0xfe7ec000-0xfe7effff,0xfe7f0000-0xfe7fffff irq 28 at device 0.0 on pci8 mpt0: MPI Version=1.5.20.0 [ ...] da0 at mpt0 bus 0 scbus1 target 1 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) cd0 at ata0 bus 0 scbus6 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 150.000MB/s transfers (SATA, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed da1 at mpt0 bus 0 scbus1 target 2 lun 0 da1: Fixed Direct Access SCSI-5 device da1: 300.000MB/s transfers da1: Command Queueing enabled da1: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) da2 at mpt0 bus 0 scbus1 target 3 lun 0 da2: Fixed Direct Access SCSI-5 device da2: 300.000MB/s transfers da2: Command Queueing enabled da2: 763097MB (1562824368 512 byte sectors: 255H 63S/T 97281C) da3 at mpt0 bus 0 scbus1 target 4 lun 0 da3: Fixed Direct Access SCSI-5 device da3: 300.000MB/s transfers da3: Command Queueing enabled da3: 763097MB (1562824368 512 byte sectors: 255H 63S/T 97281C) da4 at mpt0 bus 0 scbus1 target 5 lun 0 da4: Fixed Direct Access SCSI-5 device da4: 300.000MB/s transfers da4: Command Queueing enabled da4: 763097MB (1562824368 512 byte sectors: 255H 63S/T 97281C) da5 at mpt0 bus 0 scbus1 target 6 lun 0 da5: Fixed Direct Access SCSI-5 device da5: 300.000MB/s transfers da5: Command Queueing enabled da5: 763097MB (1562824368 512 byte sectors: 255H 63S/T 97281C) da6 at mpt0 bus 0 scbus1 target 8 lun 0 da6: Fixed Direct Access SCSI-5 device da6: 300.000MB/s transfers da6: Command Queueing enabled da6: 2097151MB (4294967294 512 byte sectors: 255H 63S/T 267349C) Ken -- Kenneth Merry ken@FreeBSD.ORG