Hmm always something that slips through the cracks.
ftp://oss.sgi.com/projects/xfs/Release-1.3/kernel_patches/linux-2.4.20-xfs-1.3.0fixup.patch.gz
Guess we haven't built 2.4.20 in a while.
On Fri, 2003-08-22 at 05:56, Doubter wrote:
> Surely doing something wrong...
>
> I got ftp://kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2
> then
> ftp://oss.sgi.com/projects/xfs/Release-1.3/pre6/kernel_patches/linux-2.4.20-core-xfs-1.3.0.patch.gz
> and
> ftp://oss.sgi.com/projects/xfs/Release-1.3/pre6/kernel_patches/linux-xfs-1.3.0pre6.patch.gz
>
> putting all together...
>
> tar xfj linux-2.4.20.tar.bz2
> gunzip *patch.gz
> cd linux-2.4.20
> patch -p1 < ../linux-2.4.20-core-xfs-1.3.0.patch
> patch -p1 < ../linux-xfs-1.3.0pre6.patch
> cp ../good_config .config
> make oldconfig
> make dep
> make bzImage
>
> .. I got
> gcc -D__KERNEL__ -I/html/kernel/2.4.20/linux-2.4.20/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -I..
> -funsigned-char -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfs_super
> -c -o xfs_super.o xfs_super.c
> xfs_super.c:859: unknown field `sync_fs' specified in initializer
> xfs_super.c:859: warning: initialization from incompatible pointer type
> xfs_super.c:860: duplicate initializer
> xfs_super.c:860: (near initialization for
> `linvfs_sops.write_super_lockfs')
> make[4]: *** [xfs_super.o] Error 1
> make[4]: Leaving directory `/html/kernel/2.4.20/linux-2.4.20/fs/xfs/linux'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/html/kernel/2.4.20/linux-2.4.20/fs/xfs/linux'
> make[2]: *** [_subdir_linux] Error 2
> make[2]: Leaving directory `/html/kernel/2.4.20/linux-2.4.20/fs/xfs'
> make[1]: *** [_subdir_xfs] Error 2
> make[1]: Leaving directory `/html/kernel/2.4.20/linux-2.4.20/fs'
> make: *** [_dir_fs] Error 2
>
>
> With kernel version 2.4.21 and patches linux-xfs-1.3.0pre6.patch.gz and
> linux-2.4.21-core-xfs-1.3.0.patch.gz applied in same order and way things
> goes fine, and adapting my 'good_config' kernel config file to 2.4.21 it
> compiles and boots with all support and xfs running AFAIK fine (you known,
> I was very upset by sync issues posted as 07/30/2003 by Blair B. about
> 'different behaviour between XFS and ext3', patched now).
>
> Is 1.3.0pre6.patch ok for kernel version 2.4.20? May I use other patches?
> Is the only thing to do move on 2.4.21? (you know, that version number is
> so ugly ;)
>
> Any highligts?
>
> BTW, please excuse my poor english.. :)
>
> Regards, JML.
> --
> doubts@xxxxxxxxxxxxxxxx
> SDF Public Access UNIX System - http://sdf.lonestar.org
>
|