How to get access to all 4G of RAM?

General conversations about MIB project
Forum rules
Image
Before you post, please read forum rules:
Software requests - How to
Tag [SOLVED] in topics
Post Reply
User avatar
patkoscsaba
Nuovo utente
Nuovo utente
Posts: 4
Joined: 20 October 2011, 12:48
OpenMandriva: 2011
Kernel: MIB-nrj
Desktop: HP DX2300
country: RO

How to get access to all 4G of RAM?

Post by patkoscsaba »

I just upgraded my system to 4G RAM and I use MDV 2011 64bits with kernel nrj-desktop 304. However it reports only 3.2 GB RAM. My computer and the BIOS can tells me correctly that there are in fact 4GB.

Any ideas on how to make my system see all the 4G of RAM???

PS: I also installed a server-rsbac kernel, also version 304, but it can not boot. It tries to connect to some rsbac socket on boot and it fails and it indefinitely retries.

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: How to get access to all 4G of RAM?

Post by NicCo »

A 64bit arch 2011 should use all memory, I can't understand
The your seems a problem could happen only in a 32bit OS

My PC:
I have 4G ram, and 256M is for video card shared memory
and as you can see (4096M - 256M), i have 3.8 total ram!

With 2010.2 64bit, you used all 4 giga ram?

Just now, workin on kernel 3.0.7, if you can wait, you could try this newest for tomorrow

My personal log

Code: Select all

[root@localhost KERNELS]# free                                                                                                                                                      
             total       used       free     shared    buffers     cached                                                                                                           
Mem:       3800780    3550960     249820          0      33528    1151372                                                                                                           
-/+ buffers/cache:    2366060    1434720                                                                                                                                            
Swap:     10490408     680732    9809676                                                                                                                                            
[root@localhost KERNELS]#         
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
patkoscsaba
Nuovo utente
Nuovo utente
Posts: 4
Joined: 20 October 2011, 12:48
OpenMandriva: 2011
Kernel: MIB-nrj
Desktop: HP DX2300
country: RO

Re: How to get access to all 4G of RAM?

Post by patkoscsaba »

Hi Nicco, I've put all the outputs from dmidecode, proc/meminfo, hwinfo and free on this comment at mandrivausers.ro: http://www.mandrivausers.ro/comment/25527#comment-25527

Additionally I checked:
- I have NO options for PAE in BIOS
- I have NO options for any memory parameters in BIOS
- the bios DOES correctly show 2x2GB and a total of 4GB RAM

uname -a:
Linux localhost.localdomain 3.0.4-desktop-nrj.69mib #1 SMP PREEMPT Thu Sep 1 23:15:03 VLAST 2011 x86_64 x86_64 x86_64 GNU/Linux

Also other users on mandrivausers.ro seems to not have my problem.
I checked HP support (this is a HP DX2300 micorotower) and all official documentation says 4G supported for my computer.

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: How to get access to all 4G of RAM?

Post by NicCo »

then wait for kernel 3.0.7, it's upcoming soon
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: How to get access to all 4G of RAM?

Post by NicCo »

kernel nrj-desktop 307 for 2011.0: ready and available

Kernel 3.0.7 + -NRJ and -NRJ-PAE for 2010.1, 2010.2, 2011.0
http://mib.pianetalinux.org/mib/forum/v ... =38&t=3074


bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
patkoscsaba
Nuovo utente
Nuovo utente
Posts: 4
Joined: 20 October 2011, 12:48
OpenMandriva: 2011
Kernel: MIB-nrj
Desktop: HP DX2300
country: RO

Re: How to get access to all 4G of RAM?

Post by patkoscsaba »

Thanks. I installed it, same problem. I think I will make some test with the original kernel version (2.6 desktop and server) to further test it, but only tomorrow.

Congrats for the new kernel release.

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: How to get access to all 4G of RAM?

Post by NicCo »

You could try to specify the exact memory amount that you own, in kernel line,
i don't remember the command and the syntax, but you can search in the web


bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
patkoscsaba
Nuovo utente
Nuovo utente
Posts: 4
Joined: 20 October 2011, 12:48
OpenMandriva: 2011
Kernel: MIB-nrj
Desktop: HP DX2300
country: RO

Re: How to get access to all 4G of RAM?

Post by patkoscsaba »

So, I found out that I can use the "mem=4G" kernel option at boot to specify the exact amount of RAM I have. However, this has no effect. The system still reports the same 3.25G available.

Here is a grep for "mem" on my logs from the last boot. Can anyone see any problems here?

Code: Select all

/var/log/syslog:Oct 21 22:43:10 localhost kernel: Command line: BOOT_IMAGE=linux root=UUID=60072378-d892-4013-b138-693b16b0aabc nokmsboot logo.nologo quiet resume=UUID=98dc588c-94eb-4a8e-8eb6-b3b2eaff9d0b splash=silent vga=788 mem=4G
/var/log/syslog:Oct 21 22:43:10 localhost kernel: initial memory mapped : 0 - 20000000
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Base memory trampoline at [ffff88000009a000] 9a000 size 20480
/var/log/syslog:Oct 21 22:43:10 localhost kernel: init_memory_mapping: 0000000000000000-00000000cfedf000
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Initmem setup node 0 0000000000000000-00000000cfedf000
/var/log/syslog:Oct 21 22:43:10 localhost kernel:  DMA zone: 56 pages used for memmap
/var/log/syslog:Oct 21 22:43:10 localhost kernel:  DMA32 zone: 11589 pages used for memmap
/var/log/syslog:Oct 21 22:43:10 localhost kernel: PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
/var/log/syslog:Oct 21 22:43:10 localhost kernel: PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
/var/log/syslog:Oct 21 22:43:10 localhost kernel: PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Kernel command line: BOOT_IMAGE=linux root=UUID=60072378-d892-4013-b138-693b16b0aabc nokmsboot logo.nologo quiet resume=UUID=98dc588c-94eb-4a8e-8eb6-b3b2eaff9d0b splash=silent vga=788 mem=4G
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Memory: 3314592k/3406716k available (4215k kernel code, 452k absent, 91672k reserved, 5212k data, 720k init)
/var/log/syslog:Oct 21 22:43:10 localhost kernel: please try 'cgroup_disable=memory' option if you don't want memory cgroups
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Initializing cgroup subsys memory
/var/log/syslog:Oct 21 22:43:10 localhost kernel: PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
/var/log/syslog:Oct 21 22:43:10 localhost kernel: PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_root PNP0A08:00: host bridge window [mem 0x000c0000-0x000dffff] (ignored)
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_root PNP0A08:00: host bridge window [mem 0xcff00000-0xfebfffff] (ignored)
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:1b.0: reg 10: [mem 0xfdff8000-0xfdffbfff 64bit]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:1d.7: reg 10: [mem 0xfdfff000-0xfdfff3ff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:1f.2: reg 24: [mem 0xfdffe000-0xfdffe3ff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:01:00.0: reg 10: [mem 0xfa000000-0xfaffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:01:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:01:00.0: reg 1c: [mem 0xf8000000-0xf9ffffff 64bit]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0001ffff pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xfbffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:01.0:   bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:02:00.0: reg 10: [mem 0xfddf0000-0xfddf7fff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:02:08.0: reg 10: [mem 0xfddff000-0xfddfffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:1e.0:   bridge window [mem 0xfdd00000-0xfddfffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:1e.0:   bridge window [mem 0xfde00000-0xfdefffff 64bit pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:1e.0:   bridge window [mem 0x00000000-0xfffffffff] (subtractive decode)
/var/log/syslog:Oct 21 22:43:10 localhost kernel: vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:00: [mem 0x000a0000-0x000bffff window]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:00: [mem 0x000c0000-0x000dffff window]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:00: [mem 0xcff00000-0xfebfffff window]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:03: [mem 0xfed00000-0xfed003ff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0b: [mem 0xffb80000-0xffbfffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0c: [mem 0xe0000000-0xefffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0c: [mem 0xe0000000-0xefffffff] has been reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0x000f0000-0x000fffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xcff00000-0xcfffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xfed00000-0xfed000ff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xcfee0000-0xcfefffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0x00000000-0x0009ffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0x00100000-0xcfedffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0x00000000-0xffffffffffffffff disabled]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xfec00000-0xfec00fff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xfed13000-0xfed1dfff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xfed20000-0xfed8ffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xfee00000-0xfee00fff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xffb00000-0xffb7ffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0xfff00000-0xffffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pnp 00:0d: [mem 0x000e0000-0x000effff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0x000f0000-0x000fffff] could not be reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xcff00000-0xcfffffff] could not be reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xfed00000-0xfed000ff] has been reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xcfee0000-0xcfefffff] could not be reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0x00000000-0x0009ffff] could not be reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0x00100000-0xcfedffff] could not be reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xfec00000-0xfec00fff] could not be reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xfed13000-0xfed1dfff] has been reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xfed20000-0xfed8ffff] has been reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xfee00000-0xfee00fff] has been reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xffb00000-0xffb7ffff] has been reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0xfff00000-0xffffffff] has been reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: system 00:0d: [mem 0x000e0000-0x000effff] has been reserved
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:01:00.0: BAR 6: assigned [mem 0xfb000000-0xfb01ffff pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xfbffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:01.0:   bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:1e.0:   bridge window [mem 0xfdd00000-0xfddfffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci 0000:00:1e.0:   bridge window [mem 0xfde00000-0xfdefffff 64bit pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_bus 0000:00: resource 1 [mem 0x00000000-0xfffffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_bus 0000:01: resource 1 [mem 0xf8000000-0xfbffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_bus 0000:01: resource 2 [mem 0xd0000000-0xdfffffff 64bit pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_bus 0000:02: resource 1 [mem 0xfdd00000-0xfddfffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_bus 0000:02: resource 2 [mem 0xfde00000-0xfdefffff 64bit pref]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: pci_bus 0000:02: resource 5 [mem 0x00000000-0xfffffffff]
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Freeing initrd memory: 32728k freed
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Freeing unused kernel memory: 720k freed
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Freeing unused kernel memory: 1912k freed
/var/log/syslog:Oct 21 22:43:10 localhost kernel: Freeing unused kernel memory: 100k freed
/var/log/syslog:Oct 21 22:43:10 localhost kernel: ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfdfff000
/var/log/syslog:Oct 21 22:43:10 localhost kernel: PM: Basic memory bitmaps created
/var/log/syslog:Oct 21 22:43:10 localhost kernel: PM: Basic memory bitmaps freed
/var/log/syslog:Oct 21 22:43:10 localhost kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
grep: /var/log/tallylog: Permission denied
/var/log/user.log:Oct 19 19:30:29 localhost draklive-install[2530]: found mounted partition on cgroup with /sys/fs/cgroup/memory
/var/log/user.log:Oct 19 20:00:48 localhost diskdrake[3513]: found mounted partition on cgroup with /sys/fs/cgroup/memory
/var/log/Xorg.0.log:[    10.984] Kernel command line: BOOT_IMAGE=linux root=UUID=60072378-d892-4013-b138-693b16b0aabc nokmsboot logo.nologo quiet resume=UUID=98dc588c-94eb-4a8e-8eb6-b3b2eaff9d0b splash=silent vga=788 mem=4G
/var/log/Xorg.0.log:[    10.989] (--) PCI:*(0:1:0:0) 10de:0402:1043:8255 rev 161, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xf8000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
/var/log/Xorg.0.log:[    12.441] (--) NVIDIA(0): Memory: 524288 kBytes
/var/log/Xorg.0.log:[    12.597] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
/var/log/Xorg.0.log:[    12.898] (==) NVIDIA(0): Disabling shared memory pixmaps
/var/log/Xorg.0.log.old:[    85.377] (--) PCI:*(0:1:0:0) 10de:0402:1043:8255 rev 161, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xf8000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
/var/log/Xorg.0.log.old:[    86.988] (--) NVIDIA(0): Memory: 524288 kBytes
/var/log/Xorg.0.log.old:[    87.131] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
/var/log/Xorg.0.log.old:[    87.570] (==) NVIDIA(0): Disabling shared memory pixmaps

Post Reply