Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 17:43:01 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: Large number of SATA commits (MFCs) to RELENG_8
Message-ID:  <20110421004301.GA18390@icarus.home.lan>
In-Reply-To: <4DAF6FEA.2020004@sentex.net>
References:  <20110419235038.GA8892@icarus.home.lan> <4DAF6FEA.2020004@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 20, 2011 at 07:44:42PM -0400, Mike Tancsa wrote:
> On 4/19/2011 7:50 PM, Jeremy Chadwick wrote:
> > I would advocate that folks rebuild world/kernel and make sure there
> > aren't any issues seen, or any quirks which were previously needed are
> > no longer.
> > 
> > I haven't gone through *all* of the commits yet, but I do see some
> > controller-centric things that got MFC'd, such as disabling of NCQ
> > support on multiport Marvell 88SX61XX to relieve I/O timeouts when
> > doing lots of I/O (common with ZFS).
> > 
> > Below are the commits.  Users should absolutely use cvsweb or similar
> > tools to examine the commit message and see if anything relevant to
> > their storage subsystems was modified.
> 
> Remember, this is MFC'd in that it has been in HEAD for some time.  Its
> not like its all untested.

Understood, however the userbase of RELENG_8 is significantly higher
than that of HEAD/CURRENT, and the userbase of RELENG_8 is a lot more
likely to complain en masse when something breaks.

My goal was to bring to the attention of the community that a large
number of storage/AHCI/SATA-related MFCs had been done, and request that
people (if possible) rebuild world/kernel to make sure all of their
stuff still works.

Better to catch it during RELENG_8 than during RELENG_8_3.  :-)


> That being said, I tested out an updated kernel from today on a test
> box as well as upgraded my home server

I also did the same on mine.

<INTEL SSDSA2M040G2GC 2CV102M3>    at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD1002FAEX-00Z3A0 05.01D05>   at scbus3 target 0 lun 0 (ada1,pass1)
<WDC WD2001FASS-00U0B0 01.00101>   at scbus4 target 0 lun 0 (ada2,pass2)
<WDC WD1001FALS-00J7B1 05.00K05>   at scbus5 target 0 lun 0 (ada3,pass3)

  pool: backups
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        backups     ONLINE       0     0     0
          ada2      ONLINE       0     0     0

errors: No known data errors

  pool: data
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        data        ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            ada1    ONLINE       0     0     0
            ada3    ONLINE       0     0     0

errors: No known data errors

ahci0@pci0:0:31:2:      class=0x010601 card=0xd38015d9 chip=0x29228086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) 6 port SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
    bar   [10] = type I/O Port, range 32, base 0x1c50, size  8, enabled
    bar   [14] = type I/O Port, range 32, base 0x1c44, size  4, enabled
    bar   [18] = type I/O Port, range 32, base 0x1c48, size  8, enabled
    bar   [1c] = type I/O Port, range 32, base 0x1c40, size  4, enabled
    bar   [20] = type I/O Port, range 32, base 0x18e0, size 32, enabled
    bar   [24] = type Memory, range 32, base 0xdc000800, size 2048, enabled
    cap 05[80] = MSI supports 16 messages enabled with 1 message
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 12[a8] = SATA Index-Data Pair
    cap 13[b0] = PCI Advanced Features: FLR TP

pass0: <INTEL SSDSA2M040G2GC 2CV102M3> ATA-7 SATA 2.x device
pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)

protocol              ATA/ATAPI-7 SATA 2.x
device model          INTEL SSDSA2M040G2GC
firmware revision     2CV102M3
serial number         XXX
WWN                   50015179591a451a
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         78165360 sectors
LBA48 supported       78165360 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6 
media RPM             non-rotating

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes	yes
write cache                    yes	yes
flush cache                    yes	yes
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   yes		32 tags
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      no	no
automatic acoustic management  no	no
media status notification      no	no
power-up in Standby            no	no
write-read-verify              no	no
unload                         yes	yes
free-fall                      no	no
data set management (TRIM)     yes

pass1: <WDC WD1002FAEX-00Z3A0 05.01D05> ATA-8 SATA 3.x device
pass1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)

protocol              ATA/ATAPI-8 SATA 3.x
device model          WDC WD1002FAEX-00Z3A0
firmware revision     05.01D05
serial number         XXX
WWN                   50014ee25a001e1c
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         268435455 sectors
LBA48 supported       1953525168 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6 

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes	yes
write cache                    yes	yes
flush cache                    yes	yes
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   yes		32 tags
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      no	no
automatic acoustic management  yes	no	254/0xFE	128/0x80
media status notification      no	no
power-up in Standby            yes	no
write-read-verify              no	no
unload                         no	no
free-fall                      no	no
data set management (TRIM)     no

pass2: <WDC WD2001FASS-00U0B0 01.00101> ATA-8 SATA 2.x device
pass2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)

protocol              ATA/ATAPI-8 SATA 2.x
device model          WDC WD2001FASS-00U0B0
firmware revision     01.00101
serial number         XXX
WWN                   50014ee6aab7bee0
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         268435455 sectors
LBA48 supported       3907029168 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6 
media RPM             7200

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes	yes
write cache                    yes	yes
flush cache                    yes	yes
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   yes		32 tags
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      yes	yes	128/0x80
automatic acoustic management  yes	no	254/0xFE	128/0x80
media status notification      no	no
power-up in Standby            yes	no
write-read-verify              no	no
unload                         yes	yes
free-fall                      no	no
data set management (TRIM)     no

pass3: <WDC WD1001FALS-00J7B1 05.00K05> ATA-8 SATA 2.x device
pass3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)

protocol              ATA/ATAPI-8 SATA 2.x
device model          WDC WD1001FALS-00J7B1
firmware revision     05.00K05
serial number         XXX
WWN                   50014ee0abfabee
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         268435455 sectors
LBA48 supported       1953525168 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6 

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes	yes
write cache                    yes	yes
flush cache                    yes	yes
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   yes		32 tags
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      no	no
automatic acoustic management  yes	no	254/0xFE	128/0x80
media status notification      no	no
power-up in Standby            yes	no
write-read-verify              no	no
unload                         no	no
free-fall                      no	no
data set management (TRIM)     no

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110421004301.GA18390>