[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Playing or Ripping UDF CDs Under jessie



Hi,

Martin McCormick wrote:
> I started to play an audio CD which is part of a book and ran in
> to an interesting problem.  The CD is recorded using the UDF file
> system and it does play perfectly on a DVD player.

First issue will be to clarify the true nature of this CD medium.
Audio CDs (CD-DA) are recorded without any filesystem. There are "tracks"
which usually each contain one piece of music. Tracks may be grouped
by sessions. But that's rare with commercially mastered CDs.

There are hybrid formats somewhere between CD-DA and CD-ROM which usually
has ISO 9660 and/or UDF filesystems. The first track might contain the
filesystem and further tracks contain audio or video streams.

Please run one of

  wodim -v dev=/dev/sr0 -toc

  cdrskin -v dev=/dev/sr0 -toc

A commercial audio CD-DA will show some tracks like:

  first: 1 last 10
  track:   1 lba:         0 (        0) 00:02:00 adr: 1 control: 0 mode: 0
  track:   2 lba:     23260 (    93040) 05:12:10 adr: 1 control: 0 mode: 0
  track:   3 lba:     45067 (   180268) 10:02:67 adr: 1 control: 0 mode: 0
  track:   4 lba:     61932 (   247728) 13:47:57 adr: 1 control: 0 mode: 0
  track:   5 lba:     81697 (   326788) 18:11:22 adr: 1 control: 0 mode: 0
  track:   6 lba:    101667 (   406668) 22:37:42 adr: 1 control: 0 mode: 0
  track:   7 lba:    125462 (   501848) 27:54:62 adr: 1 control: 0 mode: 0
  track:   8 lba:    143957 (   575828) 32:01:32 adr: 1 control: 0 mode: 0
  track:   9 lba:    164232 (   656928) 36:31:57 adr: 1 control: 0 mode: 0
  track:  10 lba:    185992 (   743968) 41:21:67 adr: 1 control: 0 mode: 0
  track:lout lba:    202362 (   809448) 45:00:12 adr: 1 control: 0 mode: -1

A CD-ROM with several data tracks and sessions:

  first: 1 last 4
  track:   1 lba:         0 (        0) 00:02:00 adr: 1 control: 4 mode: 1
  track:   2 lba:     75614 (   302456) 16:50:14 adr: 1 control: 4 mode: 1
  track:   3 lba:    102249 (   408996) 22:45:24 adr: 1 control: 4 mode: 1
  track:lout lba:    121984 (   487936) 27:08:34 adr: 1 control: 4 mode: -1
  track:   4 lba:    128884 (   515536) 28:40:34 adr: 1 control: 4 mode: 1
  track:lout lba:    132116 (   528464) 29:23:41 adr: 1 control: 4 mode: -1

Whether a track is in CD-DA or CD-ROM format does not depend on the CD medium
type CD-R, CD-RW, readily pressed CD.


> I got a spew of errors relating to low-level disk issues such as
> sector numbers, etc and it finally gave up and never mounted.

Mind to share a few examples of such messages ?


> One CDRW drive simply reports no media when you insert
> the disk and a Sony drive does try to mount it with the error
> spew.  Another slightly newer P.C. running jessie also spews and
> dies.

I hope it's only the mount attempt which dies.

Well, you see the reactions of operating system drivers and other software.

The drives' statements can be watched by the SCSI logging modes of above
burn programs. Those modes are quite verbous. So one would catch their
output in files in the /tmp directory:
  wodim -v -V dev=/dev/sr0 -toc 2>&1 | tee -i /tmp/wodim.log
  cdrskin -v -V dev=/dev/sr0 -toc 2>&1 | tee -i /tmp/cdrskin.log
This might become interesting if the normal Table-Of-Content runs above
yield surprising results.
But for now, let's just see what the drive tells when properly asked.


Have a nice day :)

Thomas


Reply to: