Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-21-2005, 12:56 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
Unhappy HowTo build a new PXES kernel to support a new NIC?

On a workstation running Redhat 9 (2.4.20-8) I have the pxesthinclient 1.0.6 (2.4.12).
I am trying to install a Marvell Yukon (SysKonnect) driver (for 2.4.13 and above).

I've put the 2.4.20 src files into /usr/src/2.4.20 and linked to /usr/src/linux.
The pxes kernel resides in /opt/pxes-1.0/stock/arch/i586/kernel.

How do I build this NIC into this kernel and not the workstations' kernel?

The driver download gave me a Makefile and a bunch of .C files but I don't know from here.
I know I have gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) installed.

I'm guessing that pxes is going to be upgraded to 2.4.20 but I don't know how to get the driver into a new kernel, and then compile it to the location I need it.

Where to next?

Old 07-23-2005, 12:23 PM   #2
Registered: Jun 2005
Posts: 43

Rep: Reputation: 15
The .c files with the makefile, go into the directory and type: make, if all work, a module will be produced with the output .o, type insmod filename.o and this will load the driver. Make a script to do it on boot or put the .o file in the /lib/modules/YOURKERNEL/appropriate dir and add it to your /etc/modules.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to build MPPE support into custom linux kernel reddyl SUSE / openSUSE 2 01-20-2006 08:38 AM
How to build a module for my kernel? PCMCIA wireless support for cwc854 viktoranagy MEPIS 1 09-09-2005 09:16 AM
Howto build xfree86? BroX Slackware 5 03-08-2004 10:20 AM
build kernel with LVM support raggmopp Linux - Software 0 06-20-2003 04:25 PM
Need to 'configure' my kernel to build a driver for my wireless NIC 2016 Linux - Newbie 5 01-01-2003 02:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration