From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 17 05:40:26 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AAE016A4CF for ; Tue, 17 Aug 2004 05:40:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E9EB43D5A for ; Tue, 17 Aug 2004 05:40:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7H5eQ9O055234 for ; Tue, 17 Aug 2004 05:40:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7H5eQwQ055233; Tue, 17 Aug 2004 05:40:26 GMT (envelope-from gnats) Resent-Date: Tue, 17 Aug 2004 05:40:26 GMT Resent-Message-Id: <200408170540.i7H5eQwQ055233@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "William D. Colburn" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 384C316A4CE for ; 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 ; 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 ; 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 ; 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" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/70562: Fatal Trap 12 in kernel mode from samba3 with QUOTA support X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "William D. Colburn" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 05:40:26 -0000 >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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 17 05:40:26 GMT 2004 >Closed-Date: >Last-Modified: >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: >Unformatted: