From owner-freebsd-smp@FreeBSD.ORG Wed Aug 19 06:46:07 2009 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 71BCE106568B for ; Wed, 19 Aug 2009 06:46:07 +0000 (UTC) (envelope-from pramod@juniper.net) Received: from exprod7og124.obsmtp.com (exprod7og124.obsmtp.com [64.18.2.26]) by mx1.freebsd.org (Postfix) with ESMTP id 10B2F8FC41 for ; Wed, 19 Aug 2009 06:46:06 +0000 (UTC) Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob124.postini.com ([64.18.6.12]) with SMTP ID DSNKSoufrh3m1OqX5WYEqTWZjvDjANpVvfPz@postini.com; Tue, 18 Aug 2009 23:46:07 PDT Received: from EMBX02-HQ.jnpr.net ([fe80::18fe:d666:b43e:f97e]) by P-EMHUB01-HQ.jnpr.net ([fe80::fc92:eb1:759:2c72%11]) with mapi; Tue, 18 Aug 2009 23:30:29 -0700 From: Pramod Srinivasan To: "freebsd-smp@freebsd.org" Date: Tue, 18 Aug 2009 23:30:25 -0700 Thread-Topic: LOCK_PROFILING Thread-Index: AcoglokN+4qHdRDmDU+iz4PcxfL+iA== Message-ID: Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: LOCK_PROFILING 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, 19 Aug 2009 06:46:07 -0000 Hi Folks, I have a difficult problem I am stuck with, we had ported LOCK_PROFILING t= o FreeBSD 6.1 and is working fine on mips, but fails miserably on i386. Just enabling lock profiling by the sysctl causes the cpu to reset. root@bcdcpu3% sysctl debug.lock.prof.enable=3D1 debug.lock.pr? << cpu resets here Has any one seen similar issues? Any pointers on where to start debugging this issue? The suspicion is that the spin-lock is perhaps contributing to the problem, but have not been able to get to the bottom. Thanks, Pramod