Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread bobwxc

在 2020/12/17 上午7:12, the...@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




OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread Manuel McLure
On Wed, Dec 16, 2020 at 3:14 PM  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  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread Mark Knecht
On Wed, Dec 16, 2020 at 4:14 PM  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


Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread thelma
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



Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread thelma
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



Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread Mark Knecht
On Wed, Dec 16, 2020 at 3:46 PM  wrote:

> 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


Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread antlists

On 16/12/2020 22:34, Mark Knecht wrote:



On Wed, Dec 16, 2020 at 3:29 PM Mark Knecht > wrote:

 >
 >
 >
 > On Wed, Dec 16, 2020 at 3:22 PM > 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



Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread Manuel McLure
On Wed, Dec 16, 2020 at 2:22 PM  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
>   totalusedfree  shared  buff/cache
> available
> Mem:   3282 1252475   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  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread thelma
On 12/16/2020 03:34 PM, Mark Knecht wrote:
> On Wed, Dec 16, 2020 at 3:29 PM Mark Knecht  wrote:
>>
>>
>>
>> On Wed, Dec 16, 2020 at 3:22 PM  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
>>>   totalusedfree  shared  buff/cache
>>> available
>>> Mem:   3282 1252475   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:  32 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



Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread Mark Knecht
On Wed, Dec 16, 2020 at 3:29 PM Mark Knecht  wrote:
>
>
>
> On Wed, Dec 16, 2020 at 3:22 PM  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
>>   totalusedfree  shared  buff/cache
>> available
>> Mem:   3282 1252475   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


Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread Mark Knecht
On Wed, Dec 16, 2020 at 3:22 PM  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
>   totalusedfree  shared  buff/cache
> available
> Mem:   3282 1252475   7 680
>   3033
>
> Is it a motherboard? How to test it?
>
>
Start with

cat /proc/meminfo


[gentoo-user] hardware - memory problem

2020-12-16 Thread thelma
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
  totalusedfree  shared  buff/cache
available
Mem:   3282 1252475   7 680
  3033

Is it a motherboard? How to test it?