linux-um archives
 help / color / mirror / Atom feed
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
To: BlaisorBlade <blaisorblade_spam@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] UML not returning memory
Date: Mon, 11 Oct 2004 22:01:39 -0400	[thread overview]
Message-ID: <25712.1097546499@marajade.sandelman.ottawa.on.ca> (raw)
In-Reply-To: Message from BlaisorBlade <blaisorblade_spam@yahoo.it> of "Tue, 12 Oct 2004 03:40:45 +0200." <200410120340.45546.blaisorblade_spam@yahoo.it>

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "BlaisorBlade" == BlaisorBlade  <blaisorblade_spam@yahoo.it> writes:
    >> Host:
    >> 
    >> gimli-[aggr/testing/pluto/basic-pluto-01] mcr 1097 %uname -a
    >> Linux gimli 2.4.24 #4 Tue Mar 9 22:18:59 EST 2004 i686 GNU/Linux
    >> debian-sarge, linus kernel.  I seem to be running in TT mode,
    >> rather than MM.
    BlaisorBlade> Ah, ok, you mean SKAS mode, right? However, please
    BlaisorBlade> make sure that /proc/mm does not exist; if it exists
    BlaisorBlade> you are running in SKAS mode.

  Not running in SKAS. no /proc/mm on host.

    >> Any ideas of where else memory might be disappearing to?

    BlaisorBlade> The host kernel allocates his own memory (let's say it
    BlaisorBlade> has his kmalloc'ed() memory) - this is the only
    BlaisorBlade> possible idea I have.  To check this, please go
    BlaisorBlade> posting before/after reboot, together with this data
    BlaisorBlade> (please take another shoot of this data), the content
    BlaisorBlade> of /proc/slabinfo and /proc/meminfo. Also, please go
    BlaisorBlade> in runlevel 1:

  okay, slabinfo and meminfo.

    BlaisorBlade> Finally, please attach everything - I don't care if it
    BlaisorBlade> is one file or separate files, but just that it's not
    BlaisorBlade> inline in the mail. I prefer to avoid line wrapping
    BlaisorBlade> and such things.

  okay.

    BlaisorBlade> However, are you able to reproduce this on a box
    BlaisorBlade> without Open/FreeSWAN installed (I don't know what you
    BlaisorBlade> are using here)? If the new data I've requested you
    BlaisorBlade> that the bug is in the host kernel, either it is in
    BlaisorBlade> the vanilla kernel or it is in the Open/FreeSWAN
    BlaisorBlade> patch, or in whatever other patches you have applied.

  That's certainly possible.
  I can disable IPsec on the host, but it is compiled in, so it will
still initialize.  If I need to rebuild host kernel, I'll do that, but
not today.

    BlaisorBlade> Having said this, I must note that something similar
    BlaisorBlade> happened (in some special configurations) on host
    BlaisorBlade> kernels with SKAS patch; but only with the version for
    BlaisorBlade> kernel >= 2.4.25, and with UML in SKAS mode, and with
    BlaisorBlade> the very first patch I posted on my web-site; I fixed
    BlaisorBlade> this months ago.

  Yes, this is what has me most confused.
  I would have expected issues with SKAS.
  I keep thinking that maybe it is all in disk buffers, but the numbers
do not make sense to me.

- --
]     "Elmo went to the wrong fundraiser" - The Simpson         |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQWs7AoqHRg3pndX9AQHU7gQA03Kp2R30w8YbleEuCJtIMc7FveOqTp0i
9NYFcGuWm9n/26/ELjd7ULOg7BFg0D/EzLXCfCZ/0k7v6pK7p6ah/NlqqB6mYORz
eACbwYbMoItsPdKqiuaFRMTV1xlF+YVuAcj5qHX+aP+dvWQmOTUOBms+H+tEb3rq
G0xrBS90IyA=
=iMWm
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2004-10-12  2:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-12  1:04 [uml-devel] UML not returning memory Michael Richardson
2004-10-12  1:40 ` BlaisorBlade
2004-10-12  2:01   ` Michael Richardson [this message]

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=25712.1097546499@marajade.sandelman.ottawa.on.ca \
    --to=mcr@sandelman.ottawa.on.ca \
    --cc=blaisorblade_spam@yahoo.it \
    --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