Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Colin


On Jul 24, 2005, at 3:46 PM, Mark Shields wrote:


I recently got my home server back up and running after the power
supply went out.  I put some more memory in it, and it shows up fine
as 1048576 KB (1 gigabyte).  Gentoo, however, is only showing it as
904336 KB (883.14 MB) .  I'm curious as to why it's not detecting
140.86 MB.  Originally the server had a 512mb stick of generic PC2700
memory; I put 2 sticks of 256 MB (Mushkin, PC3200).  The FSB is set to
133 mhz and cpu/mem ratio is set 1:1 (Athlon XP 2400+ for the
processor).  It's running in a dual channel memory config.

[EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
MemTotal:   904336 kB
MemFree: 91224 kB

Any ideas?


Hm, now this is a toughie.  Barring any BIOS misconfigurations, I'd  
say that you might have a defective stick of RAM.  Try booting  
another OS and see if it can detect the full gigabyte;  if it happens  
then it's probably a hardware problem, not a Gentoo issue.

--
Colin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Kai Ole Schultz
On Sunday 24 07 2005 21:46 Mark Shields wrote:
 I put some more memory in it, and it shows up fine
 as 1048576 KB (1 gigabyte).  Gentoo, however, is only showing it as
 904336 KB (883.14 MB) .

Did you enable high Memory Support in your kernel?

HTH
Kai Ole Schultz
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Rumen Yotov
Mark Shields wrote:

I recently got my home server back up and running after the power
supply went out. I put some more memory in it, and it shows up fine
as 1048576 KB (1 gigabyte). Gentoo, however, is only showing it as
904336 KB (883.14 MB) . I'm curious as to why it's not detecting
140.86 MB. Originally the server had a 512mb stick of generic PC2700
memory; I put 2 sticks of 256 MB (Mushkin, PC3200). The FSB is set to
133 mhz and cpu/mem ratio is set 1:1 (Athlon XP 2400+ for the
processor). It's running in a dual channel memory config.

[EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
MemTotal: 904336 kB
MemFree: 91224 kB

Any ideas?

Hi,
There's an option in kernel-config to enable the remaining memory you
have. Check it.
HTH. Rumen



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Neil Bothwick
On Sun, 24 Jul 2005 15:46:10 -0400, Mark Shields wrote:

 I recently got my home server back up and running after the power
 supply went out.  I put some more memory in it, and it shows up fine
 as 1048576 KB (1 gigabyte).  Gentoo, however, is only showing it as
 904336 KB (883.14 MB) . 

You need to set CONFIG_HIGHMEM4G=y in your kernel config.


-- 
Neil Bothwick

Bookmark - A means of returning to where you got lost last time.


pgpyfmy52kW9M.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Mark Shields
No I do not, as I was under the impression it's not required unless
you have at least 4gb (sorry for the poor formatting, copying from
putty/terminal to a text box doesn't format very well):

Linux Kernel v2.6.11-gentoo-r6 Configuration
 ──


 ┌─── 
High Memory Support
 ┐
 │  Use the arrow keys to navigate this window or press the hotkey of │
 │  the item you wish to select followed by the SPACE BAR. Press│
 │  ? for additional information about this option. │
 │ ┌┐ │
 │ │(X) off │ │
 │ │( ) 4GB │ │
 │ │( ) 64GB│ │
 │ ││ │
 │ ││ │
 │ ││ │
 │ └┘ │
 ├┤
 │   Select   Help│
 └┘

All 3 memory sticks appear fine.  The motherboard is an A7N8X Deluxe,
my main PC has an A7N8X-E Deluxe; both of them are capable of using
3gb of memory, 1gb per stick (3 slots for memory).  The 2 x 256 mb
sticks came from my main PC which I upgraded with 2 x 512mb sticks.
The 512mb stick has been in use by the server for 4 months. I could
understand if it was possible that they're incompatible, but then it
wouldn't show a gig of RAM when the PC shows the bios screen.
Regardless, I'll run memtest86 overnight to be sure.  I'll also see
what an ubuntu or knoppix livecd shows.





On 7/24/05, Kai Ole Schultz [EMAIL PROTECTED] wrote:
 On Sunday 24 07 2005 21:46 Mark Shields wrote:
  I put some more memory in it, and it shows up fine
  as 1048576 KB (1 gigabyte).  Gentoo, however, is only showing it as
  904336 KB (883.14 MB) .
 
 Did you enable high Memory Support in your kernel?
 
 HTH
 Kai Ole Schultz
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Jarry

Mark Shields wrote:

No I do not, as I was under the impression it's not required unless
you have at least 4gb (sorry for the poor formatting, copying from
putty/terminal to a text box doesn't format very well):


Actually, help says:

 CONFIG_NOHIGHMEM: 


 If you are compiling a kernel which will never run on a machine with
 more than 1 Gigabyte total physical RAM, answer off here

It looks to me, that up to 1GB (including) the answer should be off.
But maybe boundary condition is not correctly defined, and for exactly
1GB it is necessary to select CONFIG_NOHIGHMEM = 4GB...

Jarry
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Rudmer van Dijk
On Sunday 24 July 2005 22:21, Mark Shields wrote:
 No I do not, as I was under the impression it's not required unless
 you have at least 4gb (sorry for the poor formatting, copying from
 putty/terminal to a text box doesn't format very well):

well the -mm kernel does not have this option anymore, but IIRC you need to 
select 4G support to enable the rest of your memory. 

 Linux Kernel v2.6.11-gentoo-r6 Configuration
  ┌───
 High Memory Support
  ┐
  │  Use the arrow keys to navigate this window or press the hotkey of │
  │  the item you wish to select followed by the SPACE BAR. Press│
  │  ? for additional information about this option. │
  │ ┌┐ │
  │ │(X) off │ │
  │ │( ) 4GB │ │
  │ │( ) 64GB│ │
  │ ││ │
  │ ││ │
  │ ││ │
  │ └┘ │
  ├┤
  │   Select   Help│
  └┘

did you read the help asociated with each item?

 All 3 memory sticks appear fine.  The motherboard is an A7N8X Deluxe,
 my main PC has an A7N8X-E Deluxe; both of them are capable of using
 3gb of memory, 1gb per stick (3 slots for memory).  The 2 x 256 mb
 sticks came from my main PC which I upgraded with 2 x 512mb sticks.
 The 512mb stick has been in use by the server for 4 months. I could
 understand if it was possible that they're incompatible, but then it
 wouldn't show a gig of RAM when the PC shows the bios screen.
 Regardless, I'll run memtest86 overnight to be sure.  I'll also see
 what an ubuntu or knoppix livecd shows.

I'm sure you will not see any hardware failures, it has something todo with 
the split user/kernel that you only see ~800MB of ram.

enable highmem support for 4G and you will be able to use all of your memory.

Rudmer

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Mark Shields
[EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
MemTotal:  1034284 kB
MemFree:953172 kB


Thanks for the tip.  But strangely, 12mb is still missing.

On 7/24/05, Rudmer van Dijk [EMAIL PROTECTED] wrote:
 On Sunday 24 July 2005 22:21, Mark Shields wrote:
  No I do not, as I was under the impression it's not required unless
  you have at least 4gb (sorry for the poor formatting, copying from
  putty/terminal to a text box doesn't format very well):
 
 well the -mm kernel does not have this option anymore, but IIRC you need to
 select 4G support to enable the rest of your memory.
 
  Linux Kernel v2.6.11-gentoo-r6 Configuration
   ┌───
  High Memory Support
   ┐
   │  Use the arrow keys to navigate this window or press the hotkey of │
   │  the item you wish to select followed by the SPACE BAR. Press│
   │  ? for additional information about this option. │
   │ ┌┐ │
   │ │(X) off │ │
   │ │( ) 4GB │ │
   │ │( ) 64GB│ │
   │ ││ │
   │ ││ │
   │ ││ │
   │ └┘ │
   ├┤
   │   Select   Help│
   └┘
 
 did you read the help asociated with each item?
 
  All 3 memory sticks appear fine.  The motherboard is an A7N8X Deluxe,
  my main PC has an A7N8X-E Deluxe; both of them are capable of using
  3gb of memory, 1gb per stick (3 slots for memory).  The 2 x 256 mb
  sticks came from my main PC which I upgraded with 2 x 512mb sticks.
  The 512mb stick has been in use by the server for 4 months. I could
  understand if it was possible that they're incompatible, but then it
  wouldn't show a gig of RAM when the PC shows the bios screen.
  Regardless, I'll run memtest86 overnight to be sure.  I'll also see
  what an ubuntu or knoppix livecd shows.
 
 I'm sure you will not see any hardware failures, it has something todo with
 the split user/kernel that you only see ~800MB of ram.
 
 enable highmem support for 4G and you will be able to use all of your memory.
 
 Rudmer
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Richard Fish

Mark Shields wrote:


[EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
MemTotal:  1034284 kB
MemFree:953172 kB


Thanks for the tip.  But strangely, 12mb is still missing.
 



I am pretty sure this is actually correct, and depends upon your BIOS 
options.  All of those cache this or that ROM into memory options eat 
some some ram.  You can disable those to try and get some more memory, 
but your system performance will probably suffer overall.


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Colin


On Jul 24, 2005, at 5:04 PM, Richard Fish wrote:


Mark Shields wrote:



[EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
MemTotal:  1034284 kB
MemFree:953172 kB


Thanks for the tip.  But strangely, 12mb is still missing.




I am pretty sure this is actually correct, and depends upon your  
BIOS options.  All of those cache this or that ROM into memory  
options eat some some ram.  You can disable those to try and get  
some more memory, but your system performance will probably suffer  
overall.


Modern operating system like Linux 2.6 and WinXP bypass the BIOS  
after the initial bootup, so caching the system/video BIOSes is just  
a waste of memory if you're using Gentoo.  Caching video RAM was nice  
back in the days of ISA video cards, but with PCI/AGP/PCI-X video  
cards, shut off that option.

--
Colin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Mark Shields
I'm fairly sure those options are disabled by default (I think).  No
way to check from my work though (ssh-enabled BIOS, or BIOS
configurable from linux, would be nice).

On 7/24/05, Colin [EMAIL PROTECTED] wrote:
snip

 Modern operating system like Linux 2.6 and WinXP bypass the BIOS
 after the initial bootup, so caching the system/video BIOSes is just
 a waste of memory if you're using Gentoo.  Caching video RAM was nice
 back in the days of ISA video cards, but with PCI/AGP/PCI-X video
 cards, shut off that option.
 --
 Colin
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Mark Shields
I'm fairly sure those options are disabled by default (I think).

On 7/24/05, Mark Shields [EMAIL PROTECTED] wrote:
 17 minutes ago, yes.
 
 On 7/24/05, Brett I. Holcomb [EMAIL PROTECTED] wrote:
  Did you build the kernel with high memory?
   snip
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Rudmer van Dijk
On Sunday 24 July 2005 22:52, Mark Shields wrote:
 [EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
 MemTotal:  1034284 kB
 MemFree:953172 kB

 Thanks for the tip.  But strangely, 12mb is still missing.

that's better than here:

rudmer:~ # cat /proc/meminfo | grep Mem
MemTotal:  1026304 kB
MemFree: 79152 kB

that's almost 22MB...
and that's what Richard already said probably a BIOS setting which you 
shouldn't try to disable to get a couple of MB's more.

Rudmer
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Tim Igoe


Rudmer van Dijk wrote:
 On Sunday 24 July 2005 22:52, Mark Shields wrote:
 
[EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
MemTotal:  1034284 kB
MemFree:953172 kB

Thanks for the tip.  But strangely, 12mb is still missing.
 

Could it be shared ram taken for an on board graphics card?

I know the one in this box used to be anywhere from 4MB to 64MB iirc -
replaced it with a seperate board now.

 
 that's better than here:
 
 rudmer:~ # cat /proc/meminfo | grep Mem
 MemTotal:  1026304 kB
 MemFree: 79152 kB
 
 that's almost 22MB...
 and that's what Richard already said probably a BIOS setting which you 
 shouldn't try to disable to get a couple of MB's more.
 
   Rudmer

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

Computers are like Air-con, open windows and they stop working!


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Neil Bothwick
On Sun, 24 Jul 2005 22:38:24 +0200, Jarry wrote:

 Actually, help says:
 
   CONFIG_NOHIGHMEM: 
 
   If you are compiling a kernel which will never run on a machine with
   more than 1 Gigabyte total physical RAM, answer off here
 
 It looks to me, that up to 1GB (including) the answer should be off.
 But maybe boundary condition is not correctly defined, and for exactly
 1GB it is necessary to select CONFIG_NOHIGHMEM = 4GB...

Keep reading, the next paragraph says

   If the machine has between 1 and 4 Gigabytes physical RAM,
   then answer 4GB here.

The wording is ambiguous, both apply to a 1GB machine. The first should
say 1GB or more instead of more than 1GB.


-- 
Neil Bothwick

Bugs are Sons of Glitches


pgpCzfz3bOyTY.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Matt Nordhoff

Colin wrote:


On Jul 24, 2005, at 5:04 PM, Richard Fish wrote:


Mark Shields wrote:



[EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
MemTotal:  1034284 kB
MemFree:953172 kB


Thanks for the tip.  But strangely, 12mb is still missing.




I am pretty sure this is actually correct, and depends upon your BIOS 
options.  All of those cache this or that ROM into memory options 
eat some some ram.  You can disable those to try and get some more 
memory, but your system performance will probably suffer overall.


Modern operating system like Linux 2.6 and WinXP bypass the BIOS after 
the initial bootup, so caching the system/video BIOSes is just a waste 
of memory if you're using Gentoo.  Caching video RAM was nice back in 
the days of ISA video cards, but with PCI/AGP/PCI-X video cards, shut 
off that option.


Just to point out, PCI Express is abbreviated PCIe. PCI-X is a 
different thing.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Daniel Drake

Hi,

Mark Shields wrote:

[EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
MemTotal:  1034284 kB
MemFree:953172 kB


Thanks for the tip.  But strangely, 12mb is still missing.


That sounds perfectly normal. The kernel usually secures 10-20mb RAM for 
itself, which isn't available to the rest of the system.


Daniel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not detecting full amount of memory

2005-07-24 Thread Mark Shields
Ah, I wasn't aware, but that's a perfectly plausible explanation.

On 7/24/05, Daniel Drake [EMAIL PROTECTED] wrote:
 Hi,
 
 Mark Shields wrote:
  [EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem
  MemTotal:  1034284 kB
  MemFree:953172 kB
 
 
  Thanks for the tip.  But strangely, 12mb is still missing.
 
 That sounds perfectly normal. The kernel usually secures 10-20mb RAM for
 itself, which isn't available to the rest of the system.
 
 Daniel
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list