From owner-svn-src-head@FreeBSD.ORG Sat Sep 3 16:59:42 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8C12106566B; Sat, 3 Sep 2011 16:59:42 +0000 (UTC) (envelope-from alexkozlov0@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 15DC88FC18; Sat, 3 Sep 2011 16:59:41 +0000 (UTC) Received: by fxe4 with SMTP id 4so3254443fxe.13 for ; Sat, 03 Sep 2011 09:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition; bh=906VLBt/2r6J5zVOLYRup2+R1gjhLVfdv0hs+xwhI7M=; b=w5iPPtw0kySVCQGkjHmQ6wG5Q3gyGkjBmcEpUwrP5ASWXwFhaq3pquEkNbcNN27QZ/ MtpfKQKehkF6midj4Zr9/LuInsGTHbKM31EucBVLky264ao7O6r6LVUVqalWIp8wmJey mqFP1/Vugs9fRZ1kV+kK7Hyz8QnxOPWEYLcn0= Received: by 10.223.28.89 with SMTP id l25mr880031fac.34.1315067591813; Sat, 03 Sep 2011 09:33:11 -0700 (PDT) Received: from ravenloft.kiev.ua (ravenloft.kiev.ua [94.244.131.95]) by mx.google.com with ESMTPS id p25sm1495855fap.26.2011.09.03.09.33.10 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Sep 2011 09:33:10 -0700 (PDT) Sender: Alex Kozlov Date: Sat, 3 Sep 2011 19:32:38 +0300 From: Alex Kozlov To: Hans Petter Selasky , svn-src-head@freebsd.org, spam@rm-rf.kiev.ua Message-ID: <20110903163238.GA38118@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Subject: Re: svn commit: r225350 - in head/sys: dev/usb dev/usb/quirk dev/usb/storage sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2011 16:59:42 -0000 On Fri, Sep 02, 2011 at 06:50:44PM +0000, Hans Petter Selasky wrote: > Log: > This patch adds automatic detection of USB mass storage devices > which does not support the no synchronize cache SCSI command. > > The __FreeBSD_version version macro has been bumped and > external kernel modules needs to be recompiled after > this patch. > > Approved by: re (kib) > MFC after: 1 week > PR: usb/160299 > Modified: > head/sys/dev/usb/quirk/usb_quirk.c > head/sys/dev/usb/storage/umass.c > head/sys/dev/usb/usb_device.c > head/sys/dev/usb/usb_device.h > head/sys/dev/usb/usb_dynamic.c > head/sys/dev/usb/usb_dynamic.h > head/sys/dev/usb/usb_freebsd.h > head/sys/dev/usb/usb_msctest.c > head/sys/dev/usb/usb_msctest.h > head/sys/dev/usb/usbdi.h > head/sys/sys/param.h This change broke the detection of one of my flash cards: Root mount waiting for: usbus7 ugen7.2: at usbus7 umass0: on usbus7 Root mount waiting for: usbus7 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24.0 (Invalid field in CDB) field replaceable unit 6 Root mount waiting for: usbus7 Trying to mount root from ufs:/dev/da0a [ro]... mountroot: waiting for device /dev/da0a ... Mounting from ufs:/dev/da0a failed with error 19. -- Adios