From owner-freebsd-current@FreeBSD.ORG Sun May 30 19:18:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 939AA16A4CE for ; Sun, 30 May 2004 19:18:41 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01CB243D41 for ; Sun, 30 May 2004 19:18:41 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Sun, 30 May 2004 22:18:37 -0400 Message-ID: From: Don Bowman To: 'Tim Robbins' , Don Bowman Date: Sun, 30 May 2004 22:18:34 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: "'current@freebsd.org'" Subject: RE: sysctl lock, system lockup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 02:18:41 -0000 From: Tim Robbins [mailto:tim@robbins.dropbear.id.au] > On Sun, May 30, 2004 at 04:35:55PM -0400, Don Bowman wrote: > > From: Don Bowman [mailto:don@sandvine.com] > > > On the console i ran 'top', but it wouldn't start, > > > giving: > > > > > > load: 0.00 cmd: top 4282 [sysctl lock] 0.00u 0.00s 0% 180k > > > > > > as the status. I can't ^C it, can't ssh in. > > > can still ping the device. > > > > > > It was doing a backgound fsck from an earlier hang. > > > > > > i have called panic from db, not sure if the core will > > > work properly or not. > > > > As a followup... i did get a vmcore, and matching kernel.debug, > > if someone can suggest what i might look @? > > print sysctllock (or just sysctllock.sx_xholder if you don't have a > serial console set up.) (kgdb) print sysctllock $1 = {sx_object = {lo_class = 0xc070dacc, lo_name = 0xc06ce43d "sysctl lock", lo_type = 0xc06ce43d "sysctl lock", lo_flags = 3866624, lo_list = { tqe_next = 0xc074f9e0, tqe_prev = 0xc0747ab0}, lo_witness = 0xc0751410}, sx_lock = 0xc0748e80, sx_cnt = -1, sx_shrd_cv = { cv_description = 0xc06ce43d "sysctl lock", cv_waiters = 0}, sx_shrd_wcnt = 0, sx_excl_cv = {cv_description = 0xc06ce43d "sysctl lock", cv_waiters = 9}, sx_excl_wcnt = 9, sx_xholder = 0xc8ee2150}