Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2007 16:36:03 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Kris Kennaway <kris@freebsd.org>
Cc:        kib@freebsd.org, sparc64@freebsd.org
Subject:   Re: trap from DEBUG_LOCKS
Message-ID:  <20071105143603.GS37471@deviant.kiev.zoral.com.ua>
In-Reply-To: <472DF090.8070904@FreeBSD.org>
References:  <472DF090.8070904@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Tdr039sUWCyRuLRO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 04, 2007 at 05:17:20PM +0100, Kris Kennaway wrote:
> The insta-panic at boot on sparc64 with RELENG_7 seems to be fixed, but=
=20
> at the point when it mounts root I get the following panic when=20
> DEBUG_LOCKS is enabled:
>=20
> panic: trap: memory address not aligned
> cpuid =3D 9
> KDB: enter: panic
> [thread pid 1 tid 100006 ]
> Stopped at      kdb_enter+0x68: ta              %xcc, 1
> db> wh
> Tracing pid 1 tid 100006 td 0xfffff800020709c0
> panic() at panic+0x204
> trap() at trap+0x56c
> -- memory address not aligned sfar=3D0xe2f47c27 sfsr=3D0x40029 %o7=3D0xc0=
3cd524 --
> stack_save() at stack_save+0x18
> _lockmgr() at _lockmgr+0x4c
> vfs_busy() at vfs_busy+0x1d4
> vfs_mount_alloc() at vfs_mount_alloc+0x58
> vfs_mountroot() at vfs_mountroot+0x2e4
> start_init() at start_init+0x58
> fork_exit() at fork_exit+0x9c
> fork_trampoline() at fork_trampoline+0x8

Could you, please, show me the content of the registers and disassembly
for the stack_save() ? (Last time I looked into sparc64 assembly, was 3
years ago).

--Tdr039sUWCyRuLRO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHLypRC3+MBN1Mb4gRArj9AKCaHuQc9sP+1u7OYtnD6H2zlfYIHwCfT1Mv
pd29tfx2/1nlIim9jpAwLXU=
=joOl
-----END PGP SIGNATURE-----

--Tdr039sUWCyRuLRO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071105143603.GS37471>