Hello Ole,

I'm about to port a STREAMS modul from Solaris 2.5 to Linux. It is implements an 
acknowledged datagram
protocol using UDP. 

To make myself familiar with LiS, I downloaded LiS-2.6 and your xti-0.4 and udp-0.2
packages. LiS in default config, compiles, installs and runs (strtst) without any 
problems. xti and udp
compile with minor changes (I disabled struct t_opthdr, because already definded in 
LiS/tpicommon.h) 
I'm running SuSE 6.2 with a 2.2.10 kernel and gcc version 2.95.2 19991024 (release)

When I start udpechod I got the following syslog and error messages

Dec 28 12:52:39 brunhild modprobe: modprobe: Can't locate module char-major-30

brunhild:/usr/src/udp # ./udpechod 
open("/dev/udp", O_RDWR, NULL): System error: No such device

crw-rw-rw-   1 root     root      30,  39 Jul 23 01:05 /dev/udp

Any hint what I missed ?

Oliver


---------------------------------------------------------------------------------------------------------------------------------------------------------

SYSLOG:
Dec 28 12:52:04 brunhild kernel: Streams module "ip_to_streams" registered, id 3
Dec 28 12:52:04 brunhild kernel: Streams module "relay" registered, id 4
Dec 28 12:52:04 brunhild kernel: Streams module "relay2" registered, id 5
Dec 28 12:52:04 brunhild kernel: Streams driver "clone-drvr" registered, major 50
Dec 28 12:52:04 brunhild kernel: Streams driver "loop-around" registered, major 51
Dec 28 12:52:04 brunhild kernel: Streams driver "mini-mux" registered, major 52
Dec 28 12:52:04 brunhild kernel: Streams driver "printk" registered, major 53
Dec 28 12:52:04 brunhild kernel: Linux Streams Subsystem ready. Major device number 
254.
Dec 28 12:52:04 brunhild kernel: Version 2.6 11/16/99. Compiled for kernel version 
2.2.10.
Dec 28 12:52:04 brunhild kernel: LiS-RunQ running pid=9729
Dec 28 12:52:39 brunhild modprobe: modprobe: Can't locate module char-major-30
------------------------------------------------------------------------------------------------------------------------------

brunhild:/usr/src/udp # streams -s

                                   Current       Total     Maximum    Failures
STREAMS Files Open          :            1           1           1           0
Memory Allocator Calls      :            3           3           3           0
Memory Free Calls           :            0           0           0           0
Bytes Allocated             :          480         480         480           0
Memory Limit                :            0           0           0           0
In-Use Message Blocks       :            0           0           0           0
Free Message Blocks         :            0           0           0           0
Data Blocks                 :            0           0           0           0
Bytes Allocated to D-Blks   :            0           0           0           0
D-Blk Memory Limit          :            0           0           0           0
Bufcalls                    :            0           0           0           0
Messages Queued             :            0           0           0           0
Messages Queued at Strm Hd  :            0           0           0           0
Canput Calls                :            0           0           0           0
Queues Allocated            :            2           2           2           0
Scheduled Queues            :            0           0           0           0

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

brunhild:/usr/src/udp # ./udpechod 
open("/dev/udp", O_RDWR, NULL): System error: No such device

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

brunhild:/usr/src/udp # streams -s

                                   Current       Total     Maximum    Failures
STREAMS Files Open          :            1           2           1           0
Memory Allocator Calls      :            6           6           6           0
Memory Free Calls           :            3           3           3           0
Bytes Allocated             :          480         960         480           0
Memory Limit                :            0           0           0           0
In-Use Message Blocks       :            0           0           0           0
Free Message Blocks         :            0           0           0           0
Data Blocks                 :            0           0           0           0
Bytes Allocated to D-Blks   :            0           0           0           0
D-Blk Memory Limit          :            0           0           0           0
Bufcalls                    :            0           0           0           0
Messages Queued             :            0           0           0           0
Messages Queued at Strm Hd  :            0           0           0           0
Canput Calls                :            0           0           0           0
Queues Allocated            :            2           4           2           0
Scheduled Queues            :            0           1           1           0
brunhild:/usr/src/udp # streams -s


Gru�

    Oliver

**************************************************
* Jens-Oliver P. Siepmann                        *
* Lehrstuhl Informatik III                 ////  *
* Universitaet Dortmund               UNI DO//   *
* August-Schmidt-Str 12             ____ ////    *
* 44227 Dortmund                     \\\////     *
* Germany                             \\\\/      *
* Phone: ++49.231.755.5325                       *
* FAX:   ++49.231.755.5323                       *
* Email: [EMAIL PROTECTED]         *
* WWW:   http://ls3-www.cs.uni-dortmund.de       *
**************************************************

----------------------- *THE_LIST_HAS_MOVED* -------------------------------
It is now hosted at gsyc.escet.urjc.es.
To (un)subscribe send a mail to <[EMAIL PROTECTED]>
To send a contribution  send a mail to <[EMAIL PROTECTED]>
Web archives for lists can be found at http://gsyc.escet.urjc.es/lists

Reply via email to