From owner-freebsd-questions@FreeBSD.ORG Fri Feb 10 17:15:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E1A31065672 for ; Fri, 10 Feb 2012 17:15:03 +0000 (UTC) (envelope-from ryanrfrederick@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2E6948FC13 for ; Fri, 10 Feb 2012 17:15:03 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so5454521obc.13 for ; Fri, 10 Feb 2012 09:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=YKb7pLCT6xBSmKnbaemLmqczM+rGWw7OuA/S7EmG3Bk=; b=NY/JsMu+YtoFS6TrGCodJpJmPuf9m7M0WEuoaNORveuLJT7O81/NWRiwFacLdAnmJ8 dMhsICbURjusSzg3pr598z39jfua8RwpNXNWa2Q9aXGzzKbCVpQSS06gdG4dfBkJsVCM /WzjiGA5qu7e6FmDjLk1HDqL/bMnNHZVxDfUU= Received: by 10.50.179.8 with SMTP id dc8mr5189865igc.19.1328892220654; Fri, 10 Feb 2012 08:43:40 -0800 (PST) Received: from [139.78.2.36] (bofh.it.okstate.edu. [139.78.2.36]) by mx.google.com with ESMTPS id x18sm12670843ibi.2.2012.02.10.08.43.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 10 Feb 2012 08:43:40 -0800 (PST) Message-ID: <4F35493A.8040705@gmail.com> Date: Fri, 10 Feb 2012 10:43:38 -0600 From: Ryan Frederick User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel Panic on 9.0-RELEASE When Attempting to Remove Files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 17:15:03 -0000 I'm attempting to remove a number of old files within a directory that was rsynced over from another box. However a number of files (old symlinks and regular files in this instance) cause a kernel panic when attempting to remove them using rm or unlink. This is the panic message output: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x160 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff81476306 stack pointer = 0x28:0xffffff811aacf880 frame pointer = 0x28:0xffffff811aacf940 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 4729 (rm) trap number = 12 panic: page fault cpuid = 1 KDB: stack backtrace: #0 0xffffffff808680fe at kdb_backtrace+0x5e #1 0xffffffff80832cb7 at panic+0x187 #2 0xffffffff80b18400 at trap_fatal+0x290 #3 0xffffffff80b18749 at trap_pfault+0x1f9 #4 0xffffffff80b18c0f at trap+0x3df #5 0xffffffff80b0313f at calltrap+0x8 #6 0xffffffff80b7d694 at VOP_REMOVE_APV+0x34 #7 0xffffffff808cb4fd at kern_unlinkat+0x32d #8 0xffffffff80b17cf0 at amd64_syscall+0x450 #9 0xffffffff80b03427 at Xfast_syscall+0xf7 And this is the backtrace from kgdb: #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:224 #1 0xffffffff808327f5 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:442 #2 0xffffffff80832ca1 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:607 #3 0xffffffff80b18400 in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:819 #4 0xffffffff80b18749 in trap_pfault (frame=0xffffff811aacf7d0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:735 #5 0xffffffff80b18c0f in trap (frame=0xffffff811aacf7d0) at /usr/src/sys/amd64/amd64/trap.c:474 #6 0xffffffff80b0313f in calltrap () at /usr/src/sys/amd64/amd64/exception.S:228 #7 0xffffffff81476306 in zfs_freebsd_remove (ap=Variable "ap" is not available. ) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1842 #8 0xffffffff80b7d694 in VOP_REMOVE_APV (vop=Variable "vop" is not available. ) at vnode_if.c:1333 #9 0xffffffff808cb4fd in kern_unlinkat (td=0xfffffe00046cb8c0, fd=-100, path=0x7fffffffdd73
, pathseg=UIO_USERSPACE, oldinum=0) at vnode_if.h:575 #10 0xffffffff80b17cf0 in amd64_syscall (td=0xfffffe00046cb8c0, traced=0) at subr_syscall.c:131 #11 0xffffffff80b03427 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:387 #12 0x00000008009315fc in ?? () This particular system is a VM running on a VMWare ESXi hypervisor. So far I haven't had any luck in finding a cause. Ryan