Kernel-devel
Kevin J. Cummings
cummings at kjchome.homeip.net
Thu Aug 12 19:28:22 UTC 2010
On 08/12/2010 03:10 PM, Albert Bonomo wrote:
> Kevin, my man, you know what you r talking about !!!
> here you have the command output:
>
> [root at ns310181 include]# rpm -qa kernel\*
> kernel-headers-2.6.29.4-167.fc11.x86_64
>
> or the other one ( shorter )
> [root at ns310181 include]# rpm -qa | grep 2.6
> *kernel-headers-2.6.29.4-167.fc11.x86_64*
> tar-1.22-6.fc11.x86_64
> python-2.6-12.fc11.x86_64
> nss-tools-3.12.6-1.2.fc11.x86_64
> psmisc-22.6-9.fc11.x86_64
> udev-extras-20090226-0.5.20090302git.fc11.x86_64
> nss-3.12.6-1.2.fc11.x86_64
> gnutls-2.6.6-3.fc11.x86_64
> sudo-1.7.2p6-2.fc11.x86_64
> gnutls-devel-2.6.6-3.fc11.x86_64
> grep-2.6.3-1.fc11.x86_64
> patch-2.6.1-1.fc11.x86_64
> libtool-ltdl-2.2.6-11.fc11.3.x86_64
> python-libs-2.6-12.fc11.x86_64
> ssmtp-2.61-14.fc11.x86_64
> iproute-2.6.29-2.fc11.x86_64
> nss-softokn-freebl-3.12.6-1.2.fc11.x86_64
>
> Now I see the real kernel. I'm running on 2.6.29.4-167.fc11.x86_64
Ah, no, you are not. if uname says you are running on 2.6.33.5, you
have booted a 2.6.33.5 kernel. The question now becomes, where is it,
and where did it come from? If you have no kernel RPM installed, then
where did your kernel come from. I have both a kernel and a
kernel-headers package installed (in fact, I have a couple of kernels
installed) on most of my systems.
On my 1 F11 system, I have:
> # rpm -q -a kernel\*
> kernel-headers-2.6.30.10-105.2.23.fc11.i586
> kernel-devel-2.6.30.10-105.2.23.fc11.i586
> kernel-doc-2.6.30.10-105.2.23.fc11.noarch
> kernel-firmware-2.6.30.10-105.2.23.fc11.noarch
> kernel-2.6.30.10-105.2.23.fc11.i586
> kernel-2.6.29.4-167.fc11.i586
and I'm running:
> # uname -r
> 2.6.30.10-105.2.23.fc11.i586
As you can see, I also have kernel-2.6.29.4-167 installed, but I'm not
booting it.
You need to look at your /etc/grub.conf file (or where it really lives
in /boot/grub/grub.conf) and see what kernels you system can boot from.
Perhaps that will shed some light on where your 2.6.33.5 kernel has come
from. You haven't installed anything from another non-RPM source have you?
BTW, the following are current F13 kernels:
> rpm -q kernel
> kernel-2.6.33.5-124.fc13.i686
> kernel-2.6.33.6-147.fc13.i686
> kernel-2.6.33.6-147.2.4.fc13.i686
You, obviously, are running on x86_64 hardware.
> I can also see that I have header installed:
> *kernel-headers-2.6.29.4-167.fc11.x86_64
> *The question would be, where ?*
> *So, I wonder why 'uname -r' gives me this crap:
> 2.6.33.5-xxxx-grs-ipv4-64 ????
> And why 'yum install kernel-devel' doesn't work ?
I can't answer that without seeing more of your yum output (where is it
looking for kernels, etc). But, if you are running a non-rpm kernel,
building/installing other software is going to give you miles and miles
of grief. And finding/installing RPMs is going to be next to impossible
in cases like this.
> Thanks for the answer.
> you'r the man
> Albert
--
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)
More information about the users
mailing list