From owner-freebsd-smp@FreeBSD.ORG Wed Aug 15 06:43:25 2007 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CC1216A46B for ; Wed, 15 Aug 2007 06:43:25 +0000 (UTC) (envelope-from sugarfreemonkey@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 9E48E13C45B for ; Wed, 15 Aug 2007 06:43:24 +0000 (UTC) (envelope-from sugarfreemonkey@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so851851nfb for ; Tue, 14 Aug 2007 23:43:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=eJR7GsFBBI+e+Oce5WHW58f5sDzRDwlL1qIbSW042TbZ1DW+obH2AXAIFSM+KGuhW6MkzjVT2nInWHA5qlWjxSdd0fzIbuDMDxGofQRyOzyvIG5SVDGaEyaLIf60ekO0i6yyAdcWY6AKtvrQsCM3RY34PIHmBWECWHRS8gbDlmM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=kYZUJHwWVTZQdiyYy7fI/dIcKgIuKaAafJ3GNZXSwb7r0McNmJ9Z4RydMDO5KHoIK+RhSf1l/ddEQWjS+72tgkkR/RC1Ez2+1WG0snLpDRipUvXPAo0ad3HkezHFzPsuGcHWS50p+o3ecX4grD11TJQH8lKtLe4k5uAo2IrH2bk= Received: by 10.78.172.20 with SMTP id u20mr35791hue.1187158542148; Tue, 14 Aug 2007 23:15:42 -0700 (PDT) Received: by 10.78.171.12 with HTTP; Tue, 14 Aug 2007 23:15:42 -0700 (PDT) Message-ID: <1fc8a2a60708142315w75cabe21tdd3738d32bcfa569@mail.gmail.com> Date: Wed, 15 Aug 2007 14:15:42 +0800 From: "Nex Mon" To: freebsd-smp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: questions on nonsleepable lock X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2007 06:43:25 -0000 Hello All, Can someone point me out or explain the technical details of this kernel panic: sleeping thread (tid 100093, pid 2676) owns nonsleepable lock panic: sleeping thread -- -- Is this caused by incorrect use of mutex or semaphores? Is this related to kernel scheduling? Can this be addressed at the user process? I've tried looking throught the freebsd mailing list archives and documentations but coudn't find a real good answer to solve or prevent this problem. Im using freebsd 6.1 with SMP enabled on a Xeon dual core hardware. The system has several busy applications running, But the load average is very minimal, around 8.55 and no process hogging the CPU. So I expect my system should be running smoothly without in problem. I appreciate any help. Thanks a lot, Mon