LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 07:58 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Rep: Reputation: 49
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 08:10 PM.
 
Old 11-10-2012, 01: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: 328Reputation: 328Reputation: 328Reputation: 328
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, 01:36 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

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


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


All times are GMT -5. The time now is 04:06 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration