Re: Is linux cdrom driver messed?



Once upon a midnight dreary, while Dances With Crows pondered weak and weary
over many a quaint and curious volume of forgotten lore...:

On 14 Aug 2006 04:50:29 -0700, unique user staggered into the Black Sun
and said:
Yesterday, I tried to copy a vcd to my harddisk in linux. I tried
copying directly. After that, I tried dd. Copying in linux failed
with disk read errors. Why can't I copy [a VCD] in linux?

Because you're doing it wrong. VCDs (and audio CDs) aren't ISO9660 data
CDs or UDF data CDs. The block device layer sort of assumes that a CD
you're trying to read through it is ISO9660 or UDF. So, to copy VCDs,
SVCDs, and audio CDs, you have to issue special ioctl()s first so you're
not reading through the normal block device layer, but a little lower
down. (This confuses people the first time they encounter it on Linux,
sigh.)

Is there any program that allows [me] to copy [CDs] with read errors
in linux?

The VCD you're trying to copy probably doesn't have read errors. To
copy any CD as closely as possible, use "cdrdao copy --options ..." .
(This may or may not bypass copy-prevention techniques, depending.) For
ripping audio CDs, use cdparanoia (or the fairly nice frontend grip).
For working with VCDs and SVCDs, the "vcdimager" utilities can be really
useful. HTH,


Addendum: there's also a plugin, of sorts, for cdparanoia that allows you to
rip the image /as/ an ISO9660 image. I've spotted it recently (not that I
was particularly looking for it, which is why I can remember neither the
name nor a URL).
--
When all else fails... use a hammer.

http://dotware.co.uk

Some people are like Slinkies; they serve no particular purpose,
But they bring a smile to your face when you push them down the stairs.
.



Relevant Pages

  • Re: Is linux cdrom driver messed?
    ... Why can't I copy in linux? ... So, to copy VCDs, ... SVCDs, and audio CDs, you have to issue special ioctls first so you're ... (This confuses people the first time they encounter it on Linux, ...
    (comp.os.linux.misc)
  • Re: Whats the best brand of USB CD-RW drive for DAE?
    ... > accept all audio CDs (I don't care about recent copy-protected CDs, ... > Also, from what I've read, USB CD-RWs are handled with the USB mass ... I can assume it will work with Linux? ...
    (comp.os.linux.hardware)
  • Re: Audio CDs Render Suse 9.1 Useless
    ... >>I'm sorry if it offends you but windows handles audio CDs differently. ... Linux is a whole new ballgame. ... the CD drive icon in "my computer" when there's an audio CD in there, ...
    (alt.os.linux.suse)
  • Re: How can I make Windows Media Player play all tracks of a VCD?
    ... > Microsoft MVP - Digital Media ... But will I be able to configure the action for audio CDs ... differently from the action for VCDs? ...
    (microsoft.public.windowsmedia.player)
  • Re: read vcds in fedora-> cdfs??!
    ... >> I want to be able to mount my vcds on Linux. ... >> cdfs but I realized, the current Fedora kernel prevents it from ... >> Singapore Synchrotron Light Source ...
    (Fedora)