home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!lbl.gov!vxwexplo
- From: baumann@proton.llumc.edu (Michael Baumann)
- Newsgroups: comp.os.vxworks
- Subject: re: RPC's
- Date: Fri, 8 Jan 93 07:54:41 PST
- Organization: Lawrence Berkeley Laboratory, Berkeley CA
- Lines: 28
- Sender: vxwexplo@lbl.gov
- Message-ID: <9301081554.AA25815@proton.llumc.edu>
- NNTP-Posting-Host: 128.3.112.16
- Originator: daemon@vxw.ee.lbl.gov
-
-
- >Submitted-by: gordon@tpocc.gsfc.nasa.gov (Gordon Miller)
- >
- >
- >sapp@falcon.ssc.gov (Kevin Sapp) writes:
- >
- >>I have RPC's working between a Sparc2 and a VxWorks MVME147, but only
- >>at the shell. When I execute the RPC server directly from the shell
- >>everything works fine. When I do a taskSpawn 100,0,20000,myRpcTest
- >>the program dies down in the pmap_unset function during an indirect
- >>function call off of (a1), the address that it is trying to call
- >>causes a bus error.
- >
- >I am surprised this works from the shell.
-
- I'm not. Odds are he uses NFS for some functions, this allows:
- 1) RPC to be loaded
- 2) rpcTaskInit() is run for the shell. So his server gets the shells task vars.
-
- When you spawn a process, that process MUST run rpcTaskInit(), or you don't
- get the needed task variables added to the task context. This should be
- done long before you even consider opening a dialoge (so to speak) with the
- portmapper.
-
- Michael Baumann
- Radiation Research Lab |Internet: baumann@proton.llumc.edu
- Loma Linda Universtiy Medical Center | UUCP: ...ucrmath!proton!baumann
- Loma Linda, California. (714)824-4077|
-