LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-20-2003, 11:31 AM   #1
er241
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
Can't activate DMA on Lite-On DVD


I can't activate DMA on any of my devices (DVD, HDD, or CD):

[root@er241 /home/er241]# hdparm -d1 /dev/hdd

/dev/hdd:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

[root@er241 /home/er241]# hdparm -I /dev/hdd

/dev/hdd:

ATAPI CD-ROM, with removable media
Model Number: LITEON DVD-ROM LTD-165H
Serial Number:
Firmware Revision: CH0J
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
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 udma3
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns

I can see that my DVD should support UDMA2 but it won't activate. My distribution is Linux From Scratch 4.1 with a 2.4.22 kernel.

Can anyone help me with this problem? I'm sure I was able to activate DMA under Mandrake 9.1

Thanks,

Ed
 
Old 09-21-2003, 07:39 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
If its LFS you must have compiled your own kernel? There are some kernel options for enabling/disabling DMA you should check. I've got

CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
 
Old 09-21-2003, 08:46 AM   #3
er241
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I had those activated. What I forgot to mention is that I have an nVidia chipset motherboard. I also needed to activate the (new) AMD/nVidia DMA option that is hidden at the bottom of the IDE settings. All is good now and my DVD is UDMA2 and my harddisk UDMA5

Thanks for the pointer.
 
  


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
activate DMA for disks at boot time mrosati Linux - Software 1 09-15-2005 07:04 AM
unable to activate HD DMA-modes WalGrom Linux - Hardware 2 04-30-2005 06:41 AM
Can't activate DMA on a DVD-Writer bailmann Linux - Hardware 12 02-17-2005 06:08 PM
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
Not able for activate 'dma' or 'hdparm -d1..." tom2 Linux - Hardware 0 03-10-2003 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:00 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
Open Source Consulting | Domain Registration