Subject: Re: kvm
To: John R. Daily <jdaily@bbn.com>
From: David Brownlee <abs@anim.dreamworks.com>
List: tech-kern
Date: 08/19/1997 15:20:16
	Are you booting from each kernal as /netbsd?
	The kvm routines will use /netbsd to determine where to look in
	memory for data (IIRC)


		David/abs

  -- "Its hard to say it... I hate to say it... but its probably me..." --

On Tue, 19 Aug 1997, John R. Daily wrote:

> I'm using the kvm facility to access a data structure in the
> kernel, and I'd like to know a little bit more about the
> internals, as I'm obtaining odd results.
> 
> I have several different kernel builds, and under certain
> ones, I obtain the correct data with kvm_read, and under
> others, my structure is filled with completely erroneous
> values.
> 
> What would cause this to happen, assuming that the
> structure itself is not at fault (which is a reasonably
> safe assumption, although something I'm going to test
> separately)?
> 
> And similarly, what causes this error from dmesg on the same
> kernel:
> 
> dmesg: kvm_read: kvm_read: Bad address
> 
> (To avoid confusing the issue, note that kvm_open & kvm_read
> return success in my custom application.)
> 
> --
> John R. Daily
> jdaily@bbn.com
>