|
Next
Previous
Contents
- NOTE:
These instructions are for patching a 1.2 kernel for token ring support.
If you have a 2.0 kernel, you only need to recompile the current source
and say ``y es'' or ``m odule''
when asked for token ring support.
- Install the Token Ring card into the system and configure it
for the settings that you want to use.
It is a good idea to see if you can use the card through DOS
before trying to use it through Linux.
If it works in DOS, chances are, it will work in Linux with the same
settings. If you have a Plug and Play adapter, if possible,
lock the settings once you get them where they work.
- Make a backup of your linux directory.
This is very important in case you need to totally remove
the source of the patch from your kernel and go back to your
original code.
cd /usr/src
tar cvzhf linuxbak.tar.gz linux
- Uncompress the TokenRing patch.
cd /usr/src/patches/token
gzip -d TokenRing.patch-1.2.0.gz
- Modify your kernel with the TokenRing patch.
cd /usr/src/linux
patch -p1 < /usr/src/patches/token/TokenRing.patch-1.2.0
-or-
patch -p1 < <directory-of-patchfile>/TokenRing.patch-1.2.0
- Search your kernel for any rejects from the patch
and make changes as necessary.
find . -name \*.rej -print
- Search your kernel for the orig files and remove them.
find . -name \*.orig -print | xargs rm
- Configure your kernel and remake.
- NOTE:
Make sure your swap space is active if you have one.
cd /usr/src/linux
make config
(The patch should have added two lines to your config.in
file for the following options)
Token Ring support (CONFIG_TR) [y]
(and further down the list...)
IBM Tropic chipset based adaptor support (CONFIG_IBMTR) [y]
make dep
make clean
make zImage
- Setup LILO.
First rename your
/vmlinuz kernel to vmlinuz.old
then copy the kernel to /vmlinuz .
On my system this would consist of copying
/usr/src/linux/arch/i386/boot/zImage to /vmlinuz
and editing /etc/lilo.conf to boot that kernel.
Now from the prompt run ``lilo ''.
- You should now be able to reboot your system
and use the Token Ring card in your computer.
Please check the distribution specifc section
for any extra configuration information.
Next
Previous
Contents
|