Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 1999 00:37:17 -0700 (PDT)
From:      Gena Svarovski <svarovsk@SLAC.Stanford.EDU>
To:        freebsd-hardware@freebsd.org
Subject:   wormcontrolfixate error
Message-ID:  <Pine.A41.3.96.990724002719.79458G-100000@vesta01.SLAC.Stanford.EDU>

next in thread | raw e-mail | index | archive | help

Hello,

I've recently bought Yamaha 4416E CD-RW drive and now trying to make write
disks (reading works fine). I've managed to work out sequence of commands
to prepare audio tracks and write them to CD. But I can't write data CDs.
wormcontrol always reports an error when I'm trying to fixate disk:

wormcontrol: ioctl(WORMIOFIXATION): Invalid argument

It even reports same error when disk is not in drive.
It seem that ioctl for fixation returns error but I have no idea for what
reason. Here is a script I'm using:

#!/bin/sh

device=/dev/racd0c
image=$1

wormcontrol -f $device prepdisk double
wormcontrol -f $device track data
dd if=$image of=$device bs=20k
wormcontrol -f $device fixate 1 onp

After dd completes everything is actually already written on disk. And I
can read data I've just written on it without problems. But without
closing session other CD-ROMs cannot access it.

I'm sure I'm missing something simple but playing with this for couple
days and searching mailing list archives didn't help.

I'm running 3.2-STABLE.

   Regards,
      Gena



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A41.3.96.990724002719.79458G-100000>