reg. Kernel Version Number
1).. As newbie..i am not knowing on
HOW TO IDENTIFY a ".ko" is meant for which version of kernel ?;
is there any command that extracts the Version Information of the .KO file..
2) May be it is silly, but just want to clear the Gray point about the kernel version..
i have read somewhere about the kernel versioning, that the linux kernel version that ends with EVEN number is a stable one and
the ODD number is developmental version. (not sure it is applicable only to MAJOR number)
but recently i have seen in http://www.kernel.org as
188.8.131.52 as stable version .. this contradicts? can any one clarify me..
thanking you in advance.
a .ko is meant for kernel version which u have compiled in module makefile of try to load it through insmod ./*.ko it will give the version no if its not correct . else its same as ur kernel version though which u can get through uname -a .
and that notion abt even no bein stable and odd being unstable is no longer applicable for the 2.6.x kernel series. all versions of 2.6.x are stable versions. btw u can make one module compiled for one version make to work for another kernel version by enabling MOD_VERSIONING support in the kernel options when compiling.
2.4 was stable, 2.5 was testing, 2.6 is stable
The old idea was dropped after some discussion with 2.6 - Linus hasn't (really) decided what will happen in future.
thanks all for clarifying !
but for the point (1)., when i insert a module in a kernel of different version it just says
so is there any way to identify the ".ko" is for X.X.X version of kernel!
i got the version number of the kernel in which the .KO is built through chrism01.
|All times are GMT -5. The time now is 04:50 PM.|