Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 11:33:45 +0100 (CET)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: IDE CD-writer
Message-ID:  <200001201033.LAA00652@CoDe.hu>
In-Reply-To: <20000119154338.A90000@panzer.kdm.org> from "Kenneth D. Merry" at "Jan 19, 0 03:43:38 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

Thanks for the previous info, but I have some other questions (as I tried to
burn CDs without any success).

I tried to make a cd copy.  I've got a ncr810a SCSI-card, and on it the HD,
and a Plextor 4x CD-drive.  OK, it's /dev/cd0[ac].  On the first IDE
controller, on the slave position, there is that (I think 4/4/24) IOMEGA IDE
CD-recorder.  /dev/acd0[ac]

1) Which is the correct source/target: cd0a or cd0c (acd0a/acd0c)?
What's the difference between the a and c section of a CD (I think, I know it on
disk)?

2) First I tried with /usr/share/examples/atapi method:
wormcontrol -f /dev/racd0c prepdisk double dummy
wormcontrol -f /dev/racd0c track data
dd if=/dev/cd0c of=/dev/racd0c bs=20k
wormcontrol -f /dev/racd0c fixate onp 1

The dd command failed with an I/O error on acd0 (maybe buffer underrun, but
nothing said that, only the ``normal'' dd error).  Thank God, the dummy
option, so I can try the same CD next time (when I made a CD under Linux,
I saw, that in test mode, the lamp is blinking, in normal write-mode it's
not).

3) Second, I tried with the /usr/share/examples/worm method
wormcontrol -f /dev/racd0c prepdisk double dummy
wormcontrol -f /dev/racd0c track data
rtprio 5 team -v 1m 5 < /dev/cd0c | rtprio 5 dd of=/dev/racd0c obs=20k
wormcontrol -f /dev/racd0c fixate onp 1

That time, my CD-ROM failed (if I remember well, something error code 10 -
the correct error report is at home :-()

So the main question is: which is the correct method: 2 or 3?  Do I need
team/rtprio/only dd with ibs=Xmega obs=20k or something else?

Another question: in my old 2.2.8 machine's wormcontrol manual, there is
a speed option and quad parameter to write with 4xspeed.  In 3.4, neither in the
manual, nor in wormcontrol's source has anything about 4xspeed.  Is it
possible, to write with 4x  speed?  Or the device driver cannot understand
it now?

> On Wed, Jan 19, 2000 at 08:32:13 -0500, Coleman Kane wrote:
> > That is a deficiency in cdrecord as I understand, anyway. It was originally
> > written for SCSI, and built around that fact.
> 
> It's not a deficiency in cdrecord, but rather because our ATA/ATAPI
> subsystem doesn't run under the SCSI subsystem, and it doesn't have any
> sort of passthrough mechanism.  So there's no way to send commands directly
> to ATAPI CD drives.
> 
> If the ATA code were implemented as a part of CAM, or if it had its own
> passthrough mechanism, you could probably use cdrecord.

And another question: is that ATA passthrough mechanism will be in FBSD?
(No, I'm not a driver-writer :-( .)  I think, a graphics program, with
what we can write CD-s is a musthave for so many ppl (no, it's not me).  I
think, eg. xcdroast program uses cdrecord for writing.  If we can use that
program, it would be nice.  (Maybe a shell-script around wormcontrol/burncd?
which understands most of cdrecord's or cd-write's parameters?)

Thank, Gabor

PS: please CC me, too!

ZGabor at CoDe dot HU

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"


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




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