[evlog-dev] Does evlog kernel part work on 2.6 kernel?

"Zhu, Yi" <[email protected]> Fri, 26 Mar 2004 11:18:59 +0800
Newsgroups gmane.linux.kernel.event-logging
Message-ID <3ACA40606221794F80A5670F0AF15F842DB194@PDSMSX403.ccr.corp.intel.com>
Hi,

Iong time no see!

I use SUSE SLES 9 shipped evlog.=20

$ uname -a
Linux atca4 2.6.3-30-bigsmp #3 SMP Tue Jan 7 16:22:35 PST 2003 i686 i686
i386 GNU/Linux

I found the evlog kernel part doesn't work. For example,

$ insmod ./evltestmod.ko
$ evlview

Nothing appended!

Their kernel source contains three evlog files, evlapi.c evlbuf.c
evlposix.c

Evlog is enabled in kernel.
$ cat /proc/kallsyms |grep posix_log
c0148570 T posix_log_write
c0148610 T posix_log_vprintf
c0148710 T posix_log_printf

Any ideas? (btw, the userspace part works well)


Another problem is when I insmod kfacreg2.ko

$evlview
recid=3D505, size=3D0, format=3D13281, event_type=3D0x33e1, =
facility=3D0x74736574,
severity=3D1668244575, uid=3D1668244575, gid=3D4019257344, =
pid=3D1768383826,
pgrp=3D1634890867, time=3DTue Jan  7 21:13:49 2003,
flags=3D0x69636162 (KERNEL|PRINTK), thread=3D0x7974696c, =
processor=3D8736,
host=3D0x6574
evlview: evlview.c:903: copyRecord: Assertion `status =3D=3D 0 || status =
=3D=3D
90' failed.
Aborted


Thanks,
-----------------------------------------------------------------
Opinions expressed are those of the author and do not represent Intel
Corp.

- Zhu Yi (Chuyee)

GnuPG v1.0.6 (GNU/Linux)
http://cn.geocities.com/chewie_chuyee/gpg.txt or
$ gpg --keyserver wwwkeys.pgp.net --recv-keys 71C34820
1024D/71C34820 C939 2B0B FBCE 1D51 109A  55E5 8650 DB90 71C3 4820=20


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click