Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
memory inconsistency
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ritebkatya
n00b
n00b


Joined: 07 Nov 2004
Posts: 3

PostPosted: Sun Nov 07, 2004 8:37 pm    Post subject: memory inconsistency Reply with quote

hi. i'm new to the forums, so hopefully i won't violate toooo many protocols on my first post =)

anyways, the issue i'm seeing is that when i execute top or free or cat my /proc/meminfo, i get a result that's about 80 mb lower than i expect (i get a result of ~435 mb). i installed single 512 mb DIMM of kingston pc3200 awhile back, and i never noticed this until just now.

however, i've not experienced any instability in my system, and the quick automatic bios check reads in 512. i would run a memtest86, but i do not have a floppy drive installed on my box

my system dual boots gentoo and windows; windows reports the full 512, but i don't know how they count memory (if it pull the info from BIOS or something like that, then it's probably not a very good diagnostic). i also booted with an amd64 livecd 2004.1 as well as another kernel version, and i received results similar to my current kernel for my total memory size (435mb)

just wondering if any of you are familiar with this issue. thanks in advance for any helpful replies =)


i am running a full udev system on kernel 2.6.9-r1 from gentoo-dev-sources. my hardware includes an athlon64 2800+ and an ASRock mobo with SiS 755/964 chipset.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54797
Location: 56N 3W

PostPosted: Sun Nov 07, 2004 9:26 pm    Post subject: Reply with quote

ritebkatya,

noobs are always welcome here.

What does dmesg say about your memory, right at the top?
Code:
dmesg | less
will help you to read it.
For 1Gb I get
Code:
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
 BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
 BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.


memtest86 is one of the boot options on the liveCD if you still want to run it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ritebkatya
n00b
n00b


Joined: 07 Nov 2004
Posts: 3

PostPosted: Mon Nov 08, 2004 12:52 am    Post subject: Reply with quote

ah... dmesg does print something interesting.

Code:
Bootdata ok (command line is root=/dev/hda3 gentoo=nodevfs)
Linux version 2.6.9-gentoo-r1 (root@kikachu) (gcc version 3.3.4 20040623 (Gentoo
 Linux 3.3.4-r2, ssp-3.3.2-2, pie-8.7.6)) #7 Sat Oct 23 17:53:44 CDT 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001ffb0000 (usable)
 BIOS-e820: 000000001ffb0000 - 000000001ffc0000 (ACPI data)
 BIOS-e820: 000000001ffc0000 - 000000001fff0000 (ACPI NVS)
 BIOS-e820: 000000001fff0000 - 0000000020000000 (reserved)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
No mptable found.
On node 0 totalpages: 130992
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126896 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1


so.... continuing onto the more interesting parts...

Code:
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
Checking aperture...
CPU 0: aperture @ e0000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
AGP bridge at 00:00:00
Aperture from AGP @ e0000000 size 32 MB (APSIZE f38)
Aperture from AGP bridge too small (32 MB)
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the BIOS setup
This costs you 64 MB of RAM
Mapping aperture over 65536 KB of RAM @ 4000000
Built 1 zonelists
Kernel command line: root=/dev/hda3 gentoo=nodevfs console=tty0
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 65536 bytes)



evidentally about 64 MB is going towards this.... I guess i'll give it a try. if you have any other suggestions other than this, let me know. otherwise, thanks!
Back to top
View user's profile Send private message
ritebkatya
n00b
n00b


Joined: 07 Nov 2004
Posts: 3

PostPosted: Mon Nov 08, 2004 1:57 am    Post subject: it works! Reply with quote

thanks much for your help. turns out my mobo doesn't even support iommu, so i just turned it off in the kernel and recompiled. now i've got a total of 500, which is closer to what i was expecting. thanks for your insight =)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum