Re: umass problem with Hitachi DVDCAM

From: Nate Lawson <nate_at_root.org>
Date: Tue, 20 May 2003 15:02:50 -0700 (PDT)
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_at_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
Received on Tue May 20 2003 - 13:02:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:08 UTC