Re: LSI SAS2008 mps(4) 4TB disk only shows 2TB on CURRENT r255089

From: Kenneth D. Merry <ken_at_freebsd.org>
Date: Mon, 2 Sep 2013 15:39:13 -0600
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: <LSI SAS2008> 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<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
pcib2: <ACPI PCI-PCI bridge> irq 52 at device 3.0 on pci0
pci8: <ACPI PCI bus> on pcib2
mpt0: <LSILogic SAS/SATA Adapter> 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: <ATA INTEL SSDSC2BB12 0350> 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: <MATSHITA DVD-ROM UJ8B0AC 1.00> 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: <ATA INTEL SSDSC2BB12 0350> 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: <ATA INTEL SSDSC2BA80 0250> 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: <ATA INTEL SSDSC2BA80 0250> 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: <ATA INTEL SSDSC2BA80 0250> 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: <ATA INTEL SSDSC2BA80 0250> 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: <ATA WDC WD4000FYYZ-0 1K01> 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_at_FreeBSD.ORG
Received on Mon Sep 02 2013 - 20:03:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC