Date: Thu, 5 Apr 2001 19:06:42 -0500 From: anarcat <anarcat@tao.ca> To: stable@freebsd.org Subject: Re: Spontaneous reboot, no panic. Recovering from a crash. Message-ID: <20010405190642.A28337@dojo> In-Reply-To: <20010404231722.A25165@dojo>; from anarcat on Wed, Apr 04, 2001 at 23:17:23 -0500 References: <20010404231722.A25165@dojo>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi again.
I'm having a lot of problems recovering from last night's crash.
I tried to make the world again to fix any possible data corruption.
The first attempt (make buildworld after a fresh cvsup) stopped at:
===> gnu/usr.bin/man/makewhatis
"/etc/objformat", line 0: Cannot open /etc/objformat
make: fatal errors encountered -- cannot continue
*** Error code 1
Stop in /usr/src/gnu/usr.bin/man.
*** Error code 1
Stop in /usr/src/gnu/usr.bin.
*** Error code 1
Stop in /usr/src/gnu.
I don't understand what this means. The file is perfectly normal.
anarcat@shall [anarcat]$ cat /etc/objformat
OBJFORMAT=elf
anarcat@shall [anarcat]$
Also note that I have been able to successfully rebuild and install man
subsequently (sp?) using cd make && make install ...
I decided to make a new cvsup. Which did not update any file. Very well,
let's try make buildworld again:
cc -O -pipe -march=pentium -I. -DIN_GCC -DHAVE_CONFIG_H
-DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c
In file included from
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c:22:
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/system.h:440:
warning: `S_ISFIFO' redefined
/usr/include/sys/stat.h:190: warning: this is the location of the
previous definition
In file included from
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c:22:
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/system.h:473:
unbalanced `#endif'
*** Error code 1
Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1
Then I try to rm -rf /usr/obj, no luck there either, same error as last.
Now I'm really wondering what's going on.
I haven't been able to build a kernel either:
mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls ...
param.c vnode_if.c config.c ../../i386/i386/genassym.c
In file included from ../../sys/vnode.h:517,
from ../../kern/imgact_aout.c:44:
vnode_if.h:899: unterminated macro call
In file included from ../../sys/vnode.h:517,
from ../../kern/imgact_elf.c:53:
vnode_if.h:899: unterminated macro call
In file included from ../../sys/vnode.h:517,
from ../../kern/init_main.c:57:
vnode_if.h:899: unterminated macro call
In file included from ../../sys/vnode.h:517,
from ../../kern/kern_linker.c:44:
vnode_if.h:899: unterminated macro call
vnode_if.h:1424: macro `__P' used with too many (39) args
vnode_if.h:1438: macro `VDESC' used with too many (13) args
vnode_if.h:1444: macro `VCALL' used with too many (25) args
vnode_if.h:1460: macro `__P' used with too many (21) args
vnode_if.h:1472: macro `VDESC' used with too many (10) args
....
vnode_if.h:1981: macro `__P' used with too many (94) args
vnode_if.h:2001: macro `VDESC' used with too many (15) args
vnode_if.h:2013: macro `VCALL' used with too many (27) args
In file included from ../../sys/vnode.h:517,
from ../../kern/kern_ktrace.c:47:
vnode_if.h:899: unterminated macro call
vnode_if.h:1288: unterminated string or character constant
vnode_if.h:1288: unterminated string or character constant
vnode_if.h:1288: unterminated string or character constant
shall#
I anyone has any idea, his guess is as good as mine.
My next step is to burn a RC image and try an upgrade procedure which
would be a very big PITA.
Or simply a backup and an install over (without touching /u :)...
thanks for any hint
A.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjrNCJEACgkQ7uV99pHLOSKDuQCfWkuSGEKKZpzcx8lP4mri0/pl
1JwAmwQYzv27qJygnP/WnHs44jir5rO9
=yAvm
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010405190642.A28337>
