NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-cobalt/46170: NetBSD/cobalt 6.0_BETA does not boot



The following reply was made to PR port-cobalt/46170; it has been noted by 
GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-cobalt/46170: NetBSD/cobalt 6.0_BETA does not boot
Date: Sat, 2 Nov 2013 18:09:23 +0000

 On Sat, Nov 02, 2013 at 01:50:00PM +0000, Ryo ONODERA wrote:
  >  root file system type: nfs
  >  pid 1(init): ABI set to O32 (e_flags=0x1007)
  >  Process (pid 1) got sig 11
  >  Process (pid 1) got sig 11
  >  [...]
 
 Blaaah...
 
 Is there any way to get it to print info about the signal 11, like in
 particular what the program counter was?
 
 Something like this patch might produce a bit more info; but if you
 have to burn a CD to try it, probably better to come up with a more
 complete patch that prints more info. (Such as, for example, a
 complete dump of the trapframe.)
 
 Index: sys/arch/mips/mips/trap.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/mips/mips/trap.c,v
 retrieving revision 1.235
 diff -u -p -r1.235 trap.c
 --- sys/arch/mips/mips/trap.c  19 Feb 2012 21:06:20 -0000      1.235
 +++ sys/arch/mips/mips/trap.c  2 Nov 2013 18:06:33 -0000
 @@ -469,6 +469,7 @@ trap(uint32_t status, uint32_t cause, va
                                ksi.ksi_code = SEGV_MAPERR;
                        }
                }
 +              printf("signal %d: epc 0x%x\n", ksi.ksi_code, pc);
                ksi.ksi_trap = type & ~T_USER;
                ksi.ksi_addr = (void *)vaddr;
                break; /* SIGNAL */
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index