From owner-freebsd-questions@FreeBSD.ORG Sat Jan 20 21:03:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B0DA16A402 for ; Sat, 20 Jan 2007 21:03:33 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4897613C43E for ; Sat, 20 Jan 2007 21:03:33 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 240D41A3C19; Sat, 20 Jan 2007 13:03:33 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F36B551946; Sat, 20 Jan 2007 16:03:22 -0500 (EST) Date: Sat, 20 Jan 2007 16:03:22 -0500 From: Kris Kennaway To: Halid Faith Message-ID: <20070120210322.GA34943@xor.obsecurity.org> References: <105401c73c8f$a6790f50$dc96eed5@info1> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <105401c73c8f$a6790f50$dc96eed5@info1> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Why does my machine give a panic? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 21:03:33 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 20, 2007 at 02:36:47PM +0200, Halid Faith wrote: > I used to use freebsd4.X. I didn't have any problem about it. After I > reinstalled freebsd6.1 my server has started to given a panic. I am sure > that the server's hardware is good. I ran kgdb on the server as below; >=20 > # kgdb kernel.debug /var/crash/vmcore.0 > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.s= o: > 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 detail= s. > This GDB was configured as "i386-marcel-freebsd". >=20 > Unread portion of the kernel message buffer: > dev =3D amrd0s1e, block =3D 1008936, fs =3D /var > panic: ffs_blkfree: freeing free block > cpuid =3D 1 > Uptime: 1d18h28m28s > Dumping 1023 MB (2 chunks) > chunk 0: 1MB (159 pages) ... ok > chunk 1: 1023MB (261886 pages) 1008 992 976 960 944 928 912 896 880 864 > 848 832 816 800 784 768 752 736 720 704 688 672 656 640 624 608 592 576 5= 60 > 544 528 512 496 480 464 448 432 416 400 384 368 352 336 320 304 288 272 2= 56 > 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 >=20 > #0 doadump () at pcpu.h:165 > 165 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); >=20 >=20 > How to get rid off that ? 1) fsck the filesystem in case you have lingering corruption that was not detected before. 2) update to 6.2 3) if it still persists, then follow the directions in the developers handbook chapter on kernel debugging, and file a PR. Kris --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFsoOZWry0BWjoQKURArb5AJ96ktgjLAo/0S4/Q8i4SMtLM63D6ACgoEBn 1uTb7KJK8vVfwQdzjw+dN3c= =eC9j -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--