Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
04-28-2006, 01:22 PM
|
#1
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Rep:
|
ripperX denies me access to CD Drive
Hi all
I am a member of the CDROM group (accessed via kuser as root and I entered my userid as a member) and manually changed the permissions as well for the device, yet whenever I open ripperX it always gives me an error 32 and tells me to ensure I am a member of the CD group or have proper permissions.
What gives? Any help?
|
|
|
04-28-2006, 01:50 PM
|
#2
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Have you logged out since? Adding yourself to new groups won't take effect until your next login.
What happens when you try to mount a CD manually?
Can you open and close the tray (eject, eject -t)?
If you can't do that, then there must be some error with the permissions.
Quote:
manually changed the permissions
|
You mean the permissions and the group too, right?
|
|
|
04-28-2006, 01:57 PM
|
#3
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Original Poster
Rep:
|
Hey there ioerror
Yep I've logged out and back in again. I can play the CD as a user as well as mount the CD when it only has data on it, as well as eject using "eject".
Evidently I am allowed to access it, so I just don't know what ripperX is going on about.
|
|
|
04-28-2006, 02:10 PM
|
#4
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Presumably some problem with ripperX then (no idea what it could be, I've never heard of it before). Have you tried any other ripper programs?
Do you know what this error 32 is? Is it some internal ripperX thing? If it's referring to a system error number, on Linux error number 32 is EPIPE (broken pipe), maybe it's trying to run a sub-process and not finding it or something?
edit:
Most graphical rippers use cdparanoia to do the actual work, maybe that's what it can't find, though why that would result in a broken pipe I don't know.
Have you tried running cdparanoia from the command line?
Last edited by ioerror; 04-28-2006 at 02:13 PM.
|
|
|
04-28-2006, 02:27 PM
|
#5
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Original Poster
Rep:
|
Hi again
This is an excerpt from cdparanoia -vsQ at the command line:
Checking /dev/hdb for cdrom...
Testing /dev/hdb for cooked ioctl() interface
Device /dev/hdb is not a CDROM
Testing /dev/hdb for SCSI interface
/dev/hdb is not a SCSI device
This is just bizarre - when I boot up /dev/hdb is identified as a CDROM drive and this is what I added to the LILO line hdb=ide-scsi for emulation.
|
|
|
04-28-2006, 03:18 PM
|
#6
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
That's weird. It should show up as one or the other. Are you sure all the relevant modules are being loaded?
Info on scsi devices is in /proc/scsi (you should have a /proc/scsi/ide-scsi/0), and /proc/sys/dev/cdrom has (some) info any IDE cdrom(s). There may be a clue in there somewhere.
|
|
|
04-28-2006, 03:38 PM
|
#7
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Original Poster
Rep:
|
Output from less /proc/sys/dev/cdrom/info:
CD-ROM information, Id: cdrom.c 3.12 2000/10/18
drive name: sr0
drive speed: 52
drive # of slots: 1
Can close tray: 1
Can open tray: 1
Can lock tray: 1
Can change speed: 1
Can select disk: 0
Can read multisession: 1
Can read MCN: 1
Reports media changed: 1
Can play audio: 1
Can write CD-R: 1
Can write CD-RW: 1
Can read DVD: 0
Can write DVD-R: 0
Can write DVD-RAM: 0
Unless I've killed too many brain cells already, this would suggest that my system can actually find my cdrom. Perhaps the problem is not so much with my system and instead with cdparanoia ... although that hardly seems likely. ![Confused](https://www.linuxquestions.org/questions/images/smilies/confused.gif)
|
|
|
04-28-2006, 10:57 PM
|
#8
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
Are you using the 2.6.? kernel? If so, you don't need the "hdb=ide-scsi". The new kernel doesn't use it anymore. Try editing lilo, run /sbin/lilo when you're done and reboot or unload that module. That's probably what's causing your error.
|
|
|
04-29-2006, 02:28 PM
|
#9
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Original Poster
Rep:
|
Nope I am using the vanilla 2.4.* kernel that ships with Slack 10.2. I only know of ripperX and grip, but since I have not loaded the Gnome libraries, grip won't work. Are there other ripping programs - perhaps I could download those and experiment. No doubt that they are all front-ends for cdparanoia, and from a previous post, if cdparanoia can't find my cdrom, then I guess that I am up shit creek without a cd-ripper, unless I invoke the program as root.
Still, I am really curious as to what is causing this problem, so at an intellectual level it would be nice to get to the bottom of this.
Cheers for any further help
|
|
|
04-29-2006, 04:00 PM
|
#10
|
Member
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388
Rep:
|
Try if you can find any info on cdparanoia website, man pages, other documents etc. I guess that if ripping works as root, then the problem must be related to permissions. Try compiling cdparanoia yourself, instead of using the default. Package maintainers sometimes make broken builds by mistake.
|
|
|
04-30-2006, 04:34 PM
|
#11
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Original Poster
Rep:
|
ripperX denies me access to CD Drive :: FIXED
I guess the error is related to permissions also, but for the life of me I cannot figure out anything about how to correct it from the ripperX website and the docs don't address this.
However, I have found a fix: cdparanoia apparently uses an 'sg' interface to read scsi devices.
By changing permissions here, this seems to work.
Therefore the fix is:
and hey presto! works like a charm
Last edited by d00bid00b; 04-30-2006 at 04:36 PM.
Reason: Update title
|
|
|
All times are GMT -5. The time now is 07:24 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
|
|