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 10-02-2004, 04:36 AM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
Computer Slow After Kernel Compile


i just finished upgrading to the 2.6.8 kernel and everything went as planned and everything's working as it should, except the fact that the box seems a little sluggish. i'm running on a 333 Mhz Celeron processor with about 198 megs of RAM. it's a slow box but its become a lot slower than when i was originally on 2.4.6...
any suggestions...

TIA
 
Old 10-02-2004, 06:50 AM   #2
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 18
Its been a while since I compiled my own kernel, but I do remember something similar happening to me. I didn't compile in support for my chipset and when I would do "hdparm /dev/hda" it would return about 3.00 MB/sec. So then I re-compiled with support for my chipset and ran the same command and it came back at 40.00 MB/sec. Might be worth looking into
 
Old 10-02-2004, 07:26 PM   #3
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
i tried to run hdparm to enable DMA and this is what i get when i type in the command:

bash-2.05b# hdparm -X69 -d1 -u1 /dev/hda

/dev/hda:
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
setting xfermode to 69 (UltraDMA mode5)
unmaskirq = 1 (on)
using_dma = 0 (off)


i use a QUANTUM FIREBALLlct08 08, ATA DISK drive
and when i was compiling the kernel it didn't have a kernel module for that specific drive....
since its not letting me enable dma what should i do ? any suggestions ...

TIA
 
Old 10-02-2004, 10:25 PM   #4
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 18
I have a Asus A7VE motherboard, in order to get DMA enabled and get a decent return with hdparm, I had to compile in support for my chipset
under ATA/IDE/MFM/RLL support ---> when I did a "make menuconfig". Like I said it has been a while, but what you're experiencing sounds a lot like what I was going through. HTH. If not, I'll let someone more knowledgeable try to help you out. Good luck!
 
Old 10-02-2004, 11:30 PM   #5
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
thanks for replying back, i'll try to recompile the kernel again and wrestle with for a bit, if i give up, i'll just go back to 2.4.6
 
Old 10-02-2004, 11:37 PM   #6
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Exclamation

If you switch from 2.4 to 2.6, you have to reformat your swap partition.
 
Old 10-03-2004, 11:02 PM   #7
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
are you serious?
 
Old 10-03-2004, 11:05 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Yes WMD is right, but it's the swap partition, you won't loose any data

Just use this (you don't need to reboot), BUT MAKE SURE hdXX IS YOUR SWAP PARTITION:
swapoff /dev/hdXX
mkswap -v1 /dev/hdXX
swapon /dev/hdXX



Last edited by gbonvehi; 10-03-2004 at 11:09 PM.
 
Old 10-03-2004, 11:20 PM   #9
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
what if i went from 2.4 to 2.6 back to 2.4
do i still need to delete it?
 
Old 10-03-2004, 11:26 PM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
If i'm not wrong, no, search the web to be 100% sure, but as far as I know 2.4.X fully supports swap version 1, I know you need swap v0 for 2.2 and lower.
 
  


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
Slow System After 2.6 Kernel Compile/Install isoFlux Slackware 3 04-12-2005 04:41 PM
How long does it take to compile the kernel on a slow machine? Shagrath239 Slackware 10 02-15-2005 12:11 AM
4 questions. slow boot + kernel compile xushi Slackware 15 10-03-2004 11:38 PM
compile kernel on one computer for use on another Frank_Drebin Slackware 3 05-22-2004 04:42 AM
SLOW after kernel re-compile ming0 Slackware 2 03-28-2004 01:45 PM


All times are GMT -5. The time now is 11:09 PM.

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