From owner-freebsd-current@freebsd.org Tue Aug 16 14:01:22 2016 Return-Path: Delivered-To: freebsd-current@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 0B987BBC18B for ; Tue, 16 Aug 2016 14:01:22 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (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 C400612A3; Tue, 16 Aug 2016 14:01:21 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from fortune.joker.local (123-48-23-227.dz.commufa.jp [123.48.23.227]) (authenticated bits=0) by dec.sakura.ne.jp (8.15.2/8.15.2/[SAKURA-WEB]/20080708) with ESMTPA id u7GE1DDL020919; Tue, 16 Aug 2016 23:01:13 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 16 Aug 2016 23:01:13 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Cc: imp@FreeBSD.org Subject: Missingly recognized ADA_Q_NCQ_TRIM_BROKEN for Crucial M550 MU02 Message-Id: <20160816230113.f0cf8e9bfe740244ad16856c@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 16 Aug 2016 14:01:22 -0000 Hi. I noticed that my Crucial M550 SSD (firmware MU02) is missingly recognized as quirk ADA_Q_NCQ_TRIM_BROKEN. If I understand the source (introduced first at r298002, before stable/11 branched) correctly, only firmware MU01 should be recognized so for the SSD model, so I have no idea why. :-( Below are the related portion of dmesg. stable/11 at r304189, amd64. (Built with options CAM_IOSCHED_DYNAMIC.) ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-2 ATA SATA 3.x device ada0: Serial Number ************ ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 976762MB (2000409264 512 byte sectors) ada0: quirks=0x2 Steering write from 0 kBps to 300000 kBps One thing to note: The SSD was shipped with MU01 and updated to MU02 using CD image obtained from Crucial Japan website. Need Bugzilla ticket although it's not a severe problem (goes safer side, and easy to workaround via loader.conf)? -- Tomoaki AOKI