Anybody have any ideas on this.
-- Dave

Subject: Autopush problems in 2.16.4 release of LiS
To: [EMAIL PROTECTED]
X-Mailer: Lotus Notes Release 5.0.6a  January 17, 2001
From: Ken Steele <[EMAIL PROTECTED]>
Date: Thu, 28 Aug 2003 14:56:56 -0700


The Problem:


      In the 2.16.4 release of LiS, using Linux 2.4.18, I cannot push two
modules on top of a driver using the autopush feature (It worked in the 2.8
release).

The Configuration file:

      #        Name      Prefix
      module   rdrm      rdr_
      module   rdredtm   rdredt_

      #        Name   Prefix   Major#   #Minors
      driver   tps43     sbsi_       *       256
      driver   rdr       rdr_        *       256
      driver   rdredt    rdredt_     *       256

      #        driver       minor lastminor  modules
      autopush tps43        -1       0       rdrm rdredtm

      #      Pathname         Type   Perm     Major#     Minor#
      node   /dev/tps43       c   *           clone-drvr  tps43
      node   /dev/rdr         c   *           clone-drvr  rdr
      node   /dev/rdredt      c   *           clone-drvr  rdredt

The Procedure:

      I open to the tps43 driver which in reality opens the sbsi driver and
then pushes the rdrm and rdredtm modules on top.  In the 2.8 release this
procedure works fine and pushes the right modules on the driver.  I can
manually open to tps43 and PUSH the modules on without error.

The Errors:

I receive the following error when streams.o loads:

streams: assert(apush_validate(&a->push) >= 0) failed in file
/work/ken/Radar_EMB_2.4/pti/NWSL/STREAMS/os/Linux/LiS/head/mod.c, line 604

      I then receive the following errors when I open to the tps43
protocol:

streams: assert(lis_fmod_sw[mod].f_str != NULL) failed in file
/work/ken/Radar_EMB_2.4/pti/NWSL/STREAMS/os/Linux/LiS/head/mod.c, line 1064
streams: assert(lis_fmod_sw[mod].f_str != NULL) failed in file
/work/ken/Radar_EMB_2.4/pti/NWSL/STREAMS/os/Linux/LiS/head/mod.c, line 1064
streams: assert(st != NULL) failed in file
/work/ken/Radar_EMB_2.4/pti/NWSL/STREAMS/os/Linux/LiS/head/head.c, line
4070

      A clue to the problem might be that when I compile LiS, I get the
warnings that RDR__UNITS and RDREDT__UNITS are redefined in LiS/config.h.
Indeed, in the config.h file, there are two entries for RDR__UNITS and
RDREDT_UNITS.  Perhaps my config file is producing double entries for my
modules?

The question:

      Did the format or usage of the autopush feature change in the 2.16.4
release from the 2.8 release?  What can I do to successfully push two
modules on a driver.  Any help would be greatly appreciated!

Thanks,
Ken


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

Reply via email to