From owner-freebsd-current@FreeBSD.ORG Wed Dec 14 13:11:07 2005 Return-Path: X-Original-To: freebsd-current@www.freebsd.org Delivered-To: freebsd-current@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B671616A41F for ; Wed, 14 Dec 2005 13:11:07 +0000 (GMT) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (afrodita.rcub.bg.ac.yu [147.91.1.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F07043D5A for ; Wed, 14 Dec 2005 13:11:06 +0000 (GMT) (envelope-from ggajic@afrodita.rcub.bg.ac.yu) Received: from afrodita.rcub.bg.ac.yu (localhost.localdomain [127.0.0.1]) by afrodita.rcub.bg.ac.yu (8.13.4/8.13.4) with ESMTP id jBEDAxu9014330 for ; Wed, 14 Dec 2005 14:10:59 +0100 Received: from localhost (ggajic@localhost) by afrodita.rcub.bg.ac.yu (8.13.4/8.13.4/Submit) with ESMTP id jBEDAwPC014327 for ; Wed, 14 Dec 2005 14:10:59 +0100 Date: Wed, 14 Dec 2005 14:10:58 +0100 (CET) From: Goran Gajic To: freebsd-current@www.freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-RCUB-MailScanner-Information: Please contact the RCUB if you have problem with mail X-RCUB-MailScanner: Found to be clean X-RCUB-MailScanner-From: ggajic@afrodita.rcub.bg.ac.yu X-Mailman-Approved-At: Wed, 14 Dec 2005 14:11:43 +0000 Cc: Subject: 7.0-CURRENT panic on kldunload linux.ko X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 13:11:07 -0000 FreeBSD fbsd.interex-pla.net 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Wed Dec 14 13:30:55 CET 2005 root@fbsd.interex-pla.net:/usr/src/sys/i386/compile/TEST i386 fbsd# kgdb /usr/src/sys/i386/compile/TEST/kernel.debug /var/crash/vmcore.1 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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 "i386-marcel-freebsd". Unread portion of the kernel message buffer: panic: witness_destroy: lock (sleep mutex) linux osname is not initialized KDB: enter: panic Uptime: 33s Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130736 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 pcpu.h: No such file or directory. in pcpu.h (kgdb) backtrace #0 doadump () at pcpu.h:165 #1 0xc0666da0 in boot (howto=260) at ../../../kern/kern_shutdown.c:399 #2 0xc0666ffb in panic (fmt=0xc08db756 "%s: lock (%s) %s is not initialized") at ../../../kern/kern_shutdown.c:555 #3 0xc0687540 in witness_destroy (lock=0xc367ac7c) at ../../../kern/subr_witness.c:589 #4 0xc0660092 in mtx_destroy (m=0xc367ac7c) at ../../../kern/kern_mutex.c:891 #5 0xc065a355 in linker_file_sysuninit (lf=0xc3660400) at ../../../kern/kern_linker.c:238 #6 0xc065a992 in linker_file_unload (file=0xc3660400, flags=0) at ../../../kern/kern_linker.c:539 #7 0xc065b080 in kern_kldunload (td=0xc3660400, fileid=6, flags=0) at ../../../kern/kern_linker.c:828 #8 0xc065b0de in kldunloadf (td=0xc352cd80, uap=0x0) at ../../../kern/kern_linker.c:858 #9 0xc086db1e in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 6, tf_esi = -1077940702, tf_ebp = -1077941000, tf_isp = -646460060, tf_ebx = 1, tf_edx = 0, tf_ecx = 1, tf_e ax = 444, tf_trapno = 12, tf_err = 2, tf_eip = 671825691, tf_cs = 51, tf_eflags = 658, tf_esp = -1077942132, tf_ss = 59}) at ../../../i386/i386/trap.c:1008 #10 0xc085cc4f in Xint0x80_syscall () at ../../../i386/i386/exception.s:190 #11 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) Running skype-1.2.0.18 for linux will immediately reboot machine without warring.. Regards, gg.