LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-09-2004, 03:55 AM   #1
trouby
Member
 
Registered: Sep 2003
Posts: 59

Rep: Reputation: 15
VERY slow HDs activity.


Hey,

I have set software raid with two WD 80GB hard drives, both IDE.

They acts EXTERMELY slow, and when I run hdparm /dev/hda I get the following as a result:

Code:
/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 9729/255/63, sectors = 156301488, start = 0
Well, this is a new hardware, I guess it fully support dma/32-bit IO support, but for some reason, when I try to enable DMA i get the following:

Code:
root@emerald:/usr/src/linux# hdparm -d 1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
Well, I guess the kernel does not allow to use DMA by default, and maybe the kernel doesn't recognize my motherboard. I have an INTEL server board (s845wd1-e), I didn't find anything kernel otpions about this MB.

Any help?
Thanks.
 
Old 01-09-2004, 06:07 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
What kind of IDE cables do you use? If you use old IDE (non-UDMA/ATA) cables you will not be able to set the DMA transfer modes no matter what your kernel options are.

Håkan
 
Old 01-09-2004, 11:25 AM   #3
trouby
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
New IDE cables, that is for sure.
 
Old 01-09-2004, 12:42 PM   #4
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
recompile your kernel...be sure to compile the following in...
ATA/IDE/MFM/RLL support ---> IDE, ATA and ATAPI Block devices ---> [*]PCI IDE chipset support[*]Generic PCI IDE Chipset Support[*]Sharing PCI IDE interrupts support[*]Generic PCI bus-master DMA support[*]Use PCI DMA by default when available


regards
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dualboot/ two HDs Trio3b Mandriva 1 05-01-2005 02:11 AM
Changing HDs rhraz Linux - Newbie 3 02-25-2004 04:09 PM
Multiple HDs? Jed Debian 7 11-04-2003 12:42 AM
4-OS, two HDs. Can it be done? Cliff Sloane Linux - Newbie 2 10-29-2003 02:23 AM
Installing with Two HDs Minner610 Linux - Newbie 4 08-17-2003 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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