<suggestion orthodox="false">
Well, I know this is awful, bad, irreponsable, and so on, but, how about:
strings /boot/vmlinuz | grep 2.6
just check your kernel "directly".
</suggestion>
ariel
El 15/01/10 14:25, Togan Muftuoglu escribió:
Jon Clausen wrote:
I think Marcus was referring to the gyrations one sometimes has to perform in order to compile stuff which uses the uname command to get the kernel version, but misinterprets the result(?)
What do you get from
which uname
toganm@mobile:/tmp> which uname -a /bin/uname
toganm@mobile:/tmp> which uname -a |xargs rpm -qf coreutils-6.12-32.10
Does it report something else if you use the full path?
What's under /lib/modules?
toganm@mobile:/tmp> l /lib/modules/ total 8 drwxr-xr-x 26 root root 1000 Jan 15 09:04 ./
ariel sabiguero yawelak wrote:
Well, I know this is awful, bad, irreponsable, and so on, but, how about:
strings /boot/vmlinuz | grep 2.6
toganm@mobile:~> strings /boot/vmlinuz | grep 2.6 2.6.27.42-0.1-default (geeko@buildhost) #1 SMP 2010-01-06 16:07:25 +0100 ~2;6 X256 #2j6 I2n6 2_6H
Yet why uname prints something else ?
Thanks Togan
On Fri, 15 Jan 2010, 18:50:45 +0100, Togan Muftuoglu wrote:
ariel sabiguero yawelak wrote:
Well, I know this is awful, bad, irreponsable, and so on, but, how about:
strings /boot/vmlinuz | grep 2.6
toganm@mobile:~> strings /boot/vmlinuz | grep 2.6 2.6.27.42-0.1-default (geeko@buildhost) #1 SMP 2010-01-06 16:07:25 +0100 ~2;6 X256 #2j6 I2n6 2_6H
Yet why uname prints something else ?
What does
cat /proc/version
say?
Thanks Togan
Cheers.
l8er manfred
Manfred Hollstein wrote:
On Fri, 15 Jan 2010, 18:50:45 +0100, Togan Muftuoglu wrote:
ariel sabiguero yawelak wrote:
Well, I know this is awful, bad, irreponsable, and so on, but, how about:
strings /boot/vmlinuz | grep 2.6
toganm@mobile:~> strings /boot/vmlinuz | grep 2.6 2.6.27.42-0.1-default (geeko@buildhost) #1 SMP 2010-01-06 16:07:25 +0100 ~2;6 X256 #2j6 I2n6 2_6H
Yet why uname prints something else ?
What does
cat /proc/version
toganm@mobile:~> cat /proc/version Linux version 2.6.27.42-0.1-default (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2010-01-06 16:07:25 +0100