From owner-freebsd-usb@FreeBSD.ORG Wed Jun 27 15:08:34 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FDD01065670 for ; Wed, 27 Jun 2012 15:08:34 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 249F18FC15 for ; Wed, 27 Jun 2012 15:08:33 +0000 (UTC) Received: by bkvi18 with SMTP id i18so1248438bkv.13 for ; Wed, 27 Jun 2012 08:08:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=187turoN2LNQBo8uWLWMZptj6Dz+TlhKxMpSjrVSZoM=; b=EUNXjRfJ2OldSVc7MuG3z8ZKCPd1TTc7LwHRgHEQohyTygdKa/yKQPXML1crTTMO/i WGlxekKC6UDuWuomRL7nEjUGghUIcWLirTsKZ2bDYJWFh3GbUXmHUuZzSMR1yC2tyx89 mNYwZ9KFf8ipD+gCeNfH/rty8HiaoMG5LV7DC/lHfv97JRbdlxCBRumW4hyi1YuYntps MqwmH31BrPp0gI9sA/o38yVasU89EJwPLgYgSvPGtUJ+grvTuZ49NpOuYBqUVAEBgj9Q W0noorSl+urdOzvy41MaFG17pC3KUpG8+/YQwAAjmZfcQm/K5zpKIul+5PhoVYSmyJWs T5FA== Received: by 10.205.124.13 with SMTP id gm13mr7387460bkc.79.1340809712707; Wed, 27 Jun 2012 08:08:32 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id hs2sm2341106bkc.1.2012.06.27.08.08.30 (version=SSLv3 cipher=OTHER); Wed, 27 Jun 2012 08:08:31 -0700 (PDT) Sender: Alexander Motin Message-ID: <4FEB21ED.40204@FreeBSD.org> Date: Wed, 27 Jun 2012 18:08:29 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: Boris Samorodov References: <4FE9AB28.3070704@passap.ru> <201206261741.14338.hselasky@c2i.net> <4FE9E0F6.8040503@FreeBSD.org> <4FEABF3D.2010206@passap.ru> <4FEAC813.8060302@FreeBSD.org> <4FEAD898.1000806@passap.ru> <4FEAF3DA.2030800@FreeBSD.org> <4FEB1C77.1030903@passap.ru> In-Reply-To: <4FEB1C77.1030903@passap.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-usb@freebsd.org Subject: Re: [usb] Kingston 8Gb is not usable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 15:08:34 -0000 On 06/27/12 17:45, Boris Samorodov wrote: > 27.06.2012 15:51, Alexander Motin пишет: > >> The only change after that I see potentially related is r237478. It adds >> more checks when fetching SCSI sense data, that for some reason are not >> working in your case. I still can not completely understand why there >> was no any READ CAPACITY errors reported before, but may be I am missing >> something. You can try to revert that revision for check. > > Confirm. Reverting this commit alone helps here. Both my system with > patched kernel uses /dev/da0 and patched kernel works if the system > is booted from the stick. OK. But I am not sure what to do about it. I don't see problem in my code. I believe it is either hardware or umass problem, or both. > Though it is a little bit noisy. ;-) Since now I know that it shouldn't > here is a question: should I file a PR on this noisiness (i.e. error > reporting, etc.)? These are real errors for CAM. There would be no noise if device correctly reported SCSI senses, as drivers are already instructed to not wine about unsupported command codes. But in this case CAM doesn't know what are the errors and prefers to report them. -- Alexander Motin