From owner-freebsd-current@freebsd.org Sun Apr 10 06:56:30 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 B3B35B0A17E for ; Sun, 10 Apr 2016 06:56:30 +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 754291052 for ; Sun, 10 Apr 2016 06:56:29 +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 u3A6uLRY054613 for ; Sun, 10 Apr 2016 15:56:21 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sun, 10 Apr 2016 15:56:21 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Subject: Question about cam 4K quirks Message-Id: <20160410155621.82b751fa79f94ab2472264d7@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) 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.21 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, 10 Apr 2016 06:56:30 -0000 Hi. Maybe freebsd-hardware list would be the right place, but it's not so active. :-( Is 4K quirks needed for every HDDs/SSDs having physical sector size 4096? If so, I would be able to provide patch for Crucial M550 and MX200. (Possibly covers other models [BX200 etc.] by abstraction.) M550(1TB): device model Crucial CT1024M550SSD1 firmware revision MU01 MX200(1TB): device model Crucial CT1024MX200SSD1 firmware revision MU03 -> Abstracted with "Crucial CT*SSD*" or "Crucial CT*", as the part "1024" should vary with its capacity and can be 3 to 4 digits for now. I tried the former and confirmed "quirks=0x1<4K>" appears, which doesn't appear without adding the entry. If not, is it sufficient if `camcontrol identify ` states "physical 4096" on "sector size" line for everything in kernel and related components (i.e., zfs-related ones)? Regards. -- Tomoaki AOKI junchoon@dec.sakura.ne.jp