RHEL 5.7 source code query

Solution Unverified - Updated -

Issue

  • I'm looking for the source code of RHEL 5.7. I've downloaded the package kernel-2.6.18-274.el5.src.rpm
    from Redhat website. When I installed the rpm, I see the source code version as linux-2.6.18.4.tar.bz2
    inside the package.

    • Can you please let me know if this is the correct source code for RHEL 5.7 or should I download any other package?
    • Could you please let me know the patches to be applied and the sequence? Our applications makes use of
      igb driver pointers and for 6.3 and 6.4 we used "for_each_netdev()" function to identity the required
      driver for our PCIe compliant hardware. In for_each_netdev(net,d), the first parameter is the init_net
      structure which is defined and exported in "net/core/net_namespace.c" in RHEL 6.3. What is the similar
      variable in RHEL 5.7 which needs to be passed?

Environment

  • Red Hat Enterprise Linux 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.