PDA

View Full Version : Problem burning cd with sata cd/dvd-burner


nitwit536
2008-03-28, 09:41 AM CDT
just bought a dell latitude 630 laptop
fedora installed like a charm, but i don't seem to be able to write cd's

i tried to write the debian testing image, but got this error:


Calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORD dev= "/dev/cdrom" gracetime=2 fs=4096k driveropts=burnfree -v -useinfo speed=4 -dao -eject -pad -data "/home/wouter/Downloads/debian-testing-i386-netinst.iso" ...

wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 1 = CD-ROM
Driveropts: 'burnfree'
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVD+-RW GSA-T21N'
Revision : 'A102'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A (CD-RW)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW) (current)
Profile: 0x0008 (CD-ROM)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1053696 = 1029 KB
Drive DMA Speed: 13581 kB/s 77x CD 9x DVD
FIFO size : 4194304 = 4096 KB
Speed set to 1764 KB/s
pregap1: -1
Track 01: data 142 MB padsize: 30 KB
Total size: 163 MB (16:09.81) = 72736 sectors
Lout start: 163 MB (16:11/61) = 72736 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 6
Reference speed: 6
Is not unrestricted
Is erasable
Disk sub type: High speed Rewritable (CAV) media (1)
ATIP start of lead in: -12374 (97:17/01)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 4 1T speed high: 10
2T speed low: 0 (reserved val 6) 2T speed high: 0 (reserved val 12)
power mult factor: 2 6
recommended erase/write power: 2
A1 values: 24 2C AC
A2 values: 6C A4 34
A3 values: 04 D1 80
Disk type: Phase change
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.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 287113
Starting to write CD/DVD at speed 10.0 in real SAO mode for single session.
Waiting for reader process to fill input buffer ...
input buffer ready.
Performing OPC...
Sending CUE sheet...
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
Writing pregap for track 1 at -150
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
write track pad data: error after 0 bytes
status: 0x2 (CHECK CONDITION)
BFree: 1029 K BSize: 1029 K
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 90 30 05 00 00
Starting new track at sector: 0
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 200s
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 90 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 200s
wodim: A write error occured.
wodim: Please properly read the error message above.

write track data: error after 0 bytes
Writing time: 5.060s
Average write speed 193.4x.
Fixating...
Fixating time: 0.005s
wodim: fifo had 64 puts and 1 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.


I searched the net and some fora said that the problem is cdrecord (wodim), so i tried with cdrskin in k3b.
Failed aswell:


System
-----------------------
K3b Version: 1.0.4

KDE Version: 3.5.9-5.fc8 Fedora
QT Version: 3.3.8b
Kernel: 2.6.24.3-50.fc8
Devices
-----------------------
HL-DT-ST DVD+-RW GSA-T21N A102 (/dev/sr0, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R sequentieel, DVD-R Dual Layer sequentieel, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Beperkt overschrijven]

Used versions
-----------------------
cdrecord: 2.1-Emulation

cdrecord
-----------------------
cdrskin 0.3.8 : limited cdrecord compatibility wrapper for libburn
cdrskin: verbosity level : 1
cdrskin: NOTE : greying out all drives besides given dev='/dev/sr0'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: beginning to burn disc
cdrskin: status 1 burn_disc_blank "The drive holds a blank disc"
Track 01: data 142 MB
Total size: 142 MB (16:11.61) = 72721 sectors
Lout start: 142 MB (16:13/61) = 72721 sectors
Starting to write CD/DVD at speed 10 in real SAO mode for single session.
Last chance to quit, starting real write in 2 seconds.
1 seconds.
0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
cdrskin: FATAL : SCSI error on write(-150,16): key=5 asc=30h ascq=05h
cdrskin: FATAL : Burn run failed
Cdrskin: fifo had 2079 puts and 31 gets.
Cdrskin: fifo was 0 times empty and 0 times full, min fill was 100%.
cdrskin: FATAL : burning failed.
Track 01: Total bytes read/written: 0/0 (0 sectors).
Writing time: 0.519s
Min drive buffer fill was 50%
cdrskin: burning failed

cdrecord command:
-----------------------
/usr/bin/cdrskin -v gracetime=2 dev=/dev/sr0 speed=10 -dao driveropts=burnfree -eject -data -tsize=72721s -



So i'm guessing that this is a hardware problem...

Is there someone who had the same problem and could fix it?

Blanking a cd-rw works fine.

nitwit536
2008-04-08, 02:01 AM CDT
Ok, this is really silly.

Seems that the user who wants to burn, wasn't added to the "disk"-group (/etc/group)...

God I feel stupid for not checking this first !

I guess the topic can be closed now...