LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-16-2007, 02:40 PM   #1
husten
Member
 
Registered: Apr 2006
Distribution: sabayon, opensuse
Posts: 56

Rep: Reputation: 16
Question Help! Xine is killing DMA, I can't make DMA stick!


Hi

Recenlty (after a xine upgrade from Suse's update) my DVD player had gaps in audio and video playing. I soon found out the DMA had been turned off.
I tried to turn it on in Yast >> error message. I turned it on with hdparm and it worked. I then included hdparm in my boot sequence. However, everytime I eject a DVD the DMA will turn itself off again.
I also noticed I need to press the eject button/use the eject command twice before the DVD comes out. DMA craps out after the first attempt. How can this be left on permanently? I heard Windows will disable DMA after playing a few scratchy DVDs but I would never think this of Linux. Could it be xine?


----------------------------------
Suse 10.1 2.6.16.27-0.6-default
libxine 1.1.4-0.pm.0
hdparm -i
Model=_NEC DVD_RW ND-3550A, FwRev=1.05, 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
-------------------------------------------
 
Old 02-17-2007, 11:10 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
Yast >> error message
What does this mean?

Did you try "YaST2 --> Hardware --> DMA Mode" and it had an error? If so what was the error. That might be the cause of the problem. Try using the YaST2 configuration if it exists instead of inserting your own scripts. You might get into a dueling configurations problem.
 
Old 02-18-2007, 01:47 PM   #3
husten
Member
 
Registered: Apr 2006
Distribution: sabayon, opensuse
Posts: 56

Original Poster
Rep: Reputation: 16
Actually yast says somthing along the lines of " can not change device %1 to mode %2..." it will not let me do anything in the yast-dma module.

I learned to trawl /var/log/messages and get this stuff (hda is the DVD)
the DMA and ATAPI reset is quite frequent:

Feb 9 19:55:04 spxx kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Feb 9 19:55:04 spxx kernel: ISOFS: changing to secondary root
Feb 9 20:21:45 spxx syslog-ng[2553]: STATS: dropped 0
Feb 9 20:29:08 spxx kernel: hda: irq timeout: status=0xd0 { Busy }
Feb 9 20:29:08 spxx kernel: ide: failed opcode was: unknown
Feb 9 20:29:08 spxx kernel: hda: DMA disabled
Feb 9 20:29:08 spxx kernel: hda: ATAPI reset complete
Feb 9 20:29:52 spxx kernel: hda: command error: status=0x51 { DriveReady SeekComplete Error }
Feb 9 20:29:52 spxx kernel: hda: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
Feb 9 20:29:52 spxx kernel: ide: failed opcode was: unknown
Feb 9 20:29:52 spxx kernel: end_request: I/O error, dev hda, sector 1248
Feb 9 20:29:52 spxx kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'G3_28201', timestamp 2005/11/17 13:06 (103c)
Feb 9 21:21:45 spxx syslog-ng[2553]: STATS: dropped 0

So it's the kernel killing DMA! But why is yast stuck?
 
Old 02-20-2007, 06:10 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
There are different DMA modes. Either the drive doesn't support any, or you tried the wrong one. Try DMA/33. That may be the highest rate for a CD/DVD drive.
 
Old 02-26-2007, 03:23 PM   #5
husten
Member
 
Registered: Apr 2006
Distribution: sabayon, opensuse
Posts: 56

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jschiwal
There are different DMA modes. Either the drive doesn't support any, or you tried the wrong one. Try DMA/33. That may be the highest rate for a CD/DVD drive.
Hmmm....Problem is, the DMA switch in Yast is frozen (e.g. error message after I hit 'apply' ) - whatever option I choose, even turning it off!!!!
It used to run perfectly for 6 month. Now the kernel keeps dropping it - see above.
 
Old 02-27-2007, 01:20 AM   #6
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 83
Quote:
Originally Posted by jschiwal
There are different DMA modes. Either the drive doesn't support any, or you tried the wrong one. Try DMA/33. That may be the highest rate for a CD/DVD drive.
My DVD is capable of UDMA66
It is a 18x18x10 burner so perhaps the high speed requires it
It has a high CPU requirement as well, P4 2.4 GHz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
dma and subtitles in xine dvd playback ? unionjak Ubuntu 2 11-18-2005 12:27 PM
DMA works but not by default (despite "use DMA by default" kernel) mehlkelm Linux - Hardware 7 04-11-2005 03:29 PM
Dma hpcpg Linux - Hardware 4 03-10-2004 12:54 AM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration