*BSD News Article 20315


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!wupost!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!yeshua.marcam.com!news.kei.com!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!mycroft
From: mycroft@trinity.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.os.386bsd.questions
Subject: Re: problem with build netbsd-09 kernel
Date: 02 Sep 1993 19:53:16 GMT
Organization: MIT Artificial Intelligence Lab
Lines: 21
Message-ID: <MYCROFT.93Sep2155316@trinity.gnu.ai.mit.edu>
References: <RAM.93Sep2130711@xor.epi.wisc.edu>
NNTP-Posting-Host: trinity.gnu.ai.mit.edu
In-reply-to: ram@xor.epi.wisc.edu's message of 02 Sep 1993 18:07:10 GMT


In article <RAM.93Sep2130711@xor.epi.wisc.edu> ram@xor.epi.wisc.edu
(Ram Bhamidipaty) writes:

   The problem that I have is this: when I use the stock kernel
   swapinfo gives some useful information. When I use a kernel that I
   built, swapinfo freaks out, its right after some system call (I
   don't remember the exact message).

   Hmm. It just occured to me that it might be something simple. I
   name the new kernel /netbsd_test .

Unfortunately, utilities which use kvm.c (i.e. swapinfo, ps, w, etc.)
currently have no way of finding the appropriate info except by poking
at the symbol table of the kernel.  However, the symbol table is not
loaded when booting (and probably shouldn't be).  Thus, the path to
the kernel is hard-coded.

Try `swapinfo -N /netbsd_test' and `ps -N /netbsd_test'.  (I see the
man page for swapinfo needs updating.)