LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-31-2006, 04:02 PM   #1
carmeli
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
Help with kernel source for stk16 kerntel?


Hi, I'm trying to get my wireless card to work with my laptop, so I got ndiswrapper. I was able to get it to do a make install with the 2.6.11 kernel but got the warning about 4k stacks.

SO I downloaded kernel-2.6.14-1.1656_FC4.stk16 and the associated .src rpm. I installed both of them, but when I run the make install for ndiswrapper it says it can't find the kernel sources. Is there something else I need to do after installing

kernel-2.6.14-1.1656_FC4.stk16.src.rpm?

I tried to use rpmbuild to build the sources but that didn't seem to work either. Any pointers to some docs or appropriate how tos would be appreciated.

-Ira
 
Old 01-31-2006, 06:41 PM   #2
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
The kernel headers and such needed by most modules should be found at /usr/src/kernels/`uname -r`.

After installing the kernel source rpm, did you go to /usr/src/redhat/SPECS and run

rpmbuild -bp --target $(arch) kernel-2.6.spec

That should unpack, distribute, and patch the vanilla kernel.

Last edited by jcliburn; 01-31-2006 at 06:43 PM.
 
Old 02-01-2006, 04:01 PM   #3
carmeli
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Yay

I tried that rpmbuild command, but was still unable to get ndiswrapper to work. However, I modified the command to this:

rpmbuild -ba --target $(arch) kernel-2.6.spec

and it built everything, and then I installed the devel kernel package it made, and after that ndis compiled correctly, and I was able to scan my wireless network for cells. However I have found that we use cisci leap at my work, and it doesn't look like I have support for that at the moment.

-Ira
 
  


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
Debain kernel source or Linux kernel source? kushalkoolwal Debian 4 11-28-2005 01:56 PM
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 12:34 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 10:28 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration