Subject: exec call to init ends in trap, Process (pid 1) got signal 11
To: None <port-powerpc@NetBSD.org>
From: netbsd <netbsd@scentech.ch>
List: port-powerpc
Date: 04/24/2004 12:03:54
Hi

after the kernel has been initialized /sbin/init is called. But with my 
setup the exec call to /sbin/init ends in a trap.

-how can i debug/find out where in the code the trap occurs?

tanks for any hints

Stefan

console output:
avail_end 2810000
availmemr[0].start 366000
availmemr[0].size 249a000
[ netbsd ELF symbol table not valid ]
[ no symbol table formats found ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
   The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
   The Regents of the University of California.  All rights reserved.

NetBSD 1.6.2 (USP) #29: Fri Apr 23 13:50:25 CEST 2004
   stefan@toppi:/usr/cvs/src-1-6-2/sys/arch/usp/compile/USP
total memory = 40960 KB
avail memory = 33660 KB
using 537 buffers containing 2148 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 2.3), ID 0 (primary)
cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0: 400.00 MHz
cpu0: L2 cache not enabled
pci0 at mainbus0 bus 0
pci0: i/o space, memory space enabled
vendor 0x1057 product 0x0004 (host bridge, revision 0x13) at pci0 dev 0
function
0 not configured
vendor 0x104c product 0xac19 (CardBus bridge) at pci0 dev 27 function 0
not conf
igured
vendor 0x104c product 0xac19 (CardBus bridge) at pci0 dev 27 function 1
not conf
igured
vendor 0x10b5 product 0x9054 (miscellaneous bridge, revision 0x0a) at
pci0 dev 2
8 function 0 not configured
biomask 0 netmask 0 ttymask 0
md0: internal 2048 KB image area
boot device: <unknown>
root on md0a dumps on md0b
WARNING: clock time much less than file system time
WARNING: using file system time
WARNING: CHECK AND RESET THE DATE!
root file system type: ffs
scheduler: running, procp 0x0 pri -2147483648
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
Process (pid 1) got signal 11
Process (pid 1) got signal 11
Process (pid 1) got signal 11
...

environment:
CPU ppc 750, 400MHz, 64MB RAM, Flashdisk
Netbsd 1.6.2, based on the sandpoint build