From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CHBz4-0004u6-Cf for user-mode-linux-devel@lists.sourceforge.net; Mon, 11 Oct 2004 19:01:50 -0700 Received: from cyphermail.sandelman.ottawa.on.ca ([205.150.200.161] helo=noxmail.sandelman.ottawa.on.ca) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CHBz1-0001fi-TU for user-mode-linux-devel@lists.sourceforge.net; Mon, 11 Oct 2004 19:01:50 -0700 Subject: Re: [uml-devel] UML not returning memory In-Reply-To: Message from BlaisorBlade of "Tue, 12 Oct 2004 03:40:45 +0200." <200410120340.45546.blaisorblade_spam@yahoo.it> References: <25368.1097543079@marajade.sandelman.ottawa.on.ca> <200410120340.45546.blaisorblade_spam@yahoo.it> Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Message-ID: <25712.1097546499@marajade.sandelman.ottawa.on.ca> From: Michael Richardson Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 11 Oct 2004 22:01:39 -0400 To: BlaisorBlade Cc: user-mode-linux-devel@lists.sourceforge.net -----BEGIN PGP SIGNED MESSAGE----- >>>>> "BlaisorBlade" == BlaisorBlade 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