LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel Compiling (https://www.linuxquestions.org/questions/linux-software-2/kernel-compiling-6650/)

simmid 09-18-2001 02:20 AM

Kernel Compiling
 
Hi,
I am a newbie to the linux Box and I am doing network packet filtering.
I compiled the v 2.4.6 kernel downloaded from http://www.kernel.org. But the compiled module wont insert any new modules, neither it lists any installed modules. What is the change in the configuration that we have to make inorder to load our own modules? It is working fine with the kernel that we got with the RedHat 7.1 distribution. But when that Kernel was compiled it does give the same problem of not listing any modules or instaling any. Infact the /proc/modules, /proc/ksyms, /proc/ioports, /proc/iomem are empty too after recompilation.

Expecting your help very soon as we are stuck here.
Regards,
:newbie:

jharris 09-18-2001 02:53 AM

Did you remember to select 'loadable module support', I think its in the 'General' menu.

HTH

Jamie...

simmid 09-18-2001 09:17 AM

GOTCHAAAAAAAAAAAA
 
Thank You Jamie for your valuable support. Actually there was no problem. we had compiled the new kernel giving kernel support rather than module support. so it listed no modules. And the insmod gave the "Busy" error becoz that is the only error that will print out what so ever error happens in the module. Actually we had forgotten to specify the returning integer parameter for init_module(). But I still dont know why the kernel symbol table is empty!!!! we were able to successfully add a module and unload it and it is being listed in the lsmod command.

Thank you once again Jammy....
BRB with more questions


All times are GMT -5. The time now is 11:47 PM.