[Top] [All Lists]

Re: 2.5.1-pre10-xfs

To: Andrew Ho <andrewho@xxxxxxx>
Subject: Re: 2.5.1-pre10-xfs
From: Stephen Lord <lord@xxxxxxx>
Date: Tue, 11 Dec 2001 21:12:17 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <3C16C6D3.9A3047F6@xxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120
Andrew Ho wrote:

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.

Yep, DMAPI in 2.5 has not been built here - I am the only one building this tree and I have it turned off. I suspect include linux/major.h in the file will fix this one.

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
depmod:  seq_escape
depmod:  seq_printf

This is a known problem, Linus just has not taken the fix yet, it will work
if you build it into the kernel.

I restart the computer with 2.5.1-pre10-xfs,  there were no nfs,  and no
fd0 (floopy drive).

Hmm, ask on Linux kernel.

Andrew Ho

In general, unless you are working on some 2.5 feature I would not recommend playing with 2.5 yet, there are lots of devices which will probably be broken with the new block layer interface. Random things will be broken for quite a while - it is likely to get
worse before it gets better I suspect.

Don't go anywhere near md and lvm for instance.

Thanks for the report though.


<Prev in Thread] Current Thread [Next in Thread>