Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2003 15:02:50 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        current@freebsd.org
Subject:   Re: umass problem with Hitachi DVDCAM
Message-ID:  <20030520150016.B92372@root.org>
In-Reply-To: <3ECA9D8F.3070506@isi.edu>
References:  <3ECA703F.3060705@isi.edu> <20030520115122.O92084@root.org> <3ECA9D8F.3070506@isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030520150016.B92372>