From owner-freebsd-current@FreeBSD.ORG Fri Aug 21 18:36:13 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 361071065695 for ; Fri, 21 Aug 2009 18:36:13 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward15.yandex.ru (forward15.yandex.ru [95.108.130.119]) by mx1.freebsd.org (Postfix) with ESMTP id E0AC78FC0C for ; Fri, 21 Aug 2009 18:36:12 +0000 (UTC) Received: from smtp12.yandex.ru (smtp12.yandex.ru [95.108.131.191]) by forward15.yandex.ru (Yandex) with ESMTP id 5EFCEC0138 for ; Fri, 21 Aug 2009 22:36:11 +0400 (MSD) Received: from btr.properlan.net (vpn.heavennet.ru [77.72.136.194]) by smtp12.yandex.ru (Yandex) with ESMTPSA id 18AEA4CC0134 for ; Fri, 21 Aug 2009 22:36:11 +0400 (MSD) Message-ID: <4A8EE90F.4030201@yandex.ru> Date: Fri, 21 Aug 2009 22:35:59 +0400 From: "Andrey V. Elsukov" User-Agent: Thunderbird 2.0.0.22 (X11/20090821) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Yandex-TimeMark: 1250879771 X-Yandex-Spam: 1 X-Yandex-Front: smtp12.yandex.ru Subject: 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: Fri, 21 Aug 2009 18:36:13 -0000 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