Subject: Re: deadlocks, many processes in sleepq_block
To: None <tech-kern@NetBSD.org>
From: Anthony Mallet <anthony.mallet@laas.fr>
List: tech-kern
Date: 09/20/2007 18:14:20
Andrew Doran writes:
| Sounds like a classic deadlock :-)

Good to know :)

| Can you get backtraces from the hung LWPs - not processes? Do 'ps/l' which
| will show you all the LWPs in the system, then one by one pass the LWP
| addresses of the hung threads to 't/a'.

I'll do that and report the results.

| 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.

It's an i386 kernel. DIAGNOSTIC didn't reveal anything, I'll recompile
with LOCKDEBUG enabled.

Thanks!

-- Anthony