LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-27-2005, 06:11 AM   #1
sodown
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
compile kernel remotely | is it possible?


Hi all,

I'm facing a very irritating issue right now. It seems like my dedicated hosting provider didn't check the netfilter/iptables option when they compiled the 2.6.10 kernel. As soon as I type iptables -L it gives me an error message saying

FATAL: Module ip_tables not found.
iptables v1.3.1: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I couldn't find the module anywhere, lsmod, modprobe all that didn't help at all. Strangely enough, when I examined the old .config in the kernel source directory, I saw the netfilter/iptables option flagged with an M, indicating iptables should be loadable as a module. But I couldn't find it anywhere, /lib/modules/*. No where can the modules be found. So irritating. What could have possible gone wrong here?

I'm thinking about recompiling the kernel remotely, but is it possible to get the new kernel UP AND RUNNING with my one shot attempt? My hosting provider charges 75usd per half an hour for support which I don't want to go with that option at all.

Do you guys think it's possible for me to recompile the kernel based on the old .config file, have the netfilter/iptables built-in directly into the kernel instead as a module, and get the machine reboot without any problem? I just wonder if anyone of you here has compile the kernel remotely without any pain? Btw, the machine is on Debian.

I appreciate all your help guys.

Sodown.
 
Old 03-27-2005, 06:35 AM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Off the top of my head I can't see any reason you can't... Assuming it has all the necessary build tools... You'd have to replace the kernel and rerun the bootloader (lilo) I guess... Then reboot and cross fingers.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
Driver won't compile on Kernel 2.6 - works fine on Kernel 2.4 c@sey Linux - Software 4 01-08-2005 01:01 PM
Remotely find the kernel version Russb Linux - General 4 08-01-2004 05:09 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:31 AM.

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