LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-17-2005, 03:43 PM   #16
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31

You don't say where you got the memory - if it came with the computer or if you've installed new sticks. If you did buy the memory yourself, it's not out of the question that one of the sticks might not be all it's supposed to be. Also, I'll throw this out there too for someone to shoot down: Is it possible there are some BIOS restrictions on your particular motherboard that might be affected by 1GB of ram? Again, I don't see any specific mention of your hardware specs, such as BIOS manufacturer, Motherboard manufacturer, etc...
 
Old 03-17-2005, 03:50 PM   #17
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Rep: Reputation: 15
Good point, pnellesen.
 
Old 03-17-2005, 03:55 PM   #18
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Quote:
Originally posted by Archalien
Cmon guys how many times do I have to tell you THIS IS NOT A HARDWARE PROBLEM!!!!!

The ram and motherboard are fine! Read b4 you post please.

I didnt change the himem settings, they where already set to 4gig on both kernels, so nothing was changed.
For one thing; we are not your dogs. Keep in mind you're the one in need...
Keep cool.

So you think it's a software problem.
Ok... Here's a possible explanation.
In fact, you could have found it if you really searched; instead of being frustrated:

1g_lowmem1_i386.diff
Code:
diff -Naur --exclude='*.orig' linux-2.6.11-rc2-mm1/arch/i386/Kconfig linux-2.6.11-rc2-no1/arch/i386/Kconfig
--- linux-2.6.11-rc2-mm1/arch/i386/Kconfig	2005-01-29 16:09:36.288786587 -0500
+++ linux-2.6.11-rc2-no1/arch/i386/Kconfig	2005-01-29 16:02:54.039882403 -0500
@@ -745,6 +745,20 @@
 	depends on HIGHMEM64G
 	default y
 
+config 1GLOWMEM
+	bool "1Gb Low Memory Support"
+	depends on NOHIGHMEM
+	default n
+	help
+	 Linux on i386 architecture normally supports just 896Mb without
+	 enabling HIGHMEM support. This option will enable you to support 1Gb
+	 of ram without needing to enable HIGHMEM support. The advantage of
+	 this is that you don't need the extra overhead of high memory support
+	 to utilise the last 128Mb of ram. However this may break drivers such
+	 as vmware.
+	 
+	 If unsure say "no"
+
 # Common NUMA Features
 config NUMA
 	bool "Numa Memory Allocation and Scheduler Support"
diff -Naur --exclude='*.orig' linux-2.6.11-rc2-mm1/include/asm-i386/page.h linux-2.6.11-rc2-no1/include/asm-i386/page.h
--- linux-2.6.11-rc2-mm1/include/asm-i386/page.h	2005-01-29 02:31:31.000000000 -0500
+++ linux-2.6.11-rc2-no1/include/asm-i386/page.h	2005-01-29 16:08:13.450341796 -0500
@@ -123,13 +123,21 @@
 
 #endif /* __ASSEMBLY__ */
 
+#ifdef CONFIG_1GLOWMEM
+#ifdef __ASSEMBLY__
+#define __PAGE_OFFSET		(0xB0000000)
+#else
+#define __PAGE_OFFSET		(0xB0000000UL)
+#endif /* __ASSEMBLY__ */
+#else
 #ifdef __ASSEMBLY__
 #define __PAGE_OFFSET		(0xC0000000)
 #define __PHYSICAL_START	CONFIG_PHYSICAL_START
 #else
 #define __PAGE_OFFSET		(0xC0000000UL)
 #define __PHYSICAL_START	((unsigned long)CONFIG_PHYSICAL_START)
-#endif
+#endif /* __ASSEMBLY__ */
+#endif /* CONFIG_1GLOWMEM */
 #define __KERNEL_START		(__PAGE_OFFSET + __PHYSICAL_START)
Ohh, BTW; this is for 2.6.11-r2-mm1: but this file doesn't change much IMHO. So just rename the faulty parts to your need.
Then recompile; it think it should be fine.

Also; don't enable HiMem, it reduces perfomance(that's why there's a 1g lowmem patch).

Last edited by lokee; 03-18-2005 at 11:46 AM.
 
Old 03-17-2005, 04:57 PM   #19
rorsten
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by Archalien
Cmon guys how many times do I have to tell you THIS IS NOT A HARDWARE PROBLEM!!!!!

The ram and motherboard are fine! Read b4 you post please.

I didnt change the himem settings, they where already set to 4gig on both kernels, so nothing was changed.
Since you've got the fancy matched dimms, I assume you have them in a dual-channel configuration. Have you tried installing both DIMMs in separate banks, ie, in a single channel configuration? A lot of motherboards that technically support dual-channel don't actually do it well, and start doing weird and terrible things when an operating system actually pushes it. I had a similar problem with my system, and when I moved the DIMM to the other bank it went fine.
 
Old 03-18-2005, 12:52 AM   #20
Archalien
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by drowbot
I understand your frustration, but there is no need to be rude. We are reading your posts, and nothing in them states that you have done anything to rule out a problem with the RAM or motherboard. If you have run memtest and done as J.W. suggested, then please let us know so that we can provide better insight.

The people on this board are more than happy to help you, but we need to know what you have done to rule out a hardware problem, rather that you just 'shouting' at us that it is not hardware. None of us provide help for profit, or even any kind of personal benefit. We provide help out of a sense of community and shared experience. GNU/Linux is a community, and you enter that community when asking it for help. Please have some respect.

As to your problem, I also believe it may be the RAM. The fact that somebody told you to remove a stick of RAM and it fixed the problem doesn't indicate that it is an OS problem. It indicates, IMHO, that whoever suggested this course of action has suffered from a bad stick of RAM before, and suggested you start taking sticks out.
While I am a Linux newb, I am not a computer newb, as such when I have to repeat myself several times that the hardware is not the issue it is very frustrating, I have taken plenty of steps to isolate a hardware problem and found none, I see no need to continue testing my hardware when I know the hardware is not the issue, the person who told me to remove the ram said that Linux has a 960mb limit if himem is not enabled, not b/c he had a hardware issue.

My current problem is that upon checking, it appears as if himem is enabled on my kernels and need advice from here.
I find it odd that Suse,Mandrake,and Fedora all had the ram issue, but knoppix does not. I do appreciate the help and do not mean to insult ne1.
 
Old 03-18-2005, 11:44 AM   #21
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
You seem to have missed some posts...
I sent you a pach in an earlier post.
Try it.

Regards,
 
Old 03-18-2005, 01:34 PM   #22
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Archalien - with all due respect, please understand that everyone here is attempting to be helpful, and that complaining about the suggestions that have been offered is unnecessary. In terms of trying to answer the original question, I think it would be a big help in analyzing this issue if you could describe in detail the specific set of diagnostic tests you've taken rather than to just ambiguously say you've done "plenty" to verify that the hardware isn't the cause.

As an example, have you actually tried doing what has been suggested, specifically, to try booting twice, but each time only using one stick, and have you run memtest separately on both sticks? If not, doing those tests may be worthwhile. In any case, my point is that having a clear idea as to what you've already done will allow everyone to eliminate certain issues as the cause, because at least in my experience with Linux, I've never seen boot problems caused by "too much" RAM. Worst case scenario (in my experience) with having too much RAM would simply be that your machine couldn't make full use of it all, but that wouldn't cause the PC to not boot. Good luck with it in any case -- J.W.
 
Old 03-18-2005, 05:37 PM   #23
Archalien
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Wow I missed a few posts??? wtf happened there???

lokee- I am very unfamiliar with the patch/problem/solution you have offered is it possible for you to give me a more newb freindly explanation or point me to further resources on this subject, much of what you posted was very cryptic to me sry, thx

my MB doesnt support Dual Channel, it only has 2 dimm's

As far as ram testing, I have tried booting with different stiks in different dims, 512 and 1gig, using other ram etc. The ram in question has operated flawlessly for Win XP for over a year w/o a single problem, I have run memtest w/o issue on each stik individually and w/ both installed.

With the full gig installed I get no errors regardless of distro, but everry distro runs Ultra-slow starting from the boot/installer. This slow down causes a normal install of 15 minutes to take 1-3 hours. Again I find it odd that the knoppix has none of these problems??? and in this could be the solution to my problem.
 
Old 03-18-2005, 05:42 PM   #24
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Rep: Reputation: 15
Have you compared the config file for the Knoppix kernel you are booting with to the config files of the other distros? Which Knoppix kernel are you booting?
 
Old 03-18-2005, 06:08 PM   #25
Archalien
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Its knoppix 3.3, I just booted it w/ the full gig and during the boot it recognized the full gig: 10025112

once in knoppix i ran: free -m

it reported all my ram- 1001 total, 201 used, 799 free
so it seems its all available

where would I locate the knoppix config file?

in trying to get my wireless card working I noticed at linuxant.com they offer kernels w/ the "toublesome" 4G/4G removed would this be relevant to my situation?

After running: free -m on FC3 w/ 1gig
I get: 1003 total, 290 used, 713 free

So this is confusing. While in FC3 monitoring the ram seems 2 b acting normal, but my processor is going nuts, 100% usage for 10-20 seconds while opening a console. This is obviously tied to the ram as this situation does not exist w/ only 512mb installed. But I am at a loss as to why adding the additional ram would put the processor in such a state.

At idle the processor bounces between 20-50% usage.

hope this info helps

Last edited by Archalien; 03-18-2005 at 07:22 PM.
 
Old 03-18-2005, 09:08 PM   #26
Archalien
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
trying to rebuild kernel w/o himem 2 c what happens?

another note:

when installing w/ 1 gig, the installer lags at: running /sbin/loader

this step takes 10 minutes instead of 10 seconds

Last edited by Archalien; 03-18-2005 at 10:26 PM.
 
Old 03-18-2005, 09:20 PM   #27
speel
Member
 
Registered: Apr 2004
Posts: 354

Rep: Reputation: 30
throw it out the window or give it to the needy .. that always helps when your fustrated or hey put windows on it lol

anyway that was just a little bit of sarcasim dont take it personally .. well there could be a problem with the memory stick that you took out you should try it on another computer or try it with a diffrent os hmm yea i think thats the only thing that would cause that
 
Old 03-19-2005, 03:08 PM   #28
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Quote:
Originally posted by Archalien

lokee- I am very unfamiliar with the patch/problem/solution you have offered is it possible for you to give me a more newb freindly explanation or point me to further resources on this subject, much of what you posted was very cryptic to me sry, thx
Oops! So forgetful.
Well, ok. I'll tell you for now, but don't expect to get all the instructions detailled to you everytime you have a problem. Just search, then ask.
First I need your kernel version:
Code:
uname -a
Type that at the command-line under the distro you wish to adopt.
Then we can proceed.

Last edited by lokee; 03-19-2005 at 03:11 PM.
 
Old 03-19-2005, 03:55 PM   #29
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by Archalien
my MB doesnt support Dual Channel, it only has 2 dimm's
Out of curiosity, why in hell would you spend money on overpriced ram for a computer you can't even use the 'advantages' of it with?
 
Old 03-23-2005, 11:02 PM   #30
Archalien
LQ Newbie
 
Registered: Feb 2005
Posts: 16

Original Poster
Rep: Reputation: 0
OK an update:

Despite continuous criticism to the contrary that it is a hardware problem--

I dragged my noobie self through learning to recompile a kernel-

So I took the 2.6.10-1.770_FC3 kernel source and recompiled it with himem disabled.

And not to my surprise this kernel boots fine w/ the 1gig installed, of course it only reports about 900mb's but this is a start I hope.

So lokee, in doing this kernel rebuild there was a point to add patches(per How to: on FedoraForums) I would imagine this is where I would add the patch u have suggested. Further instruction from here would be appreciated!!

Must I rebuild the kernel to apply the patch?

Im still confounded as to why enabling himem would cripple the kernel so badly though??

Last edited by Archalien; 03-23-2005 at 11:23 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAM: Does linux require as much ram as Windows XP? hanzj Linux - Newbie 48 04-18-2007 12:14 AM
Buying RAM - must match old RAM? slackaddict Linux - Hardware 5 11-12-2005 01:38 PM
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM
where did my ram go? nakkaya Linux - Hardware 14 02-28-2003 02:08 AM
ram on it's way spooge Linux - Hardware 5 02-27-2003 07:30 PM

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

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