Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 1998 01:08:54 -0200 (EDT)
From:      Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
To:        asami@FreeBSD.ORG (Satoshi Asami)
Cc:        jonny@coppe.ufrj.br, stable@FreeBSD.ORG
Subject:   Re: blkfree: freeing free block
Message-ID:  <199802180308.BAA18436@gaia.coppe.ufrj.br>
In-Reply-To: <199802180128.RAA27745@vader.cs.berkeley.edu> from Satoshi Asami at "Feb 17, 98 05:28:32 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
#define quoting(Satoshi Asami)
//  * panic: blkfree: freeing free frag
//  * 
//  * After upgrading to -stable from 12 Feb.
//  * 
//  * This happened while I was cleaning (rm) a 1.5G squid cache that was
//  * corrupted.  I though the corruption was a sideeffect of an ungraceful
//  * shutdown, but now I'm curious.
// 
// That sounds exactly like my problem.  Finally someone else is seeing
// the same thing I am!

This is also new.  Although it's possible to be a hardware problem,
it's too much coincidence to happen just after the upgrade.

Feb 18 00:51:25 gaia /kernel: bad block 262144, ino 38502
Feb 18 00:51:25 gaia /kernel: pid 18182 (rm), uid 0 on /var: bad block

Consequences: I have a stuck file at /var/spool/mqueue/.hoststat,
purgestat wastes lots of CPU, and never stops, except ^C.

Here's the partial of ktrace/kdump:

...
 18328 purgestat CALL  getdirentries(0x6,0x71000,0x1000,0x6b614)
 18328 purgestat RET   getdirentries 512/0x200
 18328 purgestat CALL  stat(0xefbfaf00,0xefbfad68)
 18328 purgestat NAMI  ".hoststat/br./ufrj./ifcs./mail"
 18328 purgestat RET   stat 0
 18328 purgestat CALL  unlink(0xefbfaf00)
 18328 purgestat NAMI  ".hoststat/br./ufrj./ifcs./mail"
 18328 purgestat RET   unlink -1 errno 1 Operation not permitted
 18328 purgestat CALL  lseek(0x6,0,0,0,0)
 18328 purgestat RET   lseek 0
 18328 purgestat CALL  getdirentries(0x6,0x71000,0x1000,0x6b614)
 18328 purgestat RET   getdirentries 512/0x200
 18328 purgestat CALL  stat(0xefbfaf00,0xefbfad68)
 18328 purgestat NAMI  ".hoststat/br./ufrj./ifcs./mail"
 18328 purgestat RET   stat 0
 18328 purgestat CALL  unlink(0xefbfaf00)
 18328 purgestat NAMI  ".hoststat/br./ufrj./ifcs./mail"
 18328 purgestat RET   unlink -1 errno 1 Operation not permitted
 18328 purgestat CALL  lseek(0x6,0,0,0,0)
 18328 purgestat RET   lseek 0
...

Will try a reboot right now, hoping fsck solves this problem.

					Jonny

--
Joao Carlos Mendes Luis			jonny@gta.ufrj.br
+55 21 290-4698				jonny@coppe.ufrj.br
Universidade Federal do Rio de Janeiro	UFRJ/COPPE/CISI
PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2  83 5F E3 26 BF 0F EA 67

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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