STREAMS message from pseudo-device to pseudo-device

STREAMS message from pseudo-device to pseudo-device

Post by Ravi Rajan Subramania » Wed, 13 Jan 1999 04:00:00



Hi everybody,

I have a kernel device driver programming related question for Solaris
2.6.

We have a packet classifier which sits between the IP pseudo-driver
and the network interface driver.

We need to send an unacknowledged message from the IP driver to our
classifier so as to pass on connection setup information. The classifier
is implemented as a pseudo device driver. We have plumbed the classifier
beneath IP, and now need a way to send M_PROTO messages from the IP driver
to the classifier. We have saved up the address of the device write queue
of our classifier in a global variable, but a putnext of a message from IP
onto the classifier's device write queue causes the machine to crash.

(1) In short, is there a way for M_PROTO messages to be transmitted from
IP to our classifier beneath it.

(2) Is there a way to set up a STREAM between two kernel pseudo device
drivers?

Thanks a bunch in advance.

Regards,
ravi

 
 
 

1. May 23 10:50:05 mwsbit04 pseudo: [ID 129642 kern.info] pseudo-device: devinfo0

Hi all,
   tomorrow i have get some errors on a my production server.
This is a SunOS mwsbit04 5.9 Generic_118558-22 sun4u sparc
SUNW,Sun-Fire-V240 and this morning i have found unexpectedly slowness
of the processes.
The server have installed a iPlanet Web Server  6.1 SP4 and after that
i have found this slowness i have restarted the Web Server istance and
the problem seems to be ok, but I have noticed that in
/var/adm/messages i have these errors:

May 23 10:49:50 mwsbit04 pseudo: [ID 129642 kern.info] pseudo-device:
devinfo0
May 23 10:49:50 mwsbit04 genunix: [ID 936769 kern.info] devinfo0 is

May 23 10:49:50 mwsbit04 pseudo: [ID 129642 kern.info] pseudo-device:
devinfo0
May 23 10:49:50 mwsbit04 genunix: [ID 936769 kern.info] devinfo0 is

May 23 10:49:55 mwsbit04 pseudo: [ID 129642 kern.info] pseudo-device:
devinfo0
May 23 10:49:55 mwsbit04 genunix: [ID 936769 kern.info] devinfo0 is

May 23 10:50:00 mwsbit04 pseudo: [ID 129642 kern.info] pseudo-device:
devinfo0
May 23 10:50:00 mwsbit04 genunix: [ID 936769 kern.info] devinfo0 is

May 23 10:50:05 mwsbit04 pseudo: [ID 129642 kern.info] pseudo-device:
devinfo0
May 23 10:50:05 mwsbit04 genunix: [ID 936769 kern.info] devinfo0 is

Anyone can help me ?!?!
Someone has found the same errors?

Thanks in advance

Antonio Romito
Solution Specialist - Network Systems & High Availability
ICT Department - Gruppo Borsa Italiana

2. need INT10 functions for ATI RADEON

3. pseudo-device error in messages

4. Problem "cloning" disks

5. Network Pseudo-device question

6. Netscape 4.5 Dramas

7. undefined pseudo-device abcd

8. newbie and diskdrive

9. HELP: configuring tun0 pseudo-device

10. Pseudo-Device Driver in Solaris 2.x

11. Pseudo-device Qns

12. Help developing a pseudo-device driver ?

13. SUMMARY: Is this a job for a pseudo-device driver?