Solved

Compiling a new kernel problems RH Ent 3

Posted on 2004-10-28
306 Views
Last Modified: 2010-04-20
Hi,
I am working with RH enterprise 3 which distributes with 2.4.20/21 kernel.  As it comes, it won't work right with our networking card DLink 10/100/1000 card, SK98lin compatible.

Well, logical thing to do is to configure and compile a new kernel....  Doesn't seem to be working.  I can configure and compile the main kernel OK, but when it comes to compiling the modules, it ALWAYS bombs, and is bombing due to the header files that were included in the distribution.

I was wondering if anyone else has been having trouble with recompiling the kernel that comes with RHE3, and if they found a work around.

I've also just tried to compile the code for the module for sk98lin that came with the card, but it bombs out too (appears a header file has changed with regard to a specific timing structure, I tried modifying to fit the current struct, and got it to compile, but it couldn't find the card - not sure why, could be I used the wrong structure to link in, could be a problem with the driver itself)....

I really need this module in and working, and I'd really like to just recompile the kernel - I haven't had this much trouble rebuilding a kernel since an old version of slackware.  Any suggestions would be appreciated.  I can get specific errors for example if needed.
0
Question by:navigator010897
    2 Comments
     
    LVL 38

    Accepted Solution

    by:
    Hi,

       For the gigabit network, you don't need to re-compile the kernel most of time.
    You just need to compile the driver which download from the vendor's website and load it as module.

       Besides, if you insist to re-compile the kernel, please show the steps you did and the "cut-and-paste" of the
    error messages. So people can have more information to help you.

       My co-worker always says: "Vague problem descriptions do not produce rapid resolutions!"

    Wesly
    0
     
    LVL 6

    Expert Comment

    by:blkline
    Recompiling a RHEL kernel is a bad idea simply because you'll lose the RHN support for it -- so you won't be getting what you're paying for!   As Wesly mentioned, it's usually sufficient to recompile the module.  
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now