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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-28-2005, 03:46 PM
|
#1
|
Member
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67
Rep:
|
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
|
|
|
10-28-2005, 11:25 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,385
|
"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
|
|
|
10-29-2005, 04:30 AM
|
#3
|
Member
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67
Original Poster
Rep:
|
No it is just a regular, blank CD-R that came straight from the top of the spindle! Thanks though.
|
|
|
10-29-2005, 11:16 AM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,385
|
"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
|
|
|
10-29-2005, 04:20 PM
|
#5
|
Member
Registered: Oct 2005
Location: A safe distance from Detroit
Distribution: SuSE 10.0, Knoppix
Posts: 99
Rep:
|
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!
|
|
|
11-20-2005, 01:35 PM
|
#6
|
Member
Registered: Jun 2004
Location: France, UE
Distribution: Arch Linux, Bodhi, Debian, Mageia, OpenMediaVault, Q4OS
Posts: 133
Rep:
|
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
|
|
|
11-20-2005, 02:28 PM
|
#7
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
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
|
|
|
11-27-2005, 09:32 PM
|
#8
|
LQ Newbie
Registered: Nov 2005
Location: India
Posts: 2
Rep:
|
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.
|
|
|
11-28-2005, 04:55 AM
|
#9
|
Member
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67
Original Poster
Rep:
|
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.
|
|
|
11-28-2005, 11:08 PM
|
#10
|
LQ Newbie
Registered: Nov 2005
Location: India
Posts: 2
Rep:
|
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
|
|
|
12-07-2005, 11:19 AM
|
#11
|
Member
Registered: Oct 2005
Distribution: Mandriva 2006
Posts: 67
Original Poster
Rep:
|
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:
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
|
|
|
All times are GMT -5. The time now is 07:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|