Steve, SVR 4.2 STREAMS modules do no return negative error numbers, they return MODOPENFAIL, which is translated to ENXIO when returned to the opening process. LiS does not comply to SVR 4.2 because it does not accept a positive error code. Almost everywhere you point LiS has an error. This is just an example where someone happened to point.
Linux Fast-STREAMS accepts positive error numbers, but also will accept negative error numbers for compatibility with broken LiS modules and drivers. --brian On Mon, 08 May 2006, Steve Schefter wrote: > Hi Angel. > > > I'm using LiS because it is a requirement to install IBM Communications > > Server in SuSE SLES8 kernel 2.4.21-292-smp LiS 2.16 + patch provide by > > IBM and CS 6.2 > > I found this error in the messages.log > > May 2 02:05:30 snet0001lx kernel: lis_stropen(...)#6295804 > > May 2 02:05:30 snet0001lx kernel: >> open_mods() error (-16) > > ... > > until > > May 2 09:48:49 snet0001lx kernel: lis_stropen(...)#6372652 > > May 2 09:48:49 snet0001lx kernel: >> open_mods() error (-16) > > Unfortunately, it doesn't appear to be a problem within LiS, just > reported by LiS. > > LiS' open_mods() calls lis_qopen() which in turn calls the open > routines of the modules associated with the devices being opened. > It is one of the module's open routines (part of CS?) that is > reporting error 16 (EBUSY). > > Note that this path is only followed when an existing stream is > being reopened. Given the error EBUSY, reopening may not be > supported by that module. It may be that you need to change some > configuration to use /dev/XX1 and /dev/XX2 rather than both using > /dev/XX1. Or it may be that the /dev entry is built incorrectly > and should be a cloning device (have the major number of the > clone driver and the min number equal to the add-on module's > major). > > In any event, it looks like the problem is CS-specific. > > > PS:this is the second message. I can't view the archives at > > http://gsyc.escet.urjc.es/mailarchive/linux-streams > > You can see the archive at: > http://www.mail-archive.com/linux-streams%40gsyc.escet.urjc.es/ > > Regards, > Steve > > ------------------------------------------------------------------------ > Steve Schefter phone: +1 705 725 9999 x26 > The Software Group Limited fax: +1 705 725 9666 > 642 Welham Road, email: [EMAIL PROTECTED] > Barrie, Ontario CANADA L4N 9A1 Web: www.wanware.com > > _______________________________________________ > Linux-streams mailing list > [email protected] > http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams -- Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦ [EMAIL PROTECTED] ¦ 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 ¦ _______________________________________________ Linux-streams mailing list [email protected] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
