LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-08-2004, 03:53 PM   #1
uselinux34
Member
 
Registered: Sep 2003
Location: Isle of Man
Distribution: Slackware 10
Posts: 31

Rep: Reputation: 15
kernel recompile


Hi,

I've just installed Slackware 9.1 on my 3.0ghz Pc with 2 GB of Ram. It is running perfectly, and absolutely flies! However only 1 GB of my RAM is being seen and the hyperthreading isn't working.

I was wondering if the easiest way of enabling high memory and SMP in the kernel would be to edit the config file,changing the valuesfor Highmem and SMP there, then doing a make oldconfig or is there an easier way?

If edit ing the config file would work, do I still follow the same procedure i.e

Make oldconfig
make dep
make bzImage
make modules

Or would it not work at all. If anyone could tell me if this would work or if there is a easier way I would be most grateful,as although I have tried doing a kernel config with make menuconfig etc, I have never been successful.

Richard G.
 
Old 03-08-2004, 03:55 PM   #2
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
When you recompiled the kernel did you turn on high memory?
 
Old 03-08-2004, 04:02 PM   #3
uselinux34
Member
 
Registered: Sep 2003
Location: Isle of Man
Distribution: Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
Ah I don't think I've made myself very clear, I haven't actually tried it yet I was hoping to get some clarification first. I've had a look at the config file and have seen that highmem is turned off and so is SMP. I was realy wondering if by copying the config file into the /usr/src/linux folder and doing make oldconfig, it would configure the new kernel with all the existing settings but changing the Highmem and SMP to being enabled. So I would avoid having to go through all those options withmake menuconfig etc. as I've had no success doing it that way before on another installation.

Richard G.
 
Old 03-08-2004, 04:07 PM   #4
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
I probly will but kernel 2.6.3 autodetects all my hardware.. only gets 1 thing wrong my nic card.. other then that 100% reliable for me.
 
Old 03-08-2004, 04:18 PM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Why don't you just make oldconfig without changing the config file and then change the two options in the menu? I suppose your way would work as well, but since you still would have to go through the menu and check to make sure the options were changed anyway, and still would have to recompile and install the recompiled kernel, I'd take the safer road and do the fix manually, and save the new config the normal way (since that is sure to work). Maybe it's me, though-- I tend to be quite cautious and I myself wouldn't want to just treat changing a "N" to a "Y" in the config as a "magic bullet", as I like to read the help screens about every option I'm changing or considering changing.

Why has this been unsuccessful for you in the past (and why, if changing the options didn't work for you manually, would you think that changing the same options in the config file would then work, since you would likely miss the same needed additional options that you presumably missed on your previous attempt)?

I don't think you should have any problem with changing the RAM setting to 4GB, but I'm wondering if SMP has anything to do with hyperthreading... I'm a single-processor Athlon user, so I have no knowledge of these issues. I thought that SMP meant dual (or more) processors, but that hyperthreading was a function of the current Pentium 4 series unrelated to whether or not multiple processors were present.

Am I mistaken? Does Linux even support hyperthreading? If so, what kernel settings enable it? (I could change my mobo and processor someday .)
 
Old 03-08-2004, 04:28 PM   #6
uselinux34
Member
 
Registered: Sep 2003
Location: Isle of Man
Distribution: Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
Yeah well I might give menuconfig another go, the last time I tried it was with Suse , which I was really just messing about with, it's on;y since installing Slackware that I've really had aproblem to solve.
When Suse installed it , it automatically detected the hyperthreading aan installed an SMP kernel on installation and recognised the 2gb RAM. Xo I assume an SMP kernel is required for hyperthreading but I could be wrong.

However even on the settings i have now I am appreciating the greater speed of Slackware over Suse. So I don't really won't to go back, and even though the system is flying, there's this nagging in the back of my head about the memory and SMP being not enabled, it's like an itch I can't scratch. However, one question. If I got through the kernel configuration eith make menu config do I have to do it all in one sitting or can I save it and start again where I left off?

Richard G.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to recompile kernel 2.4.21-15.EL zameer_india Linux - Newbie 2 12-24-2004 01:02 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Recompile kernel 2.6 heema Linux - General 3 05-26-2004 10:29 AM
9.2 kernel recompile dukeinlondon Mandriva 3 11-10-2003 06:34 AM
Recompile Kernel ? Amerist Linux - Newbie 5 04-16-2002 04:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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