From: Jeff Dike <jdike@addtoit.com>
To: "Martin Theiß" <mtheiss@neo.wh-stuttgart.de>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] syscall sysinfo error
Date: Mon, 16 Feb 2004 15:20:22 -0500 [thread overview]
Message-ID: <200402162020.i1GKKMsq024335@ccure.user-mode-linux.org> (raw)
In-Reply-To: Your message of "Sun, 15 Feb 2004 17:35:13 +0100." <20040215163513.GA26606@neo.wh-stuttgart.de>
mtheiss@neo.wh-stuttgart.de said:
> recently i tried to run debian-installer on a 2.6.2 uml kernel. it
> didn't work. i determined the problem has to be the syscall sysinfo.
> it return zeroed values for totalram and totalswap.
Nice diagnosis. This looks fixed to me in the 2.6.3-rc2 UML. I fixed
a bug with totalram_pages being duplicate (and leaving the generic totalram
at zero). However, I didn't do anything with totalswap.
Now, /proc/meminfo shows
SwapTotal: 1049592 kB
SwapFree: 1049592 kB
and your little demo shows
info.mem_unit = 1
info.totalram = 128688128
info.totalswap = 1074782208
Jeff
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-02-16 19:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-15 16:35 [uml-devel] syscall sysinfo error Martin Theiß
2004-02-16 20:20 ` Jeff Dike [this message]
2004-02-18 15:44 ` BlaisorBlade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200402162020.i1GKKMsq024335@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=mtheiss@neo.wh-stuttgart.de \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox