Random processes hanging in unkillable state in -BETA6

Julian Elischer julian at elischer.org
Wed Sep 29 15:26:23 PDT 2004


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 at 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
>  
>



More information about the freebsd-current mailing list