LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2001, 03:20 AM   #1
simmid
LQ Newbie
 
Registered: Sep 2001
Location: India
Distribution: Red Hat 7.1
Posts: 9

Rep: Reputation: 0
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,
 
Old 09-18-2001, 03:53 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

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

HTH

Jamie...
 
Old 09-18-2001, 10:17 AM   #3
simmid
LQ Newbie
 
Registered: Sep 2001
Location: India
Distribution: Red Hat 7.1
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
  


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
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 02:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 03:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 05:17 AM
Compiling new kernel joseph Linux - Software 2 10-14-2003 08:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 06:31 PM


All times are GMT -5. The time now is 02:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration