Subject: Re: panic during cross-build macppc-alpha (long) - PART 2
To: None <current-users@netbsd.org>
From: Michael G. Schabert <mikeride@mac.com>
List: current-users
Date: 01/09/2004 09:54:42
>Host machine:
>PowerMac 7300, 256MB RAM
>NetBSD powermac 1.6T NetBSD 1.6T (prez) #1: Tue Jun  3 19:08:03 UTC 
>2003  root@p
>owermac:/usr/obj/sys/arch/macppc/compile/prez macppc
>
>Host is netbooted, ofwboot.xcf and netbsd kernel gotten from DEC 
>Alpha, root local on sd0a, swap local on sd0b.
>
>DEC Alpha also nfs hosts /usr/src, /usr/destdir-alpha, 
>/usr/release-alpha & /usr/obj-alpha
>
>Alpha is running 1.6Z
>
>Used script to log output:

Ran again without the -j 5

===> build.sh command: ./build.sh -m alpha -D /usr/destdir-alpha -R 
/usr/release-alpha -O /usr/obj-alpha release


powermac# grep === buildoutput-1-8-2004-try-2.txt | tail -n 15
dependall ===> makewhatis
dependall ===> mkdep
dependall ===> mtree
dependall ===> rpcgen
dependall ===> tsort
dependall ===> uudecode
dependall ===> texinfo
install ===> texinfo
dependall ===> yacc
install ===> yacc
dependall ===> lex
install ===> lex
dependall ===> binutils
install ===> binutils
dependall ===> gcc


powermac# tail -n 15 buildoutput-1-8-2004-try-2.txt
if [ x"" != x ]; then  cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../g
nu/dist/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic 
/usr/src/too
ls/gcc/../../gnu/dist/gcc/libiberty/partition.c -o pic/partition.o;  else true;
fi
cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../gnu/dist/gcc/libiberty/.
./include  -W -Wall -Wtraditional -pedantic 
/usr/src/tools/gcc/../../gnu/dist/gc
c/libiberty/partition.c -o partition.o
if [ x"" != x ]; then  cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../g
nu/dist/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic 
/usr/src/too
ls/gcc/../../gnu/dist/gcc/libiberty/physmem.c -o pic/physmem.o;  else true; fi
cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../gnu/dist/gcc/libiberty/.
./include  -W -Wall -Wtraditional -pedantic 
/usr/src/tools/gcc/../../gnu/dist/gc
c/libiberty/physmem.c -o physmem.o
if [ x"" != x ]; then  cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../g
nu/dist/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic 
/usr/src/too
ls/gcc/../../gnu/dist/gcc/libiberty/pexecute.c -o pic/pexecute.o; 
else true; fi
cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../gnu/dist/gcc/libiberty/.
./include  -W -Wall -Wtraditional -pedantic 
/usr/src/tools/gcc/../../gnu/dist/gc
c/libiberty/pexecute.c -o pexecute.o
if [ x"" != x ]; then  cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../g
nu/dist/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic 
/usr/src/too
ls/gcc/../../gnu/dist/gcc/libiberty/safe-ctype.c -o pic/safe-ctype.o; 
else true
; fi
cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../gnu/dist/gcc/libiberty/.
./include  -W -Wall -Wtraditional -pedantic 
/usr/src/tools/gcc/../../gnu/dist/gc
c/libiberty/safe-ctype.c -o safe-ctype.o
if [ x"" != x ]; then  cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../g
nu/dist/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic 
/usr/src/too
ls/gcc/../../gnu/dist/gcc/libiberty/sort.c -o pic/sort.o;  else true; fi
cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../gnu/dist/gcc/libiberty/.
./include  -W -Wall -Wtraditional -pedantic 
/usr/src/tools/gcc/../../gnu/dist/gc
c/libiberty/sort.c -o sort.o
if [ x"" != x ]; then  cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../g
nu/dist/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic 
/usr/src/too
ls/gcc/../../gnu/dist/gcc/libiberty/spaces.c -o pic/spaces.o;  else true; fi
cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../gnu/dist/gcc/libiberty/.
./include  -W -Wall -Wtraditional -pedantic 
/usr/src/tools/gcc/../../gnu/dist/gc
c/libiberty/spaces.c -o spaces.o
if [ x"" != x ]; then  cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../g
nu/dist/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic 
/usr/src/too
ls/gcc/../../gnu/dist/gcc/libiberty/splay-tree.c -o pic/splay-tree.o; 
else true
; fi
cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../gnu/dist/gcc/libiberty/.
./include  -W -Wall -Wtraditional -pedantic 
/usr/src/tools/gcc/../../gnu/dist/gc
c/libiberty/splay-tree.c -o splay-tree.o
if [ x"" != x ]; then  cc -c -DHAVE_CONFIG_H -O -I. 
-I/usr/src/tools/gcc/../../g
nu/dist/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic 
/usr/src/too
ls/gcc/../../gnu/dist/gcc/libiberty/strerror.c -o pic/strerror.o; 
else true; fi

<there was actually a bit more on the screen, but aparently it didn't 
make it into the nfs-mounted 
/usr/src/buildoutput-1-8-2004-try-2.txt...one of the last things I 
saw on the screen was mkstemp (but not the error that was at the 
bottom of the tail in the last message...I think it was mkstemp.h or 
.o)>


Just below that on the screen was (hand-copied):
trap: kernel read DSI trap @ 0xd300e000 by 0x304fb8 (DSISR 0x40000000, err=14)
panic: trap
Stopped at netbsd:cpu_Debugger+0x10:	lwz		r0,	r1,	0x14
db>trace
db>t
db>bt
db>c
syncing disks... trap: kernel read DSI trap @ 0x7fa0005a by 0x238ff4 
(DSISR 0x40000000, err=14)
panic: trap
Stopped at netbsd:cpu_Debugger+0x10:	lwz		r0,	r1,	0x14
db>c
rebooting (flashed for an instant before rebooting)

So this time NetBSD was at least able to reboot itself, but it 
appears that it had nothing to do with the concurrent makes. I'm 
starting a build of macppc target now to see if cross-compilation is 
the issue or if I'll need to do a binary update before trying to 
build world.


Mike
-- 
Bikers don't *DO* taglines.