public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] hardware - memory problem
@ 2020-12-16 22:22 thelma
  2020-12-16 22:29 ` Mark Knecht
  2020-12-16 22:46 ` Manuel McLure
  0 siblings, 2 replies; 14+ messages in thread
From: thelma @ 2020-12-16 22:22 UTC (permalink / raw
  To: Gentoo mailing list

I run Memtest86 on my old box and it completed 1pass without any errors.
Memtest86 reports 16G memory

When I boot Gentoo it shows only 3282Mb
free -m
              total        used        free      shared  buff/cache
available
Mem:           3282         125        2475           7         680
  3033

Is it a motherboard? How to test it?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 22:22 [gentoo-user] hardware - memory problem thelma
@ 2020-12-16 22:29 ` Mark Knecht
  2020-12-16 22:34   ` Mark Knecht
  2020-12-16 22:46 ` Manuel McLure
  1 sibling, 1 reply; 14+ messages in thread
From: Mark Knecht @ 2020-12-16 22:29 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

On Wed, Dec 16, 2020 at 3:22 PM <thelma@sys-concept.com> wrote:

> I run Memtest86 on my old box and it completed 1pass without any errors.
> Memtest86 reports 16G memory
>
> When I boot Gentoo it shows only 3282Mb
> free -m
>               total        used        free      shared  buff/cache
> available
> Mem:           3282         125        2475           7         680
>   3033
>
> Is it a motherboard? How to test it?
>
>
Start with

cat /proc/meminfo

[-- Attachment #2: Type: text/html, Size: 904 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 22:29 ` Mark Knecht
@ 2020-12-16 22:34   ` Mark Knecht
  2020-12-16 22:46     ` thelma
  2020-12-16 22:51     ` antlists
  0 siblings, 2 replies; 14+ messages in thread
From: Mark Knecht @ 2020-12-16 22:34 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

On Wed, Dec 16, 2020 at 3:29 PM Mark Knecht <markknecht@gmail.com> wrote:
>
>
>
> On Wed, Dec 16, 2020 at 3:22 PM <thelma@sys-concept.com> wrote:
>>
>> I run Memtest86 on my old box and it completed 1pass without any errors.
>> Memtest86 reports 16G memory
>>
>> When I boot Gentoo it shows only 3282Mb
>> free -m
>>               total        used        free      shared  buff/cache
>> available
>> Mem:           3282         125        2475           7         680
>>   3033
>>
>> Is it a motherboard? How to test it?
>>
>
> Start with
>
> cat /proc/meminfo

>
Or lshw and look for the DIMM modules themselves

[-- Attachment #2: Type: text/html, Size: 1140 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 22:34   ` Mark Knecht
@ 2020-12-16 22:46     ` thelma
  2020-12-16 23:01       ` Mark Knecht
  2020-12-16 22:51     ` antlists
  1 sibling, 1 reply; 14+ messages in thread
From: thelma @ 2020-12-16 22:46 UTC (permalink / raw
  To: gentoo-user

On 12/16/2020 03:34 PM, Mark Knecht wrote:
> On Wed, Dec 16, 2020 at 3:29 PM Mark Knecht <markknecht@gmail.com> wrote:
>>
>>
>>
>> On Wed, Dec 16, 2020 at 3:22 PM <thelma@sys-concept.com> wrote:
>>>
>>> I run Memtest86 on my old box and it completed 1pass without any errors.
>>> Memtest86 reports 16G memory
>>>
>>> When I boot Gentoo it shows only 3282Mb
>>> free -m
>>>               total        used        free      shared  buff/cache
>>> available
>>> Mem:           3282         125        2475           7         680
>>>   3033
>>>
>>> Is it a motherboard? How to test it?
>>>
>>
>> Start with
>>
>> cat /proc/meminfo
> 
>>
> Or lshw and look for the DIMM modules themselves

cat /proc/meminfo
MemTotal:        3360992 kB
MemFree:         2806556 kB
MemAvailable:    3077952 kB
Buffers:           97156 kB
Cached:           262116 kB
SwapCached:            0 kB
Active:           329656 kB
Inactive:         133864 kB
Active(anon):     104804 kB
Inactive(anon):     2964 kB
Active(file):     224852 kB
Inactive(file):   130900 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:       2504328 kB
HighFree:        2120028 kB
LowTotal:         856664 kB
LowFree:          686528 kB
SwapTotal:       8757244 kB
SwapFree:        8757244 kB
Dirty:               292 kB
Writeback:             0 kB
AnonPages:        104252 kB
Mapped:            93812 kB
Shmem:              3516 kB
KReclaimable:      34340 kB
Slab:              56524 kB
SReclaimable:      34340 kB
SUnreclaim:        22184 kB
KernelStack:        2256 kB
PageTables:         2596 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    10437740 kB
Committed_AS:     987564 kB
VmallocTotal:     122880 kB
VmallocUsed:        4080 kB
VmallocChunk:          0 kB
Percpu:             1248 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       4096 kB
Hugetlb:               0 kB
DirectMap4k:       12280 kB
DirectMap4M:      888832 kB


lshw -C memory
 *-memory
       description: System Memory
       physical id: 29
       slot: System board or motherboard
       size: 16GiB
     *-bank:0
          description: DIMM 1333 MHz (0.8 ns)
          physical id: 0
          slot: A0
          size: 4GiB
          width: 64 bits
          clock: 1333MHz (0.8ns)
     *-bank:1
          description: DIMM 1333 MHz (0.8 ns)
          physical id: 1
          slot: A1
          size: 4GiB
          width: 64 bits
          clock: 1333MHz (0.8ns)
     *-bank:2
          description: DIMM 1333 MHz (0.8 ns)
          physical id: 2
          slot: A2
          size: 4GiB
          width: 64 bits
          clock: 1333MHz (0.8ns)
     *-bank:3
          description: DIMM 1333 MHz (0.8 ns)
          physical id: 3
          slot: A3
          size: 4GiB
          width: 64 bits
          clock: 1333MHz (0.8ns)


When I loot at "htop" it only shows:
Mem:    155M/3.21G


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 22:22 [gentoo-user] hardware - memory problem thelma
  2020-12-16 22:29 ` Mark Knecht
@ 2020-12-16 22:46 ` Manuel McLure
  1 sibling, 0 replies; 14+ messages in thread
From: Manuel McLure @ 2020-12-16 22:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

On Wed, Dec 16, 2020 at 2:22 PM <thelma@sys-concept.com> wrote:

> I run Memtest86 on my old box and it completed 1pass without any errors.
> Memtest86 reports 16G memory
>
> When I boot Gentoo it shows only 3282Mb
> free -m
>               total        used        free      shared  buff/cache
> available
> Mem:           3282         125        2475           7         680
>   3033
>
> Is it a motherboard? How to test it?
>
>
Are you perhaps booting a 32-bit kernel? A 32 bit kernel is not going to
see all 16GB of RAM, only what fits in its 32-bit address space. You need a
64-bit kernel (or a 32-bit kernel with Physical Address Extensions enabled)
to be able to see all the RAM.
-- 
Manuel A. McLure WW1FA <manuel@mclure.org> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft

[-- Attachment #2: Type: text/html, Size: 1486 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 22:34   ` Mark Knecht
  2020-12-16 22:46     ` thelma
@ 2020-12-16 22:51     ` antlists
  2020-12-16 23:12       ` thelma
  1 sibling, 1 reply; 14+ messages in thread
From: antlists @ 2020-12-16 22:51 UTC (permalink / raw
  To: gentoo-user

On 16/12/2020 22:34, Mark Knecht wrote:
> 
> 
> On Wed, Dec 16, 2020 at 3:29 PM Mark Knecht <markknecht@gmail.com 
> <mailto:markknecht@gmail.com>> wrote:
>  >
>  >
>  >
>  > On Wed, Dec 16, 2020 at 3:22 PM <thelma@sys-concept.com 
> <mailto:thelma@sys-concept.com>> wrote:
>  >>
>  >> I run Memtest86 on my old box and it completed 1pass without any errors.
>  >> Memtest86 reports 16G memory
>  >>
>  >> When I boot Gentoo it shows only 3282Mb
>  >> free -m
>  >>               total        used        free      shared  buff/cache
>  >> available
>  >> Mem:           3282         125        2475           7         680
>  >>   3033
>  >>
>  >> Is it a motherboard? How to test it?
>  >>
>  >
>  > Start with
>  >
>  > cat /proc/meminfo
> 
> 
> Or lshw and look for the DIMM modules themselves

Or is this a 32-bit system WITHOUT extended memory support?

I don't properly understand it, but with a 32-bit system the kernel uses 
1GB of memory and user-space uses the other 3GB. Extended memory support 
means each process can have its own 3GB space which enables you to use 
all available memory, but without it I think the entire system is stuck 
in the first 4GB.

Cheers,
Wol


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 22:46     ` thelma
@ 2020-12-16 23:01       ` Mark Knecht
  2020-12-16 23:14         ` thelma
  0 siblings, 1 reply; 14+ messages in thread
From: Mark Knecht @ 2020-12-16 23:01 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]

On Wed, Dec 16, 2020 at 3:46 PM <thelma@sys-concept.com> wrote:
<SNIP>
> lshw -C memory
>  *-memory
>        description: System Memory
>        physical id: 29
>        slot: System board or motherboard
>        size: 16GiB
>      *-bank:0
>           description: DIMM 1333 MHz (0.8 ns)
>           physical id: 0
>           slot: A0
>           size: 4GiB
>           width: 64 bits
>           clock: 1333MHz (0.8ns)
>      *-bank:1
>           description: DIMM 1333 MHz (0.8 ns)
>           physical id: 1
>           slot: A1
>           size: 4GiB
>           width: 64 bits
>           clock: 1333MHz (0.8ns)
>      *-bank:2
>           description: DIMM 1333 MHz (0.8 ns)
>           physical id: 2
>           slot: A2
>           size: 4GiB
>           width: 64 bits
>           clock: 1333MHz (0.8ns)
>      *-bank:3
>           description: DIMM 1333 MHz (0.8 ns)
>           physical id: 3
>           slot: A3
>           size: 4GiB
>           width: 64 bits
>           clock: 1333MHz (0.8ns)
>
>
> When I loot at "htop" it only shows:
> Mem:    155M/3.21G

You show all 16GB but as others have stated you are likely running the
wrong kernel.

uname -a

[-- Attachment #2: Type: text/html, Size: 1699 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 22:51     ` antlists
@ 2020-12-16 23:12       ` thelma
  2020-12-16 23:43         ` [gentoo-user] " Grant Edwards
  2020-12-17  4:03         ` [gentoo-user] " bobwxc
  0 siblings, 2 replies; 14+ messages in thread
From: thelma @ 2020-12-16 23:12 UTC (permalink / raw
  To: gentoo-user

On 12/16/2020 03:51 PM, antlists wrote:
> Or is this a 32-bit system WITHOUT extended memory support?
> 
> I don't properly understand it, but with a 32-bit system the kernel uses
> 1GB of memory and user-space uses the other 3GB. Extended memory support
> means each process can have its own 3GB space which enables you to use
> all available memory, but without it I think the entire system is stuck
> in the first 4GB.
> 
> Cheers,
> Wol

Hm..., did I use wrong stage?

stage3-i686-20201116T214503Z.tar.xz
on:
AMD FX(tm)-8150 Eight-Core Processor


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 23:01       ` Mark Knecht
@ 2020-12-16 23:14         ` thelma
  2020-12-16 23:26           ` Mark Knecht
  2020-12-16 23:39           ` Manuel McLure
  0 siblings, 2 replies; 14+ messages in thread
From: thelma @ 2020-12-16 23:14 UTC (permalink / raw
  To: gentoo-user

On 12/16/2020 04:01 PM, Mark Knecht wrote:
>> When I loot at "htop" it only shows:
>> Mem:    155M/3.21G
> You show all 16GB but as others have stated you are likely running the
> wrong kernel.
> 
> uname -a
> 
uname -a

Linux 7_old 5.4.80-gentoo-r1 #2 SMP Tue Dec 15 00:21:33 MST 2020 i686
AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 23:14         ` thelma
@ 2020-12-16 23:26           ` Mark Knecht
  2020-12-16 23:39           ` Manuel McLure
  1 sibling, 0 replies; 14+ messages in thread
From: Mark Knecht @ 2020-12-16 23:26 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

On Wed, Dec 16, 2020 at 4:14 PM <thelma@sys-concept.com> wrote:
>
> On 12/16/2020 04:01 PM, Mark Knecht wrote:
> >> When I loot at "htop" it only shows:
> >> Mem:    155M/3.21G
> > You show all 16GB but as others have stated you are likely running the
> > wrong kernel.
> >
> > uname -a
> >
> uname -a
>
> Linux 7_old 5.4.80-gentoo-r1 #2 SMP Tue Dec 15 00:21:33 MST 2020 i686
> AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux

I don't know. You've done something wrong.

Do you have a /proc/config.gz file? zcat it and look for settings of the
running kernel that indicate limiting memory or something.

Sorry. I'm not able to help you much more at this distance.

- Mark

[-- Attachment #2: Type: text/html, Size: 989 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 23:14         ` thelma
  2020-12-16 23:26           ` Mark Knecht
@ 2020-12-16 23:39           ` Manuel McLure
  1 sibling, 0 replies; 14+ messages in thread
From: Manuel McLure @ 2020-12-16 23:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 893 bytes --]

On Wed, Dec 16, 2020 at 3:14 PM <thelma@sys-concept.com> wrote:

> On 12/16/2020 04:01 PM, Mark Knecht wrote:
> >> When I loot at "htop" it only shows:
> >> Mem:    155M/3.21G
> > You show all 16GB but as others have stated you are likely running the
> > wrong kernel.
> >
> > uname -a
> >
> uname -a
>
> Linux 7_old 5.4.80-gentoo-r1 #2 SMP Tue Dec 15 00:21:33 MST 2020 i686
> AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux
>
>
i686 is a 32-bit kernel. Where it says "i686" it should instead say
"x86_64". For example, on my Gentoo server:

Linux legend 5.4.80-gentoo-r1-x86_64 #1 SMP Wed Dec 2 10:51:23 PST 2020
x86_64 Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz GenuineIntel GNU/Linux

-- 
Manuel A. McLure WW1FA <manuel@mclure.org> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft

[-- Attachment #2: Type: text/html, Size: 1553 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user] Re: hardware - memory problem
  2020-12-16 23:12       ` thelma
@ 2020-12-16 23:43         ` Grant Edwards
  2020-12-16 23:51           ` Grant Edwards
  2020-12-17  4:03         ` [gentoo-user] " bobwxc
  1 sibling, 1 reply; 14+ messages in thread
From: Grant Edwards @ 2020-12-16 23:43 UTC (permalink / raw
  To: gentoo-user

On 2020-12-16, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> On 12/16/2020 03:51 PM, antlists wrote:
>> Or is this a 32-bit system WITHOUT extended memory support?
>> 
>> I don't properly understand it, but with a 32-bit system the kernel uses
>> 1GB of memory and user-space uses the other 3GB. Extended memory support
>> means each process can have its own 3GB space which enables you to use
>> all available memory, but without it I think the entire system is stuck
>> in the first 4GB.
>> 
>> Cheers,
>> Wol
>
> Hm..., did I use wrong stage?
>
> stage3-i686-20201116T214503Z.tar.xz
>
> AMD FX(tm)-8150 Eight-Core Processor

Yes, that is the wrong stage3. It's for 32-bit processors. You want a
64-bit amd64 one.  You're also running a 32-bit kernel instead of a
64-bit one.

If I were you, I'd start over from scratch.

--
Grant




^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user] Re: hardware - memory problem
  2020-12-16 23:43         ` [gentoo-user] " Grant Edwards
@ 2020-12-16 23:51           ` Grant Edwards
  0 siblings, 0 replies; 14+ messages in thread
From: Grant Edwards @ 2020-12-16 23:51 UTC (permalink / raw
  To: gentoo-user

On 2020-12-16, Grant Edwards <grant.b.edwards@gmail.com> wrote:

>> Hm..., did I use wrong stage?
>>
>> stage3-i686-20201116T214503Z.tar.xz
>>
>> AMD FX(tm)-8150 Eight-Core Processor
>
> Yes, that is the wrong stage3. It's for 32-bit processors. You want a
> 64-bit amd64 one.  You're also running a 32-bit kernel instead of a
> 64-bit one.
>
> If I were you, I'd start over from scratch.

Follow the manual _carefully_:

https://wiki.gentoo.org/wiki/Handbook:AMD64

 * You want to do a 64-bit, "amd64" installation. Do _not_ use
   anything that says "i686" in the filename.

 * You need to read and understand every manual section before you do
   that section.

 * I highly recommend cuting/pasting the example commands from the
   manual into the terminal where you are doing the install (instead
   of typing them manually).

 * Make sure you start out booting some sort of _64_bit_ live ISO to do
   the install (either the Gentoo minimal install or systemrescuecd or
   whatever).

 * Verify the signatures of the downloaded files.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hardware - memory problem
  2020-12-16 23:12       ` thelma
  2020-12-16 23:43         ` [gentoo-user] " Grant Edwards
@ 2020-12-17  4:03         ` bobwxc
  1 sibling, 0 replies; 14+ messages in thread
From: bobwxc @ 2020-12-17  4:03 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 502 bytes --]

在 2020/12/17 上午7:12, thelma@sys-concept.com 写道:
> AMD FX(tm)-8150 Eight-Core Processor
Have you test the 64bit install image ?
We told you several days ago that your cpu (AMD FX[tm]-8150 Eight-Core 
Processor) is a 64 bit cpu.
You'd better reinstall a 64bit system.
Using a 32 bit system nowadays is not a good choice.

Be patient and careful.
Install and config a new gentoo may very painful at start, but when you 
did it, you will happy for a long time.
;-)

-- 
bobwxc



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-12-17  4:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 22:22 [gentoo-user] hardware - memory problem thelma
2020-12-16 22:29 ` Mark Knecht
2020-12-16 22:34   ` Mark Knecht
2020-12-16 22:46     ` thelma
2020-12-16 23:01       ` Mark Knecht
2020-12-16 23:14         ` thelma
2020-12-16 23:26           ` Mark Knecht
2020-12-16 23:39           ` Manuel McLure
2020-12-16 22:51     ` antlists
2020-12-16 23:12       ` thelma
2020-12-16 23:43         ` [gentoo-user] " Grant Edwards
2020-12-16 23:51           ` Grant Edwards
2020-12-17  4:03         ` [gentoo-user] " bobwxc
2020-12-16 22:46 ` Manuel McLure

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox