From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 3 12:20:06 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org 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 AB94016A420 for ; Fri, 3 Mar 2006 12:20:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E099543D4C for ; Fri, 3 Mar 2006 12:20:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k23CK5Sx032288 for ; Fri, 3 Mar 2006 12:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k23CK5Fq032287; Fri, 3 Mar 2006 12:20:05 GMT (envelope-from gnats) Resent-Date: Fri, 3 Mar 2006 12:20:05 GMT Resent-Message-Id: <200603031220.k23CK5Fq032287@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, "Ricardo A. Reis" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBBA116A420 for ; Fri, 3 Mar 2006 12:10:23 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 617CB43D45 for ; Fri, 3 Mar 2006 12:10:23 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k23CANZT038813 for ; Fri, 3 Mar 2006 12:10:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k23CANTG038812; Fri, 3 Mar 2006 12:10:23 GMT (envelope-from nobody) Message-Id: <200603031210.k23CANTG038812@www.freebsd.org> Date: Fri, 3 Mar 2006 12:10:23 GMT From: "Ricardo A. Reis" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/94048: [page not present] unload fuse-kmod X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 12:20:06 -0000 >Number: 94048 >Category: kern >Synopsis: [page not present] unload fuse-kmod >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 03 12:20:05 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ricardo A. Reis >Release: FreeBSD-6.1-PRERELEASE >Organization: UNIFESP >Environment: FreeBSD daemon.epm.br 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Thu Mar 2 09:55:10 BRT 2006 root@daemon.epm.br:/usr/obj/usr/src/sys/CABELO i386 >Description: During sysutils/fuse-kmod update my workstation freeze and reboot create crash dump, apparently fuse-kmod ports unload old kernel before install new version. I use striped kernel generic, more SCHED_ULE and PREEMPTION. [ricardo@daemon:/usr/src/sbin/kldunload] # grep ,v * Makefile:# $FreeBSD: src/sbin/kldunload/Makefile,v 1.9 2003/04/23 20:26:21 johan Exp $ kldunload.8:.\" $FreeBSD: src/sbin/kldunload/kldunload.8,v 1.16.2.1 2006/03/01 20:51:53 wkoszek Exp $ kldunload.c:__FBSDID("$FreeBSD: src/sbin/kldunload/kldunload.c,v 1.15.2.2 2006/03/01 20:51:53 wkoszek Exp $"); Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x15 fault code = supervisor read, page not present instruction pointer = 0x20:0xc086161d stack pointer = 0x28:0xe3f84c14 frame pointer = 0x28:0xe3f84c3c 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 = 8758 (kldunload) trap number = 12 panic: page fault cpuid = 0 Uptime: 40m49s Dumping 510 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130607 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); #0 doadump () at pcpu.h:165 No locals. #1 0xc06ab183 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 first_buf_printf = 1 #2 0xc06ab7c2 in panic (fmt=0xc0931fff ) at /usr/src/sys/kern/kern_shutdown.c:555 bootopt = 260 newpanic = 0 buf = "page fault", '\0' #3 0xc08e3c48 in trap_fatal (frame=0xe3f84bd4, eva=21) at /usr/src/sys/i386/i386/trap.c:836 code = 40 type = 12 ss = 40 esp = 0 softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1} msg = 0x0 #4 0xc08e3ee8 in trap_pfault (frame=0xe3f84bd4, usermode=0, eva=21) at /usr/src/sys/i386/i386/trap.c:744 va = 0 vm = (struct vmspace *) 0x0 map = 0xc40985dc rv = 1 ftype = 1 '\001' p = (struct proc *) 0x0 #5 0xc08e42d0 in trap (frame= {tf_fs = -1010368504, tf_es = 40, tf_ds = 40, tf_edi = 24, tf_esi = -1048131392, tf_ebp = -470266820, tf_isp = -470266880, tf_ebx = 2, tf_edx = -1048176288, tf_ecx = 0, tf_eax = -1048176288, tf_trapno = 12, tf_err = 0, tf_eip = -1064954339, tf_cs = 32, tf_eflags = 66050, tf_esp = -470266844, tf_ss = -1066809047}) at /usr/src/sys/i386/i386/trap.c:434 p = (struct proc *) 0xc4b63000 sticks = 0 i = 0 ucode = 0 type = 12 code = 0 eva = 21 #6 0xc08cf68a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 No locals. #7 0xc086161d in uma_zfree_internal (zone=0xc1861960, item=0xc3f8f800, udata=0x0, skip=3246791008, flags=2) at uma_int.h:361 slab = 0x0 keg = 0xc186c8c0 mem = (u_int8_t *) 0x0 freei = 2 '\002' #8 0xc069d0a3 in malloc_uninit (data=0xc41eb100) at uma.h:303 mtip = (struct malloc_type_internal *) 0xc3f8f800 temp = (struct malloc_type *) 0xc1861960 temp_allocs = 0 temp_bytes = 0 #9 0xc06962b2 in linker_file_unload (file=0xc3f94d00, flags=0) at /usr/src/sys/kern/kern_linker.c:238 mod = 0xc41eb144 next = 0xc41eab24 ml = 0xc1861960 nextml = 0xc41eb144 cp = (struct common_symbol *) 0xc1861960 error = 0 i = -1004621500 #10 0xc069661f in kern_kldunload (td=0xc3f94d00, fileid=14, flags=-1048176288) at /usr/src/sys/kern/kern_linker.c:828 lf = 0xc3f94d00 error = 2 #11 0xc08e4748 in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 14, tf_esi = -1077942400, tf_ebp = -1077942456, tf_isp = -470266524, tf_ebx = 0, tf_edx = -1077942047, tf_ecx = 3, tf_eax = 444, tf_trapno = 12, tf_err = 2, tf_eip = 671880131, tf_cs = 51, tf_eflags = 582, tf_esp = -1077943588, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:981 params = 0xbfbfe2e0
callp = (struct sysent *) 0xc09a56f0 p = (struct proc *) 0xc4b63000 orig_tf_eflags = 582 sticks = 0 error = 0 narg = 2 args = {14, 0, 0, 671883484, 12, 0, 0, -994693120} code = 444 #12 0xc08cf6df in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 No locals. #13 0x00000033 in ?? () >How-To-Repeat: cvsup your system for 03/02/2006 update system and unload fuse.ko >Fix: >Release-Note: >Audit-Trail: >Unformatted: