From owner-freebsd-bugs@freebsd.org Sat Jul 18 15:44:05 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB2629A5D49 for ; Sat, 18 Jul 2015 15:44:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97A311632 for ; Sat, 18 Jul 2015 15:44:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6IFi5Bs010092 for ; Sat, 18 Jul 2015 15:44:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201676] [ahci] AHCI timeouts on Mac Mini model 7,1 Date: Sat, 18 Jul 2015 15:44:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ruben.kerkhof@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2015 15:44:05 -0000 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: 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: mem 0xa0800000-0xa0801fff at device 0.0 on pci4 ahci0: AHCI v1.30 with 1 6Gbps ports, Port Multiplier not supported ahci0: quirks=0x1000 ahci0: Caps: 64bit NCQ AL CLO 6Gbps PMD 32cmd CCC 1ports ahci0: Caps2: ahcich0: at channel 0 on ahci0 ahcich0: Caps: -- You are receiving this mail because: You are the assignee for the bug.