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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-22-2005, 10:46 AM
|
#16
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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.
|
|
|
02-22-2005, 10:47 AM
|
#17
|
Member
Registered: Feb 2005
Posts: 95
Rep:
|
my previous post was to wrong thread.
Sorry.... posted to wrong thread.
|
|
|
02-22-2005, 10:50 AM
|
#18
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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
|
|
|
02-22-2005, 10:58 AM
|
#19
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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
|
|
|
02-22-2005, 11:00 AM
|
#20
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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..
|
|
|
02-22-2005, 11:12 AM
|
#21
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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..
|
|
|
02-22-2005, 11:31 AM
|
#22
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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)
|
|
|
02-22-2005, 11:32 AM
|
#23
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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
|
|
|
02-22-2005, 11:44 AM
|
#24
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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..
|
|
|
02-22-2005, 11:46 AM
|
#25
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
Try doing apt-get install kernel-image for a different list...
|
|
|
02-22-2005, 11:52 AM
|
#26
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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
|
|
|
02-22-2005, 12:01 PM
|
#27
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
Post the /etc/apt/sources.list file pls
|
|
|
02-22-2005, 12:05 PM
|
#28
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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?)
|
|
|
02-22-2005, 12:14 PM
|
#29
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
|
|
|
02-22-2005, 12:24 PM
|
#30
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|