From nobody@FreeBSD.org  Tue Dec 11 15:16:05 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 291A016A46C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Dec 2007 15:16:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 207E113C448
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Dec 2007 15:16:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBBFG09Y059013
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Dec 2007 15:16:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBBFG0o5059001;
	Tue, 11 Dec 2007 15:16:00 GMT
	(envelope-from nobody)
Message-Id: <200712111516.lBBFG0o5059001@www.freebsd.org>
Date: Tue, 11 Dec 2007 15:16:00 GMT
From: mike <mike@nux.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: page fault on shutdown/halt/reboot
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118551
>Category:       kern
>Synopsis:       [zfs] page fault on shutdown/halt/reboot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 11 15:20:02 UTC 2007
>Closed-Date:    Mon Jan 14 10:15:04 UTC 2008
>Last-Modified:  Mon Jan 14 10:15:04 UTC 2008
>Originator:     mike
>Release:        7.0-BETA4
>Organization:
nux
>Environment:
FreeBSD newbb.eros.office 7.0-BETA4 FreeBSD 7.0-BETA4 #1: Fri Dec  7 23:51:43 GMT 2007     mike@newbb.eros.office:/usr/obj/usr/src/sys/MW  i386
>Description:
I suspect this has something todo with zfs

newbb# cat /boot/loader.conf 
zfs_load="YES"

#vfs.zfs.arc_max="64M"

vm.kmem_size_max="600M"
vm.kmem_size="600M"

vfs.zfs.arc_max="104857600"
vfs.zfs.prefetch_disable="1"


newbb# cat info.4 
Dump header from device /dev/ad4s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 511893504B (488 MB)
  Blocksize: 512
  Dumptime: Tue Dec 11 13:15:17 2007
  Hostname: newbb.eros.office
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 7.0-BETA4 #1: Fri Dec  7 23:51:43 GMT 2007
    mike@newbb.eros.office:/usr/obj/usr/src/sys/MW
  Panic String: page fault
  Dump Parity: 1260758547
  Bounds: 4
  Dump Status: good


newbb# cat /usr/src/sys/i386/conf/MW 

cpu             I686_CPU
ident           MWGENERIC

# To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         # Default places to look for devices.

#makeoptions    DEBUG=-g                # Build kernel with gdb(1) debug symbols

options         SCHED_ULE
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         SCTP                    # Stream Control Transmission Protocol
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big directories
options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
options         MD_ROOT                 # MD is a potential root device
options         NFSCLIENT               # Network Filesystem Client
options         NFSSERVER               # Network Filesystem Server
options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
options         MSDOSFS                 # MSDOS Filesystem
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization
options         COMPAT_43TTY            # BSD 4.3 TTY compat [KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         COMPAT_FREEBSD6         # Compatible with FreeBSD6
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
options         STOP_NMI                # Stop CPUS using NMI instead of IPI
#options        AUDIT                   # Security event auditing

# To make an SMP kernel, the next two lines are needed
options         SMP                     # Symmetric MultiProcessor Kernel
device          apic                    # I/O APIC


The rest is the same as GENERIC
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@FreeBSD.org>
To: mike <mike@nux.co.uk>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/118551: page fault on shutdown/halt/reboot
Date: Tue, 11 Dec 2007 16:22:40 +0100

 mike wrote:
 
 So can you provide a kernel debug trace according to :
 http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html ?
 
 That, and include a ''dmesg -v'' so that we can see what  is going on.
 
 Thanks,
 remko
 
 -- 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
  X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Mon Jan 14 06:51:52 UTC 2008 
State-Changed-Why:  
Note that submitter was asked for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118551 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Jan 14 10:15:03 UTC 2008 
State-Changed-Why:  
The submitter is unable to reproduce this. Thanks for the feedback and 
using freebsd! 

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