From owner-freebsd-current@FreeBSD.ORG Tue Oct 12 14:22:10 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 B8E6B1065670 for ; Tue, 12 Oct 2010 14:22:10 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 86EB08FC0A for ; Tue, 12 Oct 2010 14:22:10 +0000 (UTC) Received: by pzk33 with SMTP id 33so944081pzk.13 for ; Tue, 12 Oct 2010 07:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=4HHHRYfzVQ+n+lpJLa+kc8EEFHaAQbb870nDUpwEoYM=; b=jWKZBNtlsqsKiXsRK28BGwkmn7FsPAyM64c/n1tR/XQ7BH6C1ECvAK6WYMYKzl+akZ QBdAG1ac0p15zgM1Jv/BfkKn788C/f1Sbxah2AIA6zVj8DrQYrE6C5d+9eHEuA1kXwCM jF9pQ1nRy5wOcIMeDldAZk52FLoO7LRRBQAcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Lfp6EZmB41QDVHIhhMksTXEp3vudNC13tCD2+F+hEiUK/nAeQIWKxFA969GxlKvaGs V/VtxHV0SOuTiPJkN0o8WM/26e6UQ+GApy8oI31TNvW57zAXid5LWQ8FtoQqHMxFcrcF dIu8KKKX39pjKehD1iCbQae/FCN2jd3UE6y2o= MIME-Version: 1.0 Received: by 10.114.58.19 with SMTP id g19mr8642998waa.73.1286893330109; Tue, 12 Oct 2010 07:22:10 -0700 (PDT) Received: by 10.220.178.1 with HTTP; Tue, 12 Oct 2010 07:22:10 -0700 (PDT) In-Reply-To: <4CB42D3D.1050509@freebsd.org> References: <4CB42D3D.1050509@freebsd.org> Date: Tue, 12 Oct 2010 14:22:10 +0000 Message-ID: From: Paul B Mahol To: David Xu Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: panic on kthread_exit under INVARIANTS 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: Tue, 12 Oct 2010 14:22:10 -0000 On 10/12/10, David Xu wrote: > Paul B Mahol wrote: >> Hi, >> >> If kernel threads were created via kproc_kthread_add() >> when last kernel thread exits it will trigger panic. >> >> It panics in queue.h .... probably introduced with rec > > > I have committed a patch, can you try it ? > http://svn.freebsd.org/changeset/base/213714 Yes, panic doesn't happen any more.