Subject: re: -CURRENT memory management fault - core dumps
To: None <current-users@netbsd.org>
From: Caffeinate The World <mochaexpress@yahoo.com>
List: current-users
Date: 06/28/2001 06:23:29
since i reported all those coredumps and memory management faults, etc,
i went back and started building step by step. i've verified that it's
not libc as some people were saying on the list. after i 

  tar --unlink -xzpvf 

both base.tgz and comp.tgz from the 5/16 snap (for the Alpha), i did
the following:

cd /usr/src/usr.bin/make ; make includes && \
make dependall && make install && \
make cleandir

cd /usr/src/share/mk ; make install

cd /usr/src;make includes #till it bumps out with an error1

# maybe set CFLAGS=-DMAKE_BOOTSTRAP cause of the setprog.. error
cd /usr/src/lib/libc ; make includes && \
make MKLINT=no dependall && make install

cd /usr/src/usr.bin/xlint ; make includes && \
make dependall && make install

(cd /usr/src/usr.bin/compile_et && make && make install)
(cd /usr/src/usr.bin/yacc && make && make install)
(cd /usr/src/usr.bin/lex && make && make install)
(cd /usr/src/usr.sbin/config && make && make install)

(cd /usr/src && make includes)

# Prevents no previous prototype for 'gamma_r' error
(cd /usr/src/lib/libm && make CPPFLAGS=-D_REENTRANT && make install)

---cut---
at this point, my system is running fine. here is the libc:

# pwd && ls -l libc.so*
/usr/lib
lrwxr-xr-x  1 root  wheel       13 Jun 28 03:44 libc.so ->
libc.so.12.76
lrwxr-xr-x  1 root  wheel       13 Jun 28 03:44 libc.so.12 ->
libc.so.12.76
-r--r--r--  1 root  wheel  1378053 May 10 03:48 libc.so.12.62.1
-r--r--r--  1 root  wheel  1464097 Feb 25 03:19 libc.so.12.71
-r--r--r--  1 root  wheel  1826351 Jun 28 03:44 libc.so.12.76

that libc is from sup last night. at this point, if i were to go 'make
build' on the live system and have things installed to / instead of a
different DESTDIR, the system will eventually come to a state where
most of the daemons will start to core and some shell commands like
'ls', or 'telnet'.

if i remember correctly, the point at which things start to go wrong
was after the installation of libc.so. then it proceeded to go to
install something in /usr/libdata/lint. i believe it is to be one of
these files (most likely the llib-lc.ln):

-r--r--r--  1 root  wheel   47306 Jun 28 03:44 llib-lc.ln
-r--r--r--  1 root  wheel     269 Jun 27 20:04 llib-lcrypto_idea.ln
-r--r--r--  1 root  wheel     243 Jun 27 20:04 llib-lcrypto_rc5.ln
-r--r--r--  1 root  wheel    5003 Jun 27 18:24 llib-lform.ln
-r--r--r--  1 root  wheel     423 Jun 27 18:25 llib-lintl.ln
-r--r--r--  1 root  wheel    6201 Jun 28 03:47 llib-lposix.ln
-r--r--r--  1 root  wheel    3677 Jun 28 03:47 llib-lstdc.ln

i hope that will help you diagnose what the problem is. 

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/