LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-09-2012, 06:58 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Is DMA mode enabled for my optical drive?


Hi:

In an attempt to know if my optical drive /dev/hdc has DMA mode enabled, I ran
Code:
$ sudo /usr/sbin/hdparm -I /dev/hdc

/dev/hdc:

ATAPI CD-ROM, with removable media
        Model Number:       PHILIPS SPD2417T                        
        Serial Number:      
        Firmware Revision:  P1.0    
Standards:
        Supported: CD-ROM ATAPI-3 -4 -5 -6 -7 
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(cannot be disabled)
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4 
             Cycle time: no flow control=383ns  IORDY flow control=120ns
$
but this does not seem to give the information I seek. Does somebody know how to get it? Perhaps /sbin/dmesg|grep some_string? BIOS setup menu does not mention DMA, except for the parallel port.

EDIT:
I also tried this:
Code:
root@darkstar:~# dmesg|grep hdc|grep DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
hdc: ATAPI 16X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)
root@darkstar:~#
Does it mean that optical drive has DMA mode enabled? I do not think so.

Last edited by stf92; 11-09-2012 at 07:10 PM.
 
Old 11-10-2012, 12:28 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Yes, you are using DMA, specifically udma4. The asterisk next to the mode in the first response indicates the mode in use.
 
1 members found this post helpful.
Old 11-10-2012, 12:36 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Yes, I came to that conclusion when I saw the asterisk later. But even so I was not sure. Thanks a lot.
 
  


Reply



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
Dvd drive burning extremely slow using k3b----DMA is enabled securitybreach Slackware 3 05-07-2008 12:16 AM
Is there DMA for SATA Optical Drives? Or is my inspiron optical not supported (yet)? RHLinuxGUY Linux - Kernel 14 09-24-2006 03:11 PM
DVD drive freezes 10.0 w/ DMA enabled RBEmerson SUSE / openSUSE 4 06-02-2006 11:46 AM
DMA Mode of Hard Drive Ace2005 Linux - Hardware 6 07-21-2005 07:23 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 - Hardware

All times are GMT -5. The time now is 07:58 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