Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-12-2003, 11:26 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2003
Location: Kansas
Distribution: Slackware 9.0
Posts: 12
Rep:
|
DMA settings won't save
I'm running Slackware 9.0, and I have:
hdparm -X66 -c3 -d1 /dev/hda
in my /etc/rc.d/rc.local
When linux loads, it works reads that DMA is on, but when I log in and type:
hdparm -Tt /dev/hda
I get really crappy speed, and when I type
hdparm /dev/hda
DMA is turned off, but when i turn it back on again, then it works fine.
Anybody know why I would have to type 'hdparm -X66 -c3 -d1 /dev/hda' again when linux starts? or if there is a better way to enable DMA and hard drives?
|
|
|
|
04-12-2003, 11:46 AM
|
#2
|
|
Member
Registered: Jul 2002
Posts: 141
Rep:
|
This is my setting in rc.local:
hdparm -c 1 -d 1 -k 1 /dev/hdb
You have to use the switch -k, in order to keep the settings.
good luck !
|
|
|
|
04-12-2003, 12:07 PM
|
#3
|
|
LQ Newbie
Registered: Apr 2003
Location: Kansas
Distribution: Slackware 9.0
Posts: 12
Original Poster
Rep:
|
I have tried that at one point, although I did it with '-k1' instead of '-k 1'. At work right now, I will try again.
|
|
|
|
04-12-2003, 12:55 PM
|
#4
|
|
Member
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381
Rep:
|
Maybe your PATH is not set at the time rc.local is executed.
Try /sbin/hdparm ......
If not, recompile kernel with "Use DMA by default" turned on.
(But that's a major mess for such a problem).
Try making a /etc/rc.d/rc3.d/S90dma
|
|
|
|
04-12-2003, 07:38 PM
|
#5
|
|
LQ Newbie
Registered: Apr 2003
Location: Kansas
Distribution: Slackware 9.0
Posts: 12
Original Poster
Rep:
|
Problem solved, I just did -X69 instead of -X66, and now it works
Don't know why I did -X66, 2X faster now anyway
Did '-k1' also, BTW
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:22 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|