Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759538AbYHFQxW (ORCPT ); Wed, 6 Aug 2008 12:53:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755635AbYHFQui (ORCPT ); Wed, 6 Aug 2008 12:50:38 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:61660 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754374AbYHFQue (ORCPT ); Wed, 6 Aug 2008 12:50:34 -0400 To: James Bottomley Cc: Hugh Dickins , "Martin K. Petersen" , Andrew Morton , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][SCS] sd: Read Capacity if (16) fails From: "Martin K. Petersen" Organization: Oracle References: <1218040613.7493.13.camel@localhost.localdomain> Date: Wed, 06 Aug 2008 12:44:16 -0400 In-Reply-To: <1218040613.7493.13.camel@localhost.localdomain> (James Bottomley's message of "Wed\, 06 Aug 2008 09\:36\:53 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 26 >>>>> "James" == James Bottomley writes: James> On Wed, 2008-08-06 at 16:34 +0100, Hugh Dickins wrote: >> PQual=0 Device_type=0 RMB=1 version=0x00 [no conformance claimed] James> We could try using this as the trigger. I assume all DIF James> supporting devices must also claim conformance to SPC3/SBC2 or James> higher? You'd think, wouldn't you? Originally I only checked for PROTECT if version was SBC2 or better. But as it turns out I have drives that only report SBC and yet they do DIF. This old version is apparently reported to prevent problems in other operating systems. *sigh* -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/