From owner-freebsd-questions Wed Jul 7 7:51:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from storm.typhoon.co.jp (storm.typhoon.co.jp [202.33.21.38]) by hub.freebsd.org (Postfix) with ESMTP id 30F2614C8C for ; Wed, 7 Jul 1999 07:51:19 -0700 (PDT) (envelope-from robertor@typhoon.co.jp) Received: from myname.my.domain (du075.typhoon.co.jp [202.33.21.75]) by storm.typhoon.co.jp (8.9.3/8.9.3/TIS-MX) with SMTP id XAA20408 for ; Wed, 7 Jul 1999 23:51:10 +0900 (JST) From: "Richard G. Roberto" To: freebsd-questions@freebsd.org Subject: debug kernel having symbol problems after stripping? Date: Wed, 7 Jul 1999 23:40:31 +0900 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99070723491000.01606@myname.my.domain> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG High, I followed the handbook section on building a debug kernel and stripped it with strip -x (the web version of the handbook suggests -x, my local version says -d but that option is not available according to man). So far the system runs OK, but vmstat gags saying: vmstat: undefined symbols: _kmemstatistics _bucket=20 I checked the unstripped version and these symbols (sans leading "_") are there (same as the GENERIC kernel shipped on CD), but they aren't in the stripped version. As I can't seem to get my system to crash with this kernel, I may just rebuild a non-debug kernel and see how it goes, but I'm still curious as to what happened. What's the safest way to strip the kernel, or isn't there one? Thanks in advance, Richard --=20 Richard G. Roberto robertor@typhoon.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message