While compling the kernel, the dmapi package was broken.
make[2]: Entering directory `/usr/src/linux-2.5-xfs/linux/fs/xfs'
make -C dmapi
make[3]: Entering directory `/usr/src/linux-2.5-xfs/linux/fs/xfs/dmapi'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.5-xfs/linux/fs/xfs/dmapi'
gcc -D__KERNEL__ -I/usr/src/linux-2.5-xfs/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -I
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/include -g3 -Wno-unused
-Wno-parentheses -Wno-uninitialized -I../linux -I.. -I
/usr/src/linux-2.5-xfs/linux/fs -funsigned-char -Wno-unknown-pragmas
-c -o dmapi_sysent.o dmapi_sysent.c
dmapi_sysent.c: In function `dmapi_init_procfs':
dmapi_sysent.c:689: `MISC_MAJOR' undeclared (first use in this function)
dmapi_sysent.c:689: (Each undeclared identifier is reported only once
dmapi_sysent.c:689: for each function it appears in.)
make[4]: *** [dmapi_sysent.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.5-xfs/linux/fs/xfs/dmapi'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.5-xfs/linux/fs/xfs/dmapi'
make[2]: *** [_subdir_dmapi] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5-xfs/linux/fs/xfs'
make[1]: *** [_subdir_xfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5-xfs/linux/fs'
make: *** [_dir_fs] Error 2
After dropping the dmapi package, the kernel was O.K.
NFS was compiled as a module, it was fine as well.
I ran the modules_install, and the nfs had problem.
depmod: *** Unresolved symbols in
/lib/modules/2.5.1-pre10-xfs/kernel/fs/nfs/nfs.o
depmod: seq_escape
depmod: seq_printf
I restart the computer with 2.5.1-pre10-xfs, there were no nfs, and no
fd0 (floopy drive).
Andrew Ho
|