From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 23 18:46:23 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C78A916A405 for ; Fri, 23 Feb 2007 18:46:23 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5B48E13C49D for ; Fri, 23 Feb 2007 18:46:23 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so406834ugh for ; Fri, 23 Feb 2007 10:46:22 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=abXUgTVOIDEJSXT7UHplnFG9nPL4VDpTaz/7IXn1cgekXUqYqhvzK537c+rQB1b+RFwfTmJGOQ2caWmD8bcYH/74f9CMW6gfd6jZyBd2VQW8GiBZJ7EJcSIXoumz/M2a6i7sQmr8RAVQsn9WX3WsnMMcGlufdh0J3SStgoXKvFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TK0TxMj/45x4XZ4JlLGLIiJMmIQcjoKowO09PRhLi1Un7V0b8ihWTKDwA5KhScPi6brBuseoLaXEfWAXpnxYIOl90acJs3h6jjGZhgAxd1aJ1TyEZNhBgxlB4JNjw975m3ENUntlj5gfwwadTvMV9spb/J1GLeYoYzHy/x9hTas= Received: by 10.114.151.13 with SMTP id y13mr379903wad.1172254627623; Fri, 23 Feb 2007 10:17:07 -0800 (PST) Received: by 10.114.24.2 with HTTP; Fri, 23 Feb 2007 10:17:07 -0800 (PST) Message-ID: <7579f7fb0702231017rdc246ebqeface91c9d5481e3@mail.gmail.com> Date: Fri, 23 Feb 2007 10:17:07 -0800 From: "Matthew Jacob" To: "Warner Losh" In-Reply-To: <20070223.100839.112608684.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070221.160542.-169061472.imp@bsdimp.com> <45DE6C64.8020400@samsco.org> <20070223.100839.112608684.imp@bsdimp.com> Cc: scsi@freebsd.org Subject: Re: Quirk for this? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 18:46:23 -0000 > The question is: Given that I know that the first USB/CF adapter > always reports one too big, is there a way this can be fixed? There are two problems here that I see: a) The GEOM taste code cannot be overridden. b) How do we accomodate/detect broken h/w? I'm inclined to think that GEOM stuff cannot/should not be "fixed". The second question is the harder one. You personally can fix this for yourself by doing your own specialized quirk matching and just adjusting the READ CAPACITY results accordingly. We have to ask whether this particular breakage is both widespread enough and the devices important enough to try and generalize some solution for.