I recommend doing this via X-windows, and that’s how I did it, so you can follow me word for word.

First, once you have downloaded and located the file, type this:

cp linux-2.2.17.tar.gz /usr/src:

Before we continue… go into /usr/src  You *should* have a directory called linux-2.2.13 (or whatever your _current_ kernel version is) and then a symbolic link that is connecting the link-name linux to your current kernel version. Delete the symbolic link called linux.

tar -zxvf linux-2.2.17.tar.gz:

This will create it in the wrong place for us right now. Let's go ahead and fix it.

mv linux linux-2.2.17:

The main reason for upgrading to this kernel release is that it supports our kernel’s sound driver!!

I recommend doing this via X-windows, and that’s how I did it, so you can follow me word for word (however, it should not change if you do "make menuconfig" either). Open up a terminal window and type:

cd /usr/src/linux-2.2.17:

Make xconfig:

(Keep in mind, I clicked on “Code maturity level options” and then kept clicking next.)

Code maturity level options: nothing (up to you..)

Processor type and features: (Yes) Math emulation and MTRR

Loadable module support: (Yes) Kernel module loader, enable loadable module support

General setup: (Yes) Advanced Power Management, Toshiba Laptop Support

Plug and Play: nothing (up to you..)

Block Devices: nothing (up to you..)

Networking options: nothing (up to you..)

Telephony support: nothing (up to you..)

SCSI support: nothing (up to you..)

I20 device support: nothing (up to you..)

Network device support: (Yes) PPP support

ARCnet devices: nothing (up to you..)

Ethernet (10 or 100Mbit): nothing (up to you..)

Ethernet 1000mbit: nothing (up to you..)

Appletalk devices: nothing (up to you..)

Token Ring: nothing (up to you..)

Wan interfaces: nothing (up to you..)

Amateur Radio support: nothing (up to you..)

IrDA support: nothing (up to you..if you have optical mouse, check this out)

Infrared-port device drivers: nothing (up to you..)

ISDN subsystem: nothing (up to you..)

ISDN feature submodules: nothing (up to you..)

Passive ISDN cards: nothing (up to you..)

Active ISDN cards: nothing (up to you..)

Old CD-ROM drivers: nothing (up to you..)

Character devices: nothing (up to you..)

Mice: nothing (up to you..might want to look this section over, however)

Joysticks: nothing (up to you..)

Watchdog Cards: nothing (up to you..)

Video for Linux: nothing (up to you..)

Ftape support: nothing (up to you..)

Filesystems: (Yes) Dos FAT fs support, MSDOS fs support, UMSDOS, VFAT support.

Network File Systems: nothing (up to you..)

Partition Types: nothing (up to you..)

Native Language Support: nothing (up to you..)

Console Drivers: nothing (up to you..)

Sound: (Yes) Sound card support, Crystal CS4281

Additional low level sound drivers: nothing (up to you..)

Kernel Hacking: nothing (up to you..)

 

Save and exit the configuration.

Then type:

make dep

if you get an error #1 (at this step only!) -> follow these steps:

cd /usr/src

ln -sf linux-2.2.17 linux

cd linux

then continue...

make zImage

if you get this error:

System is too big.  Try using bzImage or modules.

Make[1] *** [zImage] Error 1

Make[1]:  Leaving directory `/usr/src/linux/arch/i386/boot`

Make: *** [zImage] Error 2

Type:

Make bzImage

It will continue where it left off, then type:

make modules

make modules_install

depmod -a

Okay, all of this should take a good twenty minutes at least.  Sit back and enjoy the screen scrolling.

Once this is done, or if you are in x-windows, get another terminal, and check your /etc/lilo.conf file.

There should be a line in there along the lines of (this WILL vary):

Image=/boot/vmlinuz-2.2.13-13abit.img

So, here are the steps we’re going to do:

1. tell our /etc/lilo.conf file to point to /

            pico /etc/lilo.conf

(go to where your original image file was and change it to this)

            image=/vmlinuz

(go to where it says map.. if you don't have a "map" section, skip this step!)

            map=/System.map

(you might have something else about “initrd” – erase that line.. if not, don't worry!)

2. we will need to reconfig lilo

cd /usr/src/linux

make bzlilo

3. Before you reboot, you *must* download these files:

xforms - this is needed - you will most likely have to use rpm -e to remove the old version.. if you have any questions, email me about this (try rpm -U first, however)

pcmcia-cs-3.1.21.tar.gz - the newest source (as of 2000-Oct-02 17:00). If you wish to check for new releases the website is here.

Okay, here are the steps I took:


rpm -i xforms*
mv pcmcia-cs* /usr/src
cd /usr/src
tar -zxvf pcmcia*
cd pcmcia-cs-
(whatever the version# is)
make config
(It should be setup to where all you have to do is keep hitting enter.. if not, be smart about it)
make install
make clean
--end pcmcia section--

4. reboot your computer, and hope it works :)

Note: If you use X-windows, and you use XMMS for playing MP3's, when I tried to run it the first time, it didn't work. I went into Audio I/O Plugins, then clicked on Output Plugin, re-selected eSound Output Plugin 0.9 [libesdout.so], clicked apply, then it seemed to work, maybe this will work for you, if not, email me and I'll try to help you so I can include it on this webpage!

 

I get a bunch of error messages upon my next boot.  I’m hoping someone who has had a lot more experience with this than me and knows where I went wrong EMAIL me and I will update the webpage.  Honestly, this is my first time upgrading or even messing with the kernel, I was lucky that I didn’t seriously screw up my system, hehe.  The main point is these steps should work on a Redhat system, but there will be errors… (for now)  Please email me, all you guru’s..