Apologies for last abbreviated post - pressed Send while on the phone.......
Depends how the driver source is shipped. They are most often bzipped patches to theSO: 1. Where do I install the driver source to? Does it matter?
kernel. So... unzip the patch:- "bunzip2 driver_patch.bz2" then patch the kernel:-
[ for RedHat]
" cd /usr/src/linux-2.4; patch -p1 < wherever_you_put_the_driver_source"
[for vanilla linux]
"cd /usr/src"
"tar xvfz where_you_put_the kernel_tar_file" # extract kernel source tree from archive
"cd linux"
"patch -p1 <wherever_you_put_the_driver_source
2. Re. "1.", what's this "configure your kernel sources" all about and, literally, how do I do it (step-by-step)
"cd /usr/src/linux-2.4; make config/menuconfig/xconfig" (config = step by step question/answer session menuconfig = ncurses based graphical config session xconfig = Xwindows graphical config tool )
3. Re. "2.", which directory do I copy link to? Do you mean 1 level up?
This is copying the .config that Redhat supply with their kernel source to the root directory of a vanilla kernel source (I think). Personally I find it better to start with an empty config if using a vanilla kernel.
4. Now explain the steps involved in compiling....
"make dep"
"make clean"
"make bzImage"
"make modules"
"make modules_install"
or for brevity :- "make dep clean && make bzImage modules && make modules_install"
Now you should find "bzImage" in /usr/src/linux[blah]/arch/i386/boot. You need
to move this to /boot/bzImage and configure your bootloader to use it. Look at /etc/lilo.conf
or /etc/grub.conf depending on which bootloader you are using.
Be warned that many things can go wrong and newbies building kernels is
not impossible but a bit daunting the first time. Everyone was a newbie once.
HELP! --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list