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.
I'm still feeling my way around Slackware and Linux having only just installed in the past week. I was reading up on some Linux commands, and came across "free". The output of "free -m" was:
But I have 2GB of RAM! And I know it works because that's what Windows reports it as. So why is Linux not correctly reporting (or detecting) my RAM amount, and what can I do to fix this? Don't tell me to recompile the kernel. No, I'm kidding, if that's what it takes, then that's what I'll do .. had to happen sooner or later.
To access more than 1GB of physical RAM you do indeed need to recompile the kernel. I don't remember the config option off the top of my head but it would be under Processor Type and functions. High Memory Support or some such. By default it is likely to be set at off. To access above the 1GB mark you will need to compile it with 4GB.
I am a bit confused as to why it is showing 883MB though. Do you have a built in video?
EDIT: I was close "Processor Type and Features" the "High Memory Support" option.
EDIT2: This is the 2.6 Kernel option. I m not sure if it is in the same place in 2.4 though.
Thanks. I'm not sure why 883 MB instead of 1GB either. I don't have built in video; I use an nvidia fx5700 graphics card. I will compile the v2.6 kernel. I will read up on how to do that, but just as a general question, so that I know roughly what to expect: when you recompile your kernel, do you have to subsequently reconfigure things like X, CUPS, broadband connection, and so on?
Originally posted by cragwolf ... as a general question, so that I know roughly what to expect: when you recompile your kernel, do you have to subsequently reconfigure things like X, CUPS, broadband connection, and so on?
No the version of the kernel should not make effect userspace software as long as you compile the correct options/modules for your hardware and requirements. I suggest reading the 2.6 kernel guide above, as well as the pertinent parts of the 2.4 guide. Pay particular attention to post 15 in the 2.6 thread when it discusses preventing the "blank screen" on compile. This is a common mistake. Incidentally I checked a 2.4 machine and the high memory option is the same.
Also take your time and be patient. If I don't know the precise specs of my hardware I like to have the output of lspci handy on tty2 while I do the configuation on tty1. Another good hint as to what you need is to look at what modules your current, working, kernel is using and build all the modules that are currently being used (lsmod will give you a list of the currently loaded modules).
The one exception to that rule with 2.6 is you do not need SCSI-IDE for your CD burner.
Originally posted by cragwolf Thanks. I'm not sure why 883 MB instead of 1GB either. I don't have built in video; I use an nvidia fx5700 graphics card. I will compile the v2.6 kernel. I will read up on how to do that, but just as a general question, so that I know roughly what to expect: when you recompile your kernel, do you have to subsequently reconfigure things like X, CUPS, broadband connection, and so on?
NO, you don't have to reconfigure ANYTHING at all.
The docs say that highmem support is fgor 1-4G RAM, but it is really for 883MB-4G. This is an easy recompile, since you are only gonna change one thing. Read up on kernel compiling and be amazed. When you don't change a bunch of stuff, you don't break stuff. A note is that the Con Kolivas patch moves the highmem lower limit up to 1G, since it is common to have exactly 1G RAM.
Is there a version of that for the 2.4.26 (mitt scsi) kernel?
EDIT: ------------------>
Quote:
Con Kolivas patch moves the highmem lower limit up to 1G, since it is common to have exactly 1G RAM.
Iignore the top remark, im Just a little confused, which would you recommend for a person who has 1Gig of ram, to recompile the kernel and set the ram to 1G-4G, or to patch the kernel increasing the lower limit from ~860M to 1G?
Just recompile it. I did that, a kernel patch may mess you r system up. E.g. I use the gentoo sources and the path may be designen for the vanilla sources, it doesnt say..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.