LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-12-2005, 12:07 PM   #1
unifiedquarks
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Rep: Reputation: 0
Slackware10.2 &dma


helloo,

I installed slackware 10.2 (with the 2.4.31) to the hp Nx6125 laptop. isntallation was very slow. while the starup I see that the DMA is turned of. so the disk write and read are very slow. but every things were working properly. I tried "hdparm -d1 /dev/..." and some other options but they didnnt work.

I tried the kernel 2.6.13, from the slackware cd (test2.6) the dma was ok, but any other things were not working. I checked with lsmod and no modules were loaded.

then I compiled a new kernel 2.6.14, every things was ok except the dma. so it is stilll wery slow.

while compiling which options do I have checked to enable dma??
 
Old 12-12-2005, 12:39 PM   #2
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,564

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
No offence, but...
http://www.catb.org/~esr/faqs/smart-questions.html

What output did you see when you were running the default kernel and you tried to use hdparm?

What output did you see when you were running the 2.6.13 kernel and you tried to use hdparm? What stopped working? Did you really mean that lsmod showed no modules? If so, had you installed the 2.6.13 kernel modules in addition to the kernel image?

Finally, What output did you see when you were running the 2.6.14 kernel and you tried to use hdparm?

You've given us very little to go on, but I'll guess that the driver for your HD controller isn't compiled into (or loaded for) any of the three kernels above. Use lspci to find out what HD controller you do have, and you should be able to take it from there.

Last edited by dugan; 12-12-2005 at 12:42 PM.
 
Old 12-12-2005, 01:22 PM   #3
unifiedquarks
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
you are right, I am sorry.

I complied 2.6.14 again. I checked some ati support at ata device section. and now dma is working. the output of hdparm /dev/hda is:

/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 78140160, start = 0

and the output hdparm -tT is:

Timing cached reads: 88 MB in 2.03 seconds = 43.30 MB/sec
Timing buffered disk reads: 10 MB in 3.18 seconds = 3.14 MB/sec

but it is very slow again!
the output of hdparm -tT when I used the kernel 2.6.13 (directly copied from slackware inst. cd, and there is no module directory in /lib/modules for this kernel):

Timing cached reads: 2626 MB in 2.55 seconds = 1030 MB/sec
Timing buffered disk reads: 96.71 MB in 3.08 seconds = 31.4 MB/sec

so the disk is capable for such high reads.

how can I incease the speed.
 
Old 12-14-2005, 01:46 AM   #4
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,564

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
You will find the 2.6.13 kernel modules in the same /testing directory you found the 2.6.13 kernel image.

Some suggested hdparm settings might include setting the drive's multsect to its maximum possible value, turning on 32-bit access, enabling write caching, and the "u1" option. See Speeding up Linux using hdparm for a really good article on this.

Finally, there's now a slightly more recent and much more productive thread on the exact problem you're having. I would recommend continuing the discussion there.
 
  


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
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
SLACKWARE10.1-full process from (HardDisk)installation to configuration! zhy2111314 Slackware - Installation 2 08-07-2005 09:54 PM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 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
DMA & Slow hard driver performance Stevetgn Linux - Newbie 5 06-24-2003 06:30 PM


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

Main Menu
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