From owner-freebsd-current@FreeBSD.ORG Wed Sep 25 15:52:43 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 733445F0 for ; Wed, 25 Sep 2013 15:52:43 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog104.obsmtp.com (eu1sys200aog104.obsmtp.com [207.126.144.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C72182F14 for ; Wed, 25 Sep 2013 15:52:42 +0000 (UTC) Received: from mail-wg0-f43.google.com ([74.125.82.43]) (using TLSv1) by eu1sys200aob104.postini.com ([207.126.147.11]) with SMTP ID DSNKUkMGyQITzxMtaWYTNm+vjZacUyItBgL4@postini.com; Wed, 25 Sep 2013 15:52:42 UTC Received: by mail-wg0-f43.google.com with SMTP id z12so6220808wgg.34 for ; Wed, 25 Sep 2013 08:52:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to:in-reply-to; bh=0kw2/5S6NnH8ogjbbDlcmqf2U8ZBnPDkTOISI+MOlBU=; b=NshcOLdSFEEbdThXPPhxBGOsS3gg/I0PF3MVi7+TlmS/opz6rtnTPcaavqssrZ5QDf oSj4JSul7l/px+XAhBY/6B05BGk39B8MpcGAfXHgY7bZhGLa5L3+kC2Zc/Iq1WJOJQbP zWMf/wudu6dVLvGKOe4QvIWQY4nPs6BMwQSHgS95aPl5Xb3Ow+p927UImmwBV2QCbWnn rdEkS0uYS8k0IdM+gbG8G4N5wk8cDWRrgyI1PAOQpIewUrByhXbU9O0XC4F+KrQGsmUn xQudW5mIaoNsOT8ov4Zm4AS2amTvuXrWhs+P2BsQwHl0G0EUqcoRG5kA6nSV+kPMr6cw lKAw== X-Received: by 10.194.71.72 with SMTP id s8mr2223890wju.52.1380123058225; Wed, 25 Sep 2013 08:30:58 -0700 (PDT) X-Gm-Message-State: ALoCoQlO+q/cMSB3F+EUFMFfPdBydIC3U53gAQePhyfVP2hDQ/Jz0ref03vBNKRhnaU5VsqJl7umSAcSiK7024vG0tCAIUzC2huUFlV2pmLM+Rj2y2FcIIN/EHd6rPsSfyoj9L31Qa368Qq4vws/e0auwRQW+BIpK7GFEWTdyrLjsIUHl3BNxTE= X-Received: by 10.194.71.72 with SMTP id s8mr2223881wju.52.1380123058160; Wed, 25 Sep 2013 08:30:58 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id i8sm19020546wiy.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Sep 2013 08:30:57 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r8PFUtrC002714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 25 Sep 2013 16:30:55 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r8PFUtMG002713; Wed, 25 Sep 2013 16:30:55 +0100 (BST) (envelope-from mexas) Date: Wed, 25 Sep 2013 16:30:55 +0100 (BST) From: Anton Shterenlikht Message-Id: <201309251530.r8PFUtMG002713@mech-cluster241.men.bris.ac.uk> To: davide.italiano@gmail.com, mexas@bris.ac.uk Subject: Re: panic: ia64 r255811: deadlkres: possible deadlock detected for 0xe000000012d07b00, blocked for 902743 ticks In-Reply-To: Cc: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 15:52:43 -0000 >From davide.italiano@gmail.com Wed Sep 25 16:12:47 2013 > >Can you please paste the output of 'show locks', 'show alllocks', >'show lockedvnods' at least? >Ideally you should provide all the informations listed here. >http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-deadlocks.html ok, I'll need to study this. I've in the kernel: # Debugging support. Always need this: options KDB # Enable kernel debugger support. options KDB_TRACE # Print a stack trace for a panic. # For full debugger support use (turn off in stable branch): options DDB # Support DDB options GDB # Support remote GDB options DEADLKRES # Enable the deadlock resolver options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones so I'm missing DEBUG_LOCKS, DEBUG_VFS_LOCKS and DIAGNOSTIC from the handbook list. What about all debug options in GENERIC which are not mentioned in your link? Specifically, do I need to have DEADLKRES? I've never used trace. Also, I'm getting a panic, so cannot run ps, I think. Thanks Anton