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

Music/Audio CDROMs, DVDs, & Etch kernel Security Update.



The following is a record of a problem we had here with a debian Etch Security
Update that we performed on 26 Aug. 2008. It has now been resolved.

The culprit seems to have been the
linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch6_i386.deb kernel
package. However, there seems to be no maintainer for this or related
packages. http://packages.debian.org/etch/linux-image-2.6.18-5-686 leads to a
set of "No maintainer for linux-image-2.6.18-5-686" pages! 

Hence, if anyone has a better idea of where this bug report may be submitted,
the info would be appreciated.

Thanks,
DB







P.S. The following is posted as an FYI, only, because it may be of use to
anyone else seeing similar symptoms. Otherwise, it may be ignored.

Problem Description: 
Subsequent to the aforementioned Security Update, Audio CDROMs could no longer
be played, and almost no utility could read their contents. Also, vlc could no
longer play encrypted DVDs.

Work-around:
After extensive tests, we went with our original hunch that the
common denominator to the two problems was in the kernel.
We installed a recent kernel. This was a generic build which used the
configuration of the Security Update's running kernel. 
The rest of the Security Update was kept. Manual reversion of vlc (to the
pre-Update versions) had not helped. Other vlc libraries had remained
unchanged. 


Before:
Debian Etch stable 
linux-image-2.6.18-5-686 2.6.18.dfsg.1-13 kernel
libvlc0 0.8.6-svn20061012.debian-5etch1
vlc 0.8.6-svn20061012.debian-5etch1
vlc-nox 0.8.6-svn20061012.debian-5etch1

After:
Debian Etch stable with the Security Update
linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch6_i386.deb
libvlc0_0.8.6-svn20061012.debian-5.1+etch2_i386.deb
vlc_0.8.6-svn20061012.debian-5.1+etch2_i386.deb
vlc-nox_0.8.6-svn20061012.debian-5.1+etch2_i386.deb


Some of the various attempts and error messages are presented here so that they
may be found by people tackling the same problem :

- The CDROM/DVD drive is region-free. regionset did not help.

- IIRC cdda2ogg was the only utility which managed to rip audio tracks. grip
  failed completely, and could not play them, either.

- 'icedax -v toc -D /dev/cdrom' (ie the debian fork of cdda2wav) resulted in 

Type: ROM, Vendor 'ASUS    ' Model 'DRW-1814BL      ' Revision '1.13' MMC+CDDA
307200 bytes buffer memory requested, 4 buffers, 27 sectors
Read TOC CD Text failed (probably not supported).
#icedax version 1.1.2, real time sched., soundcard, libparanoia support
  1.(38:54.07),  2.( 0:43.64),  3.(16:12.08),  4.(16:05.58)
CDINDEX discid: jiKkuwNZ8qhH644JdMmq_I_Jvxg-
CDDB discid: 0x3210db04
CD-Text: not detected
CD-Extra: not detected
icedax: Operation not permitted. cannot set posix realtime scheduling policy
percent_done:
100%  track  1 recorded successfully


- 'icedax -v all -J -D /dev/cdrom' resulted in more info about the ToC:

Type: ROM, Vendor 'ASUS    ' Model 'DRW-1814BL      ' Revision '1.13' MMC+CDDA
307200 bytes buffer memory requested, 4 buffers, 27 sectors
Read TOC CD Text failed (probably not supported).
#icedax version 1.1.2, real time sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1- 4           no              no     audio    2
Table of Contents: total tracks:4, (total time 71:55.62)
  1.(38:54.07),  2.( 0:43.64),  3.(16:12.08),  4.(16:05.58)

Table of Contents: starting sectors
  1.(       0),  2.(  175057),  3.(  178346),  4.(  251254), lead-out(  323687)
CDINDEX discid: jiKkuwNZ8qhH644JdMmq_I_Jvxg-
CDDB discid: 0x3210db04
CD-Text: not detected
CD-Extra: not detected
No media catalog number present.
scanning for ISRCs: 4 ...
index scan: 4...

- 'k3b > Tools > Disk Info' shows the audio CDROM's ToC properly.

- http://bugs.debian.org/vlc did not show any relevant bugs.

- vlc -vv

- DVDCSS_VERBOSE=2 vlc

- xmcd
CD audio: ioctl error on /dev/cdrom: cmd=CDROMREADTOCHDR errno=38

- dcd
CDROMREADTOCHDR failed: Function not implemented
CDROMREADTOCHDR failed: Function not implemented
CDROMREADTOCHDR failed: Function not implemented
CDROMREADTOCENTRY[5] failed: Function not implemented

- cdplay
cdplay: can't play (no_disc)

- xine
This is xine (X11 gui) - a free video player v0.99.5cvs.
(c) 2000-2006 The xine Team.
CDROMREADTOCHDR: Function not implemented

- totem could not see the audio CDROM at all.

- vlc
VLC media player 0.8.6a Janus
[00000291] cdda access error: could not read TOCHDR
[00000291] cdda access error: no audio tracks found
[00000291] vcd access error: could not read TOCHDR
[00000291] vcd access error: no movie tracks found
[00000291] access_file access error: file /dev/hdc is empty, aborting
[00000288] main input error: no suitable access module for `cdda:///dev/hdc'
[00000279] main playlist: nothing to play
[00000279] main playlist: stopping playback

- alsaplayer 
CDDA: read TOC ioctl failed

- cdinfo 
no_disc

- cdown
cdown:  error reading cdrom /dev/cdrom

- cdstatus was used as well, fruitlessly.

- vlc -vv with an audio CDROM disc results in 


[00000279] main playlist debug: adding playlist item `cdda:///dev/hdc' ( cdda:///dev/hdc )
[00000279] main playlist debug: creating new input thread
[00000301] main input debug: waiting for thread completion
[00000301] main input debug: thread 3017034672 (input) created at priority 0 (input/input.c:266)
[00000301] main input debug: `cdda:///dev/hdc' gives access `cdda' demux `' path `/dev/hdc'
[00000301] main input debug: creating demux: access='cdda' demux='' path='/dev/hdc'
[00000302] main demuxer debug: looking for access_demux module: 0 candidates
[00000302] main demuxer warning: no access_demux module matched "cdda"
[00000301] main input debug: creating access 'cdda' path='/dev/hdc'
[00000303] main access debug: looking for access2 module: 5 candidates
[00000303] cdda access debug: separate items : 1 - single track : 0
[00000303] cdda access debug: starting Audio CD playback
[00000303] cdda access error: could not read TOCHDR
[00000303] cdda access error: no audio tracks found
[00000303] vcd access error: could not read TOCHDR
[00000303] vcd access error: no movie tracks found
[00000303] vcdx access warning: error in ioctl CDROMREADTOCHDR: Function not implemented

[00000303] vcdx access warning: error reading PVD sector (16) error -1
[00000303] access_file access debug: opening file `/dev/hdc'
[00000303] access_file access error: file /dev/hdc is empty, aborting
[00000303] main access warning: no access2 module matching "cdda" could be loaded
[00000301] main input error: no suitable access module for `cdda:///dev/hdc'
[00000301] main input debug: thread 3017034672 joined (input/input.c:413)
[00000279] main playlist: nothing to play


- dmesg included the following strings
cdrom: This disc doesn't have any tracks I recognize!
hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
hdc: media error (bad sector): error=0x30 { LastFailedSense=0x03 }

ATAPI device hdc:
  Error: Medium error -- (Sense key=0x03)
  (reserved error code) -- (asc=0x02, ascq=0x00)
  The failed "Read 10" packet command was: 
  "28 00 00 20 23 00 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 8424448
Buffer I/O error on device hdc, logical block 1053056

ATAPI device hdc:
  Error: Illegal request -- (Sense key=0x05)
  Invalid field in command packet -- (asc=0x24, ascq=0x00)
  The failed "Play Audio MSF" packet command was: 
  "47 00 00 ec c6 04 40 14 e5 00 00 00 00 00 00 00 "




- xine --bug-report #used on an encrypted dvd
libdvdnav: Using dvdnav version 1.1.2 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access

- Both vlc and xine use libdvdcss version 1.2.8.

- vlc
VLC media player 0.8.6a Janus
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access

- Note that the new vlc, installed by the Security Update, may have overwritten
  the default DVD device path. That is unlikely, but we had to re-enter the
  "/dev/dvd" again.

- The following is a typical example of vlc's crash. Note that the copy-control
  protection is RCE, but it always handled it prior to the upgrade.
  I have edited out the disc title and paths using "<snip>".


VLC media player 0.8.6a Janus
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdnav: DVD Title: <snip>
libdvdnav: DVD Serial Number: <snip>
libdvdnav: DVD Title (Alternative): <snip>
libdvdnav: Unable to find map file <snip>
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000012b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001fd
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000280
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000002c8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00000422
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003cf16c
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: ifoRead_TITLE_VOBU_ADMAP vtsi failed - CRASHING
vlc: vm.c:218: ifoOpenNewVTSI: Assertion `0' failed.
Aborted (core dumped)

- dvd+rw-mediainfo was used at some point.

- The new kernel resulted in grip seeing, playing and ripping the audio
  CDROM. (rhythmbox doesn't work, IIRC.) cdplay, xmcd, dcd, sound-juicer, xine,
  vlc all work.

- The RCE encrypted DVD now plays with vlc. (Again, personal info has been
  snipped.)

VLC media player 0.8.6a Janus
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdnav: DVD Title: <snip>
libdvdnav: DVD Serial Number: <snip>
libdvdnav: DVD Title (Alternative): <snip>
libdvdnav: Unable to find map file '<snip>'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000012b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001fd
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000280
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000002c8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00000422
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003cf16c
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: Suspected RCE Region Protection!!!
[00000343] a52 decoder: A/52 channels:6 samplerate:48000 bitrate:448000
No accelerated IMDCT transform found


Reply to: