View previous topic :: View next topic |
Author |
Message |
gthank n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 08 Feb 2005 Posts: 15
|
Posted: Tue Feb 08, 2005 11:18 pm Post subject: Functioning 2.4.28 can't recompile kernel w/ iptables |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Wed Feb 09, 2005 3:47 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
JackDog Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Mini-Me.gif)
Joined: 09 Sep 2004 Posts: 297 Location: St. Louis, Missoura
|
Posted: Wed Feb 09, 2005 3:54 am Post subject: |
|
|
Dude seriously, 2.6 _________________ Are you intolerant of intolerant people? Tired of being PC yet? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gthank n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 08 Feb 2005 Posts: 15
|
Posted: Wed Feb 09, 2005 4:44 am Post subject: Re: Functioning 2.4.28 can't recompile kernel w/ iptables |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Wed Feb 09, 2005 5:08 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
gthank n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 08 Feb 2005 Posts: 15
|
Posted: Wed Feb 09, 2005 3:19 pm Post subject: It works |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
JackDog Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Mini-Me.gif)
Joined: 09 Sep 2004 Posts: 297 Location: St. Louis, Missoura
|
Posted: Wed Feb 09, 2005 3:32 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|