Re: cdrecord problem -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 Jul 2003 11:08:27 -0400
BOB GOODWIN <res70zf8@xxxxxxxxxxx> wrote:

> I did not intend to send this message as html earlier, don't know what
> happened? Sorry.
> 
> I would like to "burn" a CD but get the following error messages and
> I'm not sure where to start troubleshooting this problem. Can anyone
> suggest what to do next? I have used the CD drive for writing to disks
> in another RH-9 computer and it worked well but can't seem to get
> things configured properly now.
> 
> Bob Goodwin
> 
> # cdrecord -v speed=16 dev=1,5,0 -data ioware-w32-x86-402.exe.iso
> Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J___rg
> Schilling TOC Type: 1 = CD-ROM scsidev: '1,5,0'scsibus: 1 target: 5
> lun: 0 cdrecord: No such file or directory. Cannot open '/dev/sg*'.
> Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
> are root.
> cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

Hello, Bob :)
Check out /etc/cdrecord.conf
On my system, I had the same problem.
In the default cdrecord.conf, the following appears:

#ident @(#)cdrecord.dfl	1.4 02/07/07 Copyr 1998 J. Schilling
#
# This file is /etc/cdrecord.conf
# It contains defaults that are used if no command line option
# or environment is present.
# 
# The default device, if not specified elswhere
#
CDR_DEVICE=yamaha



You will notice that the default device, according to /etc/cdrecord.conf
is "yamaha"
Let's look a little further down the file and see what we find:

# The following definitions allow abstract device names.
# They are used if the device name does not contain the
# the characters ',', ':', '/' and '@'
#
# Unless you have a good reason, use speed == -1 and let
# cdrecord use it's intercal drive specific defaults.
#
# drive name	device	speed	fifosize driveropts
#
teac=		1,3,0	-1	-1	""
panasonic=	1,4,0	-1	-1	""
plextor=	1,4,0	-1	-1	""
sanyo=		1,4,0	-1	-1	burnfree
yamaha=		1,5,0	-1	-1	""
cdrom=		0,6,0	2	1m	""

You will notice that the device number for "yamaha" is "1,5,0", which is
I believe analagous to:
> > TOC Type: 1 = CD-ROM scsidev: '1,5,0'scsibus: 1 target: 5 lun: 0
> > cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot
> > open SCSI driver. 

from your original message.
Realizing there is probably a better way to fix it, I did the following:
"cdrecord -scanbus"

I got the following result:
[root@xxxxxxxxx steve]# cdrecord -scanbus
Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jrg
Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'Memorex ' '52MAXX 2452AJ   ' '6WS2' Removable
CD-ROM
        0,1,0     1) *

So what I did, reiterating the fact that there is certainly an easier
way to do it, was change "1,5,0" on the "yamaha" line in
/etc/cdrecord.conf, to "0,0,0":

yamaha=		0,0,0	-1	-1	""

The result is that every time I burn a cd from the command line, not
only do I not need to specify the location of my cd-burner, but it
always detects it correctly :)

Hope that helps :)
Steven P. Ulrick


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux