Building modules into a kernel
This is going to sound really silly to a lot of people out there, but I am having one hell of a time trying to recompile my new kernel adn get it to work properly. I have upgraded to the latest kernel, and am able to boot to it. (yay!)
Problem is, that there are two modules that I need/want to have loaded that wont load. These are madwifi, and nvidia. I have the latest downloads for both of these packages, and have had nil success in getting either of them to load. I have tried running the nvidia installer package, but to no avail. The readme available on the website has been of little else help (except to say that it tells me to run the installer when X has been shutdown, which I have been doing!) I have tried adding the madwifi module into the new, running kernel, but once again, to no avail. the README that tagged along with this package told me that the best way to do this was to run "make" form the madwifi directory. nup, still wont do it - even when I specify where i built the new kernel (/usr/local/src). I want to build both of these modules into the new kernel so that the whole process is automated. (makes sense, right?) What I want to know is how do you build modules into a kernel and have them activate at boot time? (like I said, I know this sounds really silly, and its probably so obvious that I just dont know how ot do it. I am that kind of guy!) Just so you know: updated from 2.6.12-22mdk to 2.6.17.11 (with grsecurity patching) running madriva powerpack 2006.0 latest version of madwifi: madwifi-0.9.2 latest version of nvidia driver: NVIDIA-Linux-x86-1.0-8762-pkg1 Any help would be great! Thanks in Advance! |
Both of those problems are from not finding your kernel source in the standard dir. To make sure your system plays nice with others, find the kernel version with 'uname -r', then create some simlinks:
/lib/modules/<version>/source -> /usr/src/linux-<version> -> your kernel source directory. regards, ...drkstr |
I have decided to scrap what I have done so far and try building again.
This time, instead of building the new kernel in /usr/local/src where I tried building it again, I have decided to build it in a more "acceptable" or "conventionable" place, so that this way, it would actually pick up the problem packages from before (madwifi and nvidia). Is there any hints as to where the *best* place to build a new kernel is? Failing that, is there anywhere where I can move/install these modules to that would allow them to be picked up by the new kernel? drkstr: I tried creating simlinks as you mentioned, but it didnt work :( |
i'm using fc5 and it doesnt recognize the command restorecon. how do i fix this?
|
Hi all member.... i am zuber, new member to this group..
can anyone help me finding the tutorial or material on how to recompile kernel and adding modules to kernel |
All times are GMT -5. The time now is 08:53 PM. |