Date: Sat, 16 Oct 1999 12:46:02 -0400 (EDT) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Subject: Mucked Up Upgrade Message-ID: <199910161646.MAA07588@cc942873-a.ewndsr1.nj.home.com>
next in thread | raw e-mail | index | archive | help
I'm finally upgrading my primary workstation at the office from 2.2.8-STABLE to 3.3-STABLE. However, I've gotten the system into an interesting state and am a bit puzzled about what to do next. First, the machine being upgraded has /usr/src NFS mounted, /usr/obj is local on a removable SCSI HDD (Jaz). Since the 'make upgrade' procedure takes quite a long time, and I was not sure at all that it would go flawlessly (mostly worried about network burps), I made sure I got a successful 'make aout-to-elf-build' first. Well, I did that and then did the 'make aout-to-elf-install move-aout-libs' before leaving the office yesterday. But that did not work. I thought that a 'make world'-type procedure did _all_ of the work in the /usr/obj directory, but I found out that the kernel build portion of the process still uses /usr/src/compile. I did not have the NFS mount 'maproot' set for that possibility. So, the install died. Now I have been trying to restart it, but the kernel build keeps failing (output attached at the bottom). The problem seems to be that the 'aicasm' executable it is building is ELF, # file sys/compile/PC252/aicasm sys/compile/PC252/aicasm: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped But I am still running a a.out kernel, right? What the heck do I do now to recover my 2.2.8 or finish the 3.3 install? And how did I manage to screw this up? Thanks for any help. The install output: # make aout-to-elf-install move-aout-libs | & tee /var/log/upgrade .log ldconfig: Cannot open "/var/run/ld-elf.so.hints": No such file or directory -------------------------------------------------------------- Installing new boot blocks -------------------------------------------------------------- -------------------------------------------------------------- Building an elf kernel for PC252 using the new tools -------------------------------------------------------------- Removing old directory ../../compile/PC252: Done. Don't forget to do a ``make depend'' Kernel build directory is ../../compile/PC252 cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h ../../i386/i386/genassym.c cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h genassym.o -o genassym ./genassym >assym.s rm -f param.c cp ../../conf/param.c . sh ../../kern/vnode_if.sh ../../kern/vnode_if.src make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx Warning: Object directory not changed from original /usr/src/sys/compile/PC252 yacc -d ../../dev/aic7xxx/aicasm_gram.y mv y.tab.c aicasm_gram.c cc -O -pipe -I/usr/include -I. -c aicasm_gram.c lex -t ../../dev/aic7xxx/aicasm_scan.l > aicasm_scan.c cc -O -pipe -I/usr/include -I. -c aicasm_scan.c cc -O -pipe -I/usr/include -I. -c ../../dev/aic7xxx/aicasm.c cc -O -pipe -I/usr/include -I. -c ../../dev/aic7xxx/aicasm_symbol.c cc -O -pipe -I/usr/include -I. -o aicasm aicasm_gram.o aicasm_scan.o aicasm.o aicasm_symbol.o -ll ./aicasm -nostdinc -I- -I. -I../.. -I../../../include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq *** Signal 11 Stop. *** Error code 1 Stop. *** Error code 1 Stop. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910161646.MAA07588>