From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 22:26:23 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 3AD4716A4CE for ; Wed, 29 Sep 2004 22:26:23 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F107043D39 for ; Wed, 29 Sep 2004 22:26:22 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 4F1F77A425; Wed, 29 Sep 2004 15:26:22 -0700 (PDT) Message-ID: <415B368D.3020506@elischer.org> Date: Wed, 29 Sep 2004 15:26:21 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Damian Gerow References: <20040927211341.GB30059@afflictions.org> <20040929040222.GI5115@afflictions.org> <415A3E1B.5010404@elischer.org> <20040929050154.GJ5115@afflictions.org> <415A6AE3.4050309@elischer.org> <415A6B8A.1040902@elischer.org> <20040929093723.GB29565@afflictions.org> <415B113A.1060508@elischer.org> <20040929215528.GH29565@afflictions.org> In-Reply-To: <20040929215528.GH29565@afflictions.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: Random processes hanging in unkillable state in -BETA6 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: Wed, 29 Sep 2004 22:26:23 -0000 It actually needs a *arg to be a valid ctor.. -ksegrp_init(void *mem, int size, int flags) +ksegrp_ctor(void *mem, int size, void *arg, int flags) Damian Gerow wrote: >Thus spake Julian Elischer (julian@elischer.org) [29/09/04 15:49]: >: EEEKKK! > >Always a good noise. > >: all the values of 7d000 are impossible.. in fact all the values in that >: column are >: "impossible". > >I'll have my machine committed to Bizzarro World immediately. > >: or we ahve a "leak" of opennings >: >: looking at the values and the fact that 7d000 appears in several of them >: I am suspicious that we didn't clear it properly at init. >: (goes to look at code..) >: hmmm yep i tlooks like htat might be it. >: >: try the following diff >: warning: cut'n'paste.. apply by hand. > >Failure to compile: > > cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs \ > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline \ > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. \ > -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica \ > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter \ > -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath \ > -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm \ > -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 \ > --param inline-unit-growth=100 --param large-function-growth=1000 \ > -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding \ > -Werror /usr/src/sys/kern/kern_thread.c > /usr/src/sys/kern/kern_thread.c: In function `threadinit': > /usr/src/sys/kern/kern_thread.c:373: warning: passing arg 3 of `uma_zcreate' from incompatible pointer type > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/dementia. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > - Damian > >