Click to See Complete Forum and Search --> : cdrecord problems


-chaos-
01-25-2002, 07:07 PM
I am having difficulty with cdrecord in Linux RedHat 7.2 with KDE. I tried to burn an ISO with the following command:
cdrecord -v speed=8 dev=0,0,0 /mnt/files/Mandrake\ 8.1/Mandrakecd.iso

It went fine. No error messages or anything. here is the session:
[root@h24-66-18-49 Mandrake 8.1]# cdrecord -v dev=0,0,0 speed=8 /mnt/files/Mandrake\ 8.1/Mandrake81-cd1-inst.i586.iso
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.19
Using libscg version 'schily-0.5'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'IDE-CD '
Identifikation : 'R/RW 8x4x32 '
Revision : 'D2,2'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Drive buf size : 1572864 = 1536 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 648 MB
Total size: 744 MB (73:44.98) = 331874 sectors
Lout start: 744 MB (73:46/74) = 331874 sectors
cdrecord: Input/output error. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 13 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 40s
cdrecord: No disk / Wrong disk!
[root@h24-66-18-49 Mandrake 8.1]# cdrecord -v dev=0,0,0 speed=8 /mnt/
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilli
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.19
Using libscg version 'schily-0.5'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'IDE-CD '
Identifikation : 'R/RW 8x4x32 '
Revision : 'D2,2'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Drive buf size : 1572864 = 1536 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 648 MB
Total size: 744 MB (73:44.98) = 331874 sectors
Lout start: 744 MB (73:46/74) = 331874 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 4
Is not unrestricted
Is not erasable
Disk sub type: Medium Type C, low Beta category (C-) (6)
ATIP start of lead in: -12414 (97:16/36)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 68
Manufacturer: Grand Advance Technology LTD.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 27975
Starting to write CD/DVD at speed 8 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation start
Waiting for reader process to fill input buffer ... input buffer ready
Performing OPC...
Starting new track at sector: 0
Track 01: 648 of 648 MB written (fifo 100%).
Track 01: Total bytes read/written: 679673856/679673856 (331872 sector
Writing time: 566.751s
Fixating...
Fixating time: 35.489s
cdrecord: fifo had 10706 puts and 10706 gets.
cdrecord: fifo was 0 times empty and 7879 times full, min fill was 57%
[root@h24-66-18-49 Mandrake 8.1]#

After the burning is finished I then did the follwing command:
cd /mnt/cdrom1
ls -la
After doing this I saw 2 things: ".." and "."

Why does my cd have nothing on it?

When i type:
cdrecord -scanbus
I get:
[root@h24-66-18-49 Mandrake 8.1]# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.19
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'IDE-CD ' 'R/RW 8x4x32 ' 'D2,2' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
[root@h24-66-18-49 Mandrake 8.1]#

Am I doing anything wrong? If not i will have to crawl back to the dreaded windows "o/s" to burn these :(

scanez
01-25-2002, 07:12 PM
Okay, first off, after you burned it, did you mount the CD before trying cd /mnt/cdrom1? And another thing, did you notice this

cdrecord: No disk / Wrong disk!
[root@h24-66-18-49 Mandrake 8.1]# cdrecord -v dev=0,0,0 speed=8 /mnt/

It seems that cdrecord stopped with a "No disk/Wrong disk" warning and then proceeded to try to burn the files in /mnt....hmmmm....maybe a bad CD? try using the -data option too. Maybe the spaces in name of the directory you are using is causing a problem...

WCox
01-25-2002, 11:15 PM
It looks like after the line cdrecord: No disk / Wrong disk!, the command was given to burn everything that is in the directory /mnt. Ouch! No telling what was burned to the cdrom disk. 648MB of data was written to the disk. I'm curious of what was on the disk, if it is ever mounted to read, since the main goal was to burn the Mandrake iso file. :)

-chaos-
01-25-2002, 11:40 PM
Thats weird. I don't remember writing
cdrecord -v speed=8 dev=0,0,0 /mnt/

What is even more weird is that the cd did have stuff on it, infact it has exactly what I wanted- linux Mandrake, I just forgot to mount it. Oh well, im just glad its working now.