From owner-freebsd-current@FreeBSD.ORG Tue May 20 15:02:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F1DE37B401 for ; Tue, 20 May 2003 15:02:49 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id C4A6143FA3 for ; Tue, 20 May 2003 15:02:48 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 92377 invoked by uid 1000); 20 May 2003 22:02:50 -0000 Date: Tue, 20 May 2003 15:02:50 -0700 (PDT) From: Nate Lawson To: Lars Eggert In-Reply-To: <3ECA9D8F.3070506@isi.edu> Message-ID: <20030520150016.B92372@root.org> References: <3ECA703F.3060705@isi.edu> <20030520115122.O92084@root.org> <3ECA9D8F.3070506@isi.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: umass problem with Hitachi DVDCAM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 20 May 2003 22:02:49 -0000 On Tue, 20 May 2003, Lars Eggert wrote: > Nate Lawson wrote: > > > > It amazes me that a device wouldn't be able to answer a simple INQUIRY. > > Try adding a NO_INQUIRY quirk in umass.c. > > Thanks, that seems to work somewhat better (patch attached): > > umass0: Hitachi, Ltd. DVDCAM USB HS Interface, rev 2.00/1.40, addr 2 > da2 at umass-sim0 bus 0 target 0 lun 0 > da2: < > Removable Direct Access SCSI-2 device > da2: 1.000MB/s transfers > da2: 1338MB (685296 2048 byte sectors: 255H 63S/T 42C) That looks correct since the faked inquiry data we send gives a null device name. > However, the device doesn't seem to have a valid partition table: > > [root@nik: /] fdisk da2 > ******* Working on device /dev/da2 ******* > parameters extracted from in-core disklabel are: > cylinders=42 heads=255 sectors/track=63 (16065 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=42 heads=255 sectors/track=63 (16065 blks/cyl) > > fdisk: invalid fdisk partition table found > fdisk: /boot/mbr: length must be a multiple of sector size > > AFAIK the camera should show up as a regular hard disk, even though > internally it uses a DVD file system. Any ideas? I have little clue on this. I assume you have to use mount_udf since the data is not structured as a PC hard drive but instead DVD. -Nate