Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758521AbYHFO2a (ORCPT ); Wed, 6 Aug 2008 10:28:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754836AbYHFO2T (ORCPT ); Wed, 6 Aug 2008 10:28:19 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:49441 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754186AbYHFO2S (ORCPT ); Wed, 6 Aug 2008 10:28:18 -0400 To: Hugh Dickins Cc: James Bottomley , "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: Date: Wed, 06 Aug 2008 10:27:02 -0400 In-Reply-To: (Hugh Dickins's message of "Wed\, 6 Aug 2008 15\:06\:21 +0100 \(BST\)") 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: 839 Lines: 22 >>>>> "Hugh" == Hugh Dickins writes: Hugh> Commit e0597d70012c82e16ee152270a55d89d8bf66693 (sd: Identify Hugh> DIF protection type and application tag ownership) says that if Hugh> a disk is formatted with Inquiry bit PROTECT=1, it is required Hugh> to support Read Capacity(16). But my SD cards, accessed by Hugh> builtin cardreader and generic USB storage, disagree. Argh. That's really broken. USB storage has no business setting PROTECT. Can you send me the sg_inq output so I can see what else they are returning? -- 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/