umass problem with Hitachi DVDCAM
Nate Lawson
nate at root.org
Tue May 20 15:02:49 PDT 2003
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
More information about the freebsd-current
mailing list