fa.netbsd.tech.kern
[Top] [All Lists]

Re: deadlocks, many processes in sleepq_block

Subject: Re: deadlocks, many processes in sleepq_block
From: Adam Hamsik
Date: Thu, 20 Sep 2007 22:16:11 UTC
Newsgroups: fa.netbsd.tech.kern


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sep 20, 2007, at 11:32 PM, Anthony Mallet wrote:

Andrew Doran writes:
| If you are running amd64 you'll need to compile the kernel with
| -fno-omit-frame-pointer. LOCKDEBUG and DIAGNOSTIC will help to track down
| the problem.

Actually DIAGNOSTIC triggered an assert:
mutex_owned(&l->l_swaplock) failed: file uvm/uvm_glue.c, line 482

I see that the last commit in this file is dated from Aug 18, which is
more or less the date at which I started to have trouble...

Since my kernel panic'ed, I was not able to use my keyboard to type
anything in ddb (it was still attached to the X session). I was able to
see the panic message by switching to VT1 before the panic.
Of course I have no serial line on this machine to run kgdb.

Any idea ? :)


AFAIK you can blindly type sync/reboot commands to console and
use crash dump for debug purposes.
-- Anthony

Regards
- -----------------------------------------
Adam Hamsik
jabber: haad@xxxxxxxxxx
icq: 249727910

Proud NetBSD user.

We program to have fun.
Even when we program for money, we want to have fun as well.
~ Yukihiro Matsumoto




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFG8u90lIxPgX3Go0MRAv17AKCXakDGQ5QsMhISjFmAkos14l0uRwCg6ktT
Gw71mIof6hG6DW6ET3RKpBg=
=BgiP
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>