[Nottingham] cdrecord WAS gnome toaster

Bunter Matthew nottingham at mailman.lug.org.uk
Tue Jul 29 13:03:00 2003


OK, continuing probs with writing to my CD.

>From the Yolinux tutorial on burning CDs I tried their commands:

[root@esmerelda root]# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version
(schily -
Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c     1.75 02/10/21
Copyright 1997 J. Schilling').
scsibus0:
        0,0,0     0) 'MSI     ' 'CD-RW MS-8348   ' '150D' 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) *

OK we're happy. Then their command to backup data from a directory onto =
a CD.
                                                                         =
                                                               =20
[root@esmerelda /]# mkisofs -r /special | cdrecord dev=3D0,0,0 -v =
--eject speed=3D4=20
cdrecord: No such file or directory. No read access for 'speed'.
Using TUTOR000.PDF;1 for  /tutorial.pdf (tutorial2.pdf)

This Using line appears for several pages listing every single file that =
I have under the /special directory.

Then I try Derek's command and things start to look good.

[root@esmerelda /]# cdrecord -v dev=3D0,0,0 speed=3D4 /special
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 =3D CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version
(schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c      =20
1.75 02/10/21 Copyright 1997 J. Schilling').
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'MSI     '
Identifikation : 'CD-RW MS-8348   '
Revision       : '150D'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R
Drive buf size : 1806336 =3D 1764 KB
FIFO size      : 4194304 =3D 4096 KB
Track 01: data  unknown length
Total size:        0 MB (00:00.00) =3D 0 sectors
Lout start:        0 MB (00:02/00) =3D 0 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -12369 (97:17/06)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 69
Manufacturer: Moser Baer India Limited
Manufacturer is guessed because of the orange forum embargo.
The orange forum likes to get money for recent information.
The information for this media may not be correct.
Trying to clear drive status.
cdrecord: Drive needs to reload the media to return to proper status.
cdrecord: WARNING: Total disk size unknown. Data may not fit on disk.
Starting to write CD/DVD at speed 12 in real TAO mode for single
session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Turning BURN-Free off
Performing OPC...
cdrecord: Input/output error. read track info: scsi sendcmd: no error
CDB:  52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 240s
Writing  time:    0.017s
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: no
error
CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x04 (current program area is empty) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 480s
cmd finished after 0.000s timeout 480s
Fixating time:    0.001s
cdrecord: fifo had 1 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
[root@esmerelda /]#

So I would like to understand=20
1) What I'm doing wrong=20
and=20
2) what I need to do to the /special directory before piping to the =
cdrecord command.

Dazed and confused and extremely sorry to be annoying everyone with =
this.

Matt