From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 14 10:50:09 2005 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 5AF3D16A420 for ; Wed, 14 Sep 2005 10:50:09 +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 9F0B443D49 for ; Wed, 14 Sep 2005 10:50:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8EAo8gG005426 for ; Wed, 14 Sep 2005 10:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8EAo8uD005425; Wed, 14 Sep 2005 10:50:08 GMT (envelope-from gnats) Resent-Date: Wed, 14 Sep 2005 10:50:08 GMT Resent-Message-Id: <200509141050.j8EAo8uD005425@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, Rene Ladan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1595A16A41F for ; Wed, 14 Sep 2005 10:46:34 +0000 (GMT) (envelope-from r.c.ladan@student.tue.nl) Received: from 82-168-75-155-bbxl.xdsl.tiscali.nl (82-168-75-155-bbxl.xdsl.tiscali.nl [82.168.75.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E1D743D46 for ; Wed, 14 Sep 2005 10:46:32 +0000 (GMT) (envelope-from r.c.ladan@student.tue.nl) Received: from 82-168-75-155-bbxl.xdsl.tiscali.nl (localhost [127.0.0.1]) by 82-168-75-155-bbxl.xdsl.tiscali.nl (8.13.4/8.13.4) with ESMTP id j8EAkVbS019675 for ; Wed, 14 Sep 2005 12:46:31 +0200 (CEST) (envelope-from r.c.ladan@student.tue.nl) Received: (from rene@localhost) by 82-168-75-155-bbxl.xdsl.tiscali.nl (8.13.4/8.13.1/Submit) id j8EAkUrs019674; Wed, 14 Sep 2005 12:46:30 +0200 (CEST) (envelope-from r.c.ladan@student.tue.nl) Message-Id: <200509141046.j8EAkUrs019674@82-168-75-155-bbxl.xdsl.tiscali.nl> Date: Wed, 14 Sep 2005 12:46:30 +0200 (CEST) From: Rene Ladan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/86107: panic: unrhdr has N allocations, NULL derefence X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rene Ladan List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 10:50:09 -0000 >Number: 86107 >Category: kern >Synopsis: panic: unrhdr has N allocations, NULL derefence >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 14 10:50:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Rene Ladan >Release: FreeBSD 6.0-BETA4 i386 >Organization: >Environment: FreeBSD 6.0-BETA4 #10: Sun Sep 4 22:19:26 CEST 2005 root@82-168-75-155-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE WARNING: WITNESS option enabled, expect reduced performance. Preloaded elf kernel "/boot/kernel/kernel" at 0xc08cf000. Preloaded elf module "/boot/modules/bioschar.ko" at 0xc08cf160. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08cf210. CPU: Intel Celeron (497.56-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 201261056 (191 MB) avail memory = 187432960 (178 MB) bios32: Found BIOS32 Service Directory header at 0xc00f63a0 bios32: Entry = 0xfd8a6 (c00fd8a6) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd890+0x134 pnpbios: Found PnP BIOS data at 0xc00f63d0 pnpbios: Entry = f0000:aa9f Rev = 1.0 ... (device part of dmesg) >Description: panic: unrhdr has 9 allocations KDB: stack backtrace: kdb_backtrace(c070066b,c0766c40,c070380c,cf174c14,100) at 0xc055b5ce = kdb_backtrace+0x2e panic(c070380c,9,cf174c30,c271f54a,c21dfa80) at 0xc053da97 = panic+0xb7 delete_unrhdr(c21dfa80,c07659dc,c26457a0,c26457a0,cf174c40) at 0xc0565e62 = delete_unrhdr+0x22 pfs_uninit(c2645840,c26457a0,cf174c54,c059dbab,c26457a0) at 0xc271f54a = pfs_uninit+0x1a _procfs_uninit(c26457a0,c1d56c00,c1d56c00,cf174c60,c059dc5c) at 0xc2644089 = _procfs_uninit+0x19 vfs_unregister(c26457a0,cf174c78,c05326e0,c1d56c00,1) at 0xc059dbab = vfs_unregister+0x3b vfs_modevent(c1d56c00,1,c26457a0) at 0xc059dc5c = vfs_modevent+0x3c module_unload(c1d56c00,0,1fb,0,0) at 0xc05326e0 = module_unload+0x60 linker_file_unload(c1645200,0,c06fe1ae,327,0) at 0xc052c2e7 = linker_file_unload+0x87 kern_kldunload(c1de5180,6,0,cf174d30,c06bea50) at 0xc052cc5a = kern_kldunload+0x9a kldunloadf(c1de5180,cf174d04,8,422,2) at 0xc052ccfc = kldunloadf+0x2c syscall(3b,3b,3b,6,bfbfede2) at 0xc06bea50 = syscall+0x2c0 Xint0x80_syscall() at 0xc06ab77f = Xint0x80_syscall+0x1f --- syscall (444, FreeBSD ELF32, kldunloadf), eip = 0x280c479f, esp = 0xbfbfe85c, ebp = 0xbfbfecc8 --- KDB: enter: panic Dumping 191 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 191MB (48880 pages) 175 159 143 127 111 95 79 63 47 31 15 ... ok See also the thread at http://lists.freebsd.org/pipermail/freebsd-stable/2005-September/018246.html >How-To-Repeat: on a 6.0-BETA4 : # mount_procfs procfs /proc (this loads pseudofs.ko and procfs.ko) ... # umount /proc (procfs.ko and pseudofs.ko still loaded) # kldunload procfs (this trigger the panic) >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: