﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
254	Kernel check not working on Ubuntu 8.04 x86_64	rainer	rainer	"The kernel check seems not to work on Ubuntu 8.04 x86_64. Reported problems (by S. Clormann):

{{{
make[1]: Entering directory `/usr/local/src/samhain-2.8.4a/m_comp'
make -C /lib/modules/2.6.24-29-server/build modules SUBDIRS=/usr/local/src/samhain-2.8.4a/m_comp KBUILD_VERBOSE=2
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-29-server'
  CC [M]  /usr/local/src/samhain-2.8.4a/m_comp/samhain_kmem.o - due to target missing
/usr/local/src/samhain-2.8.4a/m_comp/samhain_kmem.c:279: warning: initialization from incompatible pointer type
/usr/local/src/samhain-2.8.4a/m_comp/samhain_kmem.c:323: error: _SH_VMLIST_LOCK_ undeclared here (not in a function)
make[3]: *** [/usr/local/src/samhain-2.8.4a/m_comp/samhain_kmem.o] Error 1
make[2]: *** [_module_/usr/local/src/samhain-2.8.4a/m_comp] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-29-server'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/local/src/samhain-2.8.4a/m_comp'
make: *** [samhain_kmem.ko] Error 2
}}}

as well as the following:

{{{
sudo /sbin/insmod samhain_kmem.ko; sudo ./kern_head > sh_ks.h; sudo 
/sbin/rmmod samhain_kmem

get_dispatch: did not find sys_call_table in system_call code
** This indicates that either your System.map does not match
** the currently running kernel, or that your System.map does
** not provide the required information, and thus use of
** the --with-kcheck option is not possible
kern_head: get_dispatch failed


Kernel version: Linux 2.6.32-31-server #61-Ubuntu SMP Fri Apr 8 19:44:42 
UTC 2011 x86_64 GNU/Linux
}}}"	defect	closed	major	2.8.5	main		fixed		
