Re: How to apply kernel source updates.

Michael Fratoni <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 07 April 2003 03:24 am, James Stanhope wrote:
> Greetings folks.
>
> Can anyone tell me how to apply Red Hat's source update RPM's to the
> original 7.2 kernel source tree?  (I hope this is not a dumb question,
> but I have spent many hours trying to find a set of instructions/hints
> on the RH site and through Google without any success.)  I don't
> actually want to recompile the whole kernel, just a driver module which
> I need.
>
>
> Background...
>
> I am trying to set up a gateway/router based on RHL 7.2 using the DLink
> DFE-580TX quad-port NIC.  It doesn't work with the standard
> "sundance.o" kernel module that kudzu sets up and I have worked out
> that I need to compile an updated one.
>
> So I have down-loaded the module source from Donald Becker's
> www.scyld.com site as well as the source RPMs for the latest kernel
> update (2.4.18-27.7.x).  However the kernel source RPM unpacks into a
> bunch of config & patch files, with a few awk & script files thrown in
> for good measure, and I haven't any idea of how to proceed.  (It's
> obvious I'm not a kernel developer!)
>
> If I just go ahead and compile the module anyway, then insmod reports
> that the module requires kernel 2.4.7-10 and lists a bunch of
> unresolved symbols.  So I guess I'm stuck... "help!"

You want to install the kernel-source-${version}.i386.rpm package that 
matches your running kernel, not the kernel-${version}.src.rpm

The kernel files wil be installed in /usr/src/linux-${version}. You should 
then be able to build the driver.

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+kVxOn/07WoAb/SsRAmRSAJ0VkimqGnzd+J66IFmVaMhwkFQRcgCgjulk
vLiMybsaigEDrXOaVdFeEzE=
=Xppo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.