HDTenEightyP/NetNews huggingface dataset:
From: bengsig@dk.oracle.com (Bjorn Engsig)
Newsgroups: comp.unix.aix
Subject: Re: optimisation and volatile
Date: 12 Jan 93 10:52:41 GMT
Reply-To: bengsig@dk.oracle.com (Bjorn Engsig)
Organization: Oracle Denmark

Article <PHIL.93Jan7143750@lurch.dhcs.demon.co.uk> by phil@dhcs.demon.co.uk (phil) says:
|would like to compile the code with -O optimization. The last time we tried
|this the compiler would remove repeated shared memory reads with no intervening
|writes,
How should the compiler know that it needs to reload the data?  We've had
examples of the opposite: data are loaded even though they weren't needed,
and if the data was in unallocated shared memory, you'd get a segmentation
violation.  E.g.:  if(a) b++; may lay load b even if a is zero.  Declaring
b volatile avoids this [the actual code was more complicated than this].

As you suggest yourself:
|gcc has a switch `-fvolatile' : Consider all memory references through pointers
|to be volatile.
But why would you force all references to be considered volatile? The only
resonable solution is to declare your volatile variables as volatile.
|Is there an equivalent for xlc?
Not that I know of.
-- 
Bjorn Engsig,	       Internet: bengsig@oracle.com   uucp: uunet!oracle!bengsig
ORACLE Corporation.    Private : bjorn@login.dkuug.dk.

Every program uses a constant amount of memory, if memory is counted in dollars.
From: tony@jassys.UUCP (Tony Holden)
Newsgroups: comp.unix.aix
Subject: keyboard problem without a keyboard
Date: 5 Jan 93 03:28:50 GMT
Organization: HSC CO.

I've got a strange problem with a 320 on 3.2.0.  After the machine is 
rebooted errpt reports a Software Program Error, and the Resource is
the keyboard.

Problem is that I don't have a keyboard attached to this machine,
never have.  The 800 number sez I need to attach a keyboard then run
diag.  But they weren't real sure about this.

Any clues?

Thanks

Tony
-- 
Tony Holden					live on the edge,
tony@jassys					  Bank in Texas
jassys!tony@rwsys.lonestar.org
From: michael@hal6000.thp.Uni-Duisburg.DE (Michael Staats)
Newsgroups: comp.unix.aix
Subject: Re: xlfortran version 2.3
Date: 12 Jan 1993 20:38:21 GMT
Organization: Theoretische Physik, Uni-GH-Duisburg, Germany
NNTP-Posting-Host: hal6000.uni-duisburg.de

shapiro@sputter1.fullerton.edu writes:



>	I just received xlfortran version 2.3.  We currently are using
>version 2.2 on our model 320.  Is there anything important that I should
>know before installing this upgrade?

Yes.
The optimizer crashes on some code that could be compiled with 2.2.
Since I'm not a Fortran programmer I can't tell you details,
try to send a mail to egbert@hal6000.Uni-Duisburg.DE.
Michael
--
Michael (Spirou) Staats, Student of Theoretical Physics, Uni-GH Duisburg 
email: michael@hal6000.Uni-Duisburg.DE
From: forsyth@minster.york.ac.uk
Newsgroups: comp.unix.aix
Subject: re: process numbers
Date: 12 Jan 93 20:45:24 GMT
Organization: Department of Computer Science, University of York, England

making a process ID a function of its index in a process table
(or equivalent) speeds creation of unique process IDs:
instead of searching the proc. table, or having lots of code
to keep track of unique ranges (cf. bsd), fork simply takes the previous process ID
in that slot and adds NPROC (or equivalent),
with a line or two to deal with overflow.
as someone noted, this process ID representation also simplifies finding a Proc structure
given a process ID.
other unique IDs can be handled in a similar way.

the Waterloo Thoth system was an early user of a similar scheme,
although I don't think it was a new idea even then.
it's the first time i've seen `security hole' as a justification
for its use, though!
Newsgroups: comp.unix.aix
From: wtierney@leland.Stanford.EDU (Bill Tierney)
Subject: 3.2.3 questions
Organization: DSG, Stanford University, CA 94305, USA
Date: Tue, 12 Jan 93 18:28:44 GMT

I am running 3.2.3 on a 550 and have some questions:

1)	It seems to randomly hesitate.  I have plenty of mem
	and my paging is twice the size of mem (128k).
	It seems to be in different programs at different time.
	iostat shows that my paging is zero.  Any ideas?

2)	I have increased the size of /var from 1 to 10 PP
	but when I do the df command it still shows 
	onlt 4096.  Any ideas?

3)	Under 3.1.5 I would have to put in the ./ to find
	a file in the current directory but now I don't
	even though there is no . in the path.  Why?


Please reply to : wtierney@leland.stanford.edu

Thanks!!

Newsgroups: comp.unix.aix
From: syscrc@pickle.gsu.edu (Randy Carpenter)
Subject: Max Processes for AIX
Organization: Georgia State University
Date: Tue, 5 Jan 1993 21:26:55 GMT

There is a parameter for the maximum number of processes per user (maxuproc).

Does this parameter apply to root?
Is there a parameter for the maximum number of processes on the system.

-- 
===========================================================================
Randy Carpenter                    rcarpent@gsu.edu          % Got a light?
Georgia State University           (404) 651-2648            No match.
Wells Computer Center                                        %
From: pavlov@niktow.canisius.edu (Greg Pavlov)
Newsgroups: comp.unix.aix
Subject: Re: - Source code for xplay -
Keywords: Hardware
Date: 4 Jan 93 21:44:53 GMT
Organization: Canisius College, Buffalo NY. 14208


  Sorry for the intrusion, but:  is there a separate group that concerns itself
  with RS/6000 hardware issues ?  I scanned .newsrc but didn't see anything
  that appeared to be applicable.


  thanks, greg pavlov
  pavlov@fstrf.org
Newsgroups: comp.unix.aix,comp.unix.questions,comp.protocols.tcp-ip
From: larry@eco.twg.com (Lawrence B. Henry III)
Subject: Re: ftp: subcommand error codes
Keywords: ftp AIX error
Reply-To: larry@eco.twg.com
Organization: The Wollongong Group (East Coast Operations)
Date: Fri, 8 Jan 93 20:39:28 GMT


In article <1993Jan7.192157.18720@eco.twg.com>, larry@eco.twg.com (Lawrence B. Henry III) writes:
|>Austin,
|>	Check out rfc640.. I believe that this is the latest source of 
|>information on this topic.. it is readily available from nic.ddn.mil in the
|>RFC sub-directory..
|>
|>-Larry.

Ok.. so my index is old.. :-)

-Larry.
From: moore@cs.utk.edu (Keith Moore)
Newsgroups: comp.unix.aix
Subject: Re: malloc(0) fails on AIX and nowhere else I could find ...
Date: 8 Jan 1993 17:25:30 GMT
Organization: Univ. of Tenn. Computer Science, Knoxville
Distribution: world
Reply-To: moore@cs.utk.edu
NNTP-Posting-Host: yertle.cs.utk.edu

In article <C0HCs4.Eoy@axion.bt.co.uk>, nwinton@axion.bt.co.uk (Neil Winton) writes:
> In article <93Jan7.012526est.169557-2@watdragon.uwaterloo.ca>, jmsellen@watdragon.uwaterloo.ca ("John M. Sellens") writes:
> |> Just in case anyone is interested:
> |> 
> |> Trying to malloc() 0 bytes on AIX fails, but works on Ultrix, IRIX,
> |> Dynix, SunOS, BSD, MIPS RiscOS.
> 
> Pardon?  What do you mean `it works'?  Sure it returns a non-null pointer but
> what are you going to do with that?  You asked for no space to be allocated 
> so how are you going to use that pointer-to-nothing??? 

Well, you could free() it.  Or realloc() it to a larger size later.

Say you're implementing a strings package and your string descriptor
looks like struct string { int count; char *ptr }; Now when you assign
to a string you want to malloc (or realloc) the right # of bytes and
assign the return value from malloc to the ptr.  But with AIX (and
many other SysV-based systems), you have to explicitly test in case
the string you want to assign is zero length.

Saying you shouldn't be able to malloc() zero bytes is like saying you
shouldn't be able to have a zero-length file, or an empty record in a
file, or you shouldn't be able to multiply something by zero.

To be fair, AIX isn't unique in this regard -- most SysV based systems
work this way.  Like most of the features unique to SysV, this one is
a botch.
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: malloc(0) fails on AIX and nowhere else I could find ...
Date: 12 Jan 1993 19:14:31 GMT
Organization: /etc/organization
Distribution: world
NNTP-Posting-Host: hal.gnu.ai.mit.edu


In article <1it3l4INNfh1@CS.UTK.EDU> moore@cs.utk.edu writes:
>
> No.  I cannot portably call realloc() or free() with the NULL pointer
> returned by malloc(0) on SysV systems.

Well you can under POSIX (and by extension, AIX), so your argument is
no longer relevant to this group.

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!
Newsgroups: comp.unix.aix
From: hosseino@yu1.yu.edu (Joshua Hosseinof)
Subject: Building X11R5
Organization: Yeshiva University
Date: Mon, 4 Jan 1993 06:02:08 GMT
X-Posted-From: yu1.yu.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

I've been trying to build x11r5 on our RS/6000 running AIX 3.2 but I seem
to keep having problems with lex.  There are three places in which the         
Makefiles call lex and each time it runs lex I get the same message:
Invalid character in file, and the line number it gives as a reference is 
always the last line in the file.  So I tried getting the bsd version of
lex from ftp.uu.net, and that compiled fine, and now I don't get that error 
anymore.  Now there are two problems: one is the the BSD lex doesn't have
the function yylineno, and when it creates the file yy.lex.c the compiler
seems to have problems with:  yyfunc {return (1);}  
Has anybody else had similar problems when building X11R5?
Thanks for any assistance.


-- 
___________________________________________________________________________
|Joshua Hosseinof             --             hosseino@yu1.yu.edu          |
|The above opinions are my own and contain no cholesterol or tropical oils|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Newsgroups: comp.unix.aix
From: shehla@ncs.com (Shehla Mushtaq)
Subject: How to install from remote tape drive
Organization: National Computer Systems, Inc.
Date: Wed, 6 Jan 1993 21:50:03 GMT
Followup-To: comp.unix.aix
Summary: help! Can't use remote tape drive.
Keywords: aix, tape drive, remote

We would like to be able to install software onto
a 320 from a remote tape drive attached to a 520.
All the equipment mentioned is made by IBM.
The software is in the form of LPPs and has to be
installed through "smit startup".
Your help is appreciated.

Thank You and Best Wishes from the freezer of the
world (ie, Minnesota in case you couldn't guess)!!

Shehla Mushtaq
shehla@ncs.com

Newsgroups: comp.unix.aix,comp.protocols.tcp-ip.domains
From: uad1216@dircon.co.uk (Ian Wade)
Subject: SGI DNS CLOBBERS AIX DNS   -------------------------
Reply-To: uad1216@dircon.co.uk (Ian Wade)
Organization: The Direct Connection on-line service, UK
Date: Wed, 6 Jan 1993 09:58:31 GMT

========================
SGI DNS CLOBBERS AIX DNS
========================
The scenario is this:

           SGI                   IBM
       Irix 4.0.1            AIX 3.2.1

The two machines are in different domains.  Each machine is a 
primary for its own domain, and a secondary for the other.

The following work OK:
=====================
1.  On the SGI, resolving addresses in its own domain.
2.  On the IBM, resolving addresses in both domains.

The following does NOT work:
===================^^^======
1.  On the SGI, resolving addresses in the AIX domain.  

Symptoms:
========
When the SGI "named" starts, it complains that it cannot access 
the IBM masters (hosts and reverse files).  

MORE WORRYING, WHEN THE SGI "named" STARTS, IT CLOBBERS THE AIX 
"named".                                       ^^^^^^^^

According to "ps", the AIX "named" still appears to be running, 
but it won't resolve addresses any more.  Only killing and 
restarting the AIX "named" brings address resolution back to life.  

(And if I say -HUP to the SGI "named", AIX DNS gets clobbered 
again).

Any ideas???

Ian Wade
Shell UK
From: phil@mwunix.mitre.org (Phil Brown)
Newsgroups: comp.unix.aix
Subject: Re: How to install from remote tape drive
Keywords: aix, tape drive, remote
Date: 7 Jan 93 23:08:35 GMT
Organization: MITRE Corporation, McLean VA

In article <1993Jan6.215003.22247@ncs.com>, shehla@ncs.com (Shehla Mushtaq) writes:
|> We would like to be able to install software onto
|> a 320 from a remote tape drive attached to a 520.
|> All the equipment mentioned is made by IBM.
|> The software is in the form of LPPs and has to be
|> installed through "smit startup".
|> Your help is appreciated.
|> 
|> Thank You and Best Wishes from the freezer of the
|> world (ie, Minnesota in case you couldn't guess)!!
|> 


I don't believe installp (which smit uses to install) allows for a
remote device.  But, you can read the lpps into a spool directory
on the 520 without installing them there.  then...

	export the directory:
		add dir to /etc/exports
		exportfs -av

	on 320, import the dir
		add dir to /etc/auto.master
		or hard mount it.
			mount host:/dir /localdir


	then using smit, specify /localdir as the install device.



OR

	remove the device from the 520, put it on the 320 and presto.



Hope this helps...


Philip Brown
The Mitre Corporation
D.C.
Newsgroups: comp.unix.aix
From: mt0lamg@convex1.tcs.tulane.edu (Louis X. Lee)
Subject: How to set a modem to AA mode from an RS/6000?
Organization: Tulane University, New Orleans, LA
Date: Mon, 4 Jan 1993 19:46:44 GMT
Nntp-Posting-Host-[nntpd-18106]: convex1.tcs.tulane.edu



Hello, I have a simple question concerning modem set-up.
After using SMIT to configure a modem on a serial port,
how can one set the modem into Auto-Answer(AA) mode for
dial-in use from an RS/6000 running AIX3.2?

A more general question is: how can one communicate
with a modem connected through a serial port from
an RS/6000 running AIX3.2?

Thanx a lot!!


Newsgroups: comp.unix.aix
From: kneuper@chpc.utexas.edu (Stephen Kneuper)
Subject: how to get /etc/issue on AIX (message before username prompt)
Organization: The University of Texas System CHPC
Date: Tue, 5 Jan 93 19:31:23 GMT

Hello the net!

We would like to configure our AIX boxes so that they issue a "usage
warning message" when someone uses telnet(1) or rlogin(1) to connect
to them.  This message should appear before the "username:" prompt,
not after, as in the /etc/motd.

(the intent of the message is to warn people of the proper use of the
machine).

I've been able to do this for telnet(1) by modifing the
/etc/security/login.cfg file (changed the "herald").  This does not
work for rlogin(1) and I've been unable to find a way to get rlogind
to use the herald message that I want.

Any solutions out there?  We run AIX 3.2

-- 
Steve Kneuper                                kneuper@chpc.utexas.edu - Internet
Sr. Operating Systems Specialist
University of Texas System (mailcode 78700)  kneuper@uthermes - BITNET
Center for High Performance Computing        (512)471-2472
Newsgroups: comp.unix.aix
From: gustwick@wixer.cactus.org (Bob Gustwick)
Subject: Re: AIXSERV
Organization: Real/Time Communications
Date: Mon, 4 Jan 93 20:40:14 GMT

In article <199301032127.AA12827@stormking.com> tuc@stormking.com (Scott J Ellentuch) writes:
>Hi all,
>
>	Wondering if anyone else is having problems with AIXSERV.  I switched
>the address like they say and it seems that I got a message a week later
>saying it didn't get through..... (EASE.AUSTIN.IBM.COM)
>
>				Scott
>

The correct addresses to use for AIXSERV are:

   aixbugs@austin.ibm.com     <- send your aixserv transactions here
   services@austin.ibm.com    <- send administrivia concerns here

Also, if you were sending testcases to aixserv!nsd the new place
to send them is:

   aasc@austin.ibm.com

Newsgroups: comp.unix.aix
From: phil@dhcs.demon.co.uk (phil)
Subject: Re: static data no in the symbol table?
Organization: IISC, dept of hackery.
Apparently-To: mail2news@news.demon.co.uk
Date: Thu, 7 Jan 1993 14:21:46 +0000

In article <YfGptaS00Woi9TznQf@andrew.cmu.edu> rr2b+@andrew.cmu.edu (Robert Andrew Ryan) writes:

   It appears that under some circumstances xlc fails to output symbols for
   static data.  For example, compiling:
.....
   static struct classheader atom_classheader = {
       4,
       "atom",
       "atom",
       0x92382,
   };
.......


If atom_classheader is never referenced, I believe that the compiler is
intelligent enough to regard this as a waste of space and not output this to
the object file. This is really irritating if the string is something useful,
such as:

static char SccsId[] = "@(#)foo.c 4.1" ;

For the above, the way round it is to declare the following:

static char *SccsId[] = { "@(#)foo.c 4.1" } ;

The compiler seems to let this through.

Newsgroups: comp.unix.aix
From: raj@ics.uci.edu (Richard A. Johnson)
Subject: Re: Continued support for Sabine graphics adapter?
Organization: UC Irvine Department of ICS
Distribution: na
Date: Tue, 12 Jan 1993 21:34:09 GMT

In <crow.726425350@waterloo.austin.ibm.com> crow@waterloo.austin.ibm.com (David L. Crow) writes:

>    I can't comment on futures, but all current releases of AIX provide
>  support for the High Performance 3D Color Graphics Processor.  This
>  includes AIX 3.2 and all of the PTFs to date.

>-- 
> ----------- Opinions expressed are mine, not my employer's ----------
> |  David L. Crow               |  Internet: crow@austin.ibm.com     |
> |  IBM AWS Graphics Systems    |  IBM VNET: CROW at AUSTIN          |
> |  Austin, Republic of Texas   |  (512) 838-1134  T/L 678-1134      |

Yeah, AIX 3.2 supports the Sabine adapter, but "support" is about ALL it does!
We're running a lot of model 320 systems which IBM contributed to us a while
back, all with Sabine adapters.  I have run many tests of this adapter in order
to find out why it's SOOOO SSSLLLOOOWWW and evidence points to the
implementation of the X server under 3.2!  For example, it takes about 1
full second just to remove a window from the screen if it's mapped.  If it's
not mapped, it can be destroyed orders of magnitude faster!  It literally
take me 5 minutes to get rid of my xmh window!  During that time EVERYTHING
is hung!

(The obvious response from IBM is always, "Have you talked to your local IBM
rep.?")  Yes, I have!  They don't seem to care.  They say, "Oh, that's really
slow!", and that's the last I hear from them.

The warning here is, "If you have Sabine adapters.  Trash them and get something
else.  Anything else!  IBM pretends to support them, but they aren't really
interested in making the code work at a reasonable speed."

Just trying make sure others don't get screwed like we did.

/raj
Newsgroups: comp.unix.aix
From: ets@wrkgrp.COM (Edward T Spire)
Subject: Re: memory leak detection
Organization: The Workstation Group
Date: Mon, 4 Jan 93 22:19:23 GMT

crgreg@rios1.sdrc.com (Greg Marion) writes:
: I would like to know if anyone has heard of any software that would assist
: developers in detecting when an application allocates memory and does
: not free it. We would have to know which routine/function and maybe
: a range of line numbers that are suspect.
: 
: Thanks

We use PURIFY (on a Sun) and are very pleased with it.
I don't know if it's available for the RS/6000

========================================================================

Ed Spire                           email: ets@wrkgrp.com      (on uunet)
The Workstation Group              voice: 800-228-0255
6300 River Road, Suite 700            or  708-696-4800
Rosemont, Illinois  60018            fax: 708-696-2277
-- 

========================================================================
=====  "The heart must mediate between the brain and the hands"    =====
Ed Spire                                 ets@wrkgrp.com (on uunet)
Newsgroups: comp.unix.aix
From: kermits@cc.uch.gr (Aggelos Keromyths)
Subject: PGP
Organization: University of Crete, Computer Center
X-Newsreader: TIN [version 1.1 PL8]
Date: Mon, 11 Jan 1993 16:30:31 GMT

Has anyone managed to build and run successfully PGP on the RS?
I build v2.1 easily,but the key generation fails. If anyone has managed
 to build it, send me the defines you used.
 Thanks in advance,
  Aggelos

-------------------------------------------------------------------------------
| "War does not belong to the  | Aggelos Keromitis        | Dreams born of    |
| field of arts and sciences,  | Computer Science Depart. | desire, shaped    |
| but to the one of social     | University of Crete      |  and forged       |
| existance. It is a fight of  | Heraclion, Greece        | within the fire   |
| great interests, and in this | Tel. (081) 212595        | Twisted, warped   |
| only does it differ from the | E-mail:                  | deranged i see    |
| other conflicts."            | kermits@ikaros.cc.uch.gr |  the world's      |
|   Karl von Klausewitz        | kermit@crete.csd.uch.gr  | corrupt insanity. |
-------------------------------------------------------------------------------
Newsgroups: comp.unix.aix
From: iain@ee.ryerson.ca (Iain Campbell)
Subject: Re: Building X11R5
Organization: Ryerson Polytechnical Institute, Toronto
Date: Thu, 7 Jan 1993 14:44:03 GMT

In article <1993Jan06.153538.43394@watson.ibm.com> spider@hercules.kgn.ibm.com (Gregory Scallan) writes:
>
>X11R5 has been available on AIX since 12/18/92.  You will need to obtain the
>tape with 3.2.3 extended plus the R5 images.  Instructions are sent with 3.2.3e
>on how to install it.
>

A related question - can anyone tell me what versions of X11 the
IBM XStations support, ie does an XStation 120 support R3?, R4?, R5?
What about a 130?  Is it possible to upgrade an XStation from R3 to R4, 
or R4 to R5, and if so, is it done in software or firmware?

We are getting some older XStations and we are somewhat concerned about
these upgrade issues ...

Thanks

Iain


    SS  III   GG                                               SS  III   GG
   S     I   G      iain@ee.ryerson.ca       < now showing    S     I   G
    SS   I  G  GGG  iain@acsserv1.ryerson.ca < coming soon     SS   I  G  GGG
..    S  I   G  G                                          ..    S  I   G  G
..  SS  III   GG                                           ..  SS  III   GG
                                                           

Newsgroups: comp.unix.aix
From: ruppert@nibelung.Worms.Fh-Rpl.DE (Martin Ruppert)
Subject: CWEB for AIX on RS6000
Date: Tue, 12 Jan 1993 12:43:56 GMT
Reply-To: ruppert@nibelung.Worms.Fh-Rpl.DE (Martin Ruppert)
Organization: Fachhochschule-Rheinland-Pfalz
Keywords: CWEB CTANGLE CWEAVE

I am searching for a running Version of CWEB for RS6000.

Any Help is very welcome.


Best Regards
M.Ruppert
Newsgroups: comp.unix.aix
From: cotter@cs.uwp.edu (John Cotter  cotter@cs.uwp.edu)
Subject: exception patterns within rdist
Keywords: rdist distfile execption pattern matching
Organization: University of Wisconsin - Parkside
Date: Wed, 6 Jan 1993 21:45:44 GMT

   I am trying to get the except_pat statement within the install command of
rdist to work in my distfile but I am having trouble. Does it use regular
expression pattern matching? Could someone give me an example.