Subject: Re: kernel malloc problem
To: None <current-users@netbsd.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: current-users
Date: 05/03/2007 23:53:59
On Thu, May 03, 2007 at 01:05:09AM +0000, Geoff Wing wrote:
> Somewhere something in the last three days is causing
> 	Data modified on freelist: word 3 of object 0xc2c2ad80 size 36 \
> 	previous type bar (0xce2bf63c != 0xdeadbeef)
> 
> Kernel from May  2 07:09 (UTC) shows it.  Apr 30 01:35 did not.
> 
> Any likely suspects?

Try building your kernel with 

options        DIAGNOSTIC
options        MALLOCLOG

and if you have lots of RAM to waste, it would be good to increase the
size of the dmesg buffer - MALLOCLOG can produce lots of output. I would
use
options                MSGBUFSIZE=1048576
Also, compile with makeoptions     DEBUG="-g" to aid any further
debugging.

Pavel