You are not logged in.

#1 2008-08-03 12:01:34

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

[Solved]DMA not activated ?

Hello everyone, I've a strange problem with my CD/DVD drive :

sudo hdparm -I /dev/sr0 

/dev/sr0:

ATAPI CD-ROM, with removable media
    Model Number:       Slimtype DVDRW SOSW-833S                
    Serial Number:      
    Firmware Revision:  VRS1    
Standards:
    Supported: CD-ROM ATAPI-2 
Configuration:
    DRQ response: 50us.
    Packet size: 12 bytes
Capabilities:
    LBA, IORDY(cannot be disabled)
    DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 
         Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4 
         Cycle time: no flow control=227ns  IORDY flow control=120ns

I think that the DMA is not activated because when I want to burn a cd my system become very slow or when I want to watch a dvd the movie is chopped and the system is also very slow.

Here is my dmesg :

dmesg|grep DMA
  DMA             0 ->     4096
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x8410 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x8418 irq 15
ata1.00: ATA-7: SAMSUNG MP0804H, YS200-05, max UDMA/100
ata1.00: configured for UDMA/100
ata2.00: ATAPI: Slimtype DVDRW SOSW-833S, VRS1, max UDMA/33
ata2.00: simplex DMA is claimed by other device, disabling DMA
sdhc0:slot0: Will use DMA mode even though HW doesn't fully claim to support it.
mmc0: SDHCI at 0xc0209000 irq 20 DMA
sdhc0:slot1: Will use DMA mode even though HW doesn't fully claim to support it.
mmc1: SDHCI at 0xc0208c00 irq 20 DMA
sdhc0:slot2: Will use DMA mode even though HW doesn't fully claim to support it.
mmc2: SDHCI at 0xc0208800 irq 20 DMA

I tried this : http://bbs.archlinux.org/viewtopic.php? … 25#p384325
but it doesn't work....it gives the same result.
Can you help me ?
Thank you a lot smile

Last edited by iznogoud (2008-08-28 17:01:31)

Offline

#2 2008-08-03 12:38:52

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [Solved]DMA not activated ?

You're not alone: http://bbs.archlinux.org/viewtopic.php?id=49491

I'm still looking for a solution, the above mentioned thread doesn't solve the issue for me neither.

Last edited by Ramses de Norre (2008-08-03 12:39:05)

Offline

#3 2008-08-04 06:10:54

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

Re: [Solved]DMA not activated ?

Thank you for the information.
I'm also searching a solution.

Last edited by iznogoud (2008-08-04 06:11:06)

Offline

#4 2008-08-04 19:09:31

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [Solved]DMA not activated ?

What is your hdparm -i output (lowercase 'i') ?

Offline

#5 2008-08-05 08:47:29

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

Re: [Solved]DMA not activated ?

here is it wink

 hdparm -i /dev/sr0

/dev/sr0:

 Model=Slimtype DVDRW SOSW-833S                , FwRev=VRS1    , SerialNo=                    
 Config={ Fixed 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:227,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
 Drive conforms to: Unspecified:  ATA/ATAPI-5

 * signifies the current active mode

Offline

#6 2008-08-12 19:08:41

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [Solved]DMA not activated ?

The problem seems to be solved with the 2.6.26 kernel, I didn't had the chance to do firm speed tests yet but watching DVD's goes without stuttering now:) The error about DMA being disabled has disappeared too.

Offline

#7 2008-08-28 17:01:10

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

Re: [Solved]DMA not activated ?

I'm very happy now big_smile

Offline

Board footer

Powered by FluxBB