Date: Sun, 19 Feb 2006 15:54:47 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Marius Strobl <marius@alchemy.franken.de> Cc: freebsd-sparc64@freebsd.org, Antoine Brodin <antoine.brodin@laposte.net> Subject: Re: sparc64/93226: DEBUG_LOCKS (really stack_save()) causes panics on sparc64 Message-ID: <20060219205447.GA67514@xor.obsecurity.org> In-Reply-To: <20060219125855.B53619@newtrinity.zeist.de> References: <200602131150.k1DBo6S1074438@freefall.freebsd.org> <200602131223.51561.jhb@freebsd.org> <20060213193613.547d1b8f.antoine.brodin@laposte.net> <200602131430.11228.jhb@freebsd.org> <20060213213719.7767921e.antoine.brodin@laposte.net> <20060214094744.A81690@newtrinity.zeist.de> <20060214205432.38121641.antoine.brodin@laposte.net> <20060216134823.S53619@newtrinity.zeist.de> <20060216184328.749c4454.antoine.brodin@laposte.net> <20060219125855.B53619@newtrinity.zeist.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 19, 2006 at 12:58:55PM +0100, Marius Strobl wrote: > On Thu, Feb 16, 2006 at 06:43:28PM +0100, Antoine Brodin wrote: > > Marius Strobl <marius@alchemy.franken.de> wrote: > > > Ok, how about the attached patch? It uses two pairs of dummy symbols > > > in exception.S to determine in stack_save() whether it was one of the > > > tl0_*() or tl1_*() asm functions; one pair for those in the .trap > > > section that is "magically" placed at the beginning of the .text > > > section via the linker script and the other pair for those in the > > > regular .text section. That way we don't rely on the location of > > > these functions in the kernel and don't have the performance penalty > > > of *search_symbol()/*symbol_values(). For consistency db_backtrace() > > > is changed to also use the new markers instead of bcmp()'ing with > > > the symbol names. > >=20 > > If this fixes the panic, that's excellent > >=20 >=20 > Yes, does :) Thanks for your help! Thanks for fixing! Kris --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+NsXWry0BWjoQKURAjstAKCmuZM5+MvlveTS9thh7QLIZ1DCDgCdECeR UI3EL07rITkw5Mt2EorWMJU= =tA8s -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060219205447.GA67514>