Re: [gentoo-user] Strange problem with audio CDs
On Fri, Jan 14, 2011 at 5:13 AM, Jake Moe wrote: > Why do they give me this info, then? > > jmoe@aus8617 ~ $ cdda2wav --version > cdda2wav 3.00 (i686-pc-linux-gnu) Copyright (C) 1993-2004 Heiko Eià Not sure why your cdda2wav --version output is cut off, maybe an terminal encoding problem? For version 3.00 I've got this: $ cdda2wav --version cdda2wav 3.00 (x86_64-unknown-linux-gnu) Copyright (C) 1993-2004 Heiko EiÃfeldt (C) 2004-2010 Jörg Schilling Which is obviously the wrong characters, too. It should say Heiko Eißfeldt and Jörg Schilling. But maybe it was not only a problem for us, because they changed the spelling to use more simplified characters later. The latest version in ~amd64 shows me this instead: $ cdda2wav --version cdda2wav 3.01a02 (x86_64-unknown-linux-gnu) Copyright (C) 1993-2004 Heiko Eissfeldt (C) 2004-2010 Joerg Schilling
Re: [gentoo-user] Strange problem with audio CDs
On 01/14/11 21:30, Joerg Schilling wrote: > Jake Moe wrote: > >>> Since then, cdda2wav combines the best features from both commands. If you >>> like >>> to tell cdda2wav to use the paranoia code, just call cdda2wav -paranoia. >>> Cdda2wav is able to read many CDs that cannot be read by cdparanoia at all. >>> >>> Jörg >> Why do they give me this info, then? > Because cdda2wav is the better choice > >> jmoe@aus8617 ~ $ cdda2wav --version >> cdda2wav 3.00 (i686-pc-linux-gnu) Copyright (C) 1993-2004 Heiko Eià >> >> jmoe@aus8617 ~ $ cdparanoia --version >> cdparanoia III release 10.2 (September 11, 2008) >> >> From that, it appears that cdparanoia is newer. > The latest cdparanoia is from 2001. There seem to appear "later" versions but > they do not increase functionality, they just fix some C syntax problems that > prevent compilation with newer GCC versions. But all cdparanoia versions are > based on a cdda2wav from 1997 and thus use outdated read functions. > > The interesting question seems to be: Why do you try to confuse people > regarding to cdda2wav by modifiying it's output? > > cdda2wav-3.0 is from June 2010 and there is even a 3.01a02 from December 2010. > > Jörg > Ok, thanks for the info. Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
Jake Moe wrote: > Yeah, the wav file played fine. At least, it started out fine; I only > listened to the first 15 - 30 seconds to make sure it sounded ok, and > then assumed the rest was fine, since nothing else had even gotten that far. Be careful! There is a set of red-book deviations that is called "cactus datashield" cdparanoia will not extract more than 40 seconds from such a "CD" regardless of the drive you are using. With cdda2wav you will be able to extract the whole "CD" as long as the drive is not cunfused by the media and as long as you don't run hostile software like "hald" or similar that helps to confuse the drive. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
Jake Moe wrote: > > Since then, cdda2wav combines the best features from both commands. If you > > like > > to tell cdda2wav to use the paranoia code, just call cdda2wav -paranoia. > > Cdda2wav is able to read many CDs that cannot be read by cdparanoia at all. > > > > Jörg > Why do they give me this info, then? Because cdda2wav is the better choice > jmoe@aus8617 ~ $ cdda2wav --version > cdda2wav 3.00 (i686-pc-linux-gnu) Copyright (C) 1993-2004 Heiko Eià > > jmoe@aus8617 ~ $ cdparanoia --version > cdparanoia III release 10.2 (September 11, 2008) > > From that, it appears that cdparanoia is newer. The latest cdparanoia is from 2001. There seem to appear "later" versions but they do not increase functionality, they just fix some C syntax problems that prevent compilation with newer GCC versions. But all cdparanoia versions are based on a cdda2wav from 1997 and thus use outdated read functions. The interesting question seems to be: Why do you try to confuse people regarding to cdda2wav by modifiying it's output? cdda2wav-3.0 is from June 2010 and there is even a 3.01a02 from December 2010. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
On 01/13/11 20:48, J. Roeleveld wrote: > On Thursday 13 January 2011 11:33:09 Jake Moe wrote: >> On 01/13/11 18:12, J. Roeleveld wrote: >>> On Thursday 13 January 2011 07:12:48 Jake Moe wrote: If you're talking about "proper" Audio-CD as one that's audio-only, no mixed data in there as well, then yes, I'm sure. And I have over 500 CDs; I can't test them all. :-P But yeah, a selection of CDs have all had the same result. And only on Linux; the same CDs have read fine from Windows. >>> 500, that's a bit more then I have :) >> Heh, yeah, well I've been collecting them for around 20 years now. >> Since shortly after they were introduced. I stopped counting at 500. >> The mp3 error screenshot was trying to copy the MP3 files from the CD through Konqueror's "audiocd:\" location to my hard drive. I assume Konqueror tries to auto-convert the CD tracks to MP3s on the fly. The log file I had attached should have been called "messages.bz2"; it's the kernel log file. >>> Yes, I noticed similar behaviour last time I used MS Windows to play >>> audio- CDs. I believe MS Windows 98 (yes, that long ago) used to present >>> them as *.WAV-files, >> Don't know if you've ever used Konqueror, but if you go to the address >> "audiocd:/", it gives you a load of folders like MP3 and OGG and FLAC, >> along with a wav file for each track. So you can either copy the files >> as WAV, or go into one of the folders and copy out MP3, OGG, etc. It's >> just that Konqueror does the extraction/conversion for you. > As far as I know, that requires the multimedia kioslaves to work. I wonder if > it's possible to have that use a different CDDA-tool? > >> Which, from memory, is different that Win98. IIRC, Win98 used to >> present CDs as 1KB cda files. I could be wrong, though... > Last time I used MS Windows at home for anything other then games was around > 1998 and that's quite a while ago... > Oh, and I only own a few CDs that have DRM on them. And no, they weren't the ones that I've tested. >>> Ok, it was the first thing that came to mind. >>> >>> How far does "cdparanoia" get? That's the tool I generally use and it has >>> always worked for me. Even with DRM'd CDs. >>> >>> -- >>> Joost >> How very odd. As soon as I put the CD into the drive, I get the same >> raft of error messages in /var/log/messages. But when I run 'cdparanoia >> "1"', it starts outputting to cdda.wav as normal. Now why would >> cdparanoia work, even though the kernel doesn't seem to like the CD? >> Does this tell us anything that might help me play the CDs? >> >> Jake Moe > Can you actually play that wav-file? Or is it just a collection of garbage? > > As far as I know, CD-Paranoia access the cd-drive a bit more directly then > other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. > > The error messages appear as soon as you put the CD into the drive? > Am wondering if some auto-mounting tool is trying to access it and is causing > problems here. > Do you also get those messages when you disable all KDE/Gnome/X/... and > related stuff? > > Personally, I tend to use cdparanoia and other tools to generate OGG or MP3 > files and store them on a fileserver and play them from there. > > -- > Joost > Yeah, the wav file played fine. At least, it started out fine; I only listened to the first 15 - 30 seconds to make sure it sounded ok, and then assumed the rest was fine, since nothing else had even gotten that far. And yeah, the errors start as soon as I put the CD in the drive. What automounting tool might I have in FVWM? I use a pretty basic config (which is why I like FVWM, not many frills to muck things up :-P). What KDE/Gnome/X stuff are you talking about? Unless they're auto-started by a service, I don't know of anything that'd be running like that, especially from a console. Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
On 01/13/11 22:32, Joerg Schilling wrote: > "J. Roeleveld" wrote: > >> On Thursday 13 January 2011 12:07:02 Joerg Schilling wrote: >>> "J. Roeleveld" wrote: Can you actually play that wav-file? Or is it just a collection of garbage? As far as I know, CD-Paranoia access the cd-drive a bit more directly then other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. >>> You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from >>> 1997) and it is limited to the DAE quality of the kernel drivers. >> Ok, I stand corrected. I did, however, always have more succes ripping music >> from audio-cds with cdparanoia then with other tools I tried. > Then you did probably not recently try cdda2wav. After the development for > cdparanoia stopped in year 2000, cdda2wav integrated the important code parts > from cdparanoia into cdda2wav by creating a portable library libparanoia in > April 2002. > > Since then, cdda2wav combines the best features from both commands. If you > like > to tell cdda2wav to use the paranoia code, just call cdda2wav -paranoia. > Cdda2wav is able to read many CDs that cannot be read by cdparanoia at all. > > Jörg Why do they give me this info, then? jmoe@aus8617 ~ $ cdda2wav --version cdda2wav 3.00 (i686-pc-linux-gnu) Copyright (C) 1993-2004 Heiko Eià jmoe@aus8617 ~ $ cdparanoia --version cdparanoia III release 10.2 (September 11, 2008) >From that, it appears that cdparanoia is newer. Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
pk wrote: > On 2011-01-13 20:14, J. Roeleveld wrote: > > > They are easy to spot though as only CDs adhering to the red book standard > > are > > legally allowed to display the Audio-CD logo. > > Yeah, I read about Philips talking to the music industry about this a > few years ago, claiming they would take them to court (or something) if > they didn't adhere to the standard... if they wanted the audio cd logo. There is even more: Sony sells "CDs" that claim(*) that Sony did not have the Copyrights in the songs while making the copy. *) Following the description for the "copy protection" bit in the red book. >From a perspective of consumer protection, consumers could sue shops not to >mix non-CDs with CDs in the same rack and to clearly mark the non-CDs with something like: "these are non-CDs, we cannot grant playability in CD players". But unfortunately nothing happened to protect consumers. > > For the deviations, blame the record companies who still think that people > > are > > willing to pay way over the odds for substandard music... > > Well, considering IFPI/*AA etc. behaviour I'm thinking of skipping > buying anything at all; I can live without (use the ones that I have, > which seems to be standard since I've been able to rip them all to my > 'puter using cdparanoia). You completely missunderstand the purpose and ability of cdparanoia. Cdparanoia does not implement anything that helps you to read such non-CDs. If you could read all your CDs so far, you either don't own such intentionally broken media or there is a workaround in the firmware of your drive already. cdparanoia _only_ implements strategies to work around flaky readout results. The non-CDs have intentional deviations from the red book standard and for this reason, there is nothing flaky on them. They produce stable deviating results that cannot be handled by cdparanoia. cdda2wav on the other side implements strategies to work around varios red book deviations that help to read such non-standard media. It is the read layer (being below the paranoia layer) that is bad inside cdparanoia and the read layer has been significantly inreased inside cdda2wav during the past 14 years after cdparanoia forked cdda2wav. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
On 2011-01-13 20:14, J. Roeleveld wrote: > They are easy to spot though as only CDs adhering to the red book standard > are > legally allowed to display the Audio-CD logo. Yeah, I read about Philips talking to the music industry about this a few years ago, claiming they would take them to court (or something) if they didn't adhere to the standard... if they wanted the audio cd logo. > For the deviations, blame the record companies who still think that people > are > willing to pay way over the odds for substandard music... Well, considering IFPI/*AA etc. behaviour I'm thinking of skipping buying anything at all; I can live without (use the ones that I have, which seems to be standard since I've been able to rip them all to my 'puter using cdparanoia). Best regards Peter K
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 19:12:05 pk wrote: > On 2011-01-13 17:54, Joerg Schilling wrote: > > cdda2wav nows aabout vendor unique SCSI commands that give better results > > and it knows about various defects and deviations from the Red book > > standard. With this knowledge, it is able to extract things typically > > better and in many cases it is able to read the CD at all even though > > the kernel ictl interface will fail due to massive redbook deviations on > > the medium. > > Ok, thanks for the explanation! It's a bit disappointing that there are > deviations from the red book standard though... > > MfG > > Peter K They are easy to spot though as only CDs adhering to the red book standard are legally allowed to display the Audio-CD logo. For the deviations, blame the record companies who still think that people are willing to pay way over the odds for substandard music... -- Joost
Re: [gentoo-user] Strange problem with audio CDs
On 2011-01-13 17:54, Joerg Schilling wrote: > cdda2wav nows aabout vendor unique SCSI commands that give better results and > it knows about various defects and deviations from the Red book standard. > With this knowledge, it is able to extract things typically better and in > many > cases it is able to read the CD at all even though the kernel ictl interface > will fail due to massive redbook deviations on the medium. Ok, thanks for the explanation! It's a bit disappointing that there are deviations from the red book standard though... MfG Peter K
Re: [gentoo-user] Strange problem with audio CDs
pk wrote: > On 2011-01-13 16:01, Joerg Schilling wrote: > > > Which program does lack what? > > As I understand it, he refered to what you wrote (i.e. the "sales > pitch") not to any program... > > But I'm a bit curious about how cdparanoia and cdda2wav can be > inferior/superior at all; they both read the same _digital_ data no? cdparanoia calls the kernel ioctl interface for DAE and this is definitely inferior to what cdda2wav does. cdda2wav nows aabout vendor unique SCSI commands that give better results and it knows about various defects and deviations from the Red book standard. With this knowledge, it is able to extract things typically better and in many cases it is able to read the CD at all even though the kernel ictl interface will fail due to massive redbook deviations on the medium. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
On 2011-01-13 16:01, Joerg Schilling wrote: > Which program does lack what? As I understand it, he refered to what you wrote (i.e. the "sales pitch") not to any program... But I'm a bit curious about how cdparanoia and cdda2wav can be inferior/superior at all; they both read the same _digital_ data no? MfG Peter K
Re: [gentoo-user] Strange problem with audio CDs
Neil Bothwick wrote: > On Thu, 13 Jan 2011 15:25:08 +0100, Joerg Schilling wrote: > > > > > cdda2wav gives inferior quality compared to cdparanoia and is still > > > > actively maintained. > > > > > > Did you really mean to write that? > > > > Of course: no, I wanted to write superior ;-) > > As a sales pitch, it did seem rather lacking ;-) Which program does lack what? Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily -.
Re: [gentoo-user] Strange problem with audio CDs
On Thu, 13 Jan 2011 15:25:08 +0100, Joerg Schilling wrote: > > > cdda2wav gives inferior quality compared to cdparanoia and is still > > > actively maintained. > > > > Did you really mean to write that? > > Of course: no, I wanted to write superior ;-) As a sales pitch, it did seem rather lacking ;-) -- Neil Bothwick WinErr 042: Virus error - A virus has been activated in a dos-box. The virus, however, requires Windows. All tasks will automatically be closed and the virus will be activated again. signature.asc Description: PGP signature
Re: [gentoo-user] Strange problem with audio CDs
Neil Bothwick wrote: > On Thu, 13 Jan 2011 13:37:04 +0100, Joerg Schilling wrote: > > > cdda2wav gives inferior quality compared to cdparanoia and is still > > actively maintained. > > Did you really mean to write that? Of course: no, I wanted to write superior ;-) Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
wick : > On Thu, 13 Jan 2011 13:37:04 +0100, Joerg Schilling wrote: > >> cdda2wav gives inferior quality compared to cdparanoia and is still >> actively maintained. > > Did you really mean to write that? Probably s/inferior/superior/ -- Daniel Pielmeier
Re: [gentoo-user] Strange problem with audio CDs
On Thu, 13 Jan 2011 13:37:04 +0100, Joerg Schilling wrote: > cdda2wav gives inferior quality compared to cdparanoia and is still > actively maintained. Did you really mean to write that? -- Neil Bothwick Never sleep with anyone crazier than yourself. signature.asc Description: PGP signature
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 13:37:04 Joerg Schilling wrote: > "J. Roeleveld" wrote: > > From the FAQ on cdparanoia's website (http://xiph.org/paranoia/faq.html) > > it looks like that it's not based on cdda2wav, but actually uses a > > re-write of cdda2wav since January 1998. > > > > If this is the case, does it still have inferior quality compared to > > cdda23wav? > > This is not true, it uses the mainly unmodified code from cdda2wav and just > added the paranoia code (written nonportably and such only usable if you > compile with gcc on Linux and a few other OS) and cdparanoia restructured > the "open device" code compared to the old cdda2wav. > > cdda2wav gives inferior quality compared to cdparanoia and is still > actively maintained. > > Jörg Thank you :) I never really checked, just found that it worked better then other tools that were available when I wanted to convert my CDs to MP3. I'll look into the others and see if I actually hear a difference personally. If yes, I'll have another project... -- Joost
Re: [gentoo-user] Strange problem with audio CDs
"J. Roeleveld" wrote: > On Thursday 13 January 2011 12:07:02 Joerg Schilling wrote: > > "J. Roeleveld" wrote: > > > Can you actually play that wav-file? Or is it just a collection of > > > garbage? > > > > > > As far as I know, CD-Paranoia access the cd-drive a bit more directly > > > then other tools. Eg. it approaches it like a CD-ROM, rather then > > > CD-Audio. > > > > You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from > > 1997) and it is limited to the DAE quality of the kernel drivers. > > Ok, I stand corrected. I did, however, always have more succes ripping music > from audio-cds with cdparanoia then with other tools I tried. Then you did probably not recently try cdda2wav. After the development for cdparanoia stopped in year 2000, cdda2wav integrated the important code parts from cdparanoia into cdda2wav by creating a portable library libparanoia in April 2002. Since then, cdda2wav combines the best features from both commands. If you like to tell cdda2wav to use the paranoia code, just call cdda2wav -paranoia. Cdda2wav is able to read many CDs that cannot be read by cdparanoia at all. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
"J. Roeleveld" wrote: > From the FAQ on cdparanoia's website (http://xiph.org/paranoia/faq.html) it > looks like that it's not based on cdda2wav, but actually uses a re-write of > cdda2wav since January 1998. > > If this is the case, does it still have inferior quality compared to > cdda23wav? This is not true, it uses the mainly unmodified code from cdda2wav and just added the paranoia code (written nonportably and such only usable if you compile with gcc on Linux and a few other OS) and cdparanoia restructured the "open device" code compared to the old cdda2wav. cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 12:07:02 Joerg Schilling wrote: > "J. Roeleveld" wrote: > > Can you actually play that wav-file? Or is it just a collection of > > garbage? > > > > As far as I know, CD-Paranoia access the cd-drive a bit more directly > > then other tools. Eg. it approaches it like a CD-ROM, rather then > > CD-Audio. > > You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from > 1997) and it is limited to the DAE quality of the kernel drivers. > > In year 2000, cdda2wav was renewed to use libscg for sending RAW > pass-through SCSI commands directly to the drives. cdda23wav for this > reason can make use of special knowlede for various drives and deliveres > the best DAE quality on Linux I am aware of. > > Jörg Jörg, From the FAQ on cdparanoia's website (http://xiph.org/paranoia/faq.html) it looks like that it's not based on cdda2wav, but actually uses a re-write of cdda2wav since January 1998. If this is the case, does it still have inferior quality compared to cdda23wav? -- Joost
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 12:07:02 Joerg Schilling wrote: > "J. Roeleveld" wrote: > > Can you actually play that wav-file? Or is it just a collection of > > garbage? > > > > As far as I know, CD-Paranoia access the cd-drive a bit more directly > > then other tools. Eg. it approaches it like a CD-ROM, rather then > > CD-Audio. > > You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from > 1997) and it is limited to the DAE quality of the kernel drivers. Ok, I stand corrected. I did, however, always have more succes ripping music from audio-cds with cdparanoia then with other tools I tried. > In year 2000, cdda2wav was renewed to use libscg for sending RAW > pass-through SCSI commands directly to the drives. cdda23wav for this > reason can make use of special knowlede for various drives and deliveres > the best DAE quality on Linux I am aware of. Will have to look into these :) -- Joost
Re: [gentoo-user] Strange problem with audio CDs
"J. Roeleveld" wrote: > Can you actually play that wav-file? Or is it just a collection of garbage? > > As far as I know, CD-Paranoia access the cd-drive a bit more directly then > other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from 1997) and it is limited to the DAE quality of the kernel drivers. In year 2000, cdda2wav was renewed to use libscg for sending RAW pass-through SCSI commands directly to the drives. cdda23wav for this reason can make use of special knowlede for various drives and deliveres the best DAE quality on Linux I am aware of. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 11:33:09 Jake Moe wrote: > On 01/13/11 18:12, J. Roeleveld wrote: > > On Thursday 13 January 2011 07:12:48 Jake Moe wrote: > >> If you're talking about "proper" Audio-CD as one that's audio-only, no > >> mixed data in there as well, then yes, I'm sure. And I have over 500 > >> CDs; I can't test them all. :-P But yeah, a selection of CDs have all > >> had the same result. And only on Linux; the same CDs have read fine > >> from Windows. > > > > 500, that's a bit more then I have :) > > Heh, yeah, well I've been collecting them for around 20 years now. > Since shortly after they were introduced. I stopped counting at 500. > > >> The mp3 error screenshot was trying to copy the MP3 files from the CD > >> through Konqueror's "audiocd:\" location to my hard drive. I assume > >> Konqueror tries to auto-convert the CD tracks to MP3s on the fly. The > >> log file I had attached should have been called "messages.bz2"; it's the > >> kernel log file. > > > > Yes, I noticed similar behaviour last time I used MS Windows to play > > audio- CDs. I believe MS Windows 98 (yes, that long ago) used to present > > them as *.WAV-files, > > Don't know if you've ever used Konqueror, but if you go to the address > "audiocd:/", it gives you a load of folders like MP3 and OGG and FLAC, > along with a wav file for each track. So you can either copy the files > as WAV, or go into one of the folders and copy out MP3, OGG, etc. It's > just that Konqueror does the extraction/conversion for you. As far as I know, that requires the multimedia kioslaves to work. I wonder if it's possible to have that use a different CDDA-tool? > Which, from memory, is different that Win98. IIRC, Win98 used to > present CDs as 1KB cda files. I could be wrong, though... Last time I used MS Windows at home for anything other then games was around 1998 and that's quite a while ago... > >> Oh, and I only own a few CDs that have DRM on them. And no, they > >> weren't the ones that I've tested. > > > > Ok, it was the first thing that came to mind. > > > > How far does "cdparanoia" get? That's the tool I generally use and it has > > always worked for me. Even with DRM'd CDs. > > > > -- > > Joost > > How very odd. As soon as I put the CD into the drive, I get the same > raft of error messages in /var/log/messages. But when I run 'cdparanoia > "1"', it starts outputting to cdda.wav as normal. Now why would > cdparanoia work, even though the kernel doesn't seem to like the CD? > Does this tell us anything that might help me play the CDs? > > Jake Moe Can you actually play that wav-file? Or is it just a collection of garbage? As far as I know, CD-Paranoia access the cd-drive a bit more directly then other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. The error messages appear as soon as you put the CD into the drive? Am wondering if some auto-mounting tool is trying to access it and is causing problems here. Do you also get those messages when you disable all KDE/Gnome/X/... and related stuff? Personally, I tend to use cdparanoia and other tools to generate OGG or MP3 files and store them on a fileserver and play them from there. -- Joost
Re: [gentoo-user] Strange problem with audio CDs
On 01/13/11 18:12, J. Roeleveld wrote: > On Thursday 13 January 2011 07:12:48 Jake Moe wrote: >> If you're talking about "proper" Audio-CD as one that's audio-only, no >> mixed data in there as well, then yes, I'm sure. And I have over 500 >> CDs; I can't test them all. :-P But yeah, a selection of CDs have all >> had the same result. And only on Linux; the same CDs have read fine >> from Windows. > 500, that's a bit more then I have :) Heh, yeah, well I've been collecting them for around 20 years now. Since shortly after they were introduced. I stopped counting at 500. >> The mp3 error screenshot was trying to copy the MP3 files from the CD >> through Konqueror's "audiocd:\" location to my hard drive. I assume >> Konqueror tries to auto-convert the CD tracks to MP3s on the fly. The >> log file I had attached should have been called "messages.bz2"; it's the >> kernel log file. > Yes, I noticed similar behaviour last time I used MS Windows to play audio- > CDs. I believe MS Windows 98 (yes, that long ago) used to present them as > *.WAV-files, Don't know if you've ever used Konqueror, but if you go to the address "audiocd:/", it gives you a load of folders like MP3 and OGG and FLAC, along with a wav file for each track. So you can either copy the files as WAV, or go into one of the folders and copy out MP3, OGG, etc. It's just that Konqueror does the extraction/conversion for you. Which, from memory, is different that Win98. IIRC, Win98 used to present CDs as 1KB cda files. I could be wrong, though... >> Oh, and I only own a few CDs that have DRM on them. And no, they >> weren't the ones that I've tested. > Ok, it was the first thing that came to mind. > > How far does "cdparanoia" get? That's the tool I generally use and it has > always worked for me. Even with DRM'd CDs. > > -- > Joost How very odd. As soon as I put the CD into the drive, I get the same raft of error messages in /var/log/messages. But when I run 'cdparanoia "1"', it starts outputting to cdda.wav as normal. Now why would cdparanoia work, even though the kernel doesn't seem to like the CD? Does this tell us anything that might help me play the CDs? Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 07:12:48 Jake Moe wrote: > > If you're talking about "proper" Audio-CD as one that's audio-only, no > mixed data in there as well, then yes, I'm sure. And I have over 500 > CDs; I can't test them all. :-P But yeah, a selection of CDs have all > had the same result. And only on Linux; the same CDs have read fine > from Windows. 500, that's a bit more then I have :) > The mp3 error screenshot was trying to copy the MP3 files from the CD > through Konqueror's "audiocd:\" location to my hard drive. I assume > Konqueror tries to auto-convert the CD tracks to MP3s on the fly. The > log file I had attached should have been called "messages.bz2"; it's the > kernel log file. Yes, I noticed similar behaviour last time I used MS Windows to play audio- CDs. I believe MS Windows 98 (yes, that long ago) used to present them as *.WAV-files, > Oh, and I only own a few CDs that have DRM on them. And no, they > weren't the ones that I've tested. Ok, it was the first thing that came to mind. How far does "cdparanoia" get? That's the tool I generally use and it has always worked for me. Even with DRM'd CDs. -- Joost
Re: [gentoo-user] Strange problem with audio CDs
On 01/13/11 01:37, Paul Hartman wrote: > On Mon, Jan 10, 2011 at 3:48 AM, Jake Moe wrote: >> I can't seem to get audio CDs to work with my drive. Data CDs work >> fine, I can mount the filesystem and read them. Data and Video DVDs >> seem to work fine as well. But when I try to listen to an audio CD, I >> get the attached errors in log.bz2. I've tried using things from KsCD >> to cdplay; everything gives the same errors. Googling seems to indicate >> that there might be a problem with udev somehow, but most of those that >> I find have the "fix" as "update to the latest udev using apt/rpm/other >> binary distro package tool", which obviously won't work for Gentoo. >> Other solutions seem to be "update to libATA", but I'm already using that. >> >> I've gone through and tried to check anything obvious in my kernel >> config, but I can't see anything that'd affect it like this. Also, if I >> reboot into Windows (this laptop is a work computer as well), it plays >> and rips the same CDs just fine. > I wonder if udev is creating the correct device nodes for the cdrom? > What are the programs looking for? Do you have /dev/cdrom in your > system? > > Check /etc/udev/rules.d/70-persistent-cd.rules to ensure it looks > right (in case you had a big change in your system config, like IDE -> > SATA or something) > > This command might give you some clue what's happening when those > errors occur if udev is involved: > udevadm test /class/block/sr0 > Yeah, /dev/{cdrom,cdrw,dvd,dvdrw} all exist, and point to /dev/sr0: jmoe@aus8617 ~ $ ls -l /dev/{cdrom,cdrw,dvd,dvdrw} lrwxrwxrwx 1 root root 3 Jan 14 2011 /dev/cdrom -> sr0 lrwxrwxrwx 1 root root 3 Jan 14 2011 /dev/cdrw -> sr0 lrwxrwxrwx 1 root root 3 Jan 14 2011 /dev/dvd -> sr0 lrwxrwxrwx 1 root root 3 Jan 14 2011 /dev/dvdrw -> sr0 jmoe@aus8617 ~ $ And if I try to mount a data CD or DVD, or watch a DVD, I have no problems. It's only audio CDs that give me issues. Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
On 01/12/11 20:29, J. Roeleveld wrote: > On Monday 10 January 2011 10:48:56 Jake Moe wrote: >> I can't seem to get audio CDs to work with my drive. Data CDs work >> fine, I can mount the filesystem and read them. Data and Video DVDs >> seem to work fine as well. But when I try to listen to an audio CD, I >> get the attached errors in log.bz2. I've tried using things from KsCD >> to cdplay; everything gives the same errors. Googling seems to indicate >> that there might be a problem with udev somehow, but most of those that >> I find have the "fix" as "update to the latest udev using apt/rpm/other >> binary distro package tool", which obviously won't work for Gentoo. >> Other solutions seem to be "update to libATA", but I'm already using that. >> >> I've gone through and tried to check anything obvious in my kernel >> config, but I can't see anything that'd affect it like this. Also, if I >> reboot into Windows (this laptop is a work computer as well), it plays >> and rips the same CDs just fine. >> >> Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. >> Controller is: >> >> 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI >> Controller (rev 03) (prog-if 01 [AHCI 1.0]) >> Subsystem: Hewlett-Packard Company Device 30dc >> Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 >> I/O ports at 8118 [size=8] >> I/O ports at 813c [size=4] >> I/O ports at 8110 [size=8] >> I/O ports at 8138 [size=4] >> I/O ports at 8000 [size=32] >> Memory at d8426000 (32-bit, non-prefetchable) [size=2K] >> Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- >> Capabilities: [70] Power Management version 3 >> Capabilities: [a8] SATA HBA >> Capabilities: [b0] PCI Advanced Features >> Kernel driver in use: ahci >> >> Oddly, if I open Konqueror and type in "audiocd:/", it lists the tracks, >> and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the >> files; it gives the error in error.gif. >> >> Any other info you need, please let me know. This is driving me nuts. >> >> Jake Moe > Are you sure it is a proper audio-cd? > The error message talks about a mp3-file. > > Do you have this issue with all Audio-CDs? (including older ones from before > record companies thought it was a good idea to add copy-protection schemes?) > > -- > Joost > If you're talking about "proper" Audio-CD as one that's audio-only, no mixed data in there as well, then yes, I'm sure. And I have over 500 CDs; I can't test them all. :-P But yeah, a selection of CDs have all had the same result. And only on Linux; the same CDs have read fine from Windows. The mp3 error screenshot was trying to copy the MP3 files from the CD through Konqueror's "audiocd:\" location to my hard drive. I assume Konqueror tries to auto-convert the CD tracks to MP3s on the fly. The log file I had attached should have been called "messages.bz2"; it's the kernel log file. Oh, and I only own a few CDs that have DRM on them. And no, they weren't the ones that I've tested. Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
On Mon, Jan 10, 2011 at 3:48 AM, Jake Moe wrote: > I can't seem to get audio CDs to work with my drive. Data CDs work > fine, I can mount the filesystem and read them. Data and Video DVDs > seem to work fine as well. But when I try to listen to an audio CD, I > get the attached errors in log.bz2. I've tried using things from KsCD > to cdplay; everything gives the same errors. Googling seems to indicate > that there might be a problem with udev somehow, but most of those that > I find have the "fix" as "update to the latest udev using apt/rpm/other > binary distro package tool", which obviously won't work for Gentoo. > Other solutions seem to be "update to libATA", but I'm already using that. > > I've gone through and tried to check anything obvious in my kernel > config, but I can't see anything that'd affect it like this. Also, if I > reboot into Windows (this laptop is a work computer as well), it plays > and rips the same CDs just fine. I wonder if udev is creating the correct device nodes for the cdrom? What are the programs looking for? Do you have /dev/cdrom in your system? Check /etc/udev/rules.d/70-persistent-cd.rules to ensure it looks right (in case you had a big change in your system config, like IDE -> SATA or something) This command might give you some clue what's happening when those errors occur if udev is involved: udevadm test /class/block/sr0
Re: [gentoo-user] Strange problem with audio CDs
On Monday 10 January 2011 10:48:56 Jake Moe wrote: > I can't seem to get audio CDs to work with my drive. Data CDs work > fine, I can mount the filesystem and read them. Data and Video DVDs > seem to work fine as well. But when I try to listen to an audio CD, I > get the attached errors in log.bz2. I've tried using things from KsCD > to cdplay; everything gives the same errors. Googling seems to indicate > that there might be a problem with udev somehow, but most of those that > I find have the "fix" as "update to the latest udev using apt/rpm/other > binary distro package tool", which obviously won't work for Gentoo. > Other solutions seem to be "update to libATA", but I'm already using that. > > I've gone through and tried to check anything obvious in my kernel > config, but I can't see anything that'd affect it like this. Also, if I > reboot into Windows (this laptop is a work computer as well), it plays > and rips the same CDs just fine. > > Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. > Controller is: > > 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI > Controller (rev 03) (prog-if 01 [AHCI 1.0]) > Subsystem: Hewlett-Packard Company Device 30dc > Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 > I/O ports at 8118 [size=8] > I/O ports at 813c [size=4] > I/O ports at 8110 [size=8] > I/O ports at 8138 [size=4] > I/O ports at 8000 [size=32] > Memory at d8426000 (32-bit, non-prefetchable) [size=2K] > Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- > Capabilities: [70] Power Management version 3 > Capabilities: [a8] SATA HBA > Capabilities: [b0] PCI Advanced Features > Kernel driver in use: ahci > > Oddly, if I open Konqueror and type in "audiocd:/", it lists the tracks, > and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the > files; it gives the error in error.gif. > > Any other info you need, please let me know. This is driving me nuts. > > Jake Moe Are you sure it is a proper audio-cd? The error message talks about a mp3-file. Do you have this issue with all Audio-CDs? (including older ones from before record companies thought it was a good idea to add copy-protection schemes?) -- Joost
Re: [gentoo-user] Strange problem with audio CDs
On 01/10/11 20:21, Mick wrote: > On 10 January 2011 09:48, Jake Moe wrote: >> I can't seem to get audio CDs to work with my drive. Data CDs work >> fine, I can mount the filesystem and read them. Data and Video DVDs >> seem to work fine as well. But when I try to listen to an audio CD, I >> get the attached errors in log.bz2. I've tried using things from KsCD >> to cdplay; everything gives the same errors. Googling seems to indicate >> that there might be a problem with udev somehow, but most of those that >> I find have the "fix" as "update to the latest udev using apt/rpm/other >> binary distro package tool", which obviously won't work for Gentoo. >> Other solutions seem to be "update to libATA", but I'm already using that. >> >> I've gone through and tried to check anything obvious in my kernel >> config, but I can't see anything that'd affect it like this. Also, if I >> reboot into Windows (this laptop is a work computer as well), it plays >> and rips the same CDs just fine. >> >> Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. >> Controller is: >> >> 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI >> Controller (rev 03) (prog-if 01 [AHCI 1.0]) >>Subsystem: Hewlett-Packard Company Device 30dc >>Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 >>I/O ports at 8118 [size=8] >>I/O ports at 813c [size=4] >>I/O ports at 8110 [size=8] >>I/O ports at 8138 [size=4] >>I/O ports at 8000 [size=32] >>Memory at d8426000 (32-bit, non-prefetchable) [size=2K] >>Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- >>Capabilities: [70] Power Management version 3 >>Capabilities: [a8] SATA HBA >>Capabilities: [b0] PCI Advanced Features >>Kernel driver in use: ahci >> >> Oddly, if I open Konqueror and type in "audiocd:/", it lists the tracks, >> and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the >> files; it gives the error in error.gif. >> >> Any other info you need, please let me know. This is driving me nuts. >> >> Jake Moe >> > Do you have this installed? > > [I] kde-base/kdemultimedia-kioslaves > Available versions: > (4.4) > 4.4.5!t "amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux" > [aqua debug > encode flac +handbook kdeenablefinal kdeprefix vorbis] > (4.5) > ~ 4.5.3!t "~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux > ~x86-linux" [aqua > debug encode flac +handbook kdeenablefinal kdeprefix vorbis] > ~ 4.5.4!t "~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux > ~x86-linux" [aqua > debug encode flac +handbook kdeenablefinal kdeprefix vorbis] > Installed versions: 4.4.5(4.4)!t(15:15:46 18/12/10)(encode flac > handbook vorbis -aqua -debug -kdeenablefinal -kdeprefix) > Homepage:http://www.kde.org/ > Description: KDE kioslaves from the kdemultimedia package > Yep. j...@aus8617 ~ $ emerge -pv kdemultimedia-kioslaves These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] kde-base/kdemultimedia-kioslaves-4.4.5 USE="encode flac handbook vorbis (-aqua) -debug (-kdeenablefinal) (-kdeprefix)" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB j...@aus8617 ~ $ eix kdemultimedia-kioslaves [I] kde-base/kdemultimedia-kioslaves Available versions: (4.4) 4.4.5!t (4.5) ~4.5.3!t ~4.5.4!t {aqua debug encode flac +handbook kdeenablefinal kdeprefix vorbis} Installed versions: 4.4.5(4.4)!t(13:15:06 01/09/11)(encode flac handbook vorbis -aqua -debug -kdeenablefinal -kdeprefix) Homepage:http://www.kde.org/ Description: KDE kioslaves from the kdemultimedia package j...@aus8617 ~ $ And anyway, that wouldn't account for the error with cdplay and dcd (command-line cd-player utils) that throw the same errors. Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
On 10 January 2011 09:48, Jake Moe wrote: > I can't seem to get audio CDs to work with my drive. Data CDs work > fine, I can mount the filesystem and read them. Data and Video DVDs > seem to work fine as well. But when I try to listen to an audio CD, I > get the attached errors in log.bz2. I've tried using things from KsCD > to cdplay; everything gives the same errors. Googling seems to indicate > that there might be a problem with udev somehow, but most of those that > I find have the "fix" as "update to the latest udev using apt/rpm/other > binary distro package tool", which obviously won't work for Gentoo. > Other solutions seem to be "update to libATA", but I'm already using that. > > I've gone through and tried to check anything obvious in my kernel > config, but I can't see anything that'd affect it like this. Also, if I > reboot into Windows (this laptop is a work computer as well), it plays > and rips the same CDs just fine. > > Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. > Controller is: > > 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI > Controller (rev 03) (prog-if 01 [AHCI 1.0]) > Subsystem: Hewlett-Packard Company Device 30dc > Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 > I/O ports at 8118 [size=8] > I/O ports at 813c [size=4] > I/O ports at 8110 [size=8] > I/O ports at 8138 [size=4] > I/O ports at 8000 [size=32] > Memory at d8426000 (32-bit, non-prefetchable) [size=2K] > Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- > Capabilities: [70] Power Management version 3 > Capabilities: [a8] SATA HBA > Capabilities: [b0] PCI Advanced Features > Kernel driver in use: ahci > > Oddly, if I open Konqueror and type in "audiocd:/", it lists the tracks, > and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the > files; it gives the error in error.gif. > > Any other info you need, please let me know. This is driving me nuts. > > Jake Moe > Do you have this installed? [I] kde-base/kdemultimedia-kioslaves Available versions: (4.4) 4.4.5!t "amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux" [aqua debug encode flac +handbook kdeenablefinal kdeprefix vorbis] (4.5) ~ 4.5.3!t "~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" [aqua debug encode flac +handbook kdeenablefinal kdeprefix vorbis] ~ 4.5.4!t "~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" [aqua debug encode flac +handbook kdeenablefinal kdeprefix vorbis] Installed versions: 4.4.5(4.4)!t(15:15:46 18/12/10)(encode flac handbook vorbis -aqua -debug -kdeenablefinal -kdeprefix) Homepage:http://www.kde.org/ Description: KDE kioslaves from the kdemultimedia package -- Regards, Mick
[gentoo-user] Strange problem with audio CDs
I can't seem to get audio CDs to work with my drive. Data CDs work fine, I can mount the filesystem and read them. Data and Video DVDs seem to work fine as well. But when I try to listen to an audio CD, I get the attached errors in log.bz2. I've tried using things from KsCD to cdplay; everything gives the same errors. Googling seems to indicate that there might be a problem with udev somehow, but most of those that I find have the "fix" as "update to the latest udev using apt/rpm/other binary distro package tool", which obviously won't work for Gentoo. Other solutions seem to be "update to libATA", but I'm already using that. I've gone through and tried to check anything obvious in my kernel config, but I can't see anything that'd affect it like this. Also, if I reboot into Windows (this laptop is a work computer as well), it plays and rips the same CDs just fine. Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. Controller is: 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0]) Subsystem: Hewlett-Packard Company Device 30dc Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 I/O ports at 8118 [size=8] I/O ports at 813c [size=4] I/O ports at 8110 [size=8] I/O ports at 8138 [size=4] I/O ports at 8000 [size=32] Memory at d8426000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA Capabilities: [b0] PCI Advanced Features Kernel driver in use: ahci Oddly, if I open Konqueror and type in "audiocd:/", it lists the tracks, and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the files; it gives the error in error.gif. Any other info you need, please let me know. This is driving me nuts. Jake Moe log.bz2 Description: BZip2 compressed data <>