Subject: Creating CDs with mkisofs/cdrecord: need help
To: None <netbsd-help@NetBSD.org>
From: Mike M. Volokhov <mishka@NetBSD.org>
List: netbsd-help
Date: 09/02/2005 18:10:09
Greetings!

I have a troubles creating CDs with mkisofs and cdrecord. My steps are
as follows:

$ echo "test" > test.txt

$ mkisofs -o test.iso test.txt
Usual output...

$ ls -l test.iso
-rw-r--r--  1 mishka  users  98304 Sep  2 16:14 test.iso

# cdrecord dev=/dev/cd0d -v -eject test.iso
Usual output, recording ok.

<Action: Insert just burned CD back>

# dd if=/dev/cd0d of=/dev/null
dd: /dev/cd0d: Input/output error
1204+0 records in
1204+0 records out
616448 bytes transferred in 1.518 secs (406092 bytes/sec)

# cat /dev/cd0d > /dev/null
cat: /dev/cd0d: Input/output error

Any opinions why there are reading errors?

Please also note it reading 1204 blocks (1204*512=616448 bytes), but
original CD size is 98304 bytes (129 blocks of 512 bytes, and 48 blocks
of 2048 bytes).

--
TIA,
Mishka.


P.S.:
cdrecord version is 2.00.3nb2;
System version is 3.0 BETA (september build) and 3.99.3.