Subject: kern/15257: lfs_cleanerd spews weird errors
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jgoerzen@complete.org>
List: netbsd-bugs
Date: 01/15/2002 16:53:01
>Number:         15257
>Category:       kern
>Synopsis:       lfs_cleanerd spews weird errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 15 13:54:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5ZA
>Organization:
>Environment:
	
	
System: NetBSD sam 1.5ZA NetBSD 1.5ZA (SAM) #3: Mon Jan 14 10:19:39 EST 2002 jgoerzen@sam:/home/usr2/src/sys/arch/i386/compile/SAM i386
jgoerzen@sam:~$ ident /usr/libexec/lfs_cleanerd
/usr/libexec/lfs_cleanerd:
     $NetBSD: crt0.c,v 1.11 2000/06/14 22:52:49 cgd Exp $
     $NetBSD: cleanerd.c,v 1.34 2001/11/21 19:14:24 wiz Exp $
     $NetBSD: lfs_cksum.c,v 1.18 2001/11/08 02:39:10 lukem Exp $
     $NetBSD: library.c,v 1.22 2001/07/13 20:30:22 perseant Exp $
     $NetBSD: misc.c,v 1.6.12.1 2001/06/29 03:56:46 perseant Exp $
     $NetBSD: print.c,v 1.9.2.4 2001/07/02 17:48:16 perseant Exp $
jgoerzen@sam:~$ ldd /usr/libexec/lfs_cleanerd
/usr/libexec/lfs_cleanerd:
         -lutil.6 => /usr/lib/libutil.so.6
         -lc.12 => /usr/lib/libc.so.12
Architecture: i386
Machine: i386
>Description:
Every five seconds or so, the following is spewed all over the console and
/var/log/messages until I unmount my lfs partition.  This did not occur
immediately when it was created under 1.5.2 release nor immediately
when I upgraded to -current.  I do not know exactly when it started, but
I believe it was when I upgraded the kernel recently.

Jan 15 16:51:00 sam lfs_cleanerd[23568]: seg 8700 (0x10fe010), ino 378554 lbn -1, 0x10fe3e1 != 0x10fe3e3
Jan 15 16:51:00 sam lfs_cleanerd[23568]: bi_daddr = 0x10fdc41 = 549376b; 0x8666400 - 0x85e0000 = 549888
Jan 15 16:51:00 sam lfs_cleanerd[23568]: seg 8699 (0x10fd810), ino 348529 lbn -1, 0x10fdc41 != 0x10fdc42
Jan 15 16:51:00 sam lfs_cleanerd[23568]: bi_daddr = 0x10fca91 = 328192b; 0x8630400 - 0x85e0000 = 328704
Jan 15 16:51:00 sam lfs_cleanerd[23568]: seg 8697 (0x10fc810), ino 366841 lbn -1, 0x10fca91 != 0x10fca92
Jan 15 16:51:01 sam lfs_cleanerd[23568]: bi_daddr = 0x10fa083 = 58880b; 0x85ee800 - 0x85e0000 = 59392
Jan 15 16:51:01 sam lfs_cleanerd[23568]: seg 8692 (0x10fa010), ino 261564 lbn -1, 0x10fa083 != 0x10fa084
Jan 15 16:51:01 sam lfs_cleanerd[23568]: bi_daddr = 0x10f97c2 = 1008640b; 0x86d6700 - 0x85e0000 = 1009408
Jan 15 16:51:01 sam lfs_cleanerd[23568]: seg 8690 (0x10f9010), ino 366840 lbn -1, 0x10f97c2 != 0x10f97c3
Jan 15 16:51:02 sam lfs_cleanerd[23568]: bi_daddr = 0x10f8883 = 58880b; 0x85ee800 - 0x85e0000 = 59392
Jan 15 16:51:02 sam lfs_cleanerd[23568]: seg 8689 (0x10f8810), ino 261460 lbn -1, 0x10f8883 != 0x10f8884

(this goes on for awhile)

I tried umounting the partition and ran fsck_lfs on it.  fsck found no errors
or problems.  Messages on -current-users indicate that others have
experienced these problems as well.

>How-To-Repeat:
mount an LFS partition
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 -current synced via cvsup January 14, 2001