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

Totem tries to close already closed drive, disables dma



Hi,

I am not sure where to report this bug, if it's a bug at all, and so I am posting it here

I am using debian 'testing' fully updated.

When I try to use Totem to play a dvd, the DMA mode of my dvd player gets disabled:

hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: DMA disabled
hda: ATAPI reset complete

And as a result the playback is bad, it stops and than starts again a couple of times in
a second.

I started Totem in the console and this is the output:

~$ totem
closing
closing
closing
closing
libdvdnav: Using dvdnav version 1.1.1 from http://xine.sf.net
[...]

When the messages "closing" start to appear, I hear my drive trying to do something
with the door, I assume it's trying to close itself, but it's already closed.

Here's the output of hdparm (before I try playing with totem):

hdparm -vi /dev/dvd
/dev/dvd:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  1 (on)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device

 Model=_NEC DVD_RW ND-3540A, FwRev=1.01, SerialNo=
 Config={ Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no

 * signifies the current active mode

When playing with "codeine" player, there are no problems whatsoever, it does not
disable the dma mode of my drive.

Please, advise me what to do.
Thank you!

Steve

Reply to: