From owner-freebsd-hackers Wed Feb 21 02:28:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA24173 for hackers-outgoing; Wed, 21 Feb 1996 02:28:52 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id CAA24165 for ; Wed, 21 Feb 1996 02:28:46 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id LAA27713 for hackers@freebsd.org; Wed, 21 Feb 1996 11:28:32 +0100 Message-Id: <199602211028.LAA27713@nixpbe.pdb.sni.de> Subject: Re: processes wouldn't die To: charnier@lirmm.fr (Philippe Charnier) Date: Wed, 21 Feb 96 11:24:02 MET From: Greg Lehey Cc: hackers@freebsd.org (Hackers; FreeBSD) In-Reply-To: <199602210759.IAA08641@lirmm.lirmm.fr>; from "Philippe Charnier" at Feb 21, 96 8:59 am X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-hackers@freebsd.org Precedence: bulk > I decided to create a kernel with -g and to dump a core (break to debugger > and panic) when such a story occurs. If I strip the obtained kernel > (current Friday morning GMT) using strip -x as said in the handbook I get: > checking for core dump.. savecore _dumpsize not in namelist and > rstatd: Can't get namelist > If I run strip with no parameter instead of strip -x I get: > checking for core dump.. savecore _dumpdev not in namelist. > Note that strip -d seems to work ok. Correct. A number of symbols referred to by programs via the nlist system call have recently been made static, and strip -x removes them. This will also cause problems with vmstat and iostat, and others that I forget. I think this is more a documentation problem than a system problem: if you make the kernel without -g, you don't run into this problem, and if you do use -g, strip -d does what you want. Greg