Following to my previous message...
Please be patient, I'm new with streams...

I do the following:
1. Creates my testdrv.c under Lis/drivres/str/user
2. Compiles it with the makefile which placed in this directory (I removed
all .o from DRVRS and added testdrv.o, now DRVRS=testdrv.o ).
    As result, the drivers.o is produced
3. Moves the testdrv.o to the /lib/modules/<kernel-ver>/misc and renames it
to streams-testdrv.o
4. Makes node under /dev - % mknod /dev/testdrv c 254 0
5. Add to the /etc/modules.conf the following line:
        alias char-major-254 streams-testdrv
6. Now trying open("/dev/testdrv", O_RDWR) and...
    The open fails with the "No such device or address".
    In the log/messages I see "kernel: lis_check_info: major=254 is not
STREAMS"

Note: on the streams start I see "Major device number 254." instead of
"STREAMS driver ..... Registered....."

What is wrong?

I trying to copy to the "/lib/modules/<kernel-ver>/misc" the testdrv.o,
produced at 2 
and the drivers.o from the LiS/drivers/str/linux/ and from LiS/pkg (real
true LiS drivers!),
But the result is same.

Suggestions?

This e-mail message has been sent by Elbit Systems Ltd.
and is for the use of the intended recipients only.
The message may contain privileged or confidential information .
If you are not the intended recipient you are hereby notified that any use,
distribution or copying of this communication is strictly prohibited,
and you are requested to delete the e-mail and any attachments
and notify the sender immediately.

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

Reply via email to