HDTenEightyP/NetNews huggingface dataset:
From: Eli.Mantel@launchpad.unc.edu (Eli Mantel)
Newsgroups: comp.unix.aix
Subject: return code 9 from system()
Date: 24 Nov 92 04:04:13 GMT
Distribution: na
Organization: University of North Carolina Extended Bulletin Board Service

I have been encountering a problem using the system() library routine
(i.e. the routine that invokes another program or command).

I am working on a program that is spawned from another program and thus
runs "in the background".  That program then will invoke certain
commands via system().  It doesn't matter what the command is, but,
sometimes it works just fine, and other times we get a return code of 9.
(But once we get the return code of 9, all subsequent invocations also
return a 9).

According to the man page, this return code could only be coming from
the program executed.  Since the command executed doesn't matter, it
seems like it must be coming from the shell, which I believe system()
invokes to actually execute the command line specified.

I realize that 9 is the "errno" value for "not a valid file descriptor",
but there's no real reason to believe that the shell returns the errno
value.  I am interested in any suggestions about what might be causing
this problem.
				Eli Mantel (eli.mantel@launchpad.unc.edu)
--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  laUNChpad.unc.edu or 152.2.22.80
From: adennie@sweetjane.hyperdesk.com (Andy Dennie)
Newsgroups: comp.unix.aix
Subject: warnings from 'ld' when building shared lib
Date: 19 Nov 92 03:12:14 GMT
Reply-To: andy_d@hyperdesk.com
Followup-To: comp.unix.aix
Organization: HyperDesk Corporation, Westboro, MA

I'm trying to create a shared library from a bunch of .o's and some
.a's.  When I do, I get a bunch of warnings like:

0706-223 WARNING:  Local definition of 'foo' replaced by import version. 

My link line looks like:

  ld -bM:SRE -o shared_lib foo1.o foo2.o libfoo3.a libfoo4.a -E foo.exp

The file foo.exp contains the symbols the shared library is to export.
The function 'foo' I'm getting the warning about is not one of them, if
that matters.  Can anybody explain what is going on here?  Thanks.

-- 
Newsgroups: comp.unix.aix
From: scotte@cdsac.uucp (L. Scott Emmons)
Subject: Re: RS6000 almost stops with heavy disk access.
NntpPostingHost: cdsac
Date: 19 Nov 1992 19:20:57 GMT
Organization: CableData (U.S. Computer Services), Sacramento, CA

In article <199211171808.AA15477@cc.ysu.edu> JOAOLSD@vm1.sdi.uam.es (Joao Luis Silva Damas) writes:
>Hi,
>we have two rs6000 (a 320H and 340) being used by different kinds of users.
>Some of them do large molecular calculations which create HUGE (600700 MB) tem
>porary files for the molecular integrals. When their program begins writing the
>se huge files and then reading them as needed, our machines almost stop and oth
>er users are almost unable to use the system. The slowness means 3060 sec to l
>ogon, 1 minute for X windows to create a new window, a long time for even an ls
>, etc. Most other users do a lot of editing so they actually need better respon
>se time from the machine.
>Is there anyway to correct this situation (besides killing those huge calculati
>ons, of course)?

Try turning on I/O Pacing, which is accessed via "smit system"
fastpath, choose the "characterstics of the operating system" option.
If you ask for help in the fields, it will give some information. We
use 17 for the highwater mark and 5 for the lowwater mark (IBM
suggested "startingpoint" values). Values for the highwater mark
should be (according to IBM) along the formula '4*(num pages)+1'. The
"AIX Tuning Gude" (IBM Publication SC23236501) contains further
information about I/O Pacing, which is basically used to prevent large
I/O operations from monopolizing the CPU. Overall system performance
goes down when using this feature; it is used (in general) where you
want to favor interactive users over long I/O bound jobs.

 
			   L. Scott Emmons
		      CableData  Research Center
		     csusac.csus.edu!cdsac!scotte
				KC6NFP
Newsgroups: comp.unix.aix
From: millert@nordsieck.cs.Colorado.EDU (Todd C. Miller)
Subject: Re: print problems with AIX 3.2
Keywords: n
Organization: University of Colorado, Boulder
Date: Mon, 23 Nov 1992 05:59:53 GMT

In article <1992Nov20.081706.24108@aragorn.unibe.ch> haedener@iacrs1.unibe.ch writes:
>APAR IX29407 (header = never in /etc/qconfig is ignored),
>included in PTF U407164. As of new, that PTF does not include
>the fix for qdaemon to stop it doing thousands of syscalls a sec yet.
>It does solve the banner page problem.

Anyone know where I can find this beast?

thanks in advance,
                  todd
-- 
 Todd C. Miller    millert@cs.Colorado.EDU    Sys/Adm Undergraduate Operations
From: karell@cs.Helsinki.FI (Esa Karell)
Newsgroups: comp.unix.aix
Subject: Novell-client for AIX
Date: 20 Nov 92 10:01:50 GMT
Organization: University of Helsinki, Finland

I've heard that this does exist for AIX. IBM doesn't sell
it so does anyone know who does? Supposedly, it was done
by Novell.

Esa
-- 

Esa Karell karell@cs.Helsinki.FI
Tel. +358-0 513 081 /home
Newsgroups: comp.unix.aix
From: losecco@undpdk.hep.nd.edu     (John LoSecco)
Subject: How to configure pcsim with pcsimlim.sys?
Summary: LIM support under pcsim?
Keywords: pcsim pcsimlim.sys keyboard 
Organization: Notre Dame High Energy Physics
Distribution: na
Date: Mon, 23 Nov 1992 13:42:25 GMT

I have searched high and low and can find no document on using the
pcsimlim.sys device driver.  We are running AIX 3.2.2 and DOS 3.3
Any hints?

I have included device=c:\pcsimlim.sys in the config.sys file but the
programs report no EMS and no XMS?

simprof includes 
xmemory             : 2048

On an unrelated question, I am using 
kbdmap              : /usr/lpp/pcsim/tty/C/aixterm
yet my applications have a very hard time accessing the keyboard as a standard
101 keyboard.  I am using the console.  Can my window manager mess things up?
Can I override xmodmap for the pcsim application?

Thanks for any advice.
-- 
John M. LoSecco			Phone:(219)239-6044          Fax:(219)239-5952
Physics Department		HEPnet/SPAN: UNDHEP::LOSECCO or 47344::LOSECCO
University of Notre Dame		Internet: losecco@undpdk.hep.nd.edu
Notre Dame, Indiana 46556 USA		Bitnet: losecco@undhep
From: ak@ananke.stgt.sub.org (Andreas Kaiser)
Newsgroups: comp.unix.aix
Subject: HP 4mm DAT drive for RS/6000 
Distribution: world
Date: Mon, 16 Nov 92 05:33:27 GMT
Organization: ananke


In article <1992Nov12.084428.8289@monu6.cc.monash.edu.au> map@hal.maths.monash.edu.au writes:

  > I'm considering purchasing a HP 35470A 2.0Gb 4mm DAT drive to be used on 
  > an RS/6000 and I was wondering whether anyone with experience with this
  > combination could tell me:

I have tested a version of HP 35480A with a special firmware,
pretending it's an IBM-7207 (Tandberg TDC3660).
  
  >   * Are there any problems/disadvantages with this combination?

Normal backups/restores were possible.
  
  >   * Can a bootable image (mksysb) be created on these drives?

I was not able to boot from the DAT. However I was able to boot from
the QIC tape and to restore the system backup from DAT. Likewise it
should be possible to boot from floppies and to restore the sysb from
DAT.
  
  >   * Is the actual performance as good as quoted?  (e.g. average 30 sec
  >     access for any part of the tape, 183 Kb/sec transfer rate.)

The system backup averaged ~~350 KB/sec (compressed).
  
  >   * Was it recognised by smit and were there any problems setting it 
  >     up with AIX 3.2?  (Not that I'm there yet, but I hope to be soon
  >     by the good grace of IBM Oz!)  

It was recognized by smit, but intentionally as an IBM 150MB tape (see
above).

:::::::::::::::::::: subnet:  ak@ananke.stgt.sub.org
:: Andreas Kaiser :: fidonet: 2:241/7220.9
::::::::::::::::::::
From: sk@thp.uni-koeln.de (Sebastian Kremer)
Newsgroups: comp.unix.aix
Subject: Re: Login help needed; adding a tape drive
Date: 19 Nov 92 18:50:49
Organization: Institute of Theoretical Physics, University of Cologne, F. R.
	Germany
NNTP-Posting-Host: sun4.thp.uni-koeln.de
In-reply-to: kent@cs.mcgill.ca's message of 7 Nov 92 00:56:08 GMT

>>> On 7 Nov 92 00:56:08 GMT, kent@cs.mcgill.ca (Kent Tse) said:

Kent> When I try to log in through the network to a dataless client I
Kent> get the following message.

> IBM AIX Version 3 for RISC System/6000
     > (C) Copyrights by IBM and by others 1982, 1991.
     > login: root
     > root's Password:
     > 3004-004 You must "exec" login from the lowest login shell.
     > Connection closed by foreign host.

The same happened to me last week.  After a while the rlogin error
message changed to "marcie: no such file or directory" (where marcie
is the hostname of the client).  The problem vanished after I gave the
client more paging space.

In my experience, AIX behaves completely unpredictable when memory
gets low...
--

---------------------------------------------------------------------------
Sebastian Kremer <sk@thp.Uni-Koeln.DE>
Institute of Theoretical Physics, University of Cologne, F. R. of Germany

On May 17, 1992 I started a new job without email access (yet).  I can
read my mail only occasionally.  The mail address will continue to
work, but don't expect answers in less than a week.
---------------------------------------------------------------------------
Newsgroups: comp.unix.aix
From: bzs@world.std.com (Barry Shein)
Subject: Can SOMEONE at IBM please help one of your employees...
Organization: The World
Distribution: comp
Date: Thu, 19 Nov 1992 03:56:10 GMT


Eileen Drucker at the Waltham, MA sales office (?) needs a set of
bootable 3.2.0 tapes with "all the packages" on them (I don't know
exactly what that means but I am sure she does.)

It all started when I had gone through THREE sets of 3.2 tapes trying
to install on an RS/6000 here, resulting in about 8 days wasted time
and two rather expensive doorstops. Two tapes ran for a while and
finally aborted with a tape error and an unbootable system, the third
ran right off the reel (system was still unbootable of course.)

Finally someone at the support office sent me a set of tapes which
worked. I breathed a sigh of relief and proceeded to put in a few more
20 hour days trying to catch up on the time I lost over this. This was
about 8 weeks ago.

NOW the support office is telling me that if they do not get that set
of tapes back ALL OF IBM WILL COME CRASHING TO A HALT. And that it is
utterly impossible (or, at least, far more trouble for them than
putting me out) for them to get another set of tapes.

You can imagine why at this point I would like to hang onto the only
set of tapes that worked and not be left high and dry, and don't
really feel like trying another set of tapes, scratch my disks,
re-install everything, just to see if indeed some other set of tapes
will suffice after three sets failed.

After a rather emotional and upsetting call from her and sensing the
absolute absurdity that a customer on full-support cannot hang onto
the only set of tapes that worked after wasting over a week already,
not to mention the absurdity that all of IBM cannot come up with a
replacement set for her, I am appealing to the net to get her off my
back and let me us both live in peace and not waste any more of our
rather precious time on this matter. Remember, the entire fate of IBM
rests on this one small favor.

I assume someone within all of IBM can get her another set of tapes,
regardless of her pessimism (and if she is pessimistic how do you
think *I* feel...)

Thank you, I have little interest in discussing this matter further, I
am only a dumb-shit customer who would like to use the systems he
(perhaps foolishly) bought.

-- 
        -Barry Shein

Software Tool & Die    | bzs@world.std.com          | uunet!world!bzs
Purveyors to the Trade | Voice: 617-739-0202        | Login: 617-739-WRLD
Newsgroups: comp.unix.aix
From: mmrw@cc.flinders.edu.au (<Rick.Williams>)
Subject: Re: *xterm function key translations
Originator: mmrw@hobson.cc.flinders.edu.au
Date: Tue, 17 Nov 1992 23:52:09 GMT
Organization: Flinders University

Use the -name option of aixterm to give the application a new name:-
		aixterm -name ESQR .... &

Then set up bindings in the .Xdefaults file as per this example
 (Case and punctuation are VERY important):-

ESQR*Translations:	#override \
<Key>Num_Lock:		string("^[OP") \n\
<Key>KP_Divide:		string("^[OQ") \n\
<Key>KP_Multiply:	string("^[OR") \n\
<Key>KP_Subtract:	string("^[OS") \n\
<Key>Home:		string("^[h") \n\
<Key>End:		string("^[e") \n\
<Key>Insert:		string("^[i") \n\
<Key>Delete:		string("^X") \n\
Ctrl<Key>Prior:		string("^[u") \n\
Ctrl<Key>Next:		string("^[d") \n\
<Key>Prior:		string("^U") \n\
<Key>Next:		string("^D") \n\
Shift<Key>Tab:		string("^[b") \n\
Ctrl<Key>Right:		string("^R") \n\
Ctrl<Key>Left:		string("^L")


Note that the ^[ string should actually be the escape sharacter itself.
Similarly ^X ^R etc are the actual control characters.

Note also that  Modifier<Key>Blah must be specified BEFORE <Key>Blah for both to work.

Newsgroups: comp.unix.aix
From: sonecha@quip.eecs.umich.edu (Vatsal P. Sonecha)
Subject: Re: essl man pages
Organization: Integrated Software Technologies, Inc.
Date: Wed, 18 Nov 1992 18:19:25 GMT

In article <1992Nov18.164100.14301@fcom.cc.utah.edu> tim@osiris.usi.utah.edu (Tim Burns) writes:
>Excuse me if this is a frequently-spit flame, but there doesn't seem to 
>be any discussion of this sort on the comp.unix.aix right now.  I was
>disturbed to find out that IBM does not have any "man" pages for ESSL.
>This is absolutely inexcusable.  First of all, it would be a relatively 
>simple thing to convert the reference manuals to man format.  Second,
>since you don't have the source code, you can't look in the comments to find
>which parameters to pass to the library.  Other numerical packages, like
>LAPACK, for instance, have extensive man pages on each of their subroutines,
>AND THEY ARE FREE!  I think that the Kingston people need to wake up and
>realize that we are no longer living in the 1950s and that the MVS approach
>to scientific computing is completely unacceptable to modern users.
>
>This flame is my own and does not represent my employers opinion.
>
>
>-- 
>  *__T__*     Even the most brilliant scientific discoveries will in time
>    _i_       change and perhaps grow obsolete, as new scientific mani-
>   */m\*      festations emerge.  But Art is eternal; for it reveals the
>              inner landscape which is the soul of man.  --Martha Graham


I hope you have already found the documentation for your needs, but just in
case you have not here is the info that I found.

IBM Engineering and Scientific Subroutine Library Guide and Reference,
Catalog # SC23-0184

I think you can have your IBM Marketing Rep, IBM SE order it for you or you
can call their publications line directly and order it. I don't know how
much it will cost you, but it should be quite nominal.

Hope this helps.


-- 
Vatsal P. Sonecha                  |  
27000 Franklin Road, Ste. 704      |            God created integers,
Southfield, MI 48034-2351          |           rest is the work of man.
Ph: 313.356.0347                   |
From: holder@central.cis.upenn.edu (Gaylord Holder)
Newsgroups: comp.unix.aix
Subject: dump failed because can't statfs
Date: 19 Nov 92 00:51:18 GMT
Organization: University of Pennsylvania

Help?

	My backup by inode program fails on /usr when it tries to statfs
the file system.  I have fsck'ed /usr both in normal and in mini-root
without any change.  Does anyone know what this means or how to fix
it?
-Gaylord
From: tasos@cs.bu.edu (Anastasios Kotsikonas)
Newsgroups: comp.unix.aix
Subject: Re: prob w/ sockets
Date: 21 Nov 92 15:52:51 GMT
Organization: Computer Science Department, Boston University, Boston, MA, USA

In article <1992Nov21.001323.16844@awdprime.austin.ibm.com> peter@ski.austin.ibm.com (Peter Jeffe 512.838.4019) writes:
>Actually, the relevant piece of code would be where you set the socket
>to be non-blocking.  Are you doing an ioctl(FIONBIO) or fcntl(SETFL,FNDELAY)?
>If the latter, then you need to link with libbsd before libc to get the
>bsd-style fcntl behavior (see /usr/lpp/bos/bsdport).  If the former,
>then I'm not sure what the problem could be, since non-blocking sockets
>seems to work fine.  Have you called the problem in to customer support?

I am using fcntl and linking with -lbsd. Notice that the other socket *IS*
behaving a non-blocking; it is the other one that's having the problem.



Tasos


Newsgroups: comp.unix.aix
From: john@storcon.UUCP (John Hunley)
Subject: Retension on ostape
Date: Sun, 15 Nov 1992 20:10:34 GMT
Organization: Storage Concepts, Inc.
Keywords: tape retension

Our department recently inherited a 7207-011 tape drive (525MB External)
from another department.  Upon installation, I noticed that there is no
such device type known to AIX (we're running 3.2.0 - after all the horror
stories in this newsgroup I can't bring myself to try to upgrade), so I
made it "ostape - other SCSI tape drive".  This works fine, except that
ostape seems to lack the "no retension" option.  This is especially
frustrating in that the drive is used mostly for making bootable backups
out of "smit startup" and the first thing it does is another retension, so
I have to sit through TWO retensions (of a longer 1020 ft. tape) before it
starts doing anything.

So, two questions:

1.  The 7207-011 seems to have been available for some time.  Why has the
    ODM never heard of it?  (Please. Lord, don't make me start installing
    APARs!)

2.  Short of an upgrade and breaking who knows what else, is there any way
    to turn off retensions everytime I insert a tape?  What if I configure
    it as a 150MB drive?

Thanks in advance to you net.aix.gurus.
-- 
                            John Hunley
   Storage Concepts, Inc.                  UUCP:  uunet!storcon!john
   1622 Deere Ave.                        Voice:  (714) 852-8511
   Irvine, CA  92714                        FAX:  (714) 557-5064
Newsgroups: comp.unix.aix
From: kermits@ikaros.cc.uch.gr (Aggelos Keromyths)
Subject: Aix LPMud
Organization: Computer Science Department, University of Crete HELLAS
X-Newsreader: Tin 1.1 PL3
Date: Sun, 22 Nov 1992 13:13:52 GMT

Well, the LPmud finally runs on AIX 3.2 (as far as i know, on AIX in general).
Anyone interested, mail me. It will be available in a few days in aftp at
 athina.cc.uch.gr:/pub/Muds. You can have a look at athina.cc.uch.gr 3000.
Aggelos
Newsgroups: comp.unix.aix
From: sjc@strider.NoSubdomain.NoDomain (Stephen Cecutti)
Subject: Re: SNA Services/6000 - multiple PUs
Keywords: SNA
Reply-To: sjc@stam.qe.bell.ca
Organization: Office Technologies, Bell Canada
Date: Mon, 23 Nov 1992 00:25:47 GMT

I'm not sure what the current gold version of SNA services is, but I have 
v 1.2.101.231 (lslpp -h sna.sna.obj).  It does not understand multiple control
points (PUs).  I had a version 236 that wouldn't install, so went back to an
earlier version.  236 was supposed to have multiple PU capability, but since I
couldn't get it to install, I can't say for sure -- the release notes indicated
that it would.  Version 231 won't be 'gold' until sometime in January '93 is 
what I hear from my very helpful IBM support rep.

If you need multiple PU, you might ask your rep for a working copy of 
ver 1.2.101.236.

Steve
Newsgroups: comp.unix.aix
From: dx3@dsrd.ornl.gov (C. H. Decker)
Subject: subscribe
Organization: Martin Marietta Energy Systems
Date: Mon, 23 Nov 1992 13:38:32 GMT

Please subscribe DX3@dsrd.ornl.gov

MMES/DSRD                           
C.H. Decker                         (615) 574-8014
1099 Commerce Park Dr.
Oak Ridge, TN  37831-7620
Newsgroups: comp.unix.aix
From: lucien@watson.ibm.com (Lucien Van Elsen)
Subject: Re: xlf fortran does not load from an xdm session
Date: Wed, 18 Nov 1992 22:34:16 GMT
Distribution: usa
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J Watson Research Center

umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459) writes:

>I have an RS/6000 with a bunch of X-stations. We have been running xdm
>for user auth. I have just realized that when I telnet directly to
>the workstation I get different ulimits compared to when I login 
>via xdm from a X-station. The effect of this is that I do not have
>enough stack space to run XL fortran. So when you telnet directly the
>fortran works fine but when you login via xdm one gets the error:
>	    "Could not load program xlfentry
>	     Error was: Not enough space"

I bet you're running the X consortium xdm instead of the AIX version- I ran
into the same problem a while back.  The X consortium version of xdm is
missing a call to setpcred(), which sets these values from the values in
/etc/security/limits.  Without this, the user's processes inherit incorrect
limits values (originally from init, I believe).

	-Lucien
--
-----------------------------------------------------------------------
Lucien Van Elsen                                          IBM  Research
lucien@watson.ibm.com                                     Project Agora
Newsgroups: comp.unix.aix
From: joe@archsci.arch.su.oz.au (Joe Nappa)
Subject: proxyarp on AIX 3.2/Xstation 1.3????
Organization: Design Computing Unit, The University of Sydney
Date: Tue, 24 Nov 1992 05:32:04 GMT

try as we might, after using xhost to tell our RS/6000 about a SUN
on our TCP/IP network, and using rlogin to connect to the SUN
from one the Xstations, it won't run X applications -- it's
unable to open the display on the Xstation.
We have no problem doing this from any of the consoles (hft) after
using setenv to set the DISPLAY. Apparently the problem has to do 
with there not being a proxyarp daemon running on the Xstations.
We were hoping the new version of the system would address this,
but apparently it hasn't.
Any ideas will be gratefully accepted!

-- 
Joe Nappa                  *Lisa: "These talking dinosaurs are more real than * 
joe@archsci.arch.su.edu.au *       most real families on TV"                  *
Dept. of Architec. Science *Bart: "It's like they saw our lives & put it right*
Uni. of Sydney, AUSTRALIA  *       up on screen"  (from Fox's "The Simpsons") *
Newsgroups: comp.unix.aix
From: aknowles@expert.expert.com (Anne Knowles)
Subject: 3.2.3 Trouble
Organization: Computer Publishing Group
Distribution: comp
Date: Mon, 23 Nov 1992 21:35:17 GMT

I am a reporter with RS/Magazine. I have heard users are having trouble 
with AIX 3.2.3. If you have personal experience with this, and would
be willing to talk about it, please email me.

Thanks in advance for any help.

Anne Knowles 
Newsgroups: comp.unix.aix
From: IO20619@MAINE.MAINE.EDU
Newsgroups: comp.unix.aix
Subject: RS232 Communication
Date: 17 Nov 92 16:13:05 GMT
Organization: University of Maine System



         Hello !

 I am trying to establish communication between IBM RS/6000, running
AIX Operating System version 3.2.2 , and the
microprocessor 68HC11, using the serial communication.
I am using one of RS/6000 two RS-232 ports. The cable between RS/6000
and 68HC11 has only three lines TxD , RxD, and Gnd. When using only
these three wires the STTY settings had to be changed.
I have the info on how to do it from "Creating Custom EIA-232 Cables
for ASCII Devices on the RISC/6000" .
My question is regarding the C code to run such a communication. I am
interestedin sending up to 50 bytes per transmition so the size of data is not
likely to
cause problems. The communication would be done only when requested
( if possible ).

Any help would be appreciated.

My e-mail :     mjuric@charles.eece.maine.edu

 						Thanks !
Newsgroups: comp.unix.aix