From wcolburn@nmt.edu  Tue Aug 17 05:39:19 2004
Return-Path: <wcolburn@nmt.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 384C316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Aug 2004 05:39:19 +0000 (GMT)
Received: from mailhost.nmt.edu (mailhost.NMT.EDU [129.138.4.52])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E8D4D43D5D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Aug 2004 05:39:14 +0000 (GMT)
	(envelope-from wcolburn@nmt.edu)
Received: from icewing.nmt.edu (icewing.nmt.edu [129.138.4.102])
	by mailhost.nmt.edu (8.13.0/8.13.0) with ESMTP id i7H5dD1f032244
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Aug 2004 23:39:13 -0600
Received: from icewing.nmt.edu (localhost [127.0.0.1])
	by icewing.nmt.edu (8.12.8/8.12.8) with ESMTP id i7H5dEYe004130
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Aug 2004 23:39:14 -0600
Received: (from wcolburn@localhost)
	by icewing.nmt.edu (8.12.8/8.12.8/Submit) id i7H5dD6A004128
	for FreeBSD-gnats-submit@freebsd.org; Mon, 16 Aug 2004 23:39:13 -0600
Message-Id: <20040817053913.GA4114@nmt.edu>
Date: Mon, 16 Aug 2004 23:39:13 -0600
From: "William D. Colburn" <wcolburn@nmt.edu>
Reply-To: "William D. Colburn" <wcolburn@nmt.edu>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Fatal Trap 12 in kernel mode from samba3 with QUOTA support
X-Send-Pr-Version: 3.113

>Number:         70562
>Category:       kern
>Synopsis:       Fatal Trap 12 in kernel mode from samba3 with QUOTA support
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 17 05:40:26 GMT 2004
>Closed-Date:    Sun Sep 05 06:56:20 GMT 2004
>Last-Modified:  Sun Sep 05 06:56:20 GMT 2004
>Originator:     William D. Colburn (aka Schlake)
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
New Mexico Institute of Mining and Technology
>Environment:
System: FreeBSD newuserhost.nmt.edu 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Sat Aug 14 16:55:45 MDT 2004 wcolburn@newuserhost.nmt.edu:/usr/obj/usr/src/sys/USERHOST i386


A Del 2650, running FreeBSD 5.2.1, with current everything (from today)
via cvsup.  The kernel config is a copy of GENERIC with "ident" changed
to "USERHOST" and "options QUOTA" added.  The samba compile is standard
(with QUOTA enabled).

>Description:
If a user logs into a Windows XP box connected to the samba server then
the machine panics.

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x8
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0689c0f
stack pointer           = 0x10:0xec926c70
frame pointer		= 0x10:0xec926ce4
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		= 870 (smbd)
trap number		= 12
panic: page fault
cpuid = 0;
boot() called on cpu#0

>How-To-Repeat:

Compile a kernel with QUOTA, install samba with QUOTA, try logging in to
a windows box connected to the samba server.  The filesystem that samba
is accessing is not a filesystem with quotas enabled, but we haven't
tested yet to see if that matters.

>Fix:

Turning off QUOTA in samba seems to stabilize it.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tjr 
State-Changed-When: Sun Sep 5 06:53:18 GMT 2004 
State-Changed-Why:  
Fixed in -current. For more information, see: 
http://docs.freebsd.org/cgi/mid.cgi?5j1ph0pdod0dnjefu1tpsj4vo2pvqv3uom 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70562 
>Unformatted:
