From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 14:42:19 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B9C6553 for ; Wed, 4 Jun 2014 14:42:19 +0000 (UTC) Received: from mail-vc0-x232.google.com (mail-vc0-x232.google.com [IPv6:2607:f8b0:400c:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57E622A4A for ; Wed, 4 Jun 2014 14:42:19 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id hy4so4989444vcb.37 for ; Wed, 04 Jun 2014 07:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AkNjGVbVuBDH2q8LuRZbwHTYH25HqyKhlm7FF+iNd5c=; b=JJgJWYcd6rnkYM/pByZapdVkKuy0Mwem+DL2rkIyRJnyBMAfaLn3hbgyUnDy2cXIuh h1Euwhgo3d+vveU413SKEd+k9sIwLxFCipBrQCfY1jb387wB1fQfyutbWKoZiiiT/B2m sEto2hJiEcNqqXH/L+ToHRflnNLfGvYZOIXuTUrXMt3QXb8h2IiyGd8rR08LmTgjMGER j940sCxypVQfwI6NnmRnmBsReGgsQtpHibY52KtQVR4F2eE3NOrDrjVm9Ow/G5gRilk6 TvOzx6ElNoDucJ5qLWrA4i+fuigv5LB6Q+mAUf26Ff2U8dE7YqgNThyJW/+XdmHaVpu9 XqYA== MIME-Version: 1.0 X-Received: by 10.58.143.13 with SMTP id sa13mr2833953veb.44.1401892938389; Wed, 04 Jun 2014 07:42:18 -0700 (PDT) Received: by 10.58.49.136 with HTTP; Wed, 4 Jun 2014 07:42:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Jun 2014 11:42:18 -0300 Message-ID: Subject: Re: 9.2-RELASE Kernel Panic From: Alexandre Biancalana To: Antoine Kallab Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2014 14:42:19 -0000 On Wed, Jun 4, 2014 at 7:52 AM, Antoine Kallab wrote: > I've never really read a kernel panic before, but it looks like the > process that might have put it in that state was PID 2982 'openvpn' > > Perhaps it wrote to the disk incorrectly? > > Again, I've never really read a panic before, so I apologize to the more > experienced folks if I am reading this wrong. I don't think it's related to that process, I've another panic that is much like the previous one but with another current process, I'm suspecting from a HW problem but how to be sure ? panic: reserved (unknown) fault GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 30: reserved (unknown) fault while in kernel mode cpuid = 2; apic id = 02 instruction pointer = 0x20:0xffffffff80b4561a stack pointer = 0x28:0xffffff824cfc5440 frame pointer = 0x28:0xffffff824cfc5470 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 59796 (cf-agent) trap number = 30 panic: reserved (unknown) fault cpuid = 2 KDB: stack backtrace: #0 0xffffffff80947a56 at kdb_backtrace+0x66 #1 0xffffffff8090da7e at panic+0x1ce #2 0xffffffff80cf2210 at trap_fatal+0x290 #3 0xffffffff80cf2a21 at trap+0x241 #4 0xffffffff80cdbe53 at calltrap+0x8 #5 0xffffffff80b2b392 at ffs_blkfree_cg+0x402 #6 0xffffffff80b2b6d6 at ffs_blkfree+0x136 #7 0xffffffff80b33c49 at ffs_indirtrunc+0x3e9 #8 0xffffffff80b34d43 at ffs_truncate+0xb73 #9 0xffffffff80b692c8 at ufs_setattr+0x588 #10 0xffffffff80d9b382 at VOP_SETATTR_APV+0x72 #11 0xffffffff809bcf13 at vn_truncate+0x233 #12 0xffffffff8095a89a at kern_ftruncate+0xda #13 0xffffffff80cf19ba at amd64_syscall+0x5ea #14 0xffffffff80cdc137 at Xfast_syscall+0xf7 Uptime: 12h32m32s Dumping 603 out of 8158 MB:..3%..11%..22%..32%..43%..51%..61%..72%..83%..91% Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from /boot/kernel/fdescfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/fdescfs.ko Reading symbols from /boot/kernel/if_bridge.ko...Reading symbols from /boot/kernel/if_bridge.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_bridge.ko Reading symbols from /boot/kernel/bridgestp.ko...Reading symbols from /boot/kernel/bridgestp.ko.symbols...done. done. Loaded symbols for /boot/kernel/bridgestp.ko Reading symbols from /boot/kernel/if_epair.ko...Reading symbols from /boot/kernel/if_epair.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_epair.ko Reading symbols from /boot/kernel/pflog.ko...Reading symbols from /boot/kernel/pflog.ko.symbols...done. done. Loaded symbols for /boot/kernel/pflog.ko Reading symbols from /boot/kernel/pf.ko...Reading symbols from /boot/kernel/pf.ko.symbols...done. done. Loaded symbols for /boot/kernel/pf.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/nullfs.ko...Reading symbols from /boot/kernel/nullfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/nullfs.ko #0 doadump (textdump=) at pcpu.h:234 234 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=) at pcpu.h:234 #1 0xffffffff8090d556 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:449 #2 0xffffffff8090da57 in panic (fmt=0x1
) at /usr/src/sys/kern/kern_shutdown.c:637 #3 0xffffffff80cf2210 in trap_fatal (frame=0x1e, eva=) at /usr/src/sys/amd64/amd64/trap.c:879 #4 0xffffffff80cf2a21 in trap (frame=0xffffff824cfc5390) at /usr/src/sys/amd64/amd64/trap.c:605 #5 0xffffffff80cdbe53 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:232 #6 0xffffffff80b4561a in softdep_setup_blkfree (mp=0xfffffe0005f949a8, bp=0xffffff81eff60fd0, blkno=, frags=, wkhd=0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:10455 #7 0xffffffff80b2b392 in ffs_blkfree_cg (ump=, fs=0xfffffe0005e5d000, devvp=0xfffffe0005f9e000, bno=27110360, size=8, inum=, dephd=0x0) at /usr/src/sys/ufs/ffs/ffs_alloc.c:2205 #8 0xffffffff80b2b6d6 in ffs_blkfree (ump=0xfffffe0005e63600, fs=0xfffffe0005e5d000, devvp=0xfffffe0005f9e000, bno=27110360, size=32768, inum=6784979, vtype=VREG, dephd=0x0) at /usr/src/sys/ufs/ffs/ffs_alloc.c:2280 #9 0xffffffff80b33c49 in ffs_indirtrunc (ip=0xfffffe00087cf000, lbn=, dbn=, lastbn=5, level=0, countp=0xffffff824cfc5818) at /usr/src/sys/ufs/ffs/ffs_inode.c:672 #10 0xffffffff80b34d43 in ffs_truncate (vp=0xfffffe01cc7ef5e8, length=583120, flags=, cred=0xfffffe011cd14200, td=0xfffffe003c192000) at /usr/src/sys/ufs/ffs/ffs_inode.c:465 #11 0xffffffff80b692c8 in ufs_setattr (ap=) at /usr/src/sys/ufs/ufs/ufs_vnops.c:633 #12 0xffffffff80d9b382 in VOP_SETATTR_APV (vop=0xffffffff81357e20, a=0xffffff824cfc5a30) at vnode_if.c:786 #13 0xffffffff809bcf13 in vn_truncate (fp=0xfffffe017f65f820, length=583120, active_cred=0xfffffe011cd14200, td=) at vnode_if.h:335 #14 0xffffffff8095a89a in kern_ftruncate (td=0xfffffe003c192000, fd=, length=583120) at file.h:303 #15 0xffffffff80cf19ba in amd64_syscall (td=0xfffffe003c192000, traced=0) at subr_syscall.c:135 #16 0xffffffff80cdc137 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:391 #17 0x0000000801aef61c in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb)