You are not logged in.

#1 2009-06-03 17:18:07

saivin
Member
From: Bengaluru, India
Registered: 2009-01-03
Posts: 5

Unable to burn cd with 'cdrecord'

Hi,
If I'm not in proper forum please move the post accordingly.  This is not strictly Arch related but hope to get a solution from the forum.

I've installed Schilly's cdrecord on my Arch. But I'm unable to burn cds with cdrecord. The scanbus details are as follows:

[saivin@SV-V1400 ~]$ cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a60 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2009 Jrg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
scsibus0:
    0,0,0      0) 'ATA     ' 'SAMSUNG HM160HI ' 'HH10' Disk
    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) *
scsibus3:
    3,0,0    300) 'HL-DT-ST' 'DVD+-RW GSA-T21N' 'A102' Removable CD-ROM
    3,1,0    301) *
    3,2,0    302) *
    3,3,0    303) *
    3,4,0    304) *
    3,5,0    305) *
    3,6,0    306) *
    3,7,0    307) *

When I try to burn cd with the following command I get error as:

[saivin@SV-V1400 ~]$ cdrecord -v -eject dev=ATA:3,0,0 Downloads/install-x86-minimal-20090602.iso
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a60 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2009 Jrg Schilling
TOC Type: 1 = CD-ROM
scsidev: 'ATA:3,0,0'
devname: 'ATA'
scsibus: 3 target: 0 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

Removing ATA from dev= argument starts burning but exits with error wasting that cd. sad I tried replacing ATA with ATAPI and sg. No luck. Read Schilly's manpage but it did not help in identifying the problem. What may be the problem?

Last edited by saivin (2009-06-03 17:18:41)


A candle looses nothing by lighting other candles.
-- Khalil Zibran

Offline

#2 2009-06-03 17:24:31

rebugger
Member
From: Germany
Registered: 2007-10-28
Posts: 229

Re: Unable to burn cd with 'cdrecord'

This is how i burn my dvd's:
growisofs -speed=8 -dvd-compat -Z /dev/sr1=./file.iso
this will use wodim, which AFAIK is a fork of cdrecord.

So for cd burning,
growisofs -speed=8 -Z /dev/sr1=./file.iso
should do a great job.

Last edited by rebugger (2009-06-03 17:25:02)

Offline

#3 2009-06-03 18:20:15

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Unable to burn cd with 'cdrecord'

These days, I believe cdrecord is but a link to wodim.
However - do a 'dmseg | grep sr' and you will probably find that your cd-burner is /dev/sr0 or /dev/sr1 and use this as the device rather than ATA:x,x,x - works for me.

Offline

#4 2009-06-04 12:54:41

saivin
Member
From: Bengaluru, India
Registered: 2009-01-03
Posts: 5

Re: Unable to burn cd with 'cdrecord'

Thanks rebugger and perbh.  It indeed was /dev/sr0 issue.  One strange thing though.  When I did 'dmesg | grep sr' I got the following which looks like an error or atleast something that needs some attention.  Could you explaing what it is and what I need to do?

[saivin@SV-V1400 ~]$ dmesg | grep sr
 sda:<4>Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
sr 0:0:0:0: Attached scsi CD-ROM sr0
sr 0:0:0:0: Attached scsi generic sg0 type 5
sr 0:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 0:0:0:0: [sr0] Sense Key : 0x5 [current] 
sr 0:0:0:0: [sr0] ASC=0x21 ASCQ=0x0
end_request: I/O error, dev sr0, sector 0
Buffer I/O error on device sr0, logical block 0
sr 0:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 0:0:0:0: [sr0] Sense Key : 0x5 [current] 
sr 0:0:0:0: [sr0] ASC=0x21 ASCQ=0x0
end_request: I/O error, dev sr0, sector 0
Buffer I/O error on device sr0, logical block 0

Anyway, I went ahead and changed ATA:x,x,x to /dev/sr0 and tried to burn cd.  Thankfully, it worked.

Just to rant, in my case the cdrecord is not a link to wodim. I directly downloaded source from Schily's site and installed it.  I like to be as close to original author's source as possible.  Distro specific patches only when unavoidable for my level.  For me, its mark of respect for the original author's work. smile

Last edited by saivin (2009-06-04 13:02:07)


A candle looses nothing by lighting other candles.
-- Khalil Zibran

Offline

#5 2009-06-04 17:00:49

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Unable to burn cd with 'cdrecord'

Off the cuff - the errormessages are probably because there was no cd/dvd in the drive at the time.
Harmless - but a li'l bit scary ...

cdrecord was forked (and became wodim) because JSchiller was somewhat problematic to work with.
I have no other background on the matter so I'm not passing judgement in any way.
That being said - I find that wodim have less quirks than cdrecord ...

Offline

Board footer

Powered by FluxBB