From eugen@grosbein.net Tue Jan 3 13:09:14 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NmY3T4F1Jz2lM1N for ; Tue, 3 Jan 2023 13:09:25 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NmY3T1JFxz4bwS for ; Tue, 3 Jan 2023 13:09:24 +0000 (UTC) (envelope-from eugen@grosbein.net) Authentication-Results: mx1.freebsd.org; none Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.16.1/8.16.1) with ESMTPS id 303D9KMn016901 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 3 Jan 2023 13:09:21 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: eivinde@terraplane.org Received: from [10.58.0.11] (dadvw [10.58.0.11] (may be forged)) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 303D9K7X044550 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 3 Jan 2023 20:09:20 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Memory question To: Eivind Nicolay Evensen , freebsd-stable@freebsd.org References: <20230103140404.5f71b0ad@elg.hjerdalen.lokalnett> From: Eugene Grosbein Message-ID: Date: Tue, 3 Jan 2023 20:09:14 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 In-Reply-To: <20230103140404.5f71b0ad@elg.hjerdalen.lokalnett> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT autolearn=disabled version=3.4.6 X-Spam-Report: * -0.0 SHORTCIRCUIT No description available. * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hz.grosbein.net X-Rspamd-Queue-Id: 4NmY3T1JFxz4bwS X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 03.01.2023 20:04, Eivind Nicolay Evensen wrote: > This might be more related to a bios setting or issue, but I hope > somebody can give me hints in the right direction to remedy or > at least diagnose this issue further. > > I installed more memory in one machine and now I see this > in dmesg: > > real memory = 25769803776 (24576 MB) > avail memory = 8237150208 (7855 MB) > > Real should be right, from before there were two 4 GB dimms in there, > and I inserted two more 8 GB ones. > > Transcribed from BIOS: > > DIMM(s) 1 2 3 4 > Installed Size 8192 8192 4096 4096 > Enabled Size 8192 8192 4096 4096 > Total Size 24576 > > I was wondering if the reason could be that this machine has been updated > since older versions and bootloader may be old or whatever, so I also tried > booting a linux. However, that also only uses 8 GB, and says (at least in a > way I understand) less about what it can really see. > > This is amd64 FreeBSD 13.1. > > Is there any way I can use the rest of the memory? Or at least find out > which dimms it is actually using? I was in similar situation once. There was Atom-based hardware setup with CPU not having embedded memory controller; instead, it used memory controller on motherboard. That memory controller had similar limitation. One cannot overcome it. You should specify your hardware.