From owner-freebsd-current@FreeBSD.ORG Sat Aug 22 02:29:22 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B939A106564A for ; Sat, 22 Aug 2009 02:29:22 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC2A8FC19 for ; Sat, 22 Aug 2009 02:29:21 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 13so276414fge.12 for ; Fri, 21 Aug 2009 19:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7JuUTIE4/os72IW5s0yr69hx8PhPIyT7ok6/Z2xzVxk=; b=WlI93svsZ/yNcKlPVvo+HnGvXtHUuPrVmF9nIlWIg5pgXR2R1A/wYUePzAtVKhvrXT p0ifoizhVGVBpPLQm6xtcqxyk21ay4+Yjl8LN1MUjVKyaBjof8FoIzLl3O+OX0EbCnFJ u+PDeu0AVGMitkg/Gd06BG8puUAEGceDvAhgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IXDBcA52tKNHpL1MRJ3TzdUvPhOzEKQKOAEZAgIwMEYpbNkzK2wV5ZdqOenwh4XUKQ n7cCjUqF3jWoZZq/zW/yyCubWg6mk4aPTC0yoIQrzl8jCY2zH1xh0JzzPJWCjGjcIrvf FIzKFQi+/IE0bHVJmwAr2qrBWuVeTBmBFtZeo= MIME-Version: 1.0 Received: by 10.86.220.1 with SMTP id s1mr1342739fgg.50.1250908159986; Fri, 21 Aug 2009 19:29:19 -0700 (PDT) In-Reply-To: <4A8EE90F.4030201@yandex.ru> References: <4A8EE90F.4030201@yandex.ru> Date: Sat, 22 Aug 2009 04:29:19 +0200 Message-ID: <6101e8c40908211929o14691537w9f874980eb12e535@mail.gmail.com> From: Oliver Pinter To: "Andrey V. Elsukov" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: SONY DSC doesn't work via usb [regression] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2009 02:29:22 -0000 can you this probe: mount_msdosfs /dev/da0 /foo # this may fail, and after this: mount_msdosfs /dev/da0s1 /foo # and this mounter the real device On 8/21/09, Andrey V. Elsukov wrote: > Hi, All. > > I tried to attach my Sony DSC-W50 camera to 8.0-BETA2 and it > doesn't work. > First of i got following dmesg: > > ugen3.2: at usbus3 (disconnected) > umass0: at uhub3, port 4, addr 2 (disconnected) > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > ugen3.2: at usbus3 > umass0: on usbus3 > umass0: RBC over CBI; quirks = 0x1000 > umass0:1:0:-1: Attached to scbus1 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C) > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 > > And da0 device sometime doesn't appear, but sometime appears. > When I try to get access to da0 i'm getting I/O error: > > # mount_msdosfs -m 0664 -M 0775 /dev/da0 /mnt/ > mount_msdosfs: /dev/da0: Input/output error > > So, I tried to add NO_SYNCHRONIZE_CACHE to quirks list in umass.c > But it didn't resolve the problem. > > ugen3.2: at usbus3 > umass0: on usbus3 > umass0: RBC over CBI; quirks = 0x5000 > umass0:1:0:-1: Attached to scbus1 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C) > > da0 device didn't appear. It seems the problem is not in USB code. > Any suggestions? > > -- > WBR, Andrey V. Elsukov > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >