Date: Wed, 27 Jun 2001 19:11:03 -0700 From: Daniel Jacobowitz To: Linux PPC Dev Subject: Re: addresses in xmon trace output? Message-ID: <20010627191103.A27680@nevyn.them.org> References: <20010628120346.A627@wibble.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20010628120346.A627@wibble.net>; from sjh@svana.org on Thu, Jun 28, 2001 at 12:03:46PM +1000 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: On Thu, Jun 28, 2001 at 12:03:46PM +1000, Steven Hanley wrote: > > All > > what are the addresses you see in an xmon trace output? I had a crash > yesterday with benh 2.4.6-pre3 (rsynced two days ago) where typing x in xmon > didnt recover normal operation of the machine. > > So the T command seemed to give some interesting numbers I assumed were > addresses in the system map I could look up once I rebooted. > > [11:35:34] 22 shiva sjh ~>cat mon_crash > c67b2098 c00e1bd8 c00e1080 c011f9df c00de590 c00de7ec c003b6a4 c0003b3c > exception:c00 [c67a1e90] fe0f640 feeff40 feeff44 fecef4f4 fecfd4c feca62c feaaab8 10001808 fd9675c 0 > [11:35:47] 23 shiva sjh ~>for i in c67b2098 c00e1bd8 c00e1080 c011f9df c00de590 c00de7ec c003b6a4 c0003b3c ; do grep -i $i /boot/System.map-2.4.6-pre3 ; done > c0003b3c T ret_from_syscall_1 > [11:36:25] 24 shiva sjh ~>for i in fe0f640 feeff40 feeff44 fecef4f4 fecfd4c feca62c feaaab8 10001808 fd9675c ; do grep -i $i /boot/System.map-2.4.6-pre3 ; done > [11:37:18] 25 shiva sjh ~>grep c67a1e90 /boot/System.map-2.4.6-pre3 > [11:37:34] 26 shiva sjh ~> > > so they are not addresses in there (well except possibly for the > ret_from_syscall_1 They're addresses all right. System.map lists the beginning of each function; those addresses will be somewhere in the middle. It's sorted; find the closest match before each. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/