Summary: | x86_64 system with 4GB memory - linux sees only 2.95 GB | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kevin <kevkim55> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | major | CC: | jer, pentek.imre |
Priority: | High | ||
Version: | 2008.0_beta2 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Kernel 2.6.27-gentoo-r7 .config
lspci -vv output Dmesg |
Description
Kevin
2009-01-03 23:29:53 UTC
Created attachment 177289 [details]
Kernel 2.6.27-gentoo-r7 .config
Attached Kernel 2.6.27-gentoo-r7 .config
Created attachment 177291 [details]
lspci -vv output
Attached lcpci -vv output
I think you should enable CONFIG_HIGHMEM4G=y. In menuconfig: Processor type and features ---> High Memory Support ---> 4GB (In reply to comment #3) > I think you should enable CONFIG_HIGHMEM4G=y. > In menuconfig: Processor type and features ---> High Memory Support ---> 4GB > The highmem is only relevant to 32-bit systems, not 64-bit. This bug report looks like the one raised in forum back in late November: http://forums.gentoo.org/viewtopic-t-716136.html Where's your dmesg output? The relevant bits should be somewhere near the top. Also, it may well be that this is just the PCI address space taking up about a gigabyte. Also, I don't see how Windows Vista has anything to do with this. I don't trust it to report actual total RAM acurately. Why don't you try an alternative Linux distro's memory reporting instead of comparing entirely dissimilar OSs? I'll post the dmesg output tonight. I've a 32bit knoppix live CD which, I'm gonna try and see if that makes a difference and then download & run 64 bit version. Just wanted to say, that it's only windoz reporting 4GB memory as available but, also memtest and BIOS report 4GB ! If BIOS, memtest and windoz can see 4GB, I don't think it has to do with any memory hole or similar (I could be wrong as I'm not an expert in this issue) ! OK, I've attached the dmesg output. I googled a bit and came across similar instances where guys had problems with memory mapped systems. One of them used the "mem=" kernel parameters as a work around. I decided to try that and specified "mem=8GB" kernel parameter at boot time. Now, the physical memory recognized by linux is 309MB. There's still about 145 MB missing. But, definitely it is lot better than before. Can someone tell me where is that 145MB ? This is what free command displays now. /proc/meminfo consists this: MemTotal: 4045392 kB MemFree: 3380512 kB Buffers: 26660 kB Cached: 355056 kB SwapCached: 0 kB Active: 325516 kB Inactive: 252980 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 416 kB Writeback: 0 kB AnonPages: 196776 kB Mapped: 89056 kB Slab: 34008 kB SReclaimable: 22188 kB SUnreclaim: 11820 kB PageTables: 12768 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2022696 kB Committed_AS: 1183636 kB VmallocTotal: 34359738367 kB VmallocUsed: 312096 kB VmallocChunk: 34359425531 kB DirectMap4k: 58304 kB DirectMap2M: 4134912 kB /proc/mtrr consists this: reg00: base=0x00000000 ( 0MB), size=4096MB: write-back, count=1 reg01: base=0x100000000 (4096MB), size=1024MB: write-back, count=1 reg02: base=0xc0000000 (3072MB), size=1024MB: uncachable, count=1 reg03: base=0xbff00000 (3071MB), size= 1MB: uncachable, count=1 Thanks for all the help. Created attachment 177629 [details]
Dmesg
Output from dmesg
Bump ?! The same also applies to me, I don't even see that "high memory support" when I am about to make menuconfig. Also: /usr/src/linux-2.6.28-gentoo-r5/arch/x86/Kconfig lines 839 and following choice prompt "High Memory Support" default HIGHMEM4G if !X86_NUMAQ default HIGHMEM64G if X86_NUMAQ depends on X86_32 so this 64 bit kernel won't have an option like that. I would appreciate a solution to this problem. (Also I am not sure if this but isn't really upstream) (as an additional addition, ubuntu jaunty (32bit) can see and use all my 4GB of mem, while gentoo-sources can only see 3GB of it) |