Date: Wed, 16 Apr 2014 02:18:13 -0700 (PDT) From: Jeremy Chadwick <jdc@koitsu.org> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/188685: [cam] QUIRK: Add 4K quirks for WD Red and Black MHDDs Message-ID: <20140416091813.1CA4B73A1B@icarus.home.lan> Resent-Message-ID: <201404160920.s3G9K0gP087626@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188685 >Category: kern >Synopsis: [cam] QUIRK: Add 4K quirks for WD Red and Black MHDDs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Apr 16 09:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 9.2-STABLE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 9.2-STABLE FreeBSD 9.2-STABLE #0 r264285: Tue Apr 8 17:25:59 PDT 2014 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64 >Description: Add some 4K quirks for the following Western Digital Caviar MHDDs: - WD Black, 4000GB, WD4003FZEX - WD Black, 3000GB, WD3003FZEX - WD Black, 2000GB, WD2003FZEX - WD Black, 1000GB, WD1003FZEX - WD Black, 500GB, WD5003AZEX (yes this really does use 4K physical) - WD Black, 2000GB, WD2002FAEX - WD Black, 1000GB, WD1002FAEX - WD Black, 4000GB, WD4001FAEX - WD Black, 3000GB, WD3001FAEX - WD Black, 2000GB, WD2001FAEX - WD Black, 1000GB, WD1001FAEX - WD Red, 750GB, WD7500BFCX (yes this really does use 4K physical) - WD Red, 1000GB, WD10JFCX Also add a comment reflecting that WD????RX also matches some models of Red drives (not listed above) and not just Green. >How-To-Repeat: n/a >Fix: Apply below patch. --- sys/cam/ata/ata_da.c.orig 2014-01-20 17:15:51.000000000 -0800 +++ sys/cam/ata/ata_da.c 2014-04-16 02:09:04.326162134 -0700 @@ -235,16 +235,31 @@ /*quirks*/ADA_Q_4K }, { + /* WDC Caviar Red Advanced Format (4k) drives */ + { T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WD????CX*", "*" }, + /*quirks*/ADA_Q_4K + }, + { /* WDC Caviar Green Advanced Format (4k) drives */ { T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WD????RS*", "*" }, /*quirks*/ADA_Q_4K }, { - /* WDC Caviar Green Advanced Format (4k) drives */ + /* WDC Caviar Green/Red Advanced Format (4k) drives */ { T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WD????RX*", "*" }, /*quirks*/ADA_Q_4K }, { + /* WDC Caviar Red Advanced Format (4k) drives */ + { T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WD??????CX*", "*" }, + /*quirks*/ADA_Q_4K + }, + { + /* WDC Caviar Black Advanced Format (4k) drives */ + { T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WD??????EX*", "*" }, + /*quirks*/ADA_Q_4K + }, + { /* WDC Caviar Green Advanced Format (4k) drives */ { T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WD??????RS*", "*" }, /*quirks*/ADA_Q_4K >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140416091813.1CA4B73A1B>