Re: [SOLVED] [gentoo-user] Less available memory than installed
I tried booting from Minimal install disk. It had the same problem. Then I tried pulling the two ram sticks out and put them back. It seems like this fixed my issue (Although I don't really know what caused it in the first place). Thanks for everyone's suggestions :)
[gentoo-user] Less available memory than installed
Hello! In my current PC I have 16 GB of RAM installed. It worked fine until today, when I upgraded my CPU from a Ryzen 5 1500X to a Ryzen 7 2700. The system boots up just fine, but when I use the free command the total memory is only 8 GB. When I looked into the BIOS, it showed me the correct amount. What should I do? Output of some relevant commands: free -h total used free shared buff/cache available Mem: 7,8Gi 4,4Gi 874Mi 192Mi 2,5Gi 3,1Gi cat /proc/meminfo MemTotal: 8158220 kB MemFree: 910036 kB MemAvailable: 3275008 kB Buffers: 2848 kB Cached: 2492392 kB SwapCached: 260 kB Active: 1622988 kB Inactive: 4198676 kB Active(anon): 9500 kB Inactive(anon): 3507660 kB Active(file): 1613488 kB Inactive(file): 691016 kB Unevictable: 64 kB Mlocked: 64 kB SwapTotal: 16777212 kB SwapFree: 16775140 kB Dirty: 732 kB Writeback: 0 kB AnonPages: 3326444 kB Mapped: 1322720 kB Shmem: 193816 kB KReclaimable: 160248 kB Slab: 556240 kB SReclaimable: 160248 kB SUnreclaim: 395992 kB KernelStack: 32704 kB PageTables: 58964 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 20856320 kB Committed_AS: 15151980 kB VmallocTotal: 34359738367 kB VmallocUsed: 260776 kB VmallocChunk: 0 kB Percpu: 10944 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Hugetlb: 0 kB DirectMap4k: 1638688 kB DirectMap2M: 6699008 kB DirectMap1G: 1048576 kB lshw -C memory *-memory description: System Memory physical id: 27 slot: System board or motherboard size: 7967MiB *-bank:0 description: [empty] product: Unknown vendor: Unknown physical id: 0 serial: Unknown slot: DIMM 0 *-bank:1 description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0,4 ns) [empty] product: 9905702-120.A00G vendor: Kingston physical id: 1 serial: EE963485 slot: DIMM 1 width: 64 bits clock: 2400MHz (0.4ns) *-bank:2 description: [empty] product: Unknown vendor: Unknown physical id: 2 serial: Unknown slot: DIMM 0 *-bank:3 description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0,4 ns) [empty] product: Unknown vendor: Unknown physical id: 3 serial: 08240800 slot: DIMM 1 width: 64 bits clock: 2400MHz (0.4ns) uname -a Linux GlaDOS 5.10.27-gentoo #4 SMP Thu Jun 3 18:19:23 CEST 2021 x86_64 AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux
Re: [gentoo-user] Problem with locale-gen
I've just realised that I wrote "hu_HU.ISO-8859-1" instead of "hu_HU ISO-8859-1". Changing it fixed the problem. Jack a következőt írta ekkor: Wednesday, 28 October 2020 20:18:55 CET > On 2020.10.28 14:57, Toldi Balázs wrote: > > Hi, > > I did a fresh install a cuple of days ago. Everything worked fine > > unitl I > > realised that my locale files are incorrect. > > > > When I run locale-gen, I get this message: > > locale-gen > > > > * Generating 4 locales (this might take a while) with 8 jobs > > * Bad entry in locale.gen: 'UTF-8 '; skipping > > It may be irrelevant, but see if removing that trailing space makes a > difference > > > * (4/4) Generating hu_HU.UTF-8 ... > > > > failed to set locale! > > [error] character map file `C.UTF-8' not found: No such file or > > directory > > failed to set locale! > > [error] cannot open locale definition file `UTF-8': No such file or > > directory > > [ !! ] > > > > * (1/4) Generating en_US.ISO-8859-1 ... > > > > [ ok ] > > > > * (3/4) Generating hu_HU.ISO-8859-1 ... > > > > failed to set locale! > > [error] character map file `hu_HU.UTF-8' not found: No such file or > > directory > > failed to set locale! > > [error] no output file produced because errors were issued > > [ !! ] > > > > * (2/4) Generating en_US.UTF-8 ... > > > > [ ok ] > > > > * Generation complete > > * Adding locales to archive ... > > > > incomplete set of locale files in "//usr/lib64/locale/UTF-8" > > incomplete set of locale files in "//usr/lib64/locale/hu_HU.iso88591" > > [ !! ] > > > > locale -a > > locale: Cannot set LC_CTYPE to default locale: No such file or > > directory > > locale: Cannot set LC_MESSAGES to default locale: No such file or > > directory > > locale: Cannot set LC_COLLATE to default locale: No such file or > > directory > > C > > POSIX > > en_US > > en_US.iso88591 > > > > The contents of my /etc/locale.gen: > > grep -v # /etc/locale.gen > > hu_HU.UTF-8 UTF-8 > > hu_HU.ISO-8859-1 > > en_US.UTF-8 UTF-8 > > en_US ISO-8859-1 > > > > Did I miss something? > > > > Thanks in advance, > > Balázs > > Since all the locale related files belong to glibc, have you tried > reinstalling that package?
[gentoo-user] Problem with locale-gen
Hi, I did a fresh install a cuple of days ago. Everything worked fine unitl I realised that my locale files are incorrect. When I run locale-gen, I get this message: locale-gen * Generating 4 locales (this might take a while) with 8 jobs * Bad entry in locale.gen: 'UTF-8 '; skipping * (4/4) Generating hu_HU.UTF-8 ... failed to set locale! [error] character map file `C.UTF-8' not found: No such file or directory failed to set locale! [error] cannot open locale definition file `UTF-8': No such file or directory [ !! ] * (1/4) Generating en_US.ISO-8859-1 ... [ ok ] * (3/4) Generating hu_HU.ISO-8859-1 ... failed to set locale! [error] character map file `hu_HU.UTF-8' not found: No such file or directory failed to set locale! [error] no output file produced because errors were issued [ !! ] * (2/4) Generating en_US.UTF-8 ... [ ok ] * Generation complete * Adding locales to archive ... incomplete set of locale files in "//usr/lib64/locale/UTF-8" incomplete set of locale files in "//usr/lib64/locale/hu_HU.iso88591" [ !! ] locale -a locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_COLLATE to default locale: No such file or directory C POSIX en_US en_US.iso88591 The contents of my /etc/locale.gen: grep -v # /etc/locale.gen hu_HU.UTF-8 UTF-8 hu_HU.ISO-8859-1 en_US.UTF-8 UTF-8 en_US ISO-8859-1 Did I miss something? Thanks in advance, Balázs