From: Bruno de O. A. <bru...@in...> - 2006-01-16 17:26:16
|
Hi everybody, I'm using relayfs to extract some informations with klog() functions on my kernel (version 2.6.15), so I enabled both relayfs and klog (this last using klog.patch). Then I used klog example from relay-apps version 0.8 (that still uses relay-app and librelay.c files) and it seems to work (cpu0..cpuX files are created on my user-space). Now I want to try klog from relay-apps version 0.91 (available at sourceforge.net). This klog uses the new API, that doesn't need relay-app and etc. Ok, I tried to compile it and I got the following message on my console: *** Warning: "relayfs_create_file" [/home/bruno/klog/klog-mod.ko] undefined! *** Warning: "relayfs_remove_file" [/home/bruno/klog/klog-mod.ko] undefined! But it still compiled. Then I tried to do a "sudo insmod klog-mod.ko" and I got this: insmod: error inserting 'klog-mod.ko': -1 Invalid module format I studied the inode.c file from relayfs and, apparently, from version 2.6.15 it doesn't mention the "relayfs_create_file" and "relayfs_remove_file" functions, so I think I'm using old versions of relayfs driver. Am I correct or there is another problem that i'm not finding? Thanks in advance for your help. []s -- Bruno de Oliveira Abinader INdT - 10Le |