From owner-freebsd-stable@FreeBSD.ORG Wed Jul 16 08:02:15 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8D4A1065672 for ; Wed, 16 Jul 2008 08:02:15 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 150738FC17 for ; Wed, 16 Jul 2008 08:02:14 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m6G7goPM043612 for ; Wed, 16 Jul 2008 10:42:50 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m6G7gnRF043611 for freebsd-stable@freebsd.org; Wed, 16 Jul 2008 10:42:49 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-stable@freebsd.org Date: Wed, 16 Jul 2008 10:42:48 +0300 User-Agent: KMail/1.9.7 References: <200807151958.12955.achill@matrix.gatewaynet.com> In-Reply-To: <200807151958.12955.achill@matrix.gatewaynet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807161042.49063.achill@matrix.gatewaynet.com> Subject: Re: softdepflush bad block error has led to negative blocks in free inode and handle_workitem_freeblocks: block count X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2008 08:02:15 -0000 =CE=A3=CF=84=CE=B9=CF=82 Tuesday 15 July 2008 19:58:12 =CE=BF/=CE=B7 Achill= eas Mantzios =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hi, > The problem started when i installed a kodicom 4400 card and started to r= un zoneminder.=20 > Prior to that no problems with my machine, which now runs > FreeBSD panix.internal.net 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #3: Mon = Jul 14 16:35:37 EEST 2008 =20 > doroot@panix.internal.net:/usr/obj/usr/src/sys/GENERIC i386 > This hardware change happened in Sunday Jul 13. > The next day (Jul 14) morning "periodic daily" cron job at 03:01 gave: > /var/log/messages.1.bz2:Jul 14 03:01:04 panix kernel: pid 48 (softdepflus= h), uid 0 inumber 2662656 on /usr: bad block > /var/log/messages.1.bz2:Jul 14 03:01:04 panix kernel: pid 48 (softdepflus= h), uid 0 inumber 2662656 on /usr: bad block > /var/log/messages.1.bz2:Jul 14 03:01:04 panix kernel: pid 48 (softdepflus= h), uid 0 inumber 2662656 on /usr: bad block > /var/log/messages.1.bz2:Jul 14 03:01:04 panix kernel: pid 48 (softdepflus= h), uid 0 inumber 2662656 on /usr: bad block > ... (15 times) > The funny think is that "df -h" showed a huge negative capacity. > Yesterday (Mon Jul 14) i had a crash when i tried to run (by hand) pkg_in= fo . > Today (Mon Jul 15) the morning "periodic daily" cron job resulted in a cr= ash as well in when running find. >=20 > I speculated that it was one of those cases that bad memory, or overheate= d memory could cause such problems > and i removed the most suspicious sim. After that i didnt get any crashes= when trying to run pkg_info or > periodic daily,weekly,monthly, but i get the following whenever i run per= iodic weekly: > panix kernel: free inode /usr/2662656 had -3549356 blocks (negative) > and after a while > panix kernel: handle_workitem_freeblocks: block count >=20 > I suspect that even if i have a healthy system as far as memory is concer= ned (i hope),=20 > the problem with the 2662656 inode is still there. >=20 > Any thoughts are very welcome. >=20 I cleared the inode 2662656 with fsdb and clri and rerun fsck, and this see= ms to have eliminated the problem. =2D-=20 Achilleas Mantzios