On 06-Feb-01 Crist J. Clark wrote:
> On Mon, Feb 05, 2001 at 02:51:59PM -0800, John Baldwin wrote:
>>
>> On 05-Feb-01 Crist J. Clark wrote:
>> > I don't recall reports of trouble with recent CURRENT, but my CVSup
>> > from yesterday afternoon is panicing. Before I try too debug this, has
>> > anyone been getting these or knows what I might be missing?
>> >
>> > Boot messages and the panic info are attached.
>>
>> Could you please turn on DDB, WITNESS, and INVARIANTS in your kernel and see
>> if
>> you can reproduce this? Also, compile the kernel with debug symbols. Then
>> type 'trace' at the db> prompt when it does to get a backtrace of where it
>> blew
>> up. Thanks.
>
> OK. The boot messages and debug output is attachment one, the kernel
> config is second. For the record, I have not made any changes to the
> kernel; fresh CVSup.
ARGH. The trap code is breaking this. We are getting a trap with interrupts
disabled because we have hit a bug while holding a spin mutex. The handy-dandy
trap code then enables interrupts for us which allows an interrupt to come in
and blow up recursing on sched_lock and obscuring the previous trap. That, and
it looks like ddb can't follow back through an interrupt trace properly. Can
you edit src/sys/i386/i386/trap.c and comment out the 'enable_intr()' with the
nasty comment above it about spin mutexes in trap():
/*
* We should walk p_heldmtx here and see if any are
* spin mutexes, and not do this if so.
*/
enable_intr();
}
Just comment out that enable_intr() and please try again. This should give you
a stack trace where the actual bug is. Thanks.
--
John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message