Subject: Re: problems with 32bit kernels (continued)
To: None <bouyer@antioche.lip6.fr, eeh@netbsd.org>
From: None <eeh@netbsd.org>
List: port-sparc64
Date: 11/12/2001 19:13:27
| From bouyer@antioche.lip6.fr Mon Nov 12 18:11:51 2001
| Delivered-To: eeh@netbsd.org
| Date: Mon, 12 Nov 2001 19:11:48 +0100
| From: Manuel Bouyer <bouyer@antioche.lip6.fr>
| To: eeh@netbsd.org
| Cc: port-sparc64@netbsd.org
| Subject: Re: problems with 32bit kernels (continued)
| References: <20011112180325.21340.qmail@mail.netbsd.org>
| Mime-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Disposition: inline
| User-Agent: Mutt/1.2.5i
| In-Reply-To: <20011112180325.21340.qmail@mail.netbsd.org>; from eeh@netbsd.org on Mon, Nov 12, 2001 at 06:03:25PM -0000
|
| On Mon, Nov 12, 2001 at 06:03:25PM -0000, eeh@netbsd.org wrote:
| > 
| > | On Mon, Nov 12, 2001 at 05:52:34PM -0000, eeh@netbsd.org wrote:
| > | > It might be usefult to find out what instructions you have at 0100.8958 and 
| > | > 0115.5ebc.  From the looks of things something nasty has probably happened
| > | > to your stack.
| > |
| > | How can I do this ?
| > 
| > You can run gdb on the kernel and do:
| > 
| > gdb> x/i <addr>
|
| OK, no problems:
| (gdb) x/i 0x01155ebc
| 0x1155ebc <uvm_page_init_buckets+56>:   clr  [ %g2 + %o0 ]

Here it tried to store something somewhere.

| (gdb) x/i 0x01008958
| 0x1008958 <datafault+92>:       stx  %g1, [ %g6 + 0xc8 ]

Here the trap handler is trying to save the contect to the kernel
stack and failing.

I suppose I should test out a 32-bit kernel to be sure it still works....

Eduardo