LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-05-2005, 12:53 PM   #1
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Rep: Reputation: 30
Slack 10.0 is very unstable => agpgart


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`.

any help would be appreciated.
thanks
tim
 
Old 09-05-2005, 01:04 PM   #2
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
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.
 
Old 09-05-2005, 01:33 PM   #3
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
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"

thanks
tim
 
Old 09-05-2005, 03:36 PM   #4
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
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.
 
Old 09-05-2005, 05:08 PM   #5
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
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.

Thanks for the help so far!
What next?
tim
 
Old 09-06-2005, 04:37 AM   #6
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
Googling for help for your specific motherboard chipset (nForce2) brings me to this site:

http://ubuntuforums.org/archive/index.php/t-3418.html

Going back through your kernel shows that you've not enabled this at all:

Code:
...
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
...
So! Compile that module into your kernel and let us know how it goes =)

- Piete.
 
Old 09-06-2005, 10:21 AM   #7
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by piete
Googling for help for your specific motherboard chipset (nForce2) brings me to this site:

http://ubuntuforums.org/archive/index.php/t-3418.html

Going back through your kernel shows that you've not enabled this at all:

Code:
...
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
...
So! Compile that module into your kernel and let us know how it goes =)

- Piete.
Thanks very much to all for the help! It's also a good learning experience.
Will report back when done.
cheers
tim
 
Old 09-08-2005, 01:11 PM   #8
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
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

Thanks to all for the help.
tim
 
  


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
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 01:38 PM
nVdia's AGPGART or Kernel 2.6.11.1 AGPGART slackermike Slackware 3 06-09-2005 02:26 PM
Problems with agpgart.o and ppp (Slack 10) ckoul Slackware 0 10-22-2004 12:09 PM
very unstable install of slack 9.1 bosewicht Slackware 7 04-06-2004 08:30 AM
Agpgart Phorem Linux - Hardware 12 12-07-2003 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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