Subject: Re: crash dump failing on machine with 4GB
To: Juan RP <juan@xtrarom.org>
From: Chris Ross <cross+netbsd@distal.com>
List: port-sparc64
Date: 09/28/2007 17:11:02
On Sep 28, 2007, at 17:02, Juan RP wrote:
>> dumping to dev 7,1 offset 4310231
>> dump panic: kernel diagnostic assertion "c->c_magic == CALLOUT_MAGIC"
>> failed: file "/data/NetBSD/src/sys/kern/kern_timeout.c", line 427
>> cpu0: kdb breakpoint at 1419e80
>
> If you get that assert it's probably because the callout(9) hasn't
> been initialized via callout_init (this one sets c_magic to  
> CALLOUT_MAGIC).
>
> I don't see any callout_init() in sys/dev/ic/esiop*, should it be
> initialized in other place?

   Well, as this is xs_callout, in a scsipi_xfer struct, I assume  
it's initialized in
scsipi_base.  There's a callout_init for xs_callout there.  I'm not  
sure how to
tell is the scsipi_xfer struct that's being referenced inside of  
callout_stop()
is initialized correctly, or refers to anything...

                          - Chris