LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-27-2004, 01:18 PM   #1
Thomas M.
LQ Newbie
 
Registered: Feb 2004
Location: Denmark, Europe
Distribution: Slackware 9.1 powered by Kernel 2.6.2
Posts: 7

Rep: Reputation: 0
Kernel 2.6.* modules problem


Hello there.

I've got a huge problem - I've been running Slackware 9.1 with Kernel 2.6.2 a while now without any modules at all. I had thought this OK because everything was working. What I didn't know, however, is IPTABLES is loaded through modules, and my computer is very insecure without any firewall.

Here is how I install my Kernel:

First I extraced the whole kernel source to /usr/src/linux (I removed the version extension for simplicity.)

Then:

su
cd /usr/src/linux/
make mrproper (should remove everything except the source.)
make xconfig (I've enabled loadable modules and forced module unloading.)
make dep
make bzImage
make modules
make modules_install
make modules_install install (as described in the text file, just in case.)


Now, I'm taking a look into /lib/modules/2.6.2/kernel - the directory's pretty much empty, only contains dummy.ko, but no ip_tables or any other files like in my other kernel modules directory: :/lib/modules/2.4.22/kernel/net/ipv4/netfilter

What could possibly be wrong?
 
Old 02-27-2004, 01:23 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
There is no need to run:
make dep (depreciated with 2.6)
or:
make modules_install install (to my knowledge this has never done anything)

Did you choose to compile iptables as modules? can you post your .config file.
 
Old 02-27-2004, 01:51 PM   #3
nick_th_fury
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware, NetBSD
Posts: 151

Rep: Reputation: 23
You might want to read this page 1st.

http://durham.randomwire.com/article...cle=kernel.php

It's pretty straight forward.
 
Old 02-27-2004, 02:58 PM   #4
Thomas M.
LQ Newbie
 
Registered: Feb 2004
Location: Denmark, Europe
Distribution: Slackware 9.1 powered by Kernel 2.6.2
Posts: 7

Original Poster
Rep: Reputation: 0
Hi.

Thanks for the replies. I mananged to make the modules appear by configuring IPTABLES as modules (doh!).
 
  


Reply



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 modules problem matrixon Linux - Software 1 09-14-2005 10:50 PM
kernel 2.6.7 and acpi (modules problem) edeleon Red Hat 0 01-03-2005 08:45 AM
Modules Problem with Kernel 2.6 Spaceboy Linux - General 4 09-04-2003 04:26 PM
2.6.0-test1 kernel modules problem.... hulf_slo Linux - Software 1 07-20-2003 03:18 PM
kernel/modules driver problem Zarnce Slackware 4 05-05-2003 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:57 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
Open Source Consulting | Domain Registration