Subject: kgmon -b causes a reboot (no kernel profiling)
To: None <current-users@netbsd.org>
From: Gary Thorpe <gathorpe79@yahoo.com>
List: current-users
Date: 08/31/2006 23:09:47
Hi,

I was recently attempting to profile a kernel under different
conditions. However, each time I try to enable profiling using 'kgmon
-b' the machine reliably reboots (no ddb or panic).

At first, I though it was because 'kgmon' was from 3.0, but the current
version produces the same result as well. Is this just something wrong
with my source tree/actions or is this universally repeatable?

This is with this id in the kgmon source:
/*   $NetBSD: kgmon.c,v 1.20 2006/08/13 00:20:25 dyoung Exp $   */

And these are the kernel modifications to GENERIC:

# pipe = faster, optimization
makeoptions     COPTS="-pipe"

# profiling support
makeoptions     PROF="-pg"
options         GPROF

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com