Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Functioning 2.4.28 can't recompile kernel w/ iptables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gthank
n00b
n00b


Joined: 08 Feb 2005
Posts: 15

PostPosted: Tue Feb 08, 2005 11:18 pm    Post subject: Functioning 2.4.28 can't recompile kernel w/ iptables Reply with quote

I've got a P3-500 w/ 128 MB of RAM running Gentoo with the 2.4.28-r5 kernel (I emerged gentoo-sources) on a simple, 3-partition scheme using ext2 for /boot and ext3 for /, and it works. I've spent about a week getting it configured, and just as I was about to configure the firewall to finish locking it down (it's currently behind a firewall, but I want to move it to the DMZ), I realized I had forgotten to compile the kernel with support for iptables. Now I'm trying to rebuild the kernel with support for iptables, either as a module or built into the kernel, but it keeps dying during
Code:
make dep && make bzImage modules modules_install


I can't find any output in my logs from this step, it just seems to die silently after working with pcmcia. I've tried disabling support for pcmcia, but that didn't seem to make any difference. I'm pasting in the output just before it kicks back into bash, and I have the .config and System.map files if anyone wants them.

    cd /lib/modules/2.4.28-gentoo-r5; \
    mkdir -p pcmcia; \
    find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
    if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.28-gentoo-r5; fi

Thanks in advance

gthank
_________________
". . . from hell's heart I stab at thee; for hate's sake I spit my last breath at thee."
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Wed Feb 09, 2005 3:47 am    Post subject: Reply with quote

Uh, that's the normal output of a succesfully finished kernel compilation foillowed by the module installation.
Copy the new bzImage over to /boot and reboot with it.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
JackDog
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 297
Location: St. Louis, Missoura

PostPosted: Wed Feb 09, 2005 3:54 am    Post subject: Reply with quote

Dude seriously, 2.6
_________________
Are you intolerant of intolerant people? Tired of being PC yet?
Back to top
View user's profile Send private message
gthank
n00b
n00b


Joined: 08 Feb 2005
Posts: 15

PostPosted: Wed Feb 09, 2005 4:44 am    Post subject: Re: Functioning 2.4.28 can't recompile kernel w/ iptables Reply with quote

Thanks for the feedback. I'm not at work anymore, so I can't post the error I got the first time I tried that (since I assumed it had succeeded, as well), but it didn't work. The gist of the error message was that the file didn't exist, but I'm sure the path was correct. Thanks again for the speedy response, and in the morning I'll post the error message I got when I tried to copy the image over.

gthank

P.S. I'm not actually in charge of the IT decisions at my job. I'm more the low man on the totem pole, so it's a bit late for me to be changing the 2.4 kernel to the 2.6 kernel.
_________________
". . . from hell's heart I stab at thee; for hate's sake I spit my last breath at thee."
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Wed Feb 09, 2005 5:08 am    Post subject: Reply with quote

JackDog wrote:
Dude seriously, 2.6

If It Ain't Broken, Don't Fix It.
If you have a high availability production system to run, you need to put the entire thing through a long and tedious quality assurance process. Unless you're willing to pay for the time it takes to switch from a tested system to an untested one...
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
gthank
n00b
n00b


Joined: 08 Feb 2005
Posts: 15

PostPosted: Wed Feb 09, 2005 3:19 pm    Post subject: It works Reply with quote

Once again, thank you, moocha, for the help. I kicked off an update world yesterday when leaving the office (I might have done it sooner, but I didn't want to sit through the 100+MB download and compile), then gave the kernel another go-round this morning. When it finished this time, everything seemed to be working fine - the box is up and running, and iptables is working. Thanks again.

gthank
_________________
". . . from hell's heart I stab at thee; for hate's sake I spit my last breath at thee."
Back to top
View user's profile Send private message
JackDog
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 297
Location: St. Louis, Missoura

PostPosted: Wed Feb 09, 2005 3:32 pm    Post subject: Reply with quote

moocha wrote:
JackDog wrote:
Dude seriously, 2.6

If It Ain't Broken, Don't Fix It.
If you have a high availability production system to run, you need to put the entire thing through a long and tedious quality assurance process. Unless you're willing to pay for the time it takes to switch from a tested system to an untested one...


Since he has been setting up thie box for a week, upgrading to 2.6 is a smart move. This is a install box so upgrading it to 2.6 would probably be a smart move wrt to support and performance.
_________________
Are you intolerant of intolerant people? Tired of being PC yet?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum