[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#148962: boot-floppies: Inaccurately calculates/reports amount of RAM on target machine



On Tue Jun 04, 2002 at 06:13:43PM +0100, Philip Blundell wrote:
> On Tue, 2002-06-04 at 02:17, Jonathan Hall wrote:
> > On my target system with 12mb of physical RAM, the boot floppies set
> > complains that I only have 9mb, and should have 12mb to run woody.
> > 
> > Incidentally, 9mb is what 'free' reports.  Since this, IIRC, does not
> > include kernel memory, it is obviously not going to show a completely
> > accurate number.
> 
> Yeah, dbootstrap checks /proc/meminfo, which is probably the same thing
> "free" looks at.  I don't actually know of a way to find out what the
> physical memory size is, though I guess one must exist.  Suggestions
> would be welcome.

http://busybox.net/cgi-bin/cvsweb/busybox/procps/free.c?rev=1.18&content-type=text/vnd.viewcvs-markup

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


-- 
To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: