misc/166340: Process under FreeBSD 9.0 hangs in uninterruptable sleep with apparently no syscall (empty wchan)

Kostik Belousov kostikbel at gmail.com
Fri Mar 23 23:00:30 UTC 2012


The following reply was made to PR misc/166340; it has been noted by GNATS.

From: Kostik Belousov <kostikbel at gmail.com>
To: bug-followup at FreeBSD.org, christian.esken at trivago.com, avg at freebsd.org
Cc:  
Subject: Re: misc/166340: Process under FreeBSD 9.0 hangs in uninterruptable
 sleep with apparently no syscall (empty wchan)
Date: Sat, 24 Mar 2012 00:54:03 +0200

 Please, attach the kgdb to the running system when the process hang
 with the '-' wchan.
 Use the command like "kgdb /boot/kernel/kernel.symbols /dev/mem".
 
 Then, run the shell command ps -o pid,paddr | grep <pid> where pid is
 the pid of the hung
 process. Take the printed address A and, from kgdb, do:
 p *(struct proc *)A
 p/x *(((struct proc *)A)->p_threads.tqh_first)
 and show us the output.


More information about the freebsd-bugs mailing list