Problem to access DVD drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdparm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have a very strange problem. I can't read audio on my DVD drive. When I try to do it, it music starts to stumble and flick and I just can't play the file well. The strange thing is that it happens only with audio and not with other data files. The problem happens on every player: vlc, totem, mplayer, audacious, etc.
It seems kernel can't access drive's cache, or something like that. I had the same problem on Windows 7 but a firmware update solved the problem which is very weird though. Here is some output from vlc:
~$ vlc
VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
[0x200a108] main libvlc: Executando o VLC com a interface padrão. Use 'cvlc' para usar o VLC sem interface.
[0x201d9e8] main playlist: stopping playback
[0x7f2cd80286e8] main stream error: cannot pre fill buffer
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
[0x7f2cf8006138] main input error: ES_OUT_RESET_PCR called
[0x7f2cf8006138] main input error: ES_OUT_
When I try to play with mplayer setting a big cache value, music plays perfectly while there is data in the cache but it inevitably runs out even when I set a minimum cache value.
~$ mplayer -cache 4048 -cache-min 99 -cdrom-device /dev/dvd cdda://
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing cdda://.
Found audio CD with 7 tracks.
Cache fill: 0.00% (0 bytes)
Track 1
Cache fill: 98.52% (4083072 bytes)
rawaudio file format detected.
Cache not responding! [performance issue]
=======
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
=======
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 26.4 (26.3) of 1588.5 (26:28.4) 0.0% 0%
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
MPlayer interrupted by signal 2 in module: decode_audio
A: 26.8 (26.7) of 1588.5 (26:28.4) 9.8% 0%
Exiting... (Quit)
~$ hdparm -i /dev/dvd
/dev/dvd:
HDIO_DRIVE_
Model=TSSTcorp CDDVDW SH-S223C, FwRev=SB00, SerialNo=X ^ [
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=unknown, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: *mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no
Drive conforms to: ATA/ATAPI-4 T13 1153D revision 17: ATA/ATAPI-3,4,5,6,7
* signifies the current active mode
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: hdparm 9.37-0ubuntu3.1
ProcVersionSign
Uname: Linux 3.2.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Mon Oct 8 20:04:15 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, no user)
LANG=pt_BR.UTF-8
SHELL=/bin/bash
SourcePackage: hdparm
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.