From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kuehling Newsgroups: gmane.emacs.devel Subject: Re: Some OpenWrt port related problems Date: Sat, 01 Jan 2011 15:20:58 +0100 Message-ID: <8739pc9039.fsf@snail.Pool> References: <87sjxi5hko.fsf@snail.Pool> <87lj39y52n.fsf@snail.Pool> <87pqsl7wt7.fsf@snail.Pool> <66798668-5808-473B-BF11-DF4DBA5464A1@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1293891684 6884 80.91.229.12 (1 Jan 2011 14:21:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 14:21:24 +0000 (UTC) Cc: rms@gnu.org, Emacs Dev To: Ken Raeburn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 01 15:21:17 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZ2Ka-00018v-Cn for ged-emacs-devel@m.gmane.org; Sat, 01 Jan 2011 15:21:16 +0100 Original-Received: from localhost ([127.0.0.1]:54155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ2KZ-0005ny-BZ for ged-emacs-devel@m.gmane.org; Sat, 01 Jan 2011 09:21:15 -0500 Original-Received: from [140.186.70.92] (port=33845 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ2KU-0005ns-Ld for emacs-devel@gnu.org; Sat, 01 Jan 2011 09:21:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZ2KS-0000ys-P1 for emacs-devel@gnu.org; Sat, 01 Jan 2011 09:21:10 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:56759 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PZ2KS-0000yf-CX for emacs-devel@gnu.org; Sat, 01 Jan 2011 09:21:08 -0500 Original-Received: (qmail invoked by alias); 01 Jan 2011 14:21:05 -0000 Original-Received: from g225041162.adsl.alicedsl.de (EHLO snail.gmx.de) [92.225.41.162] by mail.gmx.net (mp045) with SMTP; 01 Jan 2011 15:21:05 +0100 X-Authenticated: #4121607 X-Provags-ID: V01U2FsdGVkX1//MpsRJHX/GjPLea+HpHz6pI07dsTdZCK9rl/RiR Tae4tRtlRKjlu2 In-Reply-To: <66798668-5808-473B-BF11-DF4DBA5464A1@raeburn.org> (Ken Raeburn's message of "Wed, 29 Dec 2010 23:08:09 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134111 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable >>>>> "Ken" =3D=3D Ken Raeburn writes: > On Dec 29, 2010, at 04:28, David Kuehling wrote: >> I could dump Emacs in the target system, from a wrapper script, when >> launched for the first time. But last time I tried that it failed >> with insufficient memory (32Mb RAM, no swap), so I'm going without >> dumping for now. > It sounds like running Emacs on such a system is going to be pretty > marginal in any case, but do you recall what part of it failed? > Finding the doc strings? The actual dumping? Ok, just recompiled emacs with dumping support, and running $ emacs -Q --batch --eval \ '(dump-emacs "./demacs" "/usr/bin/emacs")' on the NanoNote gave me: [..] Loading ediff-hook... Finding pointers to doc strings... Finding pointers to doc strings...done emacs: Can't allocate buffer for /usr/bin/emacs So it wants to pull a full copy of the emacs binary into memory? This problem I can workaround by changing the Linux overcommit setting, but then dumping fails with another problem: $ echo "1" > /proc/sys/vm/overcommit_memory=20 $ emacs -Q --batch --eval \ '(dump-emacs "./demacs" "/usr/bin/emacs")' [..] Finding pointers to doc strings... Finding pointers to doc strings...done emacs: Program segment above .bss in /usr/bin/emacs So what's that supposed to mean?=20=20 cheers, David =2D-=20 GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFNHzhLfe9TI8F0fUARAhyyAJ99DqcDST7T2KZEGeVc4zPusaHEQQCeM1wi xMZrhKQbr3HKWCBWKQGiI4o= =YpG9 -----END PGP SIGNATURE----- --=-=-=--