Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 11:55:52 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kai <kai@xs4all.nl>
Cc:        stable@freebsd.org
Subject:   Re: Fatal trap 12: page fault while in kernel mode
Message-ID:  <20070423155552.GB1006@xor.obsecurity.org>
In-Reply-To: <20070423153547.GD20155@xs4all.nl>
References:  <20070411105332.GC7847@xs4all.nl> <20070419123329.GA10189@xs4all.nl> <20070423153547.GD20155@xs4all.nl>

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

[-- Attachment #1 --]
On Mon, Apr 23, 2007 at 05:35:47PM +0200, Kai wrote:
> On Thu, Apr 19, 2007 at 02:33:29PM +0200, Kai wrote:
> > On Wed, Apr 11, 2007 at 12:53:32PM +0200, Kai wrote:
> > > 
> > > Hello all,
> > > 
> > > We're running into regular panics on our webserver after upgrading
> > > from 4.x to 6.2-stable:
> > 
> 
> Hi all,
> 
> To continue this story, a colleague wrote a small program in C that launches
> 40 threads to randomly append and write to 10 files on an NFS mounted
> filesystem. 
> 
> If I keep removing the files on one of the other machines in a while loop,
> the first system panics:
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 1; apic id = 01
> fault virtual address   = 0x34
> fault code              = supervisor read, page not present
> instruction pointer     = 0x20:0xc06bdefa
> stack pointer           = 0x28:0xeb9f69b8
> frame pointer           = 0x28:0xeb9f69c4
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 73626 (nfscrash)
> trap number             = 12
> panic: page fault
> cpuid = 1
> Uptime: 3h2m14s
> 
> Sounds like a nice denial of service problem. I can hand the program to
> developers on request.

Please send it to me.  Panics are always much easier to get fixed if
they come with a test case that developer can use to reproduce it.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGLNcIWry0BWjoQKURAkD+AKDu5NG+iAB8NxPfYyYGqB76SvhxVQCffMa/
8TLB5wrCMJusQNw3R+QqFHU=
=3k9X
-----END PGP SIGNATURE-----

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