[techtalk] Using CD-Rom drives with linux.
Conor Daly
conor.daly at oceanfree.net
Mon Dec 11 17:05:56 EST 2000
On Sun, Dec 10, 2000 at 05:00:55PM -0500 or so it is rumoured hereabouts,
Tania M. Morell thought:
> Jason, Eric,
>
> I was trying to mount it because I thought I needed to. Thanks, I
> suspected there would be no way to do it but wasn't sure.
>
> I've also tried gtoaster which uses cdrecord as it's recording
> client.... It also recognizes the drive... both actually. But when I
> try to copy, it does nothing. xcdroast on the other hand attempts to
> copy but then errors out.
>
> I'm in the process of reading the man pages for cdrecord, cdda2wav, and
> mkisofs. I guess if I understand those, I'll be able to figure out what
> xcdroast and gtoaster is doing wrong.
>
> [root at caladan firmware]# cdrecord -scanbus
> Cdrecord 1.9 (i586-mandrake-linux-gnu) Copyright (C) 1995-2000 Jörg
> Schilling
> Linux sg driver version: 2.1.39
> Using libscg version 'schily-0.1'
> scsibus0:
> 0,0,0 0) 'SEAGATE ' 'ST15230W SUN4.2G' '0738' Disk
> 0,1,0 1) 'SEAGATE ' 'ST15230W SUN4.2G' '0738' Disk
> 0,2,0 2) 'PLEXTOR ' 'CD-R PX-W124TS' '1.06' Removable
> CD-ROM
> 0,3,0 3) *
> 0,4,0 4) *
> 0,5,0 5) *
> 0,6,0 6) *
> 0,7,0 7) *
> [root at caladan firmware]#
>
> -T
>
>
Have you checked your /etc/cdrecord.conf? This contains values which are
used by default if not specified on the cdrecord commandline. For
instance, my setup gives;
[root at Valkerie /root]# cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Linux sg driver version: 2.1.38
Using libscg version 'schily-0.1'
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,0,0 0) 'LITEON ' 'CD-ROM LTN382 ' 'UL24' Removable CD-ROM
0,1,0 1) 'PHILIPS ' 'CDD3610 CD-R/RW ' '3.01' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
Note the CD-RW is on scsi device 0,1,0 and is a 2x Phillips. My
/etc/cdrecord.conf looks like;
#ident @(#)cdrecord.dfl 1.1 98/12/06 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=phillips
#
# The default speed, if not specified elswhere
#
CDR_SPEED=2
#
# The default FIFO size if, not specified elswhere
#
CDR_FIFOSIZE=4m
#
# The following definitions allow abstract device names.
# They are used if the device name does not contain the
# the characters ',', ':', '/' and '@'
#
# drive name device speed fifosize
#
#teac= 1,3,0 -1 -1
#panasonic= 1,4,0 -1 -1
#yamaha= 1,5,0 -1 -1
#cdrom= 0,6,0 2 1m
phillips= 0,1,0 2 -1
Always useful to try this stuff from commandline first when
troubleshooting!
--
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
---------------------
3:59pm up 9 days, 17:57, 2 users, load average: 0.00, 0.00, 0.00
More information about the Techtalk
mailing list