SlackwareThis 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.
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.
Hello:
I'm a slack newbie and it is my first time to compile a kernel.
And I suspect I did not do it properly.
Symptoms are:
Frequent high level of hard drive activity, accompanied by loss of
system response to pointing device, kepad, and keyboard. Occurs for
both user and root.
Logs show references to problems with `agpgart`. Logs and .config (renamed to "config")
can be seen at http://www.johnsons-web.com/demo/slack/
There are also dumps available, "lspci.txt" is a dump of `lspci -v`.
Originally posted by Zeistler If you do a hdparm -d /dev/hda as root what does it say? Note that hda could also be hdc or hdb depending on where your primary harddrive is.
My primary hard drive is hda, slack partition is on hdb (should have mentioned that), sorry.
output for hdparm -d /dev/hda is
using_dma = 0 (off)
for hdb is the same.
On my RH 9.0 partition, using_dma is 'on'
Also, when booting the slack OS, I have noted that the system spends a noticeable lot of time
at the following message:
"updating shared library links:
/sbin/ldconfig"
Ok.. I think I know what your problem is. Somehow you missed to add support for the harddrive controller on the motherboard. Without it dma gets disabled and thus causing a very slow harddrive access.
To make sure try and turn dma on using hdparm -d1 /dev/hdb
If nothing happens then the problem is missing controller support.
Originally posted by Zeistler Ok.. I think I know what your problem is. Somehow you missed to add support for the harddrive controller on the motherboard. Without it dma gets disabled and thus causing a very slow harddrive access.
To make sure try and turn dma on using hdparm -d1 /dev/hdb
If nothing happens then the problem is missing controller support.
My bad, no doubt!
Here are results:
###############################################
`hdparm -d1 /dev/hdb`
# returns
/dev/hdb:
Setting using_dma to 1 (on)
HDIO_SET_DMA failed, operation not permitted.
#same sort of response for same operation on hda
HDIO_SET_DMA looks a lot like a `C` preprocessor directive
OR a `.config` directive.
Yeay, it's smokin' now.
Settings for menuconfig were:
ATA/IDE/MFM/RLL support ==> IDE, ATA and ATAPI Block devices
----AMD and nVidia IDE support
--------AMD Viper ATA-66 Override
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.