hi all,

        I am workig on LiS-2.18(downloaded from gcom.com ). My Linux
distribution
details are as follows:

LINUX VERSION     : Red Hat Enterprise Linux ES release 4 (Nahant Update 2)
KERNEL VERSION  : 2.6.9-22.EL

       I got kernel panic when i tried to load streams but I got a patch
from one of
the linux-streams member. I used the patch to load streams; then I am safe
from kernel panic.
( I enclosed the patch file as an attachment) .

      Now, I got a serious problem. If,  I tried to use streams_timod
 I got a message as

Kernel log when I invoked my driver
--------------------------------------
LiS-RunQ-2.18.0r4 running on CPU 0 pid=5161
streams_timod: no version magic, tainting kernel.
STREAMS module "timod" registered, id 5.

    I ignored it and proceeded to work with my driver;  the result was
memory leakage.
I observed the following messages when I unloaded "streams_timod and
streams" using rmmod:

 kernal log after unloading streams using "rmmod streams"
----------------------------------------------------------
STREAMS module "connld" unregistered, id 1
STREAMS module "pipemod" unregistered, id 2
STREAMS module "relay" unregistered, id 3
STREAMS module "relay2" unregistered, id 4
STREAMS module "tirdwr" unregistered, id 6
lis_cache_destroy: Kernel cache "LiS-msgb" has 4 blocks still allocated
                   Not destroying kernel cache.  You will probably have
                   to reboot to clear this condition.
lis_terminate_mem: 4800 bytes of leaked memory freed
Linux STREAMS Subsystem removed

            My driver is using XTI/TLI library ( which inturn uses
streams_timod, i hope).
I'm sure, there is no memory leakage in my drivers bcas the same drivers are
working fine on the following distribution:

LINUX VERSION    : Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
KERNEL VERSION : 2.4.21-15.EL

" Note: I am enclosing the patch file as an attachment."

        Can any one suggest, how to overcome the issue.

regards,
kishore,packeware






_______________________________________________
Linux-streams mailing list
[email protected]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to