LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 07-21-2005, 12:56 AM   #1
ab2000
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 8.23.1.3 (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?

brgrds
 
Old 07-23-2005, 12:23 PM   #2
mattLSO
Member
 
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.


Regards
 
  


Reply


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/Novell 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


All times are GMT -5. The time now is 09:34 PM.

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