NSS modules reporting they are compiled for older kernel

  • 7003399
  • 29-May-2009
  • 30-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 1
SUSE Linux Enterprise Server 10 Service Pack 2
Novell Storage Services (NSS)

Situation

Symptoms:
While looking through the /var/log/boot.log and /var/log/messages files to troubleshoot a memory issue,
there were several reported entries stating the NSS kernel modules were compiled for an older version of the kernel.
Extract from /var/log/messages when loading the NSS modules:

May 27 14:29:49 server03 nss: Starting Novell Storage Services (NSS)
May 27 14:29:49 server03 nss: Start up eDir and LUM
May 27 14:29:50 server03 nss: Start up NSS modules
May 27 14:29:50 server03 kernel: nwraid: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:50 server03 kernel: admindrv: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:50 server03 kernel: libnss: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:50 server03 kernel: libnss loaded
May 27 14:29:50 server03 kernel: linuxmpk: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:50 server03 kernel: nsslnxlib: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:50 server03 kernel: nsslnxlib loading...
May 27 14:29:50 server03 kernel: nsslibrary: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:50 server03 kernel: library loaded
May 27 14:29:50 server03 kernel: nsslnxlib: no version for "mpkPageAlloc" found: kernel tainted.
May 27 14:29:50 server03 kernel: nss: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:50 server03 kernel: ndpmod: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:50 server03 kernel: Module ndpmod installed
May 27 14:29:52 server03 kernel: nsscomn: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:52 server03 kernel: nsszlss: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:52 server03 kernel: nssmanage: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:52 server03 kernel: nsslsa: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:52 server03 kernel: zapi: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:52 server03 kernel: zapi loaded
May 27 14:29:52 server03 kernel: nebdrv: Loading module compiled for kernel version 2.6.16.60-0.21-smp into kernel version 2.6.16.60-0.39.3-smp
May 27 14:29:57 server03 nss: NSS started up

Changes:

Kernel updated from version 2.6.16.60-0.21, which is what is bundled with SLES10sp2

Resolution

The NSS kernel modules and the kernel are not part of the same patch/release schedule. 
This behavior can be observed with any kernel module that does not ship as part of the SLES distribution.

Additional Information

The "Loading module compiled for kernel version 2.6.16.60-0.21-<arch> into kernel version" messages only appear when the novell-nss modules are loading.
 
The nsslnxlib module was setting the "kernel tainted" flag.