kern/70562: Fatal Trap 12 in kernel mode from samba3 with QUOTA support

William D. Colburn wcolburn at nmt.edu
Mon Aug 16 22:40:26 PDT 2004


>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 at 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:


More information about the freebsd-bugs mailing list