Subject: Re: look's like there is no "/dev/ksyms" in NetBSD-daily/netbsd-4/
To: Joel CARNAT <joel@carnat.net>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: port-xen
Date: 08/14/2007 15:20:31
/dev/ksyms only works if kernel symbols got loaded, right?

If yes, then I suppose this is the symbol problem with Xen 3.1, which I fixed
in xen-unstable.
See my posts to the thread "mutex fault and no symbol table on recent Dom0 and 
Xen" on this list for details.

Christoph


On Tuesday 14 August 2007 14:55:32 Joel CARNAT wrote:
> Hello,
>
> As I recieve my brand new Xen tools, I installed netbsd-4 and Xen from
> NetBSD-daily/200708120002Z/. I have a bunch of errors like:
> Aug 14 14:39:42 10.15.5.53 snmpd[10319]: kvm_openfiles: Device not
> configured Aug 14 14:39:42 10.15.5.53 snmpd[10319]: kvm_openfiles:
> /dev/ksyms: Device not configured
>
> Indeed, if I look in the xen kernel, I can see:
> # strings /netbsd-xen0 | grep ksym
> _CFG_###> pseudo-device\011ksyms\011\011\011# /dev/ksyms
> ksyms
> ksymsread: unsunc
> /home/builds/ab/netbsd-4/src/sys/kern/kern_ksyms.c
>
> What I don't understand is that, on cvsweb "ksyms" is enable in XEN2_DOM0.
> And according to the history, it's been there for a while (I also have it
> enabled on my prod xen system).
>
> Is "/dev/ksyms" supposed to be in XEN3_DOM0, or not ?
> If not, I'll build my own kernel with ksyms configured.
>
> TIA,
>    Jo