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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-27-2005, 06:37 PM   #1
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
Enabling DMA on my /dev/hda


Dear All,
I consider myself quite experienced, and have been getting always deeper into
Slackware and Linux.
In a recent fsck process, I was told that the DMA on the (only) hard disk on my laptop
was not enabled.

I would like to enable it. I have kernel 2.6.13.4 freshly reconfigured, and I'm quite
sure I have the necessary options for DMA enabled!

Do I need some kernel parameters?

I am on a DELL C600 (P3cm) Laptop, with Slackware 10.2.

Thanks,
Riddick
 
Old 10-27-2005, 06:46 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574
# hdparm -d1 /dev/hda

should do the trick...
 
Old 10-27-2005, 07:01 PM   #3
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
That said... DMA will usually enable itself by default, unless the kernel doesn't have the right IDE driver enabled. You may need to recompile the kernel to enable support for your chipset. Check the results of lspci and make sure that the IDE controller is enabled in your kernel configuration.
 
Old 10-27-2005, 07:02 PM   #4
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
that is done!
 
Old 10-28-2005, 12:10 PM   #5
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
lots more on hdparm here:

http://www.linuxdevcenter.com/pub/a/...29/hdparm.html
 
Old 10-31-2005, 03:22 PM   #6
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
S any news? I tried that command and it didn't work!
 
Old 12-12-2005, 07:27 PM   #7
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Rep: Reputation: 15
I am having the exact same problem. Any help would be appreciated. I have "Use PCI DMA by default when available" and "AMD and nVidia IDE support" *... not sure what else the problem would be.

using hdparm -d1 /dev/hda says "Operation Not Permitted"
 
Old 12-12-2005, 07:30 PM   #8
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
all in the kernel - check your configuration!

If you have the same laptop as me I can send you my .conf - I can send it
anyway if you like...

Riddick
 
Old 12-12-2005, 07:38 PM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Can you post the output of lspci so we can determine what kind of IDE controller your laptop uses?
 
Old 12-12-2005, 07:41 PM   #10
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Rep: Reputation: 15
This is not for a laptop...
output for lspci :
root@Lucid:/home/opencircuit# lspci
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation MCP2A ISA bridge (rev a3)
00:01.1 SMBus: nVidia Corporation MCP2A SMBus (rev a1)
00:02.0 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation MCP2A USB Controller (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation MCP2S AC'97 Audio Controller (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP2A PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation MCP2A IDE (rev a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:08.0 RAID bus controller: Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller (rev 02)
01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:00.0 VGA compatible controller: nVidia Corporation NV36.1 [GeForce FX 5700 Ultra] (rev a1)
 
Old 12-13-2005, 07:55 AM   #11
unifiedquarks
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Rep: Reputation: 0
I had the similar problem on hp nx6125 laptop (which has amd processor and ati chipset). enabling dma was not permitting by hdparm. and disk reading was very slow. I compiled 2.6.14 kernel and I checked ati chipset support and unchecked pII intel support from kernel options of devices-->ata section. now dma is working but still very slow. but when i tried the precompiled kernel 2.6.13 from slackware cd, there were no dma and slowness problem.
 
Old 12-13-2005, 07:28 PM   #12
OpenCircuit
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25

Rep: Reputation: 15
Last night after playing around with my kernel settings, I figured why not, enable ati support, and sure enough, works perfectly now.

Thanks all for the info.
 
  


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
/dev/hda under lilo.conf even thoug my HD is under /dev/hdb Basel Slackware 8 10-27-2005 06:00 PM
Problem enabling DMA on hda (RH9) noelcantona Linux - Newbie 8 07-11-2005 06:35 AM
howto turn on DMA for /dev/hda ? tdking19 Linux - Hardware 3 05-15-2005 07:31 AM
How can I boot either one of my hard drives /dev/hda or /dev/hdb, I have RH9 and FC2 omogunkristi Linux - General 1 06-21-2004 05:11 AM
DMA on /dev/hda but not on /dev/dvd jslade Linux - Hardware 4 04-07-2003 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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