WHy is it that the things I expect to be difficult are easy, and then something simple stumps me? I thought I'd venture into the world of CD recording. I invested in a Plextor 8x4x32 CD-RW drive, and a fresh copy of SuSE 7.2, which I expected would have all the tools and toys I needed to drive it. I've read thru the how-to's, the SDB, and every post on this list for the past few months which mentioned CD-R. I've got ide-scsi declared in lilo.conf, the ide-scsi module loaded in boot.local. `cdrecord -scanbus` finds my drive: bash-2.05# cdrecord -scanbus Cdrecord 1.9 (i686-suse-linux) Copyright (C) 1995-2000 Jrg Schilling Linux sg driver version: 3.1.17 Using libscg version 'schily-0.1' scsibus0: cdrecord: Warning: controller returns wrong size for CD capabilities page. 0,0,0 0) 'ASUS ' 'CD-S400/A ' '2.1H' Removable CD-ROM 0,1,0 1) 'PLEXTOR ' 'CD-R PX-W8432T' '1.07' 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) * I've got the links to /dev/cdrom and /dev/cdrecorder rebuilt: bash-2.05# ls -al /dev/cdr* lrwxrwxrwx 1 root root 8 Sep 5 14:50 /dev/cdrecorder -> /dev/sr1 lrwxrwxrwx 1 root root 9 Sep 5 14:35 /dev/cdrom -> /dev/scd0 (Some ambiguity here. Some of the howto's refer to the scsi-emulated devices as /dev/scdn, where some others say /dev/srn. I noticed they have the same major/minor numbers, so I assume they are equivalent?) I also had it linked to /dev/scd1 and got the same result... I can mount a CD in either drive and access it, so I believe these links are correct. Now comes the problem: Even though cdrecord -scanbus seems to find the plextor, I get errors when running either K0nCD or xcdroast. In KOnCD, the 'setup' panel doesn't find the plextor. The 'reader' is identified as /dev/cdrom, but the 'writer' shows no options at all. Attempting to run xcdroast, I get a slew of problems: ** WARNING **: X-CD-Roast does not seem to have the correct permissions set ** WARNING **: So do as root something like that: (and read the Manual) chown root:cdwrite xcdroast; chmod 2755 xcdroast ** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/cdrecord ** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/cdda2wav ** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/readcd ** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/mkisofs SuSE 7.2 didn't come with a 'cdwrite' group defined, so I got stalled at the first line... WHen in doubt, read the manual, right? Chapter 8 of the Applications manual describes Xcdroast. A note on page 113 refers one to a chapter in the configuration manual on CD-burner - configuration. I've searched thru the configuration manual, and I can't find that chapter for the life of me... So where do I go from here? Rick Green
On Thu, Sep 06, 2001 at 01:26:44AM -0400, Rick Green wrote:
WHy is it that the things I expect to be difficult are easy, and then something simple stumps me?
I thought I'd venture into the world of CD recording. I invested in a Plextor 8x4x32 CD-RW drive, and a fresh copy of SuSE 7.2, which I expected would have all the tools and toys I needed to drive it. I've read thru the how-to's, the SDB, and every post on this list for the past few months which mentioned CD-R. I've got ide-scsi declared in lilo.conf, the ide-scsi module loaded in boot.local. `cdrecord -scanbus` finds my drive:
bash-2.05# cdrecord -scanbus Cdrecord 1.9 (i686-suse-linux) Copyright (C) 1995-2000 Jrg Schilling Linux sg driver version: 3.1.17 Using libscg version 'schily-0.1' scsibus0: cdrecord: Warning: controller returns wrong size for CD capabilities page. 0,0,0 0) 'ASUS ' 'CD-S400/A ' '2.1H' Removable CD-ROM 0,1,0 1) 'PLEXTOR ' 'CD-R PX-W8432T' '1.07' 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) *
I've got the links to /dev/cdrom and /dev/cdrecorder rebuilt:
bash-2.05# ls -al /dev/cdr* lrwxrwxrwx 1 root root 8 Sep 5 14:50 /dev/cdrecorder -> /dev/sr1 lrwxrwxrwx 1 root root 9 Sep 5 14:35 /dev/cdrom -> /dev/scd0
(Some ambiguity here. Some of the howto's refer to the scsi-emulated devices as /dev/scdn, where some others say /dev/srn. I noticed they have the same major/minor numbers, so I assume they are equivalent?) I also had it linked to /dev/scd1 and got the same result...
I can mount a CD in either drive and access it, so I believe these links are correct.
Now comes the problem:
Even though cdrecord -scanbus seems to find the plextor, I get errors when running either K0nCD or xcdroast. In KOnCD, the 'setup' panel doesn't find the plextor. The 'reader' is identified as /dev/cdrom, but the 'writer' shows no options at all.
Attempting to run xcdroast, I get a slew of problems:
** WARNING **: X-CD-Roast does not seem to have the correct permissions set
** WARNING **: So do as root something like that: (and read the Manual) chown root:cdwrite xcdroast; chmod 2755 xcdroast
** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/cdrecord
** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/cdda2wav
** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/readcd
** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/mkisofs
SuSE 7.2 didn't come with a 'cdwrite' group defined, so I got stalled at the first line...
'cdwrite' group may exist on some non-SuSE distro. Try use 'disk' instead. And include your user into 'disk' group. -Kastus
WHen in doubt, read the manual, right?
Chapter 8 of the Applications manual describes Xcdroast. A note on page 113 refers one to a chapter in the configuration manual on CD-burner - configuration. I've searched thru the configuration manual, and I can't find that chapter for the life of me...
So where do I go from here?
Rick Green
On 6 Sep 2001, Rick Green wrote:
WHy is it that the things I expect to be difficult are easy, and then something simple stumps me?
I thought I'd venture into the world of CD recording. I invested in a Plextor 8x4x32 CD-RW drive, and a fresh copy of SuSE 7.2, which I expected would have all the tools and toys I needed to drive it. I've read thru the how-to's, the SDB, and every post on this list for the past few months which mentioned CD-R. I've got ide-scsi declared in lilo.conf, the ide-scsi module loaded in boot.local. `cdrecord -scanbus` finds my drive:
bash-2.05# cdrecord -scanbus Cdrecord 1.9 (i686-suse-linux) Copyright (C) 1995-2000 Jrg Schilling Linux sg driver version: 3.1.17 Using libscg version 'schily-0.1' scsibus0: cdrecord: Warning: controller returns wrong size for CD capabilities page. 0,0,0 0) 'ASUS ' 'CD-S400/A ' '2.1H' Removable CD-ROM 0,1,0 1) 'PLEXTOR ' 'CD-R PX-W8432T' '1.07' 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) *
I've got the links to /dev/cdrom and /dev/cdrecorder rebuilt:
bash-2.05# ls -al /dev/cdr* lrwxrwxrwx 1 root root 8 Sep 5 14:50 /dev/cdrecorder -> /dev/sr1 lrwxrwxrwx 1 root root 9 Sep 5 14:35 /dev/cdrom -> /dev/scd0
(Some ambiguity here. Some of the howto's refer to the scsi-emulated devices as /dev/scdn, where some others say /dev/srn. I noticed they have the same major/minor numbers, so I assume they are equivalent?) I also had it linked to /dev/scd1 and got the same result...
I can mount a CD in either drive and access it, so I believe these links are correct.
Now comes the problem:
Even though cdrecord -scanbus seems to find the plextor, I get errors when running either K0nCD or xcdroast. In KOnCD, the 'setup' panel doesn't find the plextor. The 'reader' is identified as /dev/cdrom, but the 'writer' shows no options at all.
Attempting to run xcdroast, I get a slew of problems:
** WARNING **: X-CD-Roast does not seem to have the correct permissions set
** WARNING **: So do as root something like that: (and read the Manual) chown root:cdwrite xcdroast; chmod 2755 xcdroast
** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/cdrecord
** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/cdda2wav
** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/readcd
** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/mkisofs
SuSE 7.2 didn't come with a 'cdwrite' group defined, so I got stalled at the first line...
WHen in doubt, read the manual, right?
Chapter 8 of the Applications manual describes Xcdroast. A note on page 113 refers one to a chapter in the configuration manual on CD-burner - configuration. I've searched thru the configuration manual, and I can't find that chapter for the life of me...
So where do I go from here?
First, do as Konstantin mentions... if that doesn't work, are you get secure memory errors, please keep in mind that the only way that I've been able to get cdrecord to work properly is as root. I personally use 'sudo' for this. Are you using the cdrecord version that came with 7.2? I believe it was last updated in 1999! Schilling updates the package around every two weeks, a lot of things have been fixed since then (yours should just by fixing what Konstantin said). Either download the source and compile from ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/cdrtools- 1.11a06.tar.gz or download my updated RPM from http://home.earthlink.net/~noodlez84/other_files/cdrtools- 1.11a06-3.i386.rpm . The new version supports Burn-Proof, which I believe your plextor does but the 1999 cdrecord version doesn't. -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0
On Thu, 6 Sep 2001, Karol Pietrzak wrote:
weeks, a lot of things have been fixed since then (yours should just by fixing what Konstantin said). Either download the source and compile from ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/cdrtools- 1.11a06.tar.gz or download my updated RPM from http://home.earthlink.net/~noodlez84/other_files/cdrtools- 1.11a06-3.i386.rpm . The new version supports Burn-Proof, which I believe your plextor does but the 1999 cdrecord version doesn't. -- Thanks. I pulled your .rpm. Did you build it a while ago, for an earlier release of SuSE? I noticed that it overlayed parts of three SuSE rpms, but not entirely replaced them. So I used the -replacefiles option in order to keep the /usr/doc/packages/... stuff that I would have lost by uninstalling the SuSE 7.2 rpms first...
I got Xcdroast to start up as root. It found both CD drives, and setting up an initial configuration seemed intuitive. However, when I put an audio CD in the CD-ROM drive, and selected 'duplicate CD', the program hung. I went to bed, slept 8 hours, got up, made breakfast, reconfigured my kppp initialization, read some e-mail, and finally, some 9 or 10 hours later, Xcdroast woke up and gave me the TOC on the audio disk! Somehow, I think I should get better performance than that! KOnCD still doesn't see my CD-RW drive... I'll give up on that and pursue Xcdroast for now... Rick Green
On 6 Sep 2001, Rick Green wrote:
Thanks. I pulled your .rpm. Did you build it a while ago, for an earlier release of SuSE? I noticed that it overlayed parts of three SuSE rpms, but not entirely replaced them. So I used the -replacefiles option in order to keep the /usr/doc/packages/... stuff that I would have lost by uninstalling the SuSE 7.2 rpms first...
No, I'm using SuSE 7.2. The RPM was compiled using gcc 2.95.3 and glibc 2.2.2 (SuSE defaults). The GPG sig was created using gpg 1.0.6. The reasons you get errors is because SuSE creates a RPM for each tool: cdrecord.rpm, mkisofs.rpm, cdda2wav.rpm, etc. Joerg Schilling distributes his 'cdrtools' package with everything in one set, and so I have stuck with that method. So, check if you still have the following installed: mkisofs, cdrecord, cdda2wav, etc. by "rpm -qa | grep packagename".
I got Xcdroast to start up as root. It found both CD drives, and setting up an initial configuration seemed intuitive. However, when I put an audio CD in the CD-ROM drive, and selected 'duplicate CD', the program hung. I went to bed, slept 8 hours, got up, made breakfast, reconfigured my kppp initialization, read some e-mail, and finally, some 9 or 10 hours later, Xcdroast woke up and gave me the TOC on the audio disk! Somehow, I think I should get better performance than that!
Heh. Yes... what was the CDR drive? Do you have vendor specific instructions enabled for the sg module?
KOnCD still doesn't see my CD-RW drive... I'll give up on that and pursue Xcdroast for now...
I would try from the console using 'clean' cdrecord. If you figure out the tags, then you can set it up in _any_ package. What does "cdrecord -scanbus" say? Try ripping a CD using cdda2wav: cdda2wav -D /dev/scd1 -g -x -H -B -O wav Don't output to /dev/dsp... let's just see if it rips correctly... Replace /dev/scd1 with your appropriate device... by the way, are you trying this as root or as a normal user? If you use the cdrtools are a normal user, I'd recommend you use the package "sudo" (found on the SuSE CDs) to allow your normal user to run certain programs (/usr/bin/cdrecord, /bin/eject, /usr/bin/cdda2wav, etc.) with or even without the root password. -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0
Now I've dug myself in even deeper! I began by trying something that I thought would be simple and non-destructive. I inserted an audio CD into the CD-ROM drive and ran 'cdda2wav -D0,0,0 -e track1.wav`, thinking I would get a small file, as well as some audio from my speakers. Instead, I seem to have a never-ending process, which I can't seem to kill, even with kill -9! It's been running for about two hours now, and according to top, is competing with artsd for the lion's share of my cpu. THey're both eating up 40-45% each (strangely, always equal!). Is that -e option to blame? DOes cdda2wav not cooperate well with artsd, so they're both fighting over /dev/dsp? Any idea how I can kill that process without bringing down my whole system? Rick Green
Rick Green wrote:
Attempting to run xcdroast, I get a slew of problems:
** WARNING **: X-CD-Roast does not seem to have the correct permissions set
type "sux -c xcdroast", enter your root password, and burn away! :) -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: www.mydestiny.net/~joe_morris "All I have seen teaches me to trust the Creator for all I have not seen." --Ralph Waldo Emerson
participants (4)
-
Joe & Sesil Morris
-
Karol Pietrzak
-
Konstantin (Kastus) Shchuka
-
Rick Green