From owner-freebsd-current@FreeBSD.ORG Sun Apr 28 02:36:13 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D80F5785 for ; Sun, 28 Apr 2013 02:36:13 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by mx1.freebsd.org (Postfix) with ESMTP id B2CFF14B8 for ; Sun, 28 Apr 2013 02:36:12 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id g10so200855pdj.20 for ; Sat, 27 Apr 2013 19:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=PHqXKVRjyVDe276DG5UqO4hxFswgWg8HW+9fefFi7Ak=; b=vlg5acMDeeYEg7RYKcBCBIlJGI2W2np/CbCYv5ca3U36gWZxDVhlu+murCX0CeTA8G sHLkf3+wFYrExWW9M2kLrTx+KarJTTmO0G/ZASCcLRa3JPmzPvPqflYmIOZHu0og4qzc /EgS3wcguvpCFEOZzWc76J+bGc1IQnEJRK9ZlTsTXQhclgy2SoDarOHswg0boTzveI+U Mk2Z/yLZxjUL4Z5HSE049M754kjzSSPbqxosi6TV4NX6riyQlGPrRa448Bb1lBivLq8q vHaDeBP9oLEa+WuSWjAlekr3MyOjEtGmRM1+lR4ZqtGs4wAvw4AFXv0RMGC9d17hRcAc C6Vw== X-Received: by 10.68.164.33 with SMTP id yn1mr65318619pbb.71.1367116566719; Sat, 27 Apr 2013 19:36:06 -0700 (PDT) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPSA id hp1sm19473865pac.3.2013.04.27.19.36.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Apr 2013 19:36:05 -0700 (PDT) Message-ID: <517C8B07.9020308@gmail.com> Date: Sat, 27 Apr 2013 19:35:51 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130405 Thunderbird/17.0.5 MIME-Version: 1.0 To: Steven Hartland Subject: Re: r249939+ not detecting ata trim References: <517C3C87.1020005@gmail.com> <37582339ED1A4356B6DE6142B2FBCD7B@multiplay.co.uk> <517C7969.4090501@gmail.com> <517C7E4B.1030501@gmail.com> <33B1A5523E9949278464E92CC6BB722E@multiplay.co.uk> <517C8382.8090404@gmail.com> <5088CCE74E774A0DB87F003BBFB014FD@multiplay.co.uk> In-Reply-To: <5088CCE74E774A0DB87F003BBFB014FD@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org 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: Sun, 28 Apr 2013 02:36:13 -0000 On 04/27/13 19:13, Steven Hartland wrote: > > Thats correct, the mps controllers I have here announce UNMAP support for > SATA disks that support TRIM and then do firmware translation on the > commands sent from the OS before passing them to the disks. > > This is why I was expecting your controller to still do support delete's > eventhough ATA_TRIM wasn't enabled yet. > > > I'd be interested to see the details of your controller e.g. > Apr 28 01:36:17 host01 kernel: mps0: port 0xf000-0xf0ff > mem 0xfbe00000-0xfbe03fff,0xfbd80000-0xfbdbffff irq 56 at device 0.0 > on pci129 > Apr 28 01:36:17 host01 kernel: mps0: Reserved 0x4000 bytes for rid > 0x14 type 3 at 0xfbe00000 > Apr 28 01:36:17 host01 kernel: mps0: Firmware: 14.00.00.00, Driver: > 14.00.00.01-fbsd > Apr 28 01:36:17 host01 kernel: mps0: IOCCapabilities: > 185c > Apr 28 01:36:17 host01 kernel: mps0: attempting to allocate 1 MSI-X > vectors (15 supported) > > Regards > Steve > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. > and the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, > printing or otherwise disseminating it or any information contained in > it. > In the event of misdirection, illegible or incomplete transmission > please telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > > Here are the delete methods: deleteflag: ATA_TRIM (2) = 1 da4: Delete methods: deleteflag: ATA_TRIM (2) = 1 da3: Delete methods: deleteflag: ATA_TRIM (2) = 1 Here is a truncated dmesg | fgrep mps mps0: port 0xb000-0xb0ff mem 0xfe83c000-0xfe83ffff,0xfe840000-0xfe87ffff irq 32 at device 0.0 on pci3 mps0: Firmware: 15.00.00.00, Driver: 14.00.00.02-fbsd mps0: IOCCapabilities: 1285c mps0: attempting to allocate 1 MSI-X vectors (15 supported) mps0: using IRQ 263 for MSI-X My firmware is ahead of the driver, and the card itself is an IBM M1015 cross-flashed to what is supposedly identical to a 9210-8i. Thanks, Matt