On Wed, 29 Oct 2003, Peter Hardy wrote:

> Hey hey.
>
> On Wed, 2003-10-29 at 18:26, [EMAIL PROTECTED] wrote:
> > I'm trying to build the kernel for RedHat 9 (2.4.20) so
> > that I can install a device driver. I did the "make
> > config" to the best of my ability to guess
>
> Out of curiousity, what instructions are you following to compile the
> kernel?  They sound a bit archaic. :-)

Actually, comp;iling a kernel to injstall a device driver is pretty
archaic too.

What you should do:

* Install a package containing the driver. Check
http://dag.wieers.com/apt/
for packages containing most drivers that couldn't come with Red Hat, and
freshrpms.net too.

* Install the kernel-headers and kernel-source packages, visit the
directory
containing the driver you'd like, type `make' and copy the .o file to
/lib/modules/whatever. Then type depmod to update the kernel's big list of
modules which rely on other mkodukles to include the new driver.

> > When I ran "make clean; make dep; make boot" it ended
> > with:

Don't do that. It will result  in an unpoackaged kernel, which you have to
manage unlike very other app that's installed on your system. Try `make
rpm' instaead. You'll need the rpm-build package installed.
But as said above, compiling a kernel to install a device driver is
unnecessary in most cases.

Good luck,

Mike


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to