LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-28-2005, 03:46 PM   #1
bmccorm2
Member
 
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67

Rep: Reputation: 15
Problems Burning an ISO with cdrecord


I am trying to burn an ISO image using cdrecord and this is what is happening:

Code:
[root@localhost bryan]# cdrecord -v speed=24 dev=/dev/hda /home/bryan/slackware-10.2-install-d1.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '/dev/hda'
devname: '/dev/hda'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c        1.83 04/05/20 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identifikation : 'RW/DVD GCC-4240N'
Revision       : 'E112'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009
Profile: 0x0010
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
Using generic SCSI-3/mmc   CD-R/CD-RW 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 : 1705200 = 1665 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   637 MB
Total size:      732 MB (72:33.28) = 326496 sectors
Lout start:      732 MB (72:35/21) = 326496 sectors
Current Secsize: 2048
  ATIP start of lead in:  -13650 (97:00/00)
Disk type:    unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Manufacturer is unknown because of the orange forum embargo.
As the orange forum likes to get money for recent information,
it may be that this media does not use illegal manufacturer coding.
Speed set to 4234 KB/s
Starting to write CD/DVD at speed  24.0 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.
trackno=0
BURN-Free is OFF.
Performing OPC...
cdrecord: Success. send opc: scsi sendcmd: no error
CDB:  54 01 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 73 03 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x73 Qual 0x03 (power calibration area error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 16.977s timeout 60s
cdrecord: OPC failed.
Writing  time:   17.008s
cdrecord: fifo had 64 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
[root@localhost bryan]#

Does anyone know what is going on here?

Thanks
 
Old 10-28-2005, 11:25 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,385

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
"cdrecord -v speed=24 dev=/dev/hda /home/bryan/slackware-10.2-install-d1.iso"

"Vendor_info : 'HL-DT-ST'
Identifikation : 'RW/DVD GCC-4240N'"

Are you using CD-R or CD-RW? If you are using CD-RW you need to drop the speed to 10x. Also if you are using a CD-RW that has been used before you should blank the CD-RW before you write over it.

--------------------------
Steve Stites
 
Old 10-29-2005, 04:30 AM   #3
bmccorm2
Member
 
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67

Original Poster
Rep: Reputation: 15
No it is just a regular, blank CD-R that came straight from the top of the spindle! Thanks though.
 
Old 10-29-2005, 11:16 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,385

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
"it is just a regular, blank CD-R that came straight from the top of the spindle! "

A CD-R cannot be written at all speeds. There is a speed range that the CD-R can be written to. Check and make sure that 24x is within your blank CD-R's write speed range.

----------------------------------------
Steve Stites
 
Old 10-29-2005, 04:20 PM   #5
ahedler
Member
 
Registered: Oct 2005
Location: A safe distance from Detroit
Distribution: SuSE 10.0, Knoppix
Posts: 99

Rep: Reputation: 17
And make sure that it's not the blank non-writeable spacer often found on the top and/or bottom of the spindle that's not really a CD! Sounds dumb, but I've seen it happen. If it isn't silvery, and is completely clear plastic, you can't write on it!
 
Old 11-20-2005, 01:35 PM   #6
kozaki
Member
 
Registered: Jun 2004
Location: France, UE
Distribution: Arch Linux, Bodhi, Debian, Mageia, OpenMediaVault, Q4OS
Posts: 133

Rep: Reputation: 20
Hi

Just had the same message when running cdrecord as a user.

Tried to enter the same command as root, and it's presently burning the ISO as i wanted


Hardware is NEC DVD burner 3520A
OS : Linux elive 2.6.11 #1 & Cdrecord-Clone 2.01.01a01
 
Old 11-20-2005, 02:28 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
I think the issue may just be with the command you're running. Below is what always works for me
Code:
cdrecord -v speed=8 dev=0,0,0 -data <my_image.img>
Substitute the actual ISO name as needed. BTW to avoid coasters, be sure to verify the checksum before burning. Good luck with it
 
Old 11-27-2005, 09:32 PM   #8
karanpal
LQ Newbie
 
Registered: Nov 2005
Location: India
Posts: 2

Rep: Reputation: 0
This is how I resolved when I faced opc failed problem using cdrecord in Mandriva 2006.

1) You need not run cdrecord with setuid root as
Mandriva uses kernel version >2.6.8.
2) as root you will need to load a kernel module 'ide-scsi' which mandriva does not load by default. Command to to the same is
modprobe ide-scsi
3) Now you may try cdrecord command as you were attempting earlier.

I hope this resolves your problem.
 
Old 11-28-2005, 04:55 AM   #9
bmccorm2
Member
 
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67

Original Poster
Rep: Reputation: 15
Thank you for the reply. Here is what I am getting. I'll give you two things here

1. I'm not quite sure what this means (I think it is not installed, but I am not quite sure), but here is the output of modprobe ide-scsi:

Code:
[root@localhost sbin]# ./modprobe ide-scsi
[root@localhost sbin]#
However, under /lib/modules/2.6.14-prep/kernel/drivers/scsi, I found a module called ide-scsi.ko. I don't know if I have that installed or what, but that is what is on my system.


2. I am a little new to this, so I was trying to find the module in my kernel. I am using kernel 2.6.14 (FC4) and using "make menuconfig" to configure all the modules. I swear I've looked through the whole thing backwards and forwards and found no line with "ide-scsi." Do you know under what heading it would be? I'm currently under device drivers, but I don't know where to go from there.

Again, THANK YOU for your help!!

Last edited by bmccorm2; 11-28-2005 at 04:59 AM.
 
Old 11-28-2005, 11:08 PM   #10
karanpal
LQ Newbie
 
Registered: Nov 2005
Location: India
Posts: 2

Rep: Reputation: 0
please do not use ./modeprobe

location of modprobe is /sbin/modprobe if you are logged in as root user path for /sbin is already set and this command can only be run as root.

just run this command without './' and it should look something like

modprobe ide-scsi

This loads the kernel module ide-scsi in the running kernel and after this cdrecord with work fine till you reboot.
On next reboot you will have to do the same procedure again.

If you want to make sure that this kernel module automatically gets loaded on every reboot.
the easiest way to do is add following line in the end of '/etc/rc.local'.

/sbin/modprobe ide-scsi

This is the simplest way but not the best way.

karan (at) linuxsolutions (dot) in
 
Old 12-07-2005, 11:19 AM   #11
bmccorm2
Member
 
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67

Original Poster
Rep: Reputation: 15
I checked when i switch to root, and /sbin is not in my PATH variable, so I just manually add it and continue with the command:

Code:
modprobe ide-scsi
It reports no errors but when I run cdrecord (again, without rebooting), I still get the same error message as above. Any ideas as to why this is happening?

Again, thanks for your help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems burning ISO ErikFZR Fedora - Installation 10 01-23-2005 11:38 PM
Problems burning cd's using the cdrecord command Snerkel Linux - Hardware 1 09-26-2004 06:37 PM
burning a bootable iso image with cdrecord sandy_obrien Linux - Newbie 11 05-23-2004 06:45 PM
cdrecord error burning iso image mooreted Linux - General 8 04-19-2004 10:57 AM
Burning ISO in Debian Libranet with cdrecord or toast??? GraphMatix Linux - Software 1 12-07-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration