From owner-freebsd-stable@FreeBSD.ORG Tue Jul 15 17:21:12 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 7147C106566C for ; Tue, 15 Jul 2008 17:21:12 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from panix.internal.net (cpe-77-83-37-27-dsl.netone.gr [77.83.37.27]) by mx1.freebsd.org (Postfix) with ESMTP id C14D28FC18 for ; Tue, 15 Jul 2008 17:21:11 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from panix.internal.net (localhost [127.0.0.1]) by panix.internal.net (8.14.2/8.14.2) with ESMTP id m6FGwEuU001947; Tue, 15 Jul 2008 19:58:14 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: by panix.internal.net (8.14.2/8.14.2/Submit) id m6FGwDt3001946; Tue, 15 Jul 2008 19:58:13 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) X-Authentication-Warning: panix.internal.net: achix set sender to achill@matrix.gatewaynet.com using -f From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-stable@freebsd.org, achill@matrix.gatewaynet.com Date: Tue, 15 Jul 2008 19:58:12 +0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807151958.12955.achill@matrix.gatewaynet.com> Cc: Subject: 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: Tue, 15 Jul 2008 17:21:12 -0000 Hi, The problem started when i installed a kodicom 4400 card and started to run zoneminder. 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 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 (softdepflush), uid 0 inumber 2662656 on /usr: bad block /var/log/messages.1.bz2:Jul 14 03:01:04 panix kernel: pid 48 (softdepflush), uid 0 inumber 2662656 on /usr: bad block /var/log/messages.1.bz2:Jul 14 03:01:04 panix kernel: pid 48 (softdepflush), uid 0 inumber 2662656 on /usr: bad block /var/log/messages.1.bz2:Jul 14 03:01:04 panix kernel: pid 48 (softdepflush), 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_info . Today (Mon Jul 15) the morning "periodic daily" cron job resulted in a crash as well in when running find. I speculated that it was one of those cases that bad memory, or overheated 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 periodic weekly: panix kernel: free inode /usr/2662656 had -3549356 blocks (negative) and after a while panix kernel: handle_workitem_freeblocks: block count I suspect that even if i have a healthy system as far as memory is concerned (i hope), the problem with the 2662656 inode is still there. Any thoughts are very welcome. -- Achilleas Mantzios