From owner-freebsd-bugs Wed Oct 2 15:20:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8918437B401 for ; Wed, 2 Oct 2002 15:20:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B21D43E75 for ; Wed, 2 Oct 2002 15:20:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g92MKCCo097730 for ; Wed, 2 Oct 2002 15:20:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g92MKCPK097729; Wed, 2 Oct 2002 15:20:12 -0700 (PDT) Date: Wed, 2 Oct 2002 15:20:12 -0700 (PDT) Message-Id: <200210022220.g92MKCPK097729@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: kern/43580: QUIRK: PhotoClip USB Camera Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/43580; it has been noted by GNATS. From: "Kenneth D. Merry" To: Olexander Kunytsa Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/43580: QUIRK: PhotoClip USB Camera Date: Wed, 2 Oct 2002 16:18:05 -0600 On Wed, Oct 02, 2002 at 13:13:43 +0300, Olexander Kunytsa wrote: > 11:58 [root@bison] ~# camcontrol inquiry da1 > pass1: Removable Direct Access SCSI-0 device > pass1: Serial Number > pass1: 150KB/s transfers > > Daisy Technology - Digital Still Camera 'PhotoClip' on Zoran Chip, > model Phc6032 (prob. later models, I'll try to get them) > UMASS device, over ATAPI protocol, > > umass0: ZORAN COACH DSC, rev 1.00/1.00, addr 2 > da1 at umass-sim0 bus 0 target 0 lun 0 > da1: Removable Direct Access SCSI-0 device > da1: 150KB/s transfers > da1: 31MB (64800 512 byte sectors: 0H 0S/T 0C) > > >Description: > while trying to read from device ( e.g. 'hd /dev/da1'): > umass0: Unsupported ATAPI command 0x08, 6 byte command should have been converte > d > da1: reading primary partition table: error reading fsbn 0 > umass0: Unsupported ATAPI command 0x35 > (da1:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == > 0x0 > > After aplying the patch it can be mounted. > > umass0: ZORAN COACH DSC, rev 1.00/1.00, addr 2 > da1 at umass-sim0 bus 0 target 0 lun 0 > da1: Removable Direct Access SCSI-0 device > da1: 150KB/s transfers > da1: 31MB (64800 512 byte sectors: 0H 0S/T 0C) > 13:09 [kunia@bison:p0]:~> df /mnt/ > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da1s1 32272 8134 24138 25% /mnt So can the filesystem be mounted without the patch? The 6/10 byte autodetection code should switch to 10 byte CDBs after the first failure. If it isn't switching, we've probably got a problem. The synchronize cache command failure may be irritating, but shouldn't be fatal. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message