Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need a 'configured' kernel to compile my drivers...

Status
Not open for further replies.

bdt

Programmer
Sep 29, 2002
9
US
I am trying to install a PCI network card but I need a 'configured' kernel. Here is the install instructions that tell me this:

Configured kernel source code for the kernel you are running. Ideally, this will be the resulting tree after building your own kernel. Configured means that you have at least run 'make config', 'make menuconfig', or 'make xconfig'. If you are trying to build linux-wlan-ng for a previously existing kernel binary (one you did not build yourself), ... look for help.

I am in that last category. Can someone help me to do this? I am running mandrake 9.0 Now I considered just compiling my own kernel, but that seemed like a huge deal anyways and it appears that I can avoid doing that, I just don't know how to make that tree. I looked through the directorty and the CD's for the source code for the distro but was unsuccessful. Thanks in advance.
 
Which network card? there may already be a driver or at least a module to load. Answer this and we can tell you more.
 
You are already running a configured kerne for your machinel. Look for a file called Linux. It usually resides in /usr/src directory. First reply to franklin97355. Also is this a previously Windows machine?
 
Well, it is a wmp11 by linksys. In my /usr/src directory there is nothing but empty directories (using 'ls -al *' to see) the directories are like 486, 586, amd stuff like that. No regular files though :/ If by 'machine' you mean a specific hardware configuration then No this machine was not once a Windows machine. However pieces of it were.

Thanks for your time so far.
 
I found a thread on a forum here:

Towards the bottom is a follow up:
Code:
answer: for the wmp11, the orinoco driver distributed with Mandrake (and probably Red Hat, too), works fine.
There are a lot of related threads linked at the bottom of the page too. Seems there were some changes in the chipset that caused a bit of a stir. --
JR
 
There should be a file similar in name to
Code:
config-2.4.19-16mdk
in your
Code:
/boot
directory. Go to and download the source to the corresponding kernel version and untar it under your home directory tree somewhere. Run
Code:
make xconfig
or
Code:
make menuconfig
and
Code:
load configuration from file
, choosing the aforementioned file in
Code:
/boot
. Save and exit. This should produce what you require. Then you can also optionally
Code:
make modules && make clean && make bzImage
,
Code:
su
to root and
Code:
make modules_install
, and if you actually want to make the kernel bootable (even though it is the same as the one you are running),
Code:
make install
.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top