Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2015 15:44:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201676] [ahci] AHCI timeouts on Mac Mini model 7,1
Message-ID:  <bug-201676-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201676

            Bug ID: 201676
           Summary: [ahci] AHCI timeouts on Mac Mini model 7,1
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ruben.kerkhof@gmail.com

Created attachment 158944
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158944&action=edit
Add quirk for Samsung on Mac Mini

Installing -CURRENT as of 20150718 on my Mac Mini immediately gives ahci
timeout errors.
Disabling msi for this specific controller (vendor id 0x144d, Samsung, device
0x1600, rev 0x01) fixes this.

The Mac Mini has a PCI SSD identified as follows:

ruben@mini:~ % sudo camcontrol identify ada0
pass0: <APPLE SSD SM0256F UXM2JA1Q> ATA8-ACS SATA 3.x device
pass0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)

protocol              ATA/ATAPI-8 SATA 3.x
device model          APPLE SSD SM0256F
firmware revision     UXM2JA1Q
serial number         S1K4NYAG415185
WWN                   5002538655584d30
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 4096, offset 0
LBA supported         268435455 sectors
LBA48 supported       490234752 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
NCQ Queue Management           no
NCQ Streaming                  no
Receive & Send FPDMA Queued    no
SMART                          yes    no
microcode download             yes    yes
security                       yes    no
power management               yes    yes
advanced power management      no    no
automatic acoustic management  yes    no    0/0x00    128/0x80
media status notification      no    no
power-up in Standby            no    no
write-read-verify              no    no
unload                         no    no
general purpose logging        yes    yes
free-fall                      no    no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks       yes              8
DSM - deterministic read       no
Host Protected Area (HPA)      yes      no      490234752/490234752
HPA - Security                 no

pciconf -lv shows:
ahci0@pci0:4:0:0:    class=0x010601 card=0x00000000 chip=0x1600144d rev=0x01
hdr=0x00
    vendor     = 'Samsung Electronics Co Ltd'
    class      = mass storage
    subclass   = SATA

dmesg after the attached patch is applied:

ahci0: <Samsung AHCI SATA controller> mem 0xa0800000-0xa0801fff at device 0.0
on pci4
ahci0: AHCI v1.30 with 1 6Gbps ports, Port Multiplier not supported
ahci0: quirks=0x1000<NOMSI>
ahci0: Caps: 64bit NCQ AL CLO 6Gbps PMD 32cmd CCC 1ports
ahci0: Caps2:
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps:

-- 
You are receiving this mail because:
You are the assignee for the bug.



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