HDTenEightyP/NetNews huggingface dataset:
From: jsemrad@ems.cdc.com (Joe Semrad)
Newsgroups: comp.unix.aix
Subject: Re: swap instruction in assembler?
Date: 6 Nov 92 15:33:58 GMT
Reply-To: jsemrad@ems.cdc.com
Organization: Empros Systems International, a division of CDC

In article <1992Nov06.014521.65797@watson.ibm.com>, gerth@watson.ibm.com (John Gerth) writes:
|> Actually you don't have go to assembler yourself to do this.
|> The C library provides cs(a,b,c) which does an atomic operation
|> to compare the 'b' to '*a' and if equal to store 'c'.
|> 
|> -- 
|> John Gerth	 gerth@watson.ibm.com		(914) 784-7639

How portable is this?  Is this an IBMism?  While this works very nice on
AIX, I can't find a man page for it on an HP, for example.  I'd like to
use it but I would like to stay away from something that isn't portable,
so I've been using semaphores instead (I know, "if you want to be portable
why are you using AIX in the first place?" :-)

Joe
-- 
================================================================
= C. Joseph Semrad                  =   Phone: 612-553-4758    =
= EMPOWER Development               =   FAX:   612-553-4018    =
= Empros Systems International      =   jsemrad@ems.cdc.com    =
================================================================
=    "My basic view on tackle and equipment costs is that      =
=     fly fishers as a group spend too much and spin           =
=     fishers spend too little" - Stream Smallmouth Fishing    =
================================================================
Newsgroups: comp.unix.aix
From: msc@orac.holonet.net (Matthew S. Cronk)
Subject: Re: EMERGENCY!!!!!!!!!!!!!
Organization: Information Access Technologies, Inc. of Berkeley, CA
Distribution: comp
Date: Fri, 13 Nov 1992 13:51:33 GMT

In article <1992Nov12.195735.7872@ncsu.edu> jmmannin@eos.ncsu.edu
                (JAMES MCCOTTER MANNING) writes:
>
>PLEASE HELP!
>I can't boot off of rootvg, and when I booted off of floppy
>and tried to getrootfs, I get the error that /dev/hd4 needs
>64k of free space, and that I should delete files until I have
>that much free, but without root mounted, I don't know how to get
>to /dev/hd4 (/usr) to delete anything.
The root filesystem (/) should be on /dev/hd4, and the /usr filesystem
should be /dev/hd2.  That is the way the system is installed.  If you
have changed your system, then the following suggestions may not help.

At the point where you see the message that you need to free some space,
the root filesystem (/dev/hd4) should be mounted over /mnt of the RAM
filesystem.  Type "mount" to verify this.  Assuming that /dev/hd4 is
mounted over /mnt, simply cd to /mnt and rm any files that you are certain
you can live without, such as /smit.script, /smit.log, .sh_history, etc.
Use the "df" command to see if you have freed enough space.  When you
have 64k free in the root filesystem, type exit, and the getrootfs script
should continue with mounting your other filesyetems.  Then you can
rebuild your boot image.  You MUST specify the correct hdisk when
invoking the "bosboot" command!

matt

disclaimer: These comments are not to be considered representative of any
advice that my employer or employer's clients may provide.  I am not
responsible for loss resulting from these comments.  (covering my butt)
From: dkf@chem.ucsd.edu (David Knight French)
Newsgroups: comp.unix.aix
Subject: Re: /tmp Corrupted
Date: 6 Nov 1992 19:04:22 GMT
Organization: University of California San Diego, Chemistry
NNTP-Posting-Host: chedccf0.ucsd.edu

In article <SK.92Nov6175046@sun4.thp.uni-koeln.de> sk@thp.uni-koeln.de (Sebastian Kremer) writes:
>>>> In article <1992Nov5.225824.3656@netcom.com>, lui@netcom.com (Stephen Lui) writes:
>
>Stephen> Recently our /tmp file system started to fill up. I went to
>Stephen> /tmp and deleted unnecessary files. However, this did not
>Stephen> release any space in the file system according to df. I went
>Stephen> ahead and deleted all of the files in /tmp and the file
>Stephen> system was still 100% full!
>
>I've seen the same behaviour some months ago on a 550 under AIX 3.1.5.
>It vanished after rebooting and never happened again so far.  I don't
>know of a fix or explanation.
>--
>
>---------------------------------------------------------------------------
>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.
>---------------------------------------------------------------------------


I can't say who is doing it, but it sounds like a "phantom" file.  These
are files that programs open and then immediatley unlink for temporary
storage space.  One does this so the file disappears when the program
finishes executing.  The other problem may be that the /tmp filesystem
got full and someone started deleting files.  This won't work as long
as a process existst out there that is still referrencing the file, because
all rm does is unlink the file, thus causing the phantom file syndrome.
-- 
David Knight French		Email Addresses:		Phone:	
UCSD - Dept of Chemistry	INTERNET: dkfrench@ucsd.edu	  (voice/fax)
9500 Gilman Drive		UUCP:     ucsd!dkfrench		(619)534-4193 /
San Diego, CA  92093-0314	BITNET:   dkfrench@ucsd.bitnet	(619)534-6255
From: fuzzy@obelix.ncs.mainz.ibm.com (Thomas Braunbeck)
Newsgroups: comp.unix.aix
Subject: Re: Virtual Memory curiosity
Keywords: VM overflow response
Date: 12 Nov 92 20:02:07 GMT
Reply-To: braunbec@Mainz.IBM.de
Distribution: usa
Organization: IBM Germany, AIX Support Germany

In article <1992Nov12.131230.130467@jrh.uucp>, jrh@jrh.uucp (James R. Hamilton) writes:
|> In article <bmarlowe.721422470@ka> bmarlowe@ka.reg.uci.edu (Brett Marlowe) writes:
|> >
|> >I've heard rumor that AIX will pick processes to kill off to avoid
|> >running out of virtual memory?  Can anyone verify this and if this is
|> >true a) is there a way to disable this "feature" and b) what idiot
|> >decided that randomly killing processes was a good idea??!!
|> >
|>     It is true that AIX will start killing process when it runs out of
|>     page space.  You can disable this feature (i.e. protect a process)
|>     by it calling "signal(SIGDANGER, SIG_IGN)".  WRT to the idiot that
|>     decided to randomly kill processes, the decision is not random --
|>     processes are killed youngest first (in AIX 3.2) and if they ignore
|>     SIGDANGER then they are not killed at all.

Ignoring SIGDANGER will NOT protect a process! You must catch SIGDANGER.
See info:
    The system monitors the number of free paging space blocks and detects
    when a paging space shortage condition exists.  When the number of free
    paging space blocks falls below a threshold known as the paging space
    warning level, the system informs all processes (except kprocs) of this
    condition by sending the SIGDANGER signal.  If the shortage continues
    and falls below a second threshold known as the paging space kill level,
    the system sends the SIGKILL signal to processes that are the major
    users of paging space and that do not have a signal handler for the
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    SIGDANGER signal (the default action for the SIGDANGER signal is to
    ignore the signal).  The system continues sending SIGKILL signals until
    the number of free paging space blocks is above the paging space kill
    level.

Regards, Thomas Braunbeck
AS Software Service AIX, Germany

        All the opinions expressed are my own and
        do not necessarily reflect those of IBM

| Mail  braunbec@mazvm02.vnet.ibm.com
|       braunbec@aixserv.mainz.ibm.de
From: jfh@greenber.austin.ibm.com (John F Haugh II)
Newsgroups: comp.unix.aix
Subject: Re: Any luck with authentication methods???
Keywords: authentication
Date: 5 Nov 92 18:20:25 GMT
Organization: AIX Software Support, Austin, Republica de Tejas

In article <1992Oct23.145926.16836@mintaka.lcs.mit.edu> mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:
>I actually tried a primary authentication method, and found that it
>only got run for a root user.
>
>Not only that, but with the second primary method installed, most of
>the time my first attempt to log in as `root' fails; the second time
>it succeeds.

There are APARs which deal with authentication method problems.  Don't
have the numbers off the top of my head, but if you've not gotten any
PTFs recently, you might want to get a fresh wad (IX25638 and U409034
look to be correct ...)
-- 
John F. Haugh II      | MaBellNet: (512) 823-8817       | SneakerNet: 042/2D034
InterNet: jfh@eureka.aixserv.austin.ibm.com                             [TSAKC]
Disclaimer:  I am not a representative of IBM.  I speak for myself only.
From: drake@drake.almaden.ibm.com (Sam Drake)
Newsgroups: comp.unix.aix
Subject: Re: 3270 Problem/Questions
Date: 12 Nov 92 07:51:06 GMT
Organization: IBM Almaden Research Center

In article <1992Nov11.195201.23112@bmw.mayo.edu> fisk@mayo.edu writes:
|And now the question...is there a public or commercial X version of a 3270
|emulator for AIX?

Yes ... IBM sells one; it's a separate product, not bundled into AIX itself.

Newsgroups: comp.unix.aix
From: mskucher@watdragon.uwaterloo.ca (Murray S. Kucherawy [MFCF])
Subject: File creation semantics
Organization: Math Faculty Computing Facility, University of Waterloo, Canada
Date: Fri, 6 Nov 1992 17:29:38 GMT

We've noticed here that over NFS, creating a file from an AIX machine
process puts that file into the group of the process rather than the
group of the parent directory (which is the BSD semantics everyone has
come to know and love).  Is this a bug in NFS, or is this something
AIX decided to implement?  Shouldn't AIX NFS honour the real file system's
conventions?

The real filesystem lies on a Sun.

I'd appreciate any comments or suggestions.

-- Murray S. Kucherawy ----------------------------------------+--------------
Software Systems Co-op, Math Faculty Computing Facility [MFCF] | This is a
University of Waterloo, Ontario, Canada                        | machine that
E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca              | goes PING!
---------------------------------------------------------------+--------------
From: tnr@csd.cri.dk (Torben N. Rasmussen)
Newsgroups: comp.unix.aix
Subject: Xview3 on AIX3.2
Date: 9 Nov 92 12:33:41 GMT
Organization: Computer Resources International A/S
X-Newsreader: TIN [version 1.1 PL6]


I have compiled Xview3 on AIX3.2 succesfully, and the olwm window manager
works perfectly, but when i try to run the textedit client, i get the
following error message:

$ textedit
System warning: No such file or directory, call to alloc function returned NULL pointer
Segmentation fault (core dumped)

Does anyone know what the problem is?

Another problem is when compiling cmdtool, the compiler can not find the
getmsg system call in any libraries. Isn't it a part of the AIX. It is in the
info database.


Torben N. Rasmussen

+--------------------------------------+--------------------------------------+
| Torben N. Rasmussen                  | email       tnr@csd.cri.dk           |
| Computer Resources International A/S | phone       +45 45 82 21 00 ext. 3248|
| Bregnerodvej 144                     | direct dial +45 45 82 22 66 + 3248   |
| DK-3460 Birkerod, Denmark            | fax         +45 45 82 01 22          |
+--------------------------------------+--------------------------------------+
Newsgroups: comp.unix.aix
From: juissi@ee.tut.fi (Koljonen Jussi)
Subject: UUCP via telephone line on AIX3.2
Originator: juissi@uikku.ee.tut.fi
Organization: Tampere University of Technology
Date: Fri, 6 Nov 92 07:04:24 GMT


I'm having trouble connecting two RS/6000 workstations
(320H with 3.2.? & 530H with 3.1.5) with UUCP via telephone line
(two 2400 Hayes compatible modems).
The problems are:

- dialing, connecting and login goes OK, during conversation remote
  uucico hungs (unable to transfer files etc.).   
- telephone line won't disconnect after failed (or successfull) 
  connection

Has anyone encountered same kind of problems and/or managed to connect
two RSs via telephone line? Please contact via email, I wouldn't 
want to bore you folks by including numerous listings of
/usr/lib/uucp/Systems,Devices ... etc.  in this article.

-jussi
From: paul@acus1.cc.uky.edu (paul linton)
Newsgroups: comp.unix.aix
Subject: Re: a couple of questions (INSTALLP)
Date: 6 Nov 92 15:52:51 GMT
Article-I.D.: ms.1992Nov6.155251.13616
Organization: University of Kentucky

Please disregard question 1, I found the option in SMIT!  I must have
been blind the first time I looked there.

Paul
From: shieh@austin.ibm.com
Newsgroups: comp.unix.aix
Subject: Re: What has IBM done to the internal SCSI-connector ?
Keywords: SCSI RS/6000 connector
Date: 10 Nov 92 16:04:35 GMT
Organization: IBM, Austin
Originator: shieh@racerx.austin.ibm.com


In article <1992Nov09.155848.3523@atomica.fi>, dag@atomica.fi (Dag Nygren) writes:
> shieh@austin.ibm.com writes:
> 
> 
> >In article <1992Oct28.113718.29814@atomica.fi>, dag@atomica.fi (Dag Nygren) writes:
> >> Hi there,
> >> 
> >> Q1.
> >> 
> >> I am trying to connect a 3.5" 3-party disk to the internal
> >> SCSI-connector of an RS6000/220 and can't even get the disk to spin up.
> >> (No, it is NOT the 'spin up' jumper).
> >> 
> >> The same disk connected to the external connector works just fine.
> >> 
> >> Q2.
> >> 
> >> Connecting a WangDAT drive to another machine (RS6000/330) I can't even
> >> get the machine to spin up it's internal disks. I have checked SCSI-ID:s,
> >> terminators and cables.
> >> 
> >> 
> >> Any clues.
> >> -- 
> >> Dag Nygren					email: dag@atomica.fi
> >> Oy Atomica Ab				or     santra!atomica!dag
> >> Box 22 (Ahventie 4A)
> >> 02170 Esbo
> 
> >Dan,
> >	You don't happen to have the scsi ribbon inverted do
> >you?  The ribbon "key" is not on there, so you may have inverted the
> >ribbon without realizing it.
> 
> Actually the key is there but on the wrong side !
> 
> Yes, we already solved the problem, thankyou. It seems like IBM put the 
> RS6000/220 internal connector the wrong way round.(by purpose ?)
> It was quite easy to see this after we got the pinout of the connector
> from IBM; Getting it was quite hard though :-( .
> 
> Thankyou to you all that responded anyway.
> 
> 
> 
> -- 
> Dag Nygren					email: dag@atomica.fi
> Oy Atomica Ab				or     santra!atomica!dag
> Box 22 (Ahventie 4A)
> 02170 Esbo

Dag,
	I'm glad it worked out for you.  As for doing it
on purpose, no, IBM didn't do it on purpose.  If you notice,
the "key" has been cut out so as to slip in from either direction.
So once you pulled up the ribbon (to take out the original
disk) you probably lost track of which direction the red
stripe was facing.

-- 
The views expressed are my own.  They do not represent IBM.
Johnny Shieh (shieh@racerx)	Worker Bee, AIX Field Quality (level 3)
VNET:     SHIEH at AUSVMQ	Internet: shieh@aixwiz.austin.ibm.com
Phone:(512) 838-3357		tie line 678-3357
From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
Subject: AIX sendmail delivery problems
Organization: Math Faculty Computing Facility, University of Waterloo, Canada
Date: Fri, 13 Nov 1992 19:03:50 GMT

We have a number of RS6000 PS220s which mount /usr/spool/mail via NFS
from a central SUN machine.  Occasionally, when a mail message is addressed
to one of these, attempting to deliver the message to the mailbox says
"bellmail: cannot open mailbox - error 3" or some such.

Has anyone else seen this?  Can someone suggest what might be causing it?

-- Murray S. Kucherawy ----------------------------------------+--------------
Software Systems Co-op, Math Faculty Computing Facility [MFCF] | All spelling
University of Waterloo, Ontario, Canada                        | errors caused
E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca              | by Pnews.
---------------------------------------------------------------+--------------
From: CCDH001@UTXVM.CC.UTEXAS.EDU
Newsgroups: comp.unix.aix
Subject: Greeting window (final)
Date: 10 Nov 92 14:42:10 GMT
Article-I.D.: UTXVM.1689B7A62.CCDH001
Organization: The University of Texas at Austin

I have what I believe to be the final word on the Greeting window.  But
before I pass it along I'd like to clear up a couple of things.  The window
I am interested in is the one with the IBM copyright and registration
information.  This window usually displays in the lower right corner or can
be invoked via ^A (control A) when your desktop is the active window.  I long
ago figured out how to eliminate the Display PostScript copyright window.
 
So that said, I finally heard from a couple of people at IBM.  One suggested
that we upgrade to a 580 server which would cause the window to come and go
much more rapidly.  But another response from white-shirt set stated that the
Greeting window is displayed by contract and cannot be eliminated.  It is
odd that you can specify an alternative message and specify a time of 1
which prevents the message from appearing but not the window.  Some contract.
 
Anyway, I'm going to use this last premise as an excuse to terminate my
search.  There have got to be more important things to pursue.  B-))  Thanks
to all who made suggestions.
 
                                        <@>
Newsgroups: comp.unix.aix
From: jrh@jrh.uucp (James R. Hamilton)
Subject: Re: Login, modem, and alias questions
Keywords: login,alias,modem
Organization: private system, Toronto, Ontario
Date: Sat, 07 Nov 1992 01:53:18 GMT

In article <lfh1q3INNi07@notrees.cs.utexas.edu> travis@cs.utexas.edu (Travis Hildebrand) writes:
>When I type  login  at a korn shell prompt (ksh), I seem to get some
>garbage on the screen and the terminal locks up.  Is this a know bug?
>Is there a fix?

    Login is a program called by the getty program to authenticate a user 
    logging into the system and to initialize a new enviroment for them to
    use during the session.  It is is not meant to be run from the command
    line.  Don't run it ... this is not a bug.

> 
>Is there a program available to allow me to access a modem to dialout?
>If so, where could I obtain such a program?

    Try "cu", "tip", or "ate".

> 
>Thirdly, in Korn Shell, there is support for alias's.  How does one go
>about defining an alias under korn shell.  I am familiar with it under
>csh.  (ie - alias dir 'ls -la').  How would you do this under ksh?

    Use alias ls='ls -la'.

-- 

James R. Hamilton                               inet: jrh@jrh.gts.org
telephone: +1 416 493 4162                      uunet: ...!uunet!jrh!jrh
Toronto, Canada                                 bitnet: jrh%jrh@uunet.uu.net
From: shr@pdx811 (Scott H. Robinson)
Newsgroups: comp.unix.aix
Subject: Process checkpointing/rollback methods under AIX?
Date: 10 Nov 92 01:14:14 GMT
Article-I.D.: ichips.1992Nov10.011414.3333
Organization: Intel Corporation, Oregon

I want to implement a checkpointing procedure for programs so that I can
recover from system crashes by rolling back to my last checkpoint and
continuing on with my calculations.  Specifically, I would like to checkpoint
the process/program's core image to disk periodically and to be able to
restart from that core image on disk when necessary.  Has anyone implemented
something like this for the RS6000 AIX?  (e.g. Something like the saveimage.c
routines used by the BSD CAD tools on Sun's and Vaxen.)

Thanks much,

Scott Robinson                          Intel Corporation
INTERNET: shr@ichips.intel.com
This is a private posting; it does not indicate Intel opinions or positions.
-- 
Scott Robinson                          Intel Corporation
INTERNET: shr@ichips.intel.com          JF1-19, 5200 NE Elam Young Parkway
                                        Hillsboro, OR 97124-6497
This is a private posting; it does not indicate Intel opinions or positions.
From: Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: Re: sendmail on AIX (Rs/6000) 3.2
Summary: Yes, your IBM sendmail is broken?
Date: 7 Nov 92 14:36:40 GMT
Organization: INSA Informatique (Grasp), Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

simon@ms.uky.edu (G. Simon Gales) asks:
> Here's the rub: the To: header of the letter contains "To: mytest@rs6000".
> The letter _does_ get delivered, I just dislike the To: line -- I think it
> should say "To: zak!simon".  Shouldn't it?

Junk the IBM furnished sendmail (or at least its configuration file)
it can't handle anything which does not look like how IBM understands
mail (and except USER at NODE I don't ask much more anymore to IBM).
Just look at how many messages get bounced from some misconfigured systems
in the austin.ibm.com subdomain !

I'd suggest you to install the Sendmail-IDA package, it's extended NIU
configuration files kit will be adequate to your needs.

Another good choice would be to switch to domain adressing.

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@grasp.insa-lyon.fr
   "No keyboard, press F1 to continue"
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: Ethernet promiscuous mode reading.
Date: 5 Nov 92 05:11:02 GMT
Organization: /etc/organization


In article <1992Nov4.184340.16365@mintaka.lcs.mit.edu>
mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:
>
> In article <1992Oct29.223814.11175@ncsu.edu>
> nsysdbj@straylight.acs.ncsu.edu (David Joyner) writes:
>>
>> I may be off my rocker, but I think IBM purposefully made it
>> difficult if not impossible to sniff promiscuously with a _running_
>> ethernet interface...
>
> If so, please explain to me how `iptrace' does it.

Now that I try this, it appears that it *doesn't* work.  Foot firmly in
mouth.

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!
From: scw@ollie.SEAS.UCLA.EDU
Newsgroups: comp.unix.aix
Subject: Re: AIX3 performance monitor-1.06 available now
Date: 11 Nov 92 17:12:51 GMT
Reply-To: scw@ollie.SEAS.UCLA.EDU (Stephen C. Woods)
Distribution: comp
Organization: UCLA School Of Engineering & Applied Science

For you non FTP users out there send mail to server@aixpdslib.seas.ucla.edu
with a subject line of

help

This will get you started.
-----
Stephen C. Woods; UCLA SEASNET; 2567 BH;LA CA 90024; (310)-825-8614
UUCP: ...{ibmsupt,ncar!cepu}!ollie}!scw  Internet:scw@SEAS.UCLA.EDU
"Non, je ne regrette rien"--1er RE de Para 1963
Newsgroups: comp.unix.aix