From owner-freebsd-current@FreeBSD.ORG Tue Oct 30 19:10:00 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D601416A417 for ; Tue, 30 Oct 2007 19:10:00 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC8013C48E for ; Tue, 30 Oct 2007 19:10:00 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1736072rvb for ; Tue, 30 Oct 2007 12:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=lyv0iUpwYYhRsTjTQVkZDJWbZnAzN/oAvuqYpC8LLjg=; b=mKZOYgDi6ChMlXxGcrvlCEQxmKzawALgH72FdxtK4DGNF+JRyeBmFJW+46qU5QFkaObP9QWPB9cpbdZ01OcHIY3lM3cZUR+kHGdTsDLubm5GzQ/fw90Q3QMITilHp0JFPSmne71SpXqe7QNXmoEG34ZaUKH5jSWjNBJFgaFPAPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TK+SY7ZHumtd5B2f2S+SqFtQXKg/dRg+PQ0YNpaP035OooORltT03QRTQUlMky28o8qiMb8RpvfL+LE1JdLMEotgRTbYLbGmn4nr9QZi5m3Zdl+if/TqVrPKTOL88jlT4Wq1u6tGJS8t8lb+x2iV172qf7rZGDag7qHcl/+ky/E= Received: by 10.141.2.19 with SMTP id e19mr3523193rvi.1193769951989; Tue, 30 Oct 2007 11:45:51 -0700 (PDT) Received: by 10.141.170.18 with HTTP; Tue, 30 Oct 2007 11:45:51 -0700 (PDT) Message-ID: <2e77fc10710301145yf6441es948fd3a02e5dd35a@mail.gmail.com> Date: Tue, 30 Oct 2007 20:45:51 +0200 From: "Niki Denev" Sender: ndenev@gmail.com To: "Patrick Dung" In-Reply-To: <238725.26120.qm@web54304.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <238725.26120.qm@web54304.mail.re2.yahoo.com> X-Google-Sender-Auth: a63ffc96ebfa7b2a X-Mailman-Approved-At: Wed, 31 Oct 2007 03:58:47 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: kernel panic at shutdown with freebsd 7.0 current snapshot (oct-2007) 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: Tue, 30 Oct 2007 19:10:01 -0000 On 10/24/07, Patrick Dung wrote: > Hi > > I have ZFS (and snapshot) mounted. > Then shutdown by `shutdown -p now`. > > There is the dump: > > # kgdb /boot/kernel/kernel.symbols vmcore.0 > [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: vrele: negative ref cnt > cpuid = 0 > KDB: enter: panic > panic: from debugger > cpuid = 0 > Uptime: 8h44m12s > Physical memory: 507 MB > Dumping 120 MB: 105 89 73 57 41 25 9 > > #0 doadump () at pcpu.h:195 > 195 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) where > #0 doadump () at pcpu.h:195 > #1 0xc074d98e in boot (howto=260) at > /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc074dc4b in panic (fmt=Variable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:563 > #3 0xc048cab7 in db_panic (addr=Could not find the frame base for > "db_panic". > ) at /usr/src/sys/ddb/db_command.c:433 > #4 0xc048d4a5 in db_command_loop () at > /usr/src/sys/ddb/db_command.c:401 > #5 0xc048ec15 in db_trap (type=3, code=0) at > /usr/src/sys/ddb/db_main.c:222 > #6 0xc07748e6 in kdb_trap (type=3, code=0, tf=0xd53d7984) at > /usr/src/sys/kern/subr_kdb.c:502 > #7 0xc0a02dfb in trap (frame=0xd53d7984) at > /usr/src/sys/i386/i386/trap.c:621 > #8 0xc09e87eb in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #9 0xc0774a62 in kdb_enter (msg=0xc0a996bc "panic") at cpufunc.h:60 > #10 0xc074dc34 in panic (fmt=0xc0aa528a "vrele: negative ref cnt") at > /usr/src/sys/kern/kern_shutdown.c:547 > #11 0xc07cb0a1 in vrele (vp=0xc2fccaa0) at > /usr/src/sys/kern/vfs_subr.c:2117 > #12 0xc0725905 in fdfree (td=0xc2f29a50) at > /usr/src/sys/kern/kern_descrip.c:1694 > #13 0xc072ea53 in exit1 (td=0xc2f29a50, rv=1) at > /usr/src/sys/kern/kern_exit.c:272 > #14 0xc07508bf in sigexit (td=Variable "td" is not available. > ) at /usr/src/sys/kern/kern_sig.c:2876 > #15 0xc0750c99 in postsig (sig=1) at /usr/src/sys/kern/kern_sig.c:2748 > #16 0xc077eb78 in ast (framep=0xd53d7d38) at > /usr/src/sys/kern/subr_trap.c:250 > #17 0xc09e910d in doreti_ast () at > /usr/src/sys/i386/i386/exception.s:290 > #18 0xd53d7d38 in ?? () > #19 0x0000003b in ?? () > #20 0x0000003b in ?? () > #21 0x0000003b in ?? () > #22 0x00000000 in ?? () > #23 0xffffffff in ?? () > #24 0xbfbfee58 in ?? () > #25 0xd53d7d64 in ?? () > #26 0x00000000 in ?? () > #27 0x0804fb20 in ?? () > #28 0x00000000 in ?? () > #29 0x00000004 in ?? () > #30 0x0000000c in ?? () > #31 0x00000002 in ?? () > #32 0x28167553 in ?? () > #33 0x00000033 in ?? () > #34 0x00000247 in ?? () > #35 0xbfbfee1c in ?? () > #36 0x0000003b in ?? () > #37 0x00000000 in ?? () > #38 0x00000000 in ?? () > #39 0x00000000 in ?? () > #40 0x00000000 in ?? () > #41 0x0116c000 in ?? () > #42 0xc2f5bd48 in ?? () > ---Type to continue, or q to quit--- > #43 0xc31e1000 in ?? () > #44 0xd53d7878 in ?? () > #45 0xd53d7854 in ?? () > #46 0xc2f29a50 in ?? () > #47 0xc076a756 in sched_switch (td=0x0, newtd=0xffffffff, flags=Cannot > access memory at address 0xbfbfee68 > ) at /usr/src/sys/kern/sched_4bsd.c:907 > Previous frame inner to this frame (corrupt stack?) > (kgdb) > > Regards > Patrick > I got exactly the same panic today. --niki