From owner-freebsd-current@FreeBSD.ORG Mon Nov 29 17:44:57 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9376106564A; Mon, 29 Nov 2010 17:44:57 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 87A488FC0A; Mon, 29 Nov 2010 17:44:56 +0000 (UTC) Received: by gxk8 with SMTP id 8so2325520gxk.13 for ; Mon, 29 Nov 2010 09:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=FtsmRck72laQJ9kgWoN1vp1cWhmh+ySgDYYAM1fk9qo=; b=s+CiCu159V8sfhif7MnysVT9YBtUvqZWGZctPpZzXG+8b6rJxC8XdnoJqgMXAwfkpt IMm+1FDFzHinw8tVAvNmeVB2ghEGs9Sm2w4X7uCKwi3J4y8y1r1ni+4F0N7S3osp/wM3 w4D3uY5HHx5VWojqJKm9KUnRmkl2qorYk9oKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=wK2jht25TnfTOfdVw674wpKFxKXEz8MHUFU+E5oXfGjuRXOr4hsRpBzHVXuuCldRNe WT36cL/u5ewB8cfe/xTLpn0wADTiE+8Vki78g7wds7930LHJ0/ysoXTb3vYn0Pwe4U9H GJHGLp0ZgnreqEPLgFhHBdgYPn3iKPLGARaOA= Received: by 10.223.108.147 with SMTP id f19mr5668203fap.68.1291052695323; Mon, 29 Nov 2010 09:44:55 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id e17sm1301404fak.34.2010.11.29.09.44.52 (version=SSLv3 cipher=RC4-MD5); Mon, 29 Nov 2010 09:44:53 -0800 (PST) Sender: Alexander Motin Message-ID: <4CF3E68C.4050300@FreeBSD.org> Date: Mon, 29 Nov 2010 19:44:44 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101104 Thunderbird/3.1.6 MIME-Version: 1.0 To: David Rhodus References: <201011291007.37044.jhb@freebsd.org> In-Reply-To: <201011291007.37044.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: panic: sched_priority: invalid priority 2906: nice 0, ticks 122865664 ftick 516947 ltick 517947 tick pri 2726 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 29 Nov 2010 17:44:58 -0000 On 29.11.2010 17:07, John Baldwin wrote: > On Friday, November 26, 2010 4:38:49 pm David Rhodus wrote: >> I hit this panic on my NFS server. >> >> -DR >> >> coke.fun dumped core - see /var/crash/vmcore.2 >> >> Fri Nov 26 14:50:48 UTC 2010 >> >> FreeBSD coke.fun 9.0-CURRENT FreeBSD 9.0-CURRENT #14 r215800: Wed Nov >> 24 12:35:30 UTC 2010 root@coke.fun:/usr/obj/usr/src/sys/GENERIC >> i386 >> >> panic: sched_priority: invalid priority 2906: nice 0, ticks 122865664 >> ftick 516947 ltick 517947 tick pri 2726 > > I ran the numbers and assuming a hz of 1000, this requires you to have a very > large value for ts_ticks (about (2726 * 24)<< 10). I suspect this is due to > sched_tick() being invoked for a long idle sleep combined with the eventtimer > changes. Can you go to frame 10 and 'p td->td_sched->ts_ticks'? As I can see, this is VirtualBox virtual machine. So it is still a question what side makes so large hole in sched_tick() on some CPUs. It could be interesting to get ktr(4) dump with KTR_SPARE2 mask: options KTR options ALQ options KTR_ALQ options KTR_ENTRIES=131072 options KTR_COMPILE=(KTR_SPARE2) options KTR_MASK=(KTR_SPARE2) -- Alexander Motin