Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Have you done
make modules and make modules_install
I think with kernel 2.6 you have to only do make modules_install.
If you are using NIC and sound card that is supported by linux this will do, other wise you may need to get new drivers of your hardware for kernel 2.6.
With device drivers there is a significant difference between kernel 2.4 and kernel 2.6.
I hope that your kernel had compiled with this all modules. There is a very little chance of this because by default all such drivers are compiled as loadable modules(except a few are static).
Have you done
make modules and make modules_install
I think with kernel 2.6 you have to only do make modules_install.
If you are using NIC and sound card that is supported by linux this will do, other wise you may need to get new drivers of your hardware for kernel 2.6.
With device drivers there is a significant difference between kernel 2.4 and kernel 2.6.
I hope that your kernel had compiled with this all modules. There is a very little chance of this because by default all such drivers are compiled as loadable modules(except a few are static).
Hiii Hiren,
Actually i have done both Make Modules and make module_install, do you mean that i dont have to do the make module and it will compile the modules according to the 2.6 kernel and that can create the problem?
Actually my ethernet card was not working but now it is working by whenever i start the Linux i have to run modprobe for that command and to activate the ethernet card, it mean that it is detected by the kernel but it is not loading it at boot time so for that i have to add entry into sm config file and same like that i think there is a soundcard detected but i have to activate or to every time have to insert module into the Kernel or to configure its entry in the conf file for boot up file, i think so...
But there can be other problems so pls giv me ur suggetion if you think so.
With kernel 2.6 you dont have to do make module because it is done automatically. make modules_install will install all compiled modules in to their correct home directories in /lib.
Still if you have done make modules, i am not sure but theoretically it should not create any problem.
One possibility is that your modules are not at proper place.I hope that your kernel is built with proper nic and sound card support. Other then this; though there might be some problem i dont see. also Check the following flags
config_net_devices='y'
config_net_ethernet='y'
Once you have mentioned that you are following some document, i would suggest that you follow document specific to 2.6 and not 2.4. Search on google some ware.
With kernel 2.6 you dont have to do make module because it is done automatically. make modules_install will install all compiled modules in to their correct home directories in /lib.
Still if you have done make modules, i am not sure but theoretically it should not create any problem.
One possibility is that your modules are not at proper place.I hope that your kernel is built with proper nic and sound card support. Other then this; though there might be some problem i dont see. also Check the following flags
config_net_devices='y'
config_net_ethernet='y'
Once you have mentioned that you are following some document, i would suggest that you follow document specific to 2.6 and not 2.4. Search on google some ware.
Hmmm...
I think i have to recompile the kernel...but another thing i think is, because i now found the ethernet module and can run the ethernet by loading it into the kernel by modprobe command, i just have to find the config file from which kernel load all the moduiles at the boot up time, but i dont know which is that file, please let me know if you know that.
An i used the document to compile the kernel was for upgrading the kernel 2.4 to 2.6 (that is what i am doing right now), and it is from this site only, so i dont think that there will be a problem related to that (cant be sure though).
Pls tell me if you know the file where i can load the modules for starting at boot up time, and i can solve the problrm for now atleast.
So i think, there is still smthing different but neways frm this post i learned that the modules lies in the /lib/modules/'Kernelversion'/Kernel/driver.
So from now onwards, if there will be some problem related to that, i can find it out from there directly.
If anybody knows where to load the modules for activate it in the kernel boot up time.
Where i will find this support? i couldnt understand ur answer properly.
Thanks,
Nishant
You have to go back into your Kernel configuration and enable the option below.
CONFIG_KMOD:
Normally when you have selected some parts of the kernel to
be created as kernel modules, you must load them (using the
"modprobe" command) before you can use them. If you say Y
here, some parts of the kernel will be able to load modules
automatically: when a part of the kernel needs a module, it
runs modprobe with the appropriate arguments, thereby
loading the module if it is available. If unsure, say Y.
Symbol: KMOD [=y]
Prompt: Automatic kernel module loading
Defined at init/Kconfig:459
Depends on: MODULES
Location:
-> Loadable module support
-> Enable loadable module support (MODULES [=y])
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.