Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2008 10:42:48 +0300
From:      Achilleas Mantzios <achill@matrix.gatewaynet.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: softdepflush bad block error has led to negative blocks in free inode and handle_workitem_freeblocks: block count
Message-ID:  <200807161042.49063.achill@matrix.gatewaynet.com>
In-Reply-To: <200807151958.12955.achill@matrix.gatewaynet.com>
References:  <200807151958.12955.achill@matrix.gatewaynet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807161042.49063.achill>