[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rip vcd / copy vcd
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: rip vcd / copy vcd
- From: Uwe Dippel <udippel_(_at_)_uniten_(_dot_)_edu_(_dot_)_my>
- Date: Tue, 08 Jun 2004 18:21:16 +0800
- Organization: Uniten
Anybody good in this subject on OpenBSD ?
I need to copy the content of a VCD to harddisk respectively to another
vcd.
vcdimager installs well, but wouldn't want to rip:
$ vcdrip -d -v
no source given -- can't do anything...
man pages:
--cdrom-device=DEVICE
set CDROM device as source (linux only)
$ vcdrip -d -v --cdrom-device=/dev/rcd1c
error while parsing command line - try --help
So, the man pages are true. Is it not possible to rip ?
Searched the archive and found cdrdao to make at least a copy:
--on-the-fly wouldn't work:
cdrdao copy --source-device /dev/rcd0c --source-driver generic-mmc
--device /dev/rcd1c --on-the-fly
Cdrdao version 1.1.7 - (C) Andreas
Mueller <andreas_(_at_)_daneb_(_dot_)_de>
SCSI interface library - (C) Joerg Schilling Paranoia DAE library - (C)
Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'andreas-0.5-UNIXWARE_Patch'
/dev/rcd1c: _NEC NR-7900A Rev: 1.23
Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options 0x0000)
resid: 8
/dev/rcd0c: COMPAQ CRD-8322B Rev: 1.06
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
Starting on-the-fly CD copy resid: 1
at speed 10...
Track Mode Flags Start Length
------------------------------------------------------------
1 DATA 4 00:00:00( 0) 00:06:12( 462)
...
21 DATA 4 68:06:49(306499) 03:33:71( 16046)
Leadout DATA 4 71:40:45(322545)
PQ sub-channel reading (data track) seems to be supported but cannot determine d
ata format.
Please use driver option '--driver generic-mmc:0x1' or '--driver generic-mmc:0x3
' to set the data format explicitly.
Analyzing track 01 (MODE2_RAW): start 00:00:00, length 00:06:12...
...
Analyzing track 21 (MODE2_RAW): start 68:06:49, length 03:33:71...
Found CD-TEXT data.
WARNING: Cannot determine language mapping from CD-TEXT data.
WARNING: Using default mapping.
resid: 1
Turning BURN-Proof on
?: Input/output error. : scsi sendcmd: retryable error
CDB: 5A 00 05 00 00 00 00 00 A4 00
status: 0x0 (GOOD STATUS)
resid: 164
cmd finished after 0.011s timeout 20s
ERROR: Cannot retrieve write parameters mode page.
resid: 1
Turning BURN-Proof on
ERROR: Cannot setup disk-at-once writing for this drive.
ERROR: Writing failed.
ERROR: On-the-fly CD copying failed.
So I said, step-by-step should work and tried - along the man pages -
cdrdao copy --device /dev/rcd1c
This creates the image file, but in the end keeps the tray locked; so
there is no way to remove the original and insert the fresh CDR.
Since I have the .bin (I had to Ctrl-C to get the original out of the
drive, a NEC NR-7900A), I tried to write this to a fresh CDR:
cdrdao write --device /dev/rcd1c
It comes back, stating it needs a toc. So here we go:
cdrdao read-toc creates a toc-file (??). At least, it does create a file.
But still doesn't want to work:
$ cdrdao write --device /dev/rcd1c toc1
Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas_(_at_)_daneb_(_dot_)_de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
ERROR: Track 1: Cannot open data file "data_1": No such file or directory
ERROR: Track 2: Cannot open data file "data_2": No such file or directory
...
ERROR: Track 20: Cannot open data file "data_20": No such file or directory
ERROR: Track 21: Cannot open data file "data_21": No such file or directory
ERROR: Toc file "toc1" is inconsistent.
(end)
cdrdao read-cd /dev/rcd1c toc2
created a new .bin and a different toc.
Now it looked like I could write:
cdrdao write --device /dev/rcd1c toc2
Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas_(_at_)_daneb_(_dot_)_de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'andreas-0.5-UNIXWARE_Patch'
/dev/rcd1c: _NEC NR-7900A Rev: 1.23
Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options 0x0000)
Starting write resid: 1
at speed 10...
Pausing 10 seconds - hit CTRL-C to abort.
Process can be aborted with QUIT signal (usually CTRL-\).
resid: 1
Turning BURN-Proof on
?: Input/output error. : scsi sendcmd: retryable error
CDB: 5A 00 05 00 00 00 00 00 A4 00
status: 0x0 (GOOD STATUS)
resid: 164
cmd finished after 0.011s timeout 20s
ERROR: Cannot retrieve write parameters mode page.
resid: 1
Turning BURN-Proof on
ERROR: Cannot setup disk-at-once writing for this drive.
ERROR: Writing failed.
?: Input/output error. : scsi sendcmd: retryable error
CDB: 1E 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.009s timeout 20s
ERROR: Cannot prevent/allow medium removal.
(end again)
Any suggestion will be appreciated. Running OpenBSD 3.5 stable, all
programs from the port collection.
xcdroast *does* burn; but this doesn't help with the current problem.
Visit your host, monkey.org