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

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 26 Oct 2005 13:59:19 -0400
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
Received on Wed Oct 26 2005 - 16:25:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC