HDTenEightyP/NetNews huggingface dataset:
From: mhirsch@elan.princeton.edu (Michael Hirsch)
Subject: Re: Mouse freezes.
Originator: news@nimaster
Organization: Princeton University Department of Computer Science
	<kilpatds.721733498@craft.camp.clarkson.edu>
Date: Mon, 16 Nov 1992 05:23:24 GMT

>>>>> On Sat, 14 Nov 1992 09:31:38 GMT, kilpatds@craft.camp.clarkson.edu (Hawke) said:

Hawke> I has a problem with a locking mouse soon after I installed my
Hawke> modem.  I put the modem on com 3, and the mouse on com 1.

Hawke> Both com 1 and ocm 3 share an interrupt, so GeoWorks could not
Hawke> use both at once, although it tried valiently.

I do this too.  But some modems can change the interrupt.  Geoworks
lets you pick the interrupt to use for each Com port.  Try changing
the interrupts ifyou want to use both together.
--


Michael D. Hirsch		mhirsch@cs.princeton.edu    
Computer Science Department	Voice: (609) 258-1751       
Princeton NJ, 08544		FAX:   (609) 258-1771
From: geger@phantom.den.mmc.com (George Eger (303) 971-6974)
Subject: select() and signals
Keywords: select() signals sigRaise() kill()
Organization: Martin Marietta Astronautics Group
Date: Tue, 17 Nov 1992 22:50:36 GMT

It is my understanding that the select() call on VxWorks is rather limited
compared to Unix or other systems.  VxWorks does not support waking a
task that is pending on a select() call with signals.  Maybe my complaint
is that the sigRaise() and kill() are too wimpy.

While there are other ways of acomplishing this function (such as pipes)
they generally don't allow for the many-to-one interface and/or allow for
as clean interfaces between tasks.

Has anyone found any other clever approach to being able to multiplex
input and/or async processing? Any interest in a more robust sigRaise()
and/or select()?

GWE

||==========================================================================
||George Eger                  ||   Voice - (303) - 971 - 6974            ||
||Fault Tolerant Avionics      ||   Fax   - (303) - 977 - 1145            ||
||Launch Systems               ||   MS T320                               ||
||Martin Marietta Astro Group  ||   P.O. Box 179, Denver CO 80201         ||
||==========================================================================
||We are at a cusp - between the past when humans were more reliable than ||
||computers and the future when computers are more reliable than humans.  ||
||==========================================================================
||All opinions (however truthful or misinformed) are my own.              ||
||==========================================================================
From: wdf%ukfca1@sj.ate.slb.com
Newsgroups: comp.os.vxworks
Subject: Ethernets and backplane networks
Date: Mon, 16 Nov 92 12:35:16 GMT
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov

We have come up against a problem that I am sure other VxWorks users will
have encountered and overcome lots of times already, I would appreciate it
if you would pass on any thought on this subject.

We have a VME crate with a mv147 connected to a Sun Sparc via thinwire
ethernet. The Sun has two etherent ports, and is connected to our factory
ethernet (and via that to the world) using the standard thickwire ethernet.
The reason for having the mv147 on a separate ethernet is that it reduces
the network traffic on that ethernet, and thus Sun to mv147 communications
is faster. We intend to manufacture and ship a number of products based on
this sort of configuration.

The problem is the internet numbers. We use class C internet numbers and
have had to split our factory ethernet into two networks as we had run out
of node numbers, thus we have 192.23.1 and 192.23.8 network numbers. It is
my understanding that the Sun with two ethernet ports needs to have two
internet addresses on different networks, so the mv147 will be on a new
network (eg. 192.23.9). This is fine for a one-off, but when we have a
number of these in production, or ship a number to a single customer, we
would be using up internet network numbers at an unacceptable rate
(unaceptable to both us and the wider internet community).

There is a similar problem with a configuration that consists of a Sun with
a single ethernet interface, the mv147 is on the same ethernet/network but
has a backplane network. In this case the mv147 has two internet numbers:
the ethernet and backplane.

My questions are:
Can we physically split a single internet network, ie. have a network number
dedicated to the 'private' mv147 networks for all systems configured like
this, and use different node numbers on each system, all connected to the
same ethernet at the same time ?  (To make this clearer an example:
On the factory ethernet connect two Suns: 192.23.1.100 and 192.23.1.101.
Each Sun has two ethernet ports, the thinwire ports are 192.23.9.1 and
192.23.9.11. The associated mv147s are 192.23.9.2 and 192.23.9.12.)

The other option seems to be subnetting. Does anyone have experience with
this on VxWorks ?

Is there any other way of getting over the problem of using up internet
network numbers ?

Thanks in advance...
			Bill

-----------------------------------------------------------------------------
Bill Frewing
Schlumberger Technologies		Phone: +44 (202) 893535
Ferndown Industrial Estate		Fax:   +44 (202) 897097
Wimborne, Dorset, BH21 7PP		Email: wdf@ukfca1.uk.ate.slb.com
United Kingdom
-----------------------------------------------------------------------------
Newsgroups: comp.os.vxworks
From: carl@wrs.com (Carl Chesbrough)
Subject: Re: Disk Boot
Keywords: boot scsi
Organization: Wind River Systems, Inc.
Date: Thu, 19 Nov 1992 21:21:04 GMT

geger@phantom.den.mmc.com (George Eger (303) 971-6974) writes:

>Is there any attempt in 5.1 to allow a local disk boot?  I have heard that
>bootp is going to be used for booting, but I haven't heard anything about 
>allowing booting from a local disk?

Yes, 5.1 will allow booting from a local SCSI disk.  There is a patch
to allow 5.0.2b to boot from a local SCSI disk.

Carl C. Chesbrough
Wind River Systems
1010 Atlantic Avenue
Alameda, California  94501
(510) 748-4100
carl@wrs.com
Newsgroups: comp.os.vxworks
From: slater@tpocc.gsfc.nasa.gov (Don Slater)
Subject: Re: Ethernets and backplane networks
Keywords: Backplane Networks, Subnetting
Organization: Integral Systems, Inc / TPOCC Project
Date: Tue, 17 Nov 1992 03:29:22 GMT

We have gone through the same problem as we transitioned to a production
(operational) environment with our VME backplane networks.  We run three
MVME147s in a crate, so the first in the gateway and has two net addresses.
We use a class C net address and subnet with the first three bits of the 
fourth octet.  So the netmask on the workstations is 255.255.255.224 and is
ffffffe0 on the 147.  The address field look like:
                      inet address   150.144.62.45
                      backplane addr 150.144.62.129:ffffffe0
                      host address   150.144.62.41
On your workstation, you then can do a static route as follows:
/etc/route add net 150.144.62.128 150.144.62.45 1
The first address designates a subnet because the 5 host_id bits are zeros.

Hope at least some of this is helpful.


|    Don Slater        Senior Technical Staff |   Occasional System      |
|    Integral Systems, Inc.     CSC/LR        |   Administrator          |
|    <slater@tpocc.gsfc.nasa.gov>             |--------------------------|
|    1100 West Street                         | "What part of 'No' don't |
|    LAUREL  MD 20707-3587    USA             |  you understand?"        |
From: leonid@amil.co.il (Leonid Rosenboim)
Newsgroups: comp.os.vxworks
Subject: re: Remote shells and the rcmd() function
Date: Thu, 19 Nov 92 09:56:39 IST
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov

----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Content-Lines: 8

Here's an example of how to use rcmd() and a peice of useful code
by its own right. The code is absolutely free.
[ Please somebody archive it on "thor" ]

-------------------------------------------
R. S. T.  Software Enterprises LTD., Israel
Tel/Fax: +972-3-55-61-661

----------
X-Sun-Data-Type: c-file
X-Sun-Data-Name: hostRead.c
X-Sun-Content-Lines: 111

/*
 * hostRead - a single function module that loads the full host table
 * into vxWorks memory from the server it booted from. This info is
 * taken either from NIS (aka YP) or directly from /etc/hosts if NIS
 * is turned off.
 *
 * Written By Leonid Rosenboim, May 29 1991
 *
 * Added support for non-NIS host. Oct 22, 1991 by Leonid
 *
 */
#include <vxWorks.h>
#include <stdioLib.h>
#include <strLib.h>
#include <remLib.h>
#include <sysLib.h>
#include <hostLib.h>

int
hostRead()
{
    char server[16], user[16] ;
    char line[80] ;
    char addr[20], name[4][16] ;
    char cmd[] = "ypcat hosts" ;
    char cmd2[] = "cat /etc/hosts" ;
    char *p ;
    FILE *f ;
    register lcount ;
    register int fd, i ;

    strcpy(server, sysBootHost) ;
    remCurIdGet( user, NULL ) ;

    printf("Host: %s, User: %s\n", server, user) ;

    fd = rcmd (server,
	/*remotePort*/ 514,
	/*localUser*/ user,
	/*remoteUser*/ user,
	cmd,
	/*fd2p*/ NULL ) ;

    if( fd < 0 ) {
	perror("rcmd") ;
	return(fd);
    }

    f = fdopen(fd, "r") ;

    lcount = 0 ;

    while( fgets(line, 79, f) == line ) {

	lcount ++ ;

	/* puts(line) ; */

	p = index(line, '#') ;
	if( p != NULL ) *p = '\0' ;

	fd = sscanf(line, "%s %s %s %s %s", addr, name[0], name[1], name[2],
	    name[3] ) ;

	for( i=0, fd--; fd>0; fd--) {
	    (void) hostAdd(name[i++], addr) ;
	} /*for*/

    } /* while */

    i = fclose(f);

    if ( lcount != 0 ) return(i) ;

    /* If no hosts where recorded we asume that NIS is not running */

    fd = rcmd (server,
	/*remotePort*/ 514,
	/*localUser*/ user,
	/*remoteUser*/ user,
	cmd2,
	/*fd2p*/ NULL ) ;

    if( fd < 0 ) {
	perror("rcmd") ;
	return(fd);
    }

    f = fdopen(fd, "r") ;

    while( fgets(line, 79, f) == line ) {

	lcount ++ ;

	/* puts(line) ; */

	p = index(line, '#') ;
	if( p != NULL ) *p = '\0' ;

	fd = sscanf(line, "%s %s %s %s %s", addr, name[0], name[1], name[2],
	    name[3] ) ;

	for( i=0, fd--; fd>0; fd--) {
	    (void) hostAdd(name[i++], addr) ;
	} /*for*/

    } /* while */

    i = fclose(f);
    return(i);
}
Newsgroups: comp.os.vxworks
From: psycho@brtpa25.NoSubdomain.NoDomain (Paul Jezioranski)
Subject: General vxWorks Info Needed
Organization: Bell Northern Research, Ottawa, Ontario Canada
Date: Mon, 23 Nov 92 15:00:40 GMT

	Could some kind soul please forward me some general info on vxWorks?
What I need to know are things like:

	1) Who makes and supports it.
	2) What processors/platforms it runs on.
	3) If an FTP site exists with users application programs, notes, etc.
	4) Any other useful info to newbies.

	Thanks in advance,

-- 
===============================================================================
Paul Jezioranski			|  STANDARD DISCLAIMER -- My opinions 
psycho@bnr.ca				|  are shared by my employer only when
Bell-Northern Research, Inc. RTP, NC	|  they agree with me.
From: Bob Foery <bobf@verdix.com>
Newsgroups: comp.os.vxworks
Subject: re: 16 Port I/O board
Date: Mon, 23 Nov 92 10:04:46 +0000
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov


==Submitted-by mea@sparta.com  Fri Nov 20 05:54:33 1992
==Submitted-by: mea@sparta.com (Mike Anderson)
== 
==Greetings!
==
==  Does anyone know of a 16 port SYNCHRONOUS I/O board (RS-232 or
==RS-422) with VxWorks driver support (O.K., I'm getting lazy 'cause
==I'd rather buy it than write it ;-).  It would be nice if it could
==handle 256KB/s and be wonderful if it could go up to T1 or CEPT speeds
==(not on all 16 ports, of course).  I suspect that an intelligent board
==would be the best bet especially if it knew about the VxWorks backplane
==network.

Mike, you might want to give FORCE a call.  I believe I read somewhere
that there is a device driver for their ISIO-2 board.


Bob Foery
Verdix Corporation
bobf@verdix.com
Newsgroups: comp.os.vxworks
From: geger@phantom.den.mmc.com (George Eger (303) 971-6974)
Subject: Disk Boot
Keywords: boot scsi
Organization: Martin Marietta Astronautics Group
Date: Thu, 19 Nov 1992 18:17:44 GMT

Is there any attempt in 5.1 to allow a local disk boot?  I have heard that
bootp is going to be used for booting, but I haven't heard anything about 
allowing booting from a local disk?

GWE

||==========================================================================
||George Eger                  ||   Voice - (303) - 971 - 6974            ||
||Fault Tolerant Avionics      ||   Fax   - (303) - 977 - 1145            ||
||Launch Systems               ||   MS T320                               ||
||Martin Marietta Astro Group  ||   P.O. Box 179, Denver CO 80201         ||
||==========================================================================
||We are at a cusp - between the past when humans were more reliable than ||
||computers and the future when computers are more reliable than humans.  ||
||==========================================================================
||All opinions (however truthful or misinformed) are my own.              ||
||==========================================================================
From: wbrown@bevsun.bev.lbl.gov (Bill Brown)
Newsgroups: comp.os.vxworks
Subject: Re: rename function
Date: 18 Nov 1992 15:45:01 GMT
Organization: Lawrence Berkeley Laboratory, California
NNTP-Posting-Host: 131.243.192.17

In article <9211172311.AA05519@imatron.COM> jel@imatron.com (Jim Luecke) writes:
>I am using vxworks with nfs and am having a problem using
>the rename function.  Delete works fine, rename always comes
>back with no such file error.  I verified that the nfs 
>authorization for nfs server is correct.
>Has anyone else encountered this problem or shed any light.

Yup - rename() is/was broken from day 1, at least in our experience.

We hope it will get fixed in 5.1, currently in beta.  I suspect it was
one of those "minor" problems that got passed over, dropped on the floor,
whatever.  We ended up working around it by using copies and deletes.

Disclaimer:  These opinions are my own and have	    |
    nothing to do with the official policy or the   |  -bill
    management of L.B.L, who probably couldn't      |   wlbrown@lbl.gov
    care less about employees who play with trains. |
From: abenett@sadira.gb.nrao.edu (ARON BENETT)
Newsgroups: comp.os.vxworks
Subject: TIRPC on vxWorks
Date: 18 Nov 92 14:57:25 GMT
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov

We are currently developing a system for monitor and control of the Green Bank
telescope using multiple mv147 boards and a network of Sun workstations. The
code we are producing is written in C++ and for a major portion of the system
we will be doing communication via RPC's. What we would like to know is, has
anyone out there in vxWorks land attempted to port the TIRPC code over to
vxWorks. Some of the advantages to this port are that rpcgen.new generates
ANSI-C code, supports the ability to package up multiple arguments and pass
them by value and support for c++. If anyone out there has any information
about this, it would be greatly appreciated.
Thanks in advance..

Aron J. Benett

abenett@nrao.edu
National Radio Astronomy Observatory
P. O. Box 2
Green Bank, WV 24944-0002
(304) 456-2214
From: biocca@csg.lbl.gov (Alan K Biocca)
Newsgroups: comp.os.vxworks
Subject: re: comp.os.vxworks newsdigest
Date: Wed, 18 Nov 92 07:51:49 -0800
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov

From: geger@phantom.den.mmc.com (George Eger (303) 971-6974)
	
	Macintosh OS, for as wimpy as it is, has a neat feature of code segmentation
	and the ability to unload segments under program control.  Is it easy
	(anything is possible, it's just a little more software ;-) to segment
	initialization routines from main loops and then remove/overlay them?
	
	Does anybody do this overlaying/unloading on VxWorks? Or do we all have
	oodles of memory on our SBC's?
	
	
VxWorks 5.1 (now in beta test) has the capability to 'unload' modules.

Alan K Biocca
Control Systems Group
Lawrence Berkeley Laboratory
From: mea@sparta.com (Mike Anderson)
Newsgroups: comp.os.vxworks
Subject: 16 Port I/O board
Date: Fri, 20 Nov 92 08:57:09 EST
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov

Greetings!

  Does anyone know of a 16 port SYNCHRONOUS I/O board (RS-232 or
RS-422) with VxWorks driver support (O.K., I'm getting lazy 'cause
I'd rather buy it than write it ;-).  It would be nice if it could
handle 256KB/s and be wonderful if it could go up to T1 or CEPT speeds
(not on all 16 ports, of course).  I suspect that an intelligent board
would be the best bet especially if it knew about the VxWorks backplane
network.

BTW, sorry that my last message was too wide.  I didn't realize it until I
sent it out :-(.

Thanks in advance,


==============================================================================
    AAAA  D D    D D    EEEEE   M   M  TM  // AAAA RRRR  TTTTTT SSSSS EEEEE TM
   A   A  D   D  D   D  E      M M M M    // A   A R   R   TT   S     E
  AAAAAA  D   D  D   D  EEEEE  M  M  M   // AAAAAA RRRR    TT    SSS  EEEEE
 A     A  D   D  D   D  E      M     M  // A     A R  R    TT       S E
A      A  D D    D D    EEEEE  M     M // A      A R   R   TT   SSSSS EEEEE

Process Distribution/Control and Communications for Distributed Systems

Mike Anderson                       Voice: (703) 448-0210 ext. 235
Director, ADDEM(TM) Project Office  FAX:   (703) 734-3323
SPARTA, Inc.                        EMAIL: mea@sparta.com
Suite 900                     
7926 Jones Branch Drive        "It is useless for sheep to pass resolutions 
McLean, VA  22102               in favor of vegetarianism while wolves remain
                                of a different opinion."

                                   William R. Inge, D.D.
==============================================================================
From: pdw@sunbar.mc.duke.edu (Patrick D. Wolf)
Newsgroups: comp.os.vxworks
Subject: rlogin to vxWorks
Date: Tue, 17 Nov 92 10:52:27 -0500
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov


Is there a facility in vxWorks for running a user routine at rlogin? That is
is there a hook or a usr routine that can be edited that will let me do some
things whenever someone rlogs in to my vxWorks target? I found logout in usrLib
but there does not seem to be equivalent for rlogin. Also I couldn't find more
than a cursory reference to rlogInTask. 
If there is no facility in vxWorks, has anybody come up with a creative way of
doing this?

Thanks in advance,

Patrick Wolf
Department of Biomedical Engineering
Duke University, Durham, NC
919-660-5114
pdw@sunbar.mc.duke.edu
From: crispen <@ada3.ca.boeing.com:crispen@efftoo.boeing.com>
Newsgroups: comp.os.vxworks
Subject: re:  Remote shells and the rcmd() function
Date: Tue, 17 Nov 92 08:45:58 CST
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov

markm@ee.ubc.ca (mark milligan) asks about rcmd()

Funny you should ask.  I just wrote the following for Unix to test
it out (the VME boxes are down).

/*****************************************************************
*
* Illustrates the use of (Unix) rcmd
*
* The user on this system (who must be superuser) is prompted
* for a string.  The string is sent to a program on foxy called
* rcmd_echo which reads it in and echos it out, capitalized.
*
*****************************************************************/
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
main()
{
	int c;
	int i=0;
	unsigned short inport = 514;
	char *host = "foxy";
	char **ahost = &host;
	char *locuser = "crispen";
	char *remuser = "crispen";
	char echo[100];
	char *cmd = "/home/crispen/rcmd_echo";
	char buffer[100];
	int fd2p = 0;
	int fd;

	fd = rcmd(ahost, inport, locuser, remuser, cmd, &fd2p);
	if (fd == -1)
		exit(1);
	printf("Connected\n");
	printf("Give me a string: ");
	while ((c=getc(stdin)) != '\n')
		echo[i++] = c;
	echo[i++] = '\n';
	echo[i] = '\0';
	write(fd, echo, strlen(echo));
	printf("Done with write\n");
	read(fd, buffer, 100);
	printf("%s", buffer);
	close(fd);
}

This talks to a guy called (as one might guess) rcmd_echo on a host called
foxy:

#include <stdio.h>
#include <ctype.h>
main()
{
        int c;
        int i=0;
        int j;
        char buf[100];
        while ((c=getc(stdin)) != '\n')
                buf[i++] = c;
        buf[i++] = '\n';
        buf[i] = '\0';
        for (j=0; j<=i; j++)
                if (islower(buf[j]))
                        buf[j] = toupper(buf[j]);
        printf("%s", buf);
}

That is, it takes a string in stdin and capitalizes it in stdout.

Note that rcmd() is different in VxWorks (4.0.2) -- ahost is char** in
Unix and char* in VxWorks.

BTW, can anyone tell me before I try it if this works on 4.0.2?  I
know it does on 5.x, since they use it to download VxWorks.
+-------------------------------+--------------------------------------+
| Bob Crispen                   |  Who will babysit the babysitters?   |
| crispen@foxy.boeing.com       +--------------------------------------+
| (205) 461-3296                |Opinions expressed here are mine alone|
+-------------------------------+--------------------------------------+
From: biocca@csg.lbl.gov (Alan K Biocca)
Newsgroups: comp.os.vxworks
Subject: re: rename function
Date: Tue, 17 Nov 92 19:33:48 -0800
Organization: Lawrence Berkeley Laboratory, Berkeley CA
NNTP-Posting-Host: 128.3.112.16
Originator: daemon@vxw.ee.lbl.gov

We've never been able to get the rename function to work with VxWorks under
NFS.  I haven't rechecked recently but it sure didn't work a version or
two back.  

Alan K Biocca

  
Newsgroups: comp.os.vxworks
From: geger@phantom.den.mmc.com (George Eger (303) 971-6974)
Subject: Unloading after init
Keywords: unload sgmentation
Organization: Martin Marietta Astronautics Group
Date: Tue, 17 Nov 1992 22:58:57 GMT

Macintosh OS, for as wimpy as it is, has a neat feature of code segmentation
and the ability to unload segments under program control.  Is it easy
(anything is possible, it's just a little more software ;-) to segment
initialization routines from main loops and then remove/overlay them?

Does anybody do this overlaying/unloading on VxWorks? Or do we all have
oodles of memory on our SBC's?

GWE

||==========================================================================
||George Eger                  ||   Voice - (303) - 971 - 6974            ||
||Fault Tolerant Avionics      ||   Fax   - (303) - 977 - 1145            ||
||Launch Systems               ||   MS T320                               ||
||Martin Marietta Astro Group  ||   P.O. Box 179, Denver CO 80201         ||
||==========================================================================
||We are at a cusp - between the past when humans were more reliable than ||
||computers and the future when computers are more reliable than humans.  ||
||==========================================================================
||All opinions (however truthful or misinformed) are my own.              ||
||==========================================================================
Newsgroups: comp.os.vxworks