Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 1999 11:24:28 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        ohashi@mickey.ai.kyutech.ac.jp (Takeshi OHASHI)
Cc:        dmiller@search.sparks.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: DVD-ram
Message-ID:  <199907061724.LAA85126@panzer.kdm.org>
In-Reply-To: <199907061201.VAA00725@atohasi.mickey.ai.kyutech.ac.jp> from Takeshi OHASHI at "Jul 6, 1999 09:01:38 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Takeshi OHASHI wrote...
> Hi folks,
> 
> dmiller>>Apologies if this should be on -scsi....
> dmiller>>
> dmiller>>Has anyone done any work with dvd-ram drives under FreeBSD?
> dmiller>>
> dmiller>>I will soon need to duplicate dvd-ram media and would very much like to do
> dmiller>>it under unix.  All I need to start with is the ability to read/write the
> dmiller>>raw device.
> dmiller>>
> dmiller>>Currently the drive is recognized as cd0 (FreeBSD 3.2) and I can read a
> dmiller>>2.x GB side but not, of course, write it.  I'm looking at cdrecord for
> dmiller>>clues but would like not to reinvent someone elses work.
> dmiller>>
> dmiller>>Thanks in advance,
> dmiller>>
> dmiller>>--- David
> 
> Akiyama-san who was the auther of od driver for pre-CAM SCSI system
> has made new od driver for CAM SCSI system.
> 
> Now the new od driver for FreeBSD-3.2-R is under the testing phase to
> release. Please wait a while.
> 
> od1 at adv0 bus 0 target 6 lun 0
> od1: <FUJITSU M2511A 1701> Removable Optical SCSI-0 device 
> od1: 4.032MB/s transfers (4.032MHz, offset 8)
> od1: 121MB (248826 512 byte sectors: 64H 32S/T 121C)
> cd0 at adv0 bus 0 target 3 lun 0
> cd0: <RICOH MP6201S 1.20> Removable CD-ROM SCSI-2 device 
> cd0: 3.300MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> cd1 at adv0 bus 0 target 4 lun 0
> cd1: <MATSHITA PD-2 LF-D100 A110> Removable CD-ROM SCSI-2 device 
> cd1: 10.000MB/s transfers (10.000MHz, offset 15)
> cd1: Attempt to query device size failed: NOT READY, Medium not present
> od0 at adv0 bus 0 target 4 lun 0
> od0: <MATSHITA PD-2 LF-D100 A110> Removable CD-ROM SCSI-2 device 
> od0: 10.000MB/s transfers (10.000MHz, offset 15)
> od0: Attempt to query device size failed: NOT READY, Medium not present
> 
> /dev/od1a                 120428   110641      153   100%    /mnt
> /dev/od0a                2399598  2244196   131408    94%    /od


Just out of curiosity, what problems are you trying to solve here?

It looks like you have a DVD drive probing as an OD drive, and a MO drive
probing as an OD drive.

IMO, DVD drives are probably best handled through the CD driver, and
Optical drives are probably best handled through the DA driver.  The CD
driver doesn't currently handle writes, but it's a one-line fix to change
that.

I'd like to hear what your rationale for a separate driver is, though.

Ken
-- 
Kenneth Merry
ken@plutotech.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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