LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2005, 10:46 AM   #16
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48

Downgrading isn't a problem, so long as everything matches..
Use the highest number kernel image..

Add iptables to the end of the install list.
Apt-get can install many packages at once from a list..

Last edited by peter_robb; 02-22-2005 at 10:49 AM.
 
Old 02-22-2005, 10:47 AM   #17
YetAnotherDave
Member
 
Registered: Feb 2005
Posts: 95

Rep: Reputation: 17
my previous post was to wrong thread.

Sorry.... posted to wrong thread.
 
Old 02-22-2005, 10:50 AM   #18
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
ahhh ...
COLUMNS=210 dpkg -l kernel*
.. now i can see all... but still no difference in reported results.... (I grepped it for net & ip_ta & ipta - nothing)

wooshy
 
Old 02-22-2005, 10:58 AM   #19
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
sorry what exactly am i about to do here? I tried :
apt-get --reinstall install kernel-image-2.6.8-9 iptable
and got...
E: Couldn't find package kernel-image-2.6.8-9
so did:
apt-get --reinstall install kernel-image iptables
and got:
Package kernel-image is a virtual package provided by:
kernel-image-2.6.8-2-k7-smp 2.6.8-13
kernel-image-2.6.8-2-k7 2.6.8-13
kernel-image-2.6.8-2-686-smp 2.6.8-13
kernel-image-2.6.8-2-686 2.6.8-13
kernel-image-2.6.8-2-386 2.6.8-13
kernel-image-2.6.8-10-em64t-p4-smp 2.6.8-11
kernel-image-2.6.8-10-em64t-p4 2.6.8-11
kernel-image-2.6.8-10-amd64-k8-smp 2.6.8-11
kernel-image-2.6.8-10-amd64-k8 2.6.8-11
kernel-image-2.6.8-10-amd64-generic 2.6.8-11
kernel-image-2.4.27-speakup 2.4.27-1
kernel-image-2.4.27-2-k7-smp 2.4.27-8
kernel-image-2.4.27-2-k7 2.4.27-8
kernel-image-2.4.27-2-k6 2.4.27-8
kernel-image-2.4.27-2-686-smp 2.4.27-8
kernel-image-2.4.27-2-686 2.4.27-8
kernel-image-2.4.27-2-586tsc 2.4.27-8
kernel-image-2.4.27-2-386 2.4.27-8
You should explicitly select one to install.
E: Package kernel-image has no installation candidate

??
what does it do? am i reinstalling the kernel? if so i might be getting the wrong one... (or am i just reinstalling iptables from the kernel?)

ahhhh i'm going mad! 2 days now on this stoopid thing and i'm slowly breaking stuff (virtually and reaally!)

woosh
 
Old 02-22-2005, 11:00 AM   #20
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ahhh... (breaking it quietly)... that's a package list for kernels..

You won't find any other packages in the kernel list, eh..

I'm just checking the kernel list I have.. one moment..
 
Old 02-22-2005, 11:12 AM   #21
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
According to my list, you can install kernel-image-2.6.8-2-???
and chose your arch; 686, k7 or 386 in place of ???

Which means, do
apt-get --reinstall install kernel-image-2.6.8-2-686 iptables
to install both a good kernel and iptables..
 
Old 02-22-2005, 11:31 AM   #22
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
i've got:
kernel-headers-2.6.8-9-amd64-generic kernel-headers-2.6.8-9-amd64-k8
kernel-headers-2.6.8-9-amd64-k8-smp
kernel-headers-2.6.8-9-em64t-p4
kernel-headers-2.6.8-9-em64t-p4-smp

the server is an AMD Athlon XP 2200+

.. so which kernel should i use..?
... and once i've done that i guess i should upgrade my kernel again?

...might it be easier (and less error-prone) if i just go and re-make the kernel with make menuconfig?
(or will this not fix the module problem?)
??
(i'm beginning to wish i went with fedora)

(thanx 4 all yr help)
 
Old 02-22-2005, 11:32 AM   #23
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
sorry - correction - ive got:
kernel-image-2.6.8-9-amd64-generic
kernel-image-2.6.8-9-amd64-k8
kernel-image-2.6.8-9-amd64-k8-smp
kernel-image-2.6.8-9-em64t-p4
kernel-image-2.6.8-9-em64t-p4-smp
 
Old 02-22-2005, 11:44 AM   #24
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Best to get the standard Debian package!

Each distro has it's specific performance patches included in the sources, but having been down this road, you gotta get used to building kernels before trying it on a real server.. Very surprising things happen if you make one without doing all the homework..

Your kernel-image list looks too short.. There is a package for 686, maybe a lower version number..
 
Old 02-22-2005, 11:46 AM   #25
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Try doing apt-get install kernel-image for a different list...
 
Old 02-22-2005, 11:52 AM   #26
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
yeh sure - i got
kernel-image-2.6.9-2-686

i'll try that one...

oh:
Package kernel-image-2.6.9-2-686 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package kernel-image-2.6.9-2-686 has no installation candidate

....hmm
 
Old 02-22-2005, 12:01 PM   #27
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Post the /etc/apt/sources.list file pls
 
Old 02-22-2005, 12:05 PM   #28
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
how about this - shows up in the apt-get install kernel-image:
kernel-image-2.6.8-2-686 2.6.8-13

right .....

that's going ahead...

all done ... now how do i get my module installed?
do i need to reboot?
do i need to modprobe?
(and do i then need to upgrade the kernel?)
 
Old 02-22-2005, 12:14 PM   #29
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
apt-sources:
deb http://debian.uchicago.edu/debian/ testing main
deb-src http://debian.uchicago.edu/debian/ testing main
deb http://non-us.debian.org/debian-non-US testing/non-US main
deb-src http://non-us.debian.org/debian-non-US testing/non-US main

#deb ftp://ftp.us.debian.org/debian/ stable main
#deb-src ftp://ftp.us.debian.org/debian/ stable main
#deb http://non-us.debian.org/debian-non-US stable/non-US main
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main

deb http://security.debian.org/ testing/updates main
deb http://backports.debian.skynet.be/ stable cyrus-sasl2

.. this machines in the us...
 
Old 02-22-2005, 12:24 PM   #30
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok, now it's installed, look in /lib/modules/2.6.8-2/kernel/net/ipv4/netfilter for the kernel modules.

Make sure you reinstall iptables to get a set compiled against this kernel..
You could even uninstall kernel-2.4.18-bf2.4 to be sure..

Do lilo -q to see which kernel will be booted,
then cat /etc/lilo.conf to make sure you have the new kernel listed. Follow any links.

If it's all ok, do lilo -v and check the kernel to be booted is correct, and reboot..

Last edited by peter_robb; 02-22-2005 at 12:26 PM.
 
  


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
iptables module config swmok Linux - Networking 3 04-17-2005 08:42 AM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
iptables module error? hotrodowner Linux - Networking 1 04-02-2003 08:07 AM
IPTABLES module won't load TruckStuff Linux - General 1 05-10-2002 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 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