panic: trying to sleep while sleeping is prohibited (from ttyinfo)

John Baldwin jhb at freebsd.org
Wed Oct 26 11:25:27 PDT 2005


On Tuesday 25 October 2005 07:09 pm, Ed Maste wrote:
> I just got this panic from my 7.0-CURRENT laptop (Thinkpad T20),
> cvsup'd as of Oct 11.  I was editing a file in vi at the time.
>
> -ed
>
> root at laptop# uname -a
> FreeBSD laptop 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Tue Oct 11 18:03:58 EDT
> 2005
> emaste_bsd-build.phaedrus.sandvine.com:/d2/emaste/head/obj/d2/emaste/head/s
>r c/sys/GENERIC  i386

Bah, this is my bug.  Looks like you hit Ctrl-T in non-X11.  Try the patch at 
www.freebsd.org/~jhb/patches/ttyinfo.patch  It reverts my changes to use the 
proctree sx lock in ttyinfo and expands use of the proc lock to address my 
earlier concerns that prompted me to use the proctree lock.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-current mailing list