Subject: Re: Panic while compiling libc
To: Xavier HUMBERT <xavier@xavhome.fr.eu.org>
From: Chuck Silvers <chuq@chuq.com>
List: current-users
Date: 10/24/2001 23:43:16
hi,

are you using "options NEWPMAP" in your kernel?
the old pmap and the new pmap have different bugs,
you might have better luck with the other one.

-Chuck


On Wed, Oct 24, 2001 at 05:31:58PM +0200, Xavier HUMBERT wrote:
> I had a panic while building libc :
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> [root@moria src]# make MKOBJDIRS=no build
> Build started at: Wed Oct 24 15:31:48 CEST 2001
> cd /usr/src/tools && make -m /usr/src/share/mk build
> build ===> binstall
> [... tons of output...]
> dependall ===> libc
> creating LintSysNormal.c
> [... tons of output...]
> /usr/obj/tools/bin/powerpc--netbsd-gcc -O2 -DALL_STATE -DUSG_COMPAT
>   -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
>  -Wno-uninitialized -Werror   -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS
>  -DSYSLIBC_SCCS  -D_REENTRANT -I/usr/src/lib/libc/include -DINET6
>  -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so
>  -I/usr/src/lib/libc/dlfcn -DWITH_RUNE -DRUNEMOD_MAJOR=3
>  -D_PATH_LOCALEMODULE=\"/usr/lib/runemodule\" -DRESOLVSORT -I.
>  -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT   -nostdinc -idirafter
>  //usr/include -c -fPIC -DPIC -DDLRUNE /usr/src/lib/libc/stdio/tmpnam.c
>  -o tmpnam.so
> 
> 
> panic: kernel diagnostic assertion "rv" failed: file
>     "../../../../uvm/uvm_pager_i.h", line 64
> 
> Stopped in pid 7 (aiodoned) act cpu_Debugger+0x10   lwz  r0,r1,0x14
> 
> The machine : Powermac 8500/120 80 MB RAM, latest kernel (built this
> morning with tonight's sup)
> 
> Any idea about this crash ?
> 
> Thanks,
> 
> -- 
> Xavier HUMBERT  -  Systemes et Reseaux     |     labo-info@injep.fr
> INJEP                                      |     humbert@injep.fr