Date: Fri, 5 Jan 2007 13:15:28 +0000 From: Ceri Davies <ceri@submonkey.net> To: Robert Watson <rwatson@FreeBSD.org> Cc: stable@FreeBSD.org Subject: Re: (audit?) Panic in 6.2-PRERELEASE Message-ID: <20070105131528.GB7088@submonkey.net> In-Reply-To: <20070105120539.H46119@fledge.watson.org> References: <20070105111954.GA51511@submonkey.net> <20070105120539.H46119@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Fri, Jan 05, 2007 at 12:13:30PM +0000, Robert Watson wrote:
> On Fri, 5 Jan 2007, Ceri Davies wrote:
>
> >For the last two mornings, my system decided to panic() in the exact same
> >place. I have dumps from both but they almost exactly the same. Any
> >pointers on where to go next are welcomed.
> >
> >Here's the first, and I don't see much in there:
>
> In principle, kern_fstat() should not call audit_arg_auditon(), so either
> we're looking at a compile problem or at stack corruption. Am I correct in
> thinking that this is running on a cyrus server?
Correct.
> Much as I would love to
> trust the contents of ub there, I suspect they can't be trusted. Could you
> print the contents of *fp in kern_fstat() in both of those stacks? I'd
> particularly like to know the value of fp->f_type, and then depending on
> the type, possibly the contents of *(struct vnode *)fp->f_vnode for
> DTYPE_VNODE/TYPE_FIFO or *(struct socket *)fp->f_data in the case of
> DTYPE_SOCKET.
Can you tell me how to get at *fp given that the stack trace shows fstat()
and not kern_fstat()? Sorry if I'm being dumb but I don't know how to step
into the kern_fstat() call from fstat().
> >#7 0xc05cda7c in audit_arg_auditon () at /usr/src/sys/security/audit/audit_arg.c:586
> >#8 0xc04c470d in fstat (td=0xc2eeb180, uap=0xd610dc74) at /usr/src/sys/kern/kern_descrip.c:1075
Ceri
--
That must be wonderful! I don't understand it at all.
-- Moliere
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
iD8DBQFFnk9wocfcwTS3JF8RAhWfAJ9ARadsmsIULy/Xt5ccMoD5d0wZ4wCfeAcP
0dXwrJs78cBhH2rXc7VVEwg=
=Jl7z
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070105131528.GB7088>
