LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-10-2002, 12:08 PM   #1
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Ubuntu; PNE-LE; LFS (no book)
Posts: 594

Rep: Reputation: 102Reputation: 102
kernel conflicts...why netfilter...why?


When compiling my brand spankin' knew 2.4.18 kernel, I get a wonderful build. Until I try running iptables --list (or any other option to it for that matter).

The problem is that netfilter.o et al are not being loaded by the kernel. ip_tables.o has unresolved dependancy issues with nf_unregister_sockopt(...) and nf_register_sockopt(...)

If I put the netfilter.o et al suite into the kernel library area, I know it won't work because they're not compiled as lkm's. Everything under the kernel config was selected as a module. Did I goof up?

org
 
Old 09-10-2002, 03:26 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Could you explain? How have you compiled your kernel (which commands)?
 
Old 09-12-2002, 09:09 AM   #3
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Ubuntu; PNE-LE; LFS (no book)
Posts: 594

Original Poster
Rep: Reputation: 102Reputation: 102
ok, I did a make menuconfig to configure the kernel. I set CONFIG_NETFILTER to y, and all of the CONFIG_IP_NF_foo to m. Then I proceeded with a make dep && make bzImage && make modules && make modules_install, then copied the resulting bzImage to /boot and updated my /etc/lilo.conf to reflect that kernel. Kernel version: 2.4.18
modutils version: 2.4.15
netfilter version: 1.2.7a

thanks,
org
 
Old 09-12-2002, 03:23 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
I guess depmod may be a good idea...
 
Old 09-12-2002, 05:31 PM   #5
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Ubuntu; PNE-LE; LFS (no book)
Posts: 594

Original Poster
Rep: Reputation: 102Reputation: 102
what do you mean? I've run depmod and it just reports that nf_unregister_sockopt and nf_register_sockopt (both of which are in netfilter.o) cannot be found. I can't put netfilter.o into the /lib/modules/2.4.18/... directory because they're not modules (no kernel version information...apparently they're not modules ???). I was wondering if anyone had this problem before and what the solution was?
 
  


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
kernel 2.6.11 and NVIDIA conflicts-UPGRADING javb Fedora 3 04-11-2005 05:42 PM
netfilter/iptables in kernel: module vs static -Nw- neX Linux - Security 5 03-25-2005 06:44 PM
Optimize kernel 2.6.7: netfilter Worstje Linux - Software 0 06-17-2004 07:25 AM
netfilter kernel patching vexer Linux - Networking 0 04-16-2004 01:31 PM
Netfilter in kernel 2.6 and ipfilter Maranza Linux - Networking 1 02-05-2004 07:03 AM


All times are GMT -5. The time now is 04:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration