Subject: Re: lfs_cleanerd couldn't init: error code -4
To: Martin Husemann <martin@duskware.de>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 08/05/2006 23:48:02
Hi,
On Sat, Aug 05, 2006 at 10:42:52PM +0200, Martin Husemann wrote:
> On Sat, Aug 05, 2006 at 10:37:58PM +0200, Kurt Schreiner wrote:
> > after the last round of changes to fhopen & Co lfs_cleanerd doesn't do it's
> > job anymore.
>
> What kernel version do you have and how old is your userland? Do you
> have options COMPAT_30 in your kernel config?
Kernel is: NetBSD ipaddi-bsd 3.99.24 NetBSD 3.99.24 (PADDI) #71: Sat Aug 5 21:43:37 MEST 2006
Userland was compiled and installed after kernel, but _not_ from a clean obj-tree.
Compat options are:
# Compatibility options
options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
options COMPAT_09 # NetBSD 0.9
options COMPAT_10 # NetBSD 1.0
options COMPAT_11 # NetBSD 1.1
options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
options COMPAT_14 # NetBSD 1.4
options COMPAT_15 # NetBSD 1.5
options COMPAT_16 # NetBSD 1.6
options COMPAT_20 # NetBSD 2.0
options COMPAT_30 # NetBSD 3.0
options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
#options COMPAT_386BSD_MBRPART # recognize old partition ID
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
The problem showed up after I installed kernel and userland on August 4:
Aug 4 19:40:32 ipaddi-bsd lfs_cleanerd[474]: /home: couldn't init: error code -4
Aug 4 19:40:32 ipaddi-bsd lfs_cleanerd[474]: : detaching cleaner
The list of files cvs updated before compiling:
P bin/test/test.c
P share/man/man4/pppoe.4
P sys/kern/vfs_syscalls.c
and
P lib/libc/compat/include/fstypes.h
P lib/libc/compat/sys/compat___fhstat30.c
P lib/libc/compat/sys/compat_fhopen.c
P lib/libc/compat/sys/compat_fhstatvfs.c
P lib/libc/compat/sys/compat_fhstatvfs1.c
P lib/libc/compat/sys/compat_getfh.c
P lib/libc/compat/sys/compat_statfs.c
P share/man/man4/pppoe.4
P sys/compat/common/vfs_syscalls_30.c
P sys/compat/netbsd32/netbsd32_compat_30.c
P sys/compat/netbsd32/netbsd32_fs.c
P sys/compat/sys/mount.h
P sys/kern/vfs_syscalls.c
P sys/sys/fstypes.h
P sys/sys/mount.h
Hope this will help finding the culprit...
Kurt