On Sat, 8 Feb 2003, Francois Chenais wrote: > what's the best way to add XFS support in the Linux 2.4.20 kernel ? > Can I use the kernel-patch-xfs or do it by myself using tools from sgi ?
The easy way is to use the kernel-patch-xfs (in testing for 2.4.20 now), I think. Last time I build 2.4.20 that was not available and I used the kernel source from SGI's cvs. That was also quite easy to build. Here's my notes. I had a few questions about lm_sensors, but it all seems to work. Building 2.4.20-xfs from CGI cvs sources --------------------------------------- Get 2.4 kernel source directly from SGI via cvs: $ cd /usr/src $ cvs -d:pserver:[EMAIL PROTECTED]:/cvs login cvs (is password) $ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs checkout linux-2.4-xfs $ rm linux $ ln -s linux-2.4-xfs/linux Now apply i2c and lm_sensors patches. There's some question if I need to update i2c for 2.4.20, but I'll patch anyway. $ cd ~/build/i2c-2.7.0/ $ mkpatch/mkpatch.pl . /usr/src/linux | patch -p1 -E -d /usr/src/linux $ cd ../lm_sensors-2.7.0/ $ mkpatch/mkpatch.pl . /usr/src/linux | patch -p1 -E -d /usr/src/linux $ cd /usr/src/linux $ make menuconfig I import from the current /boot/config file Character Devices -> Hardware sensors support -> <M> VIA VT8231 Integrated Sensors (NEW) (although sensors-detect and lspci says VT8233 - is that i2c-viapro? ) Try and compile and see if viapro is build... Set the extraversion for this kernel $ nano Makefile EXTRAVERSION = -xfs-athlon (can also use --append_to_version flag to make-kpkg Now, build the kernel $ fakeroot make-kpkg --revision=custom.1.1 kernel_image (8 minutes!) $ cd ../linux-2.4-xfs $ su # dpkg -i kernel-image-2.4.20-xfs-athlon_custom.1.0_i386.deb -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]