Discussion:
LiS-2.18 on 2.6.9-22.EL
kishore
2006-01-09 12:44:38 UTC
Permalink
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
Brian F. G. Bidulock
2006-01-09 14:38:29 UTC
Permalink
kishore,

I think I already told you: timod in 2.18.0 is broken.

Your patch does not fix it.

What XTI/TLI library are you attempting to use?

What driver are you attempting to use with the XTI/TLI library?

--brian
Post by kishore
hi all,
I am workig on LiS-2.18(downloaded from gcom.com ). My Linux
distribution
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
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
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
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
***@openss7.org ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
kishore
2006-01-09 14:53:50 UTC
Permalink
hai brian,

Yes, u already said " timod in 2.18.0 " is broken. But, I am using the
same
LiS-2.18.0 on the following linux distribution also.
LINUX VERSION : Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
KERNEL VERSION : 2.4.21-15.EL
I didn't face any of the problems.
Why timod in 2.18.0 was broken? Is it related to my driver? If it is the
case, I am using
the same driver and LiS-2.18.0 on other versions of Linux also; but I never
got this problem.

I am using XTI-0.7 (downloaded from gcom.com). My Tp02 driver is going
to use
the XTI/TLI library. Can I have ur guidence in resolving this issue.
Thanks in advance.

best regards,
kishore,packetware.

----- Original Message -----
From: "Brian F. G. Bidulock" <***@openss7.org>
To: "kishore" <***@packetwareindia.com>
Cc: <linux-***@gsyc.escet.urjc.es>; <***@packetware.com>; "PaulLandey"
<***@us.ibm.com>
Sent: Monday, January 09, 2006 8:08 PM
Subject: Re: [Linux-streams] LiS-2.18 on 2.6.9-22.EL
Post by kishore
kishore,
I think I already told you: timod in 2.18.0 is broken.
Your patch does not fix it.
What XTI/TLI library are you attempting to use?
What driver are you attempting to use with the XTI/TLI library?
--brian
Post by kishore
hi all,
I am workig on LiS-2.18(downloaded from gcom.com ). My Linux
distribution
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
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
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
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
_______________________________________________
Linux-streams mailing list
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
Brian F. G. Bidulock
2006-01-09 15:03:02 UTC
Permalink
kishore,

XTI-0.7 is broken too. If you got either to work momentarily on some
distribution it is a miracle. I don't believe you.

Your patch changes message constants making it binary incompatible with
2.18.0. If you load 2.18.0 unpatched on 2.4.21 it is binary
incompatible with the patched version on 2.6.9 because the patch breaks
binary compatibility in a number of places (everywhere that it changes
header files).

--brian
Post by kishore
hai brian,
Yes, u already said " timod in 2.18.0 " is broken. But, I am using the
same
LiS-2.18.0 on the following linux distribution also.
LINUX VERSION : Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
KERNEL VERSION : 2.4.21-15.EL
I didn't face any of the problems.
Why timod in 2.18.0 was broken? Is it related to my driver? If it is the
case, I am using
the same driver and LiS-2.18.0 on other versions of Linux also; but I never
got this problem.
I am using XTI-0.7 (downloaded from gcom.com). My Tp02 driver is going
to use
the XTI/TLI library. Can I have ur guidence in resolving this issue.
Thanks in advance.
best regards,
kishore,packetware.
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
***@openss7.org ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
kishore
2006-01-11 11:20:49 UTC
Permalink
Hello brian,

Our Windows Streams based products WAN-X25 (PLP), OSI-WAN(TP02) are in use
for the last 10 years or so without any issues. These products are now
successfully ported and tested on:

Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
KERNEL VERSION : 2.4.21-15.EL
with LiS-2.18.0.tgz (from gcom.com) and XTI-0.7.tgz

We could do successful file transfers using FTAM protocol on top of these
drivers in ES release 3.



Currently we are in process of testing the above drivers on Red Hat
Enterprise Linux ES release 4 (Nahant Update 2) (KERNEL VERSION :
2.6.9-22.EL).



As there is a binary compatibility problem between ES release 3 and ES
release 4 all the following steps (including compilation) are done on Red
Hat Enterprise Linux ES release 4 (Nahant Update 2) KERNEL VERSION :
2.6.9-22.EL.



1.. Tried to compile LiS-2.18 and got some errors. Then as per the mail
received from Landey ( Delivery-Date: Mon, 26 Dec 2005 14:02:57 -0500) we
applied the patch, successfully compiled and installed the LiS-2.18.
2.. Compiled and installed XTI-0.7
3.. Compiled and installed our drivers (WAN-X25 and OSI-WAN)
4.. Ran our (server and client) test applications (basically executes
xti/tli calls) on top of our drivers (tp02 and plp).
Though we could run our test application successfully there are some memory
leaks. Our observation is that the memory leak is happening whenever a call
goes to streams_timod (kernel log posted on..)



No such memory leaks are observed when tested on Red Hat ES release 3
(Taroon Update 2, KERNEL VERSION : 2.4.21-15.EL, with LiS-2.18 and
XTI-0.7.tgz)



As we are about to take our drivers to production on ES release 4 an early
support to over come the problem is highly appreciated.



regards,

kishore, packetware.



----- Original Message -----
From: "Brian F. G. Bidulock" <***@openss7.org>
To: "kishore" <***@packetwareindia.com>
Cc: <linux-***@gsyc.escet.urjc.es>; <***@packetware.com>
Sent: Monday, January 09, 2006 8:33 PM
Subject: Re: [Linux-streams] LiS-2.18 on 2.6.9-22.EL
Post by kishore
kishore,
XTI-0.7 is broken too. If you got either to work momentarily on some
distribution it is a miracle. I don't believe you.
Your patch changes message constants making it binary incompatible with
2.18.0. If you load 2.18.0 unpatched on 2.4.21 it is binary
incompatible with the patched version on 2.6.9 because the patch breaks
binary compatibility in a number of places (everywhere that it changes
header files).
--brian
Post by kishore
hai brian,
Yes, u already said " timod in 2.18.0 " is broken. But, I am using the
same
LiS-2.18.0 on the following linux distribution also.
LINUX VERSION : Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
KERNEL VERSION : 2.4.21-15.EL
I didn't face any of the problems.
Why timod in 2.18.0 was broken? Is it related to my driver? If it is the
case, I am using
the same driver and LiS-2.18.0 on other versions of Linux also; but I never
got this problem.
I am using XTI-0.7 (downloaded from gcom.com). My Tp02 driver is going
to use
the XTI/TLI library. Can I have ur guidence in resolving this issue.
Thanks in advance.
best regards,
kishore,packetware.
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
_______________________________________________
Linux-streams mailing list
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
Loading...