Re: what happened if kernel version is different from module build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/15/2017 11:25 PM, Rohith Seelaboyina wrote:
It can't be installed due to version mismatch
In fact, I did load it successfully in different kernel. What I worried is that the
Module.symvers and System.map of these two kernel are different, and module
building needs them. I only fix some bugs of schedule code:

diff -uprN linux-2.6.32-431.el6.6.vsds.x86_64.orig/ linux-2.6.32-431.el6.6.vsds.x86_64/|diffstat  -p0
 linux-2.6.32-431.el6.6.vsds.x86_64/kernel/sched.c      |   26 ++---
 linux-2.6.32-431.el6.6.vsds.x86_64/kernel/sched_fair.c |   76 ++++++++++++-----
 2 files changed, 69 insertions(+), 33 deletions(-)

On Oct 15, 2017 7:39 PM, "wuzhouhui" <wuzhouhui14@xxxxxxxxxxxxxxxx <mailto:wuzhouhui14@xxxxxxxxxxxxxxxx>> wrote:

    Suppose I compile a kernel module in kernel 2.6.32-431.el6.x86_64,
    but I load it
    successfully in kernel 2.6.32-432.el6.x86_64. Can this module
    works properly? Or
    whether it is harm to system?

    Thanks!
    --
    To unsubscribe from this list: send the line "unsubscribe
    linux-newbie" in
    the body of a message to majordomo@xxxxxxxxxxxxxxx
    <mailto:majordomo@xxxxxxxxxxxxxxx>
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    <http://vger.kernel.org/majordomo-info.html>
    Please read the FAQ at http://www.linux-learn.org/faqs
    <http://www.linux-learn.org/faqs>


--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs



[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux