Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2004 09:10:33 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Thomas Moestl <t.moestl@tu-bs.de>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: "panic: trap: fast data access mmu miss" on 5.2-C
Message-ID:  <20040205171033.GA17574@xor.obsecurity.org>
In-Reply-To: <20040205143536.GA712@timesink.dyndns.org>
References:  <20040201105032.GA17856@xor.obsecurity.org> <20040201164950.GB713@timesink.dyndns.org> <20040205085409.GA12282@xor.obsecurity.org> <20040205143536.GA712@timesink.dyndns.org>

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

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

On Thu, Feb 05, 2004 at 03:35:36PM +0100, Thomas Moestl wrote:
> On Thu, 2004/02/05 at 00:54:09 -0800, Kris Kennaway wrote:
> > On Sun, Feb 01, 2004 at 05:49:50PM +0100, Thomas Moestl wrote:
> > > Looks like the back trace ran off the end of the stack;
> > > db_stack_trace_cmd() only handles the usual starting points of kernel
> > > stacks (traps from userland), but not freshly forked processes (or
> > > kernel threads). The attached patch should fix that by initializing
> > > the fr_pc and fr_fp fields of the first frame to 0 in cpu_fork().
>=20
> Did you get a witness backtrace ending in fork_trampoline() since?

I just checked, and one occurred overnight without panicking.

> > I'm getting another panic with this patch (transcribed manually):
> >=20
> > fast data access mmu miss tar=3D0 %o7=3D0xc0114a0c
> > copyin+0x5c
> > pipe_write+0x568
> > dofilewrite+0xec
> > write+0x3c
> > syscall+0x314
>=20
> Is it possible that this is caused by the bug which rwatson fixed in
> r1.166 of sys/sys_pipe.c (i.e. do you have r1.165 of that file)?

Oops, you're right.  I thought I had CVS updated again to rule this out.

Thanks,

Kris

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

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

iD8DBQFAInkJWry0BWjoQKURAqRlAKCMjVGPM4y+ju0t9KGmDgvY2btPFwCg046I
iKoKWJZ506ySPCrbJ8ykfKc=
=ivqV
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--



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