Newbie trying to copy/burn first audio CD.

Brian Durant globetrotterdk at gmail.com
Wed Feb 9 16:30:52 UTC 2005


On Sat, 5 Feb 2005 16:13:38 +0700, Brian Durant
<globetrotterdk at gmail.com> wrote:
> On Thu, 3 Feb 2005 10:50:30 -0800, Chuck Vose <vosechu at gmail.com> wrote:
> > > cdrecord: Operation not permitted. WARNING: Cannot set
> > > RR-scheduler
> > > cdrecord: Permission denied. WARNING: Cannot set
> > > priority using setpriority().
> >
> > My guess from this is simply that you didn't run xcdroast as root or
> > nautilus as root. If you open a terminal and type `gksudo nautilus`,
> > put in your password, then hit places>CD/DVD Burner you'll be able to
> > do this.
> >
> > All devices are owned by root by default, this is a security issue and
> > isn't going to change. So in order to access devices you either have
> > to use sudo to run a command as root or change the device permissions
> > to allow people other than root to do whatever.
> >
> > gksudo should work for what you need. If you want to try other burners
> > rather than nautilus you should check out k3b and for ripping try
> > grip. Both are in the repos if I recall.  Or if you want to be really
> > cool you can just learn cdrecord (this is the command line program
> > that k3b, xcdroast, and nautilus all work on top of.) cdrecord isnt'
> > easy to learn but once you have the hang of it it's far easier than
> > any gui programs.
> >
> > Please let me know if this doesn't help you out.
> 
> Hi Chuck,
> 
> I am e-mailing you off list at this point, as I am not getting any
> online response on list at all. Let's try to divide this issue into
> two seperate parts to start with:
> 
> 1) Permissions
> 2) Functionality
> 
> Firstly, I would like all users (which in reality is only me) to be
> able to read and write to and from my two CD-R, RW, DVD-R drives. I as
> user would like to read, write and execute within my user account. The
> drives in the /etc/fstab are located as:
> 
> /dev/hdh        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
> /dev/hdg        /media/cdrom1   udf,iso9660 ro,user,noauto  0       0
> 
> /media/cdrom0 is listed as: JLMS XJ-HD165H
> /media/cdrom1 is listed as: SONY CD-RW CRX320E
> 
> As user, I notice that audio CDs do not show on the desktop or in the
> "computer" window. Is this normal behavior in Warty as a user and not
> sudo? If I try to double-click a CD drive icon in the "computer"
> window, I get this message:
> 
> "Unable to mount the selected volume. The volume is probably in a
> format that cannot be mounted. Details: mount: wrong fs type, bad
> option, bad superblock on /dev/hdh, or too many mounted file systems"
> 
> Is this normal behavior in Warty as a user? Other disk types show
> automagically on the desktop, as long as the file format is
> recognized.  As both of these drives can also read DVD, there should
> be a link added like this (???):
> 
> $ sudo ln -s /media/cdrom0 /dev/dvd
> 
> How do you do this for 2?
> 
> OK, that pretty much covers permissions as I see it. On to
> functionality. I have the audio CD placed in /media/cdrom0 and the
> blank CD-R disc in /media/cdrom1 Both Ryhythmbox and Sound Juicer
> recognize the drives and audio disks in them, though I sometimes have
> to try 2 or 3 times before they are recognized correctly.
> 
> When I try to create an ISO image according to the instructions in the
> Starter's Guide sudo dd if=/dev/cdrom of=file.iso bs=1024, I get the
> following:
> 
> dd: reading `/dev/cdrom': Input/output error
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.014510 seconds (0 bytes/sec)
> 
> Not including sudo returns the same:
> 
> dd: reading `/dev/cdrom': Input/output error
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.016960 seconds (0 bytes/sec)
> 
> I have tried gksudo nautilus burn:/// and then chosen CD Creator under
> the "places" menu. When I drop Wave files that I have ripped from the
> audio CD on to this window and try to burn a CD, the image creation
> seems to go fine, when the CD Creator tries to burn the image, I get
> the following:
> 
> 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...
> scsidev: '/dev/hdg'
> devname: '/dev/hdg'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> cdrecord: Warning: using unofficial version of libscg
> (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.90 04/01/14 Copyright
> 1988,1995,2000-2004 J. Schilling').
> SCSI buffer size: 64512
> cdrecord: Warning: controller returns wrong size for CD capabilities page.
> cdrecord: Warning: controller returns wrong size for CD capabilities page.
> cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder
> found on this target.
> cdrecord: Warning: controller returns wrong size for CD capabilities page.
> cdrecord: Drive does not support TAO recording.
> cdrecord: Illegal write mode for this drive. This pretty much recaps
> the situation. The question is where do I go from here???? ANy help is
> greatly appreciated.

OK, I got GnomeBaker installed. It also worked fine until it needed to
burn the CD. Here is the resonse:

cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdg'
devname: '/dev/hdg'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
cdrecord: Warning: using unofficial version of libscg
(ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.90 04/01/14 Copyright
1988,1995,2000-2004 J. Schilling').
SCSI buffer size: 64512
cdrecord: Warning: controller returns wrong size for CD capabilities page.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J
rg Schilling
NOTE: this version of cdrecord is an unofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools at packages.debian.org>.
The original author should not be bothered with problems of this version.

Do I have to run as sudo even if my fstab entries:

/dev/hdh /media/cdrom0 udf,iso9660 rw,user,noauto 0 0
/dev/hdg /media/cdrom1 udf,iso9660 rw,user,noauto 0 0

Is the problem something else? Anyone?

Cheers,

Brian




More information about the ubuntu-users mailing list