Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-23-2004, 11:21 AM
|
#1
|
Member
Registered: Aug 2003
Location: Michigan, USA
Distribution: Currnetly SuSE 8.2, but Fedora and Mandrake in the past
Posts: 40
Rep:
|
how to turn on hd dma acceleration
I recently compiled my slackware kernel (first time ever - i was excited!) but my dma seems to be turned off (sound skips on xmms every now and then and other slow startup issues).
I would not only like to turn it on, but have it turned on automatically at each startup. how can i do this. thanks
|
|
|
08-23-2004, 11:26 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158
Rep:
|
I believe its
# hdparm -d 1
hdparm is to set hd parameters,
-d option to enable/disable dma
1 is on
try google "man hdparm" or type
$man hdparm at console
try
#hdparm -v
to print the current info on drives. You can also try doing
#hdparm -iv - little more info i believe.
Last edited by tuxrules; 08-23-2004 at 11:29 AM.
|
|
|
08-23-2004, 11:29 AM
|
#3
|
Member
Registered: Aug 2003
Location: Michigan, USA
Distribution: Currnetly SuSE 8.2, but Fedora and Mandrake in the past
Posts: 40
Original Poster
Rep:
|
will that only turn it on once or each time? is there a config file somewhere that would have information like this. i will also google some more. thanks though.
|
|
|
08-23-2004, 11:34 AM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158
Rep:
|
here are the google search results
|
|
|
08-23-2004, 11:41 AM
|
#5
|
Member
Registered: Aug 2003
Location: Michigan, USA
Distribution: Currnetly SuSE 8.2, but Fedora and Mandrake in the past
Posts: 40
Original Poster
Rep:
|
i already did the google and found a lot. but i got this error:
============================
root@darkstar:/home/jason# hdparm -d 1 /dev/hdc
/dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
=============================
what is this?
|
|
|
08-23-2004, 11:46 AM
|
#6
|
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158
Rep:
|
are you sure thats the drive you wanna set dma for?? I mean hard drive???
|
|
|
08-23-2004, 11:58 AM
|
#7
|
Member
Registered: Aug 2003
Location: Michigan, USA
Distribution: Currnetly SuSE 8.2, but Fedora and Mandrake in the past
Posts: 40
Original Poster
Rep:
|
yes
|
|
|
08-23-2004, 12:03 PM
|
#8
|
Member
Registered: Aug 2003
Location: Michigan, USA
Distribution: Currnetly SuSE 8.2, but Fedora and Mandrake in the past
Posts: 40
Original Poster
Rep:
|
one of the sites i just found has someone saying
" looks like you forgot to enable via support"
is this possible? or does the via support mean a via chipset (which i do not have - i have nforce2)
|
|
|
08-23-2004, 12:07 PM
|
#9
|
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158
Rep:
|
I am not sure that could be the problem but likely it could be. I remember opting for dma option during my slack compile. Try compiling again...also save your current config file so that you dont have to make all the choices once again.
|
|
|
08-23-2004, 12:15 PM
|
#10
|
Member
Registered: Aug 2003
Location: Michigan, USA
Distribution: Currnetly SuSE 8.2, but Fedora and Mandrake in the past
Posts: 40
Original Poster
Rep:
|
how do i save the current config - and after, how do i use it during my compile. to compile i used a guide here at lq.... i have it printed out here..... thanks for all the help.
|
|
|
08-23-2004, 12:21 PM
|
#11
|
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158
Rep:
|
Go to /usr/src and you'll you see a directory named after your kernel version (something like linux-2.6.x).
cd into the directory
and type ls -a. You'll see a .config file. just save that file to another location (i generally save it in my home directory).
within the linux directory
type
# make mrproper
# make clean
and then copy the .config file again to the directory.
#make menuconfig and now you'll see all your options checked.
then the usual steps to follow.
|
|
|
08-23-2004, 12:25 PM
|
#12
|
Member
Registered: Aug 2003
Location: Michigan, USA
Distribution: Currnetly SuSE 8.2, but Fedora and Mandrake in the past
Posts: 40
Original Poster
Rep:
|
thanks a million.
|
|
|
All times are GMT -5. The time now is 08:59 PM.
|
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
|
|