Click to See Complete Forum and Search --> : Unable to Rip CD's.
jefjj01
06-06-2004, 12:18 AM
I am unable to rip cd's on one of my computers that I newly installed SUSE 9.1 on. After trying for hours I finally am getting closer to understanding my problem.
If I run the command 'cdparanoia -Q' I get the following:
/dev/cdrom exists but isn't accessible.
More information about /dev/cdrom:
Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/hdi is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
Testing /dev/cdrom for SCSI interface
/dev/cdrom is not a SCSI device
I saw other posts about the same problem, but none of the solutions worked. I do think this is a permissions problem still though. So, anyway, the most common solution was to run the command 'chmod 666 /dev/sg0'. I guess the point being that even though the cdrom device points to something like /dev/hdi, on a lower level the device is actually /dev/sg0 and needs the correct permissions set. I tried running the command 'chmod 666 /dev/sg0' just hoping it would work, but no luck.
My current permissions look like:
brwxrwxrwx 1 jeff disk 56, 0 Apr 6 06:27 hdi
lrwxrwxrwx 1 root root 3 Jun 4 21:12 cdrom -> hdi
lrwxrwxrwx 1 root root 3 Jun 4 21:12 cdrecorder -> hdi
Does anyone have any ideas?
-Jeff
nikodell
06-06-2004, 12:30 AM
I have SuSe 9.1 and cannot get lame to function here it is a different problem but in the same note grip will not recognise my cd either.
But no time to look at the problem myself at this point.
Dell inspiron 8600 centrino ,with the wireless actualy working out of the box got to love that
kevinalm
06-06-2004, 01:05 AM
cdparanoia requires ide-scsi emulation. If you have an initrd containing the ide-scsi module then you can enable it with hd?=ide-scsi on the kernel line in /boot/grub/menu.lst or the append line in lilo's config file. ? being the appropriate drive letter of course. If that doesn't work (because you don't have a working initrd with ide-scsi) there are various solutions, (try some searches) but the one I prefer is to recompile the kernel with ide-scsi compiled in (y) ide-cd (m or n) and add hd?=scsi to the kernel or append line. Some searches on ide-scsi or scsi emulation should give you a lot of info on this problem.
bwkaz
06-06-2004, 08:03 AM
Why not just use a CD ripping program that does not require ide-scsi emulation?
ide-scsi works, but it's extremely ugly code...
jefjj01
06-06-2004, 09:02 AM
I also forgot to mention that I have installed SUSE 9.1 on two of my computers at home. One computer works fine (for ripping), and the other does not. I even tried swaping out the CDROM's to see what happens...but the same thing...the one still works fine, but the other does not, so I know its not the CDROM that is the problem. Of course the one that does not work is my main computer...its an AMD XP 2100 with an Epox 8K5A Motherboard. The board is a raid board, but I do not have the raid installed. As a side note I installed SUSE on a friends computer and he works fine too.
After looking on google I feel it is a permissions error, but I do not know enough to know how to troubleshoot this any further. If my device is listed as /dev/hdi and I gave myself the proper permissions is that enough, or is the device (cdrom) actually something else (because of scsi emulation). Is there a command I can run to find out what device my cdrom is being run as?
--> Why not just use a CD ripping program that does not require ide-scsi emulation?
I will try anything at this point. I just want to be able to rip a cd to .wav and/or .mp3. I have LAME installed, but even just getting to .wav would be great.
-Jeff
kevinalm
06-06-2004, 11:03 AM
If ide-scsi is enabled, try /dev/scd0 or /dev/scd1. (First and second scsi emulated cd drives). I think some distro's may use /dev/sg0 and /dev/sg1.
bwkaz
06-06-2004, 11:54 AM
I believe that cdda2wav (part of cdrtools) supports IDE ripping (without ide-scsi, that is). Pass it -D /dev/hdX or -D ATAPI:x,y,z (you can cdrecord dev=ATAPI -scanbus to find out what the x,y,z should be, but it's almost always 0,0,0).
ATAPI:x,y,z is better supported than /dev/hdX -- according to the messages that cdrecord gives, anyway.
And then once you've gotten the WAV files, you can oggenc each of them (to make them Ogg/Vorbis, which gives you better quality than MP3 at the same bitrate, or alternately a better bitrate for the same quality; Ogg/Vorbis is also patent-free, so you don't have to worry that the retards that own the MP3 patent might hunt you down for using an MP3 encoder without paying them their license fee).
jefjj01
06-06-2004, 12:59 PM
I did get cdda2wav working using GRIP. I couldn't get cdda2wav working completely from the command line but GRIP must be doing some voodo magic. As a bonus I installed LAME and now I have MP3 (my portable player only supports mp3) working also.
I would like to get cdparanoia working at some point but my frustration level is maxed out and I am happy to be able to rip and burn cd's once again. Thanks for all your help!!
-Jeff
jefjj01
06-06-2004, 01:08 PM
I just wanted to add one thing to...just to reiterate...if you are using SUSE 9.1 and cannot get KAudioCreator or anything that uses cdparanoia then try doing what I did and go to YAST and install cdda2wav and Grip. Then make sure in Grip you select the option to use cdda2wav for ripping CD's.
I wanted to be clear about how I fixed my problem.
-Jeff