From owner-freebsd-stable@FreeBSD.ORG Sun Jul 26 14:36:46 2009 Return-Path: Delivered-To: FreeBSD-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28F87106566B for ; Sun, 26 Jul 2009 14:36:46 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 7F0B78FC14 for ; Sun, 26 Jul 2009 14:36:45 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fxm25 with SMTP id 25so373611fxm.43 for ; Sun, 26 Jul 2009 07:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=9CLbcU5XFO0ENF9Ekb3w3LRHFTToNpB5jqCb9ARU1C8=; b=U2QOaQCK6FhOkfRMh49r13uWzsX3hfVZXndrBUSHGIdsXCvhWyaHnJuz4qpdctRmD3 vrwrtBxyCazWW5dm6MMTihz4u0Ee1PqiBPMOotvmV/jDQ/Ipwu6lqQXunX4HC/jTThd5 RWV76ocxwHcjs4dLw5TmX8v48bWaGDdaGm67g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=CtRXRdvVgmhmCfLW7JCNglpbCta5oCfBMox/ez1K21B51QXEzxQL7skJMG5MJ/7hs9 IlloyhGYBx3wsfqRhQIyVx+99KaEMm6HQGvrUf23YuxOKOu8bPwxLM8OBiY3HgflMgp8 uzGTRiIBlP9cOmCiMWEGFIHjEp/HHAW09QlT4= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.123.210 with SMTP id q18mr2235408far.63.1248619004629; Sun, 26 Jul 2009 07:36:44 -0700 (PDT) In-Reply-To: References: Date: Sun, 26 Jul 2009 16:36:44 +0200 X-Google-Sender-Auth: 79e35d9b93d00f3d Message-ID: <3bbf2fe10907260736j3182af26v5346a4d9d2df2a84@mail.gmail.com> From: Attilio Rao To: barbara Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD-stable , bug-followup Subject: Re: kern/134584: [panic] spin lock held too long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2009 14:36:46 -0000 2009/7/26 barbara : > It happened again, on shutdown. > As the previous time, it happened after a high (for a desktop) uptime and, if it could matter, after running net-p2p/transmission-gtk2 for several hours. > I don't know if it's related, but often quitting transmission, doesn't terminate the process. Sometimes it end after several minutes the gui exited, sometimes it's still running after hours. > I've noticed it as the destination folder is on a manually mounted device and I can't umount it as fstat reports the device used by a transmission process. > So I often have to kill it. > This happened both the time I had this kind of panic. Can you try to reproduce it with WITNESS and *without* WITNESS_SKIPSPIN? I would need to look at "show alllocks" and possibily "ps" because it seems that the lock owner is preempted but it should not happen while holding a spinlock (unless the acquired spinlock is the one in the preempting path, in this case thought it should drop inside sched_switch() and we can try to understand why that doesn't happen). Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein