HDTenEightyP/NetNews huggingface dataset:
From: sdl@adagio.austin.ibm.com (sdl)
Newsgroups: comp.unix.aix
Subject: Re: Division by zero, again...
Date: 18 Nov 92 17:44:55 GMT
Reply-To: sdl@austin.ibm.com
Organization: AIX Base System Kernel Development


In article <1dmj0cINNk47@pita.cs.huji.ac.il> avinoam@sunrise.huji.ac.il () writes:

> Hi! Sorry if it is a FAQ, but I would like to know how to stop a FORTRAN
> program to after division by zero, overflow, etc...
> I am looking for oSomething like ieee_handler in the SunOS fortran,
> but this time I am using xlf......

There are two options.  The first is the -qflttrap option for the
Fortran compiler.  This inserts trap code, and will cause SIGTRAP to
be raised when an exception occurs.  This is described in the AIX XL
Fortran Compiler/6000 User's Guide (SC09-1354-02).  This book also
includes a sample trap handler that's useful.

The second option is to use the hardware exception trapping
facilities.  Using this will cause SIGFPE to be raised when an
exception occurs, and I think is similar to the Sun's ieee_handler.
Look for article "Floating-Point Exceptions Overview" in info (search
for "floating-point" to find it quickly) for an introduction to these
services.  For a Fortran example, see

/usr/lpp/bos/samples/sigfpe_samp2.c (signal handler)
/usr/lpp/bos/samples/sigfpe_samp3.f (example)



--
--------------------------------------------------------------------
Stephen Linam   AWSD Austin  T/L: 678-3308  Bell-net: (512) 838-3308
sdl@austin.ibm.com                         IBM VNET: LINAM at AUSTIN
Quae narravi, nullo modo negabo.               I don't speak for IBM
Newsgroups: comp.unix.aix
From: fredrick@acd.ucar.edu (Timothy Fredrick)
Subject: Re: LEDs flash 223 and 229 when installing new disk.  Any advise?
Organization: Ntl Center for Atmospheric Research - Atmospheric Chemistry Div
Distribution: usa
Date: Mon, 23 Nov 1992 16:31:13 GMT

In article <1992Nov23.031709.9787@umbc3.umbc.edu> payter@umbc4.umbc.edu (Nightcrawler) writes:
>In article <1992Nov22.192730.16039@ornl.gov> zhang@dmnds.ms.ornl.gov (Xiaoguang Zhang) writes:
>++ I have seen the alternating 223 and 229 on LED when I tried to add
>++ an external disk whose SCSI id was not changed and was 0 which conflicted
>++ with one of the internal drives.  How did you connect the new drive? I
>++ would not try to connect a new SCSI device while the machine is on. You
>++ never know what will happen. Hope my info helps.
>
>    The 223-9 sequence is a normal-mode attempt to configure SCSI devices.  For
>each SCSI I/O controller card installed in your machine, you can have, at most,
>seven (7) SCSI'ed devices.  Each device on a given card must have a unique id
>(address), 0 - 6.  The address 7 cannot be used.  Why?  I dunno, but that's it.
>To solve your problem, just turn the little red (or blue) dial on the back of
>the new drive to a number not already used.  It sounds like you are already
>aware of that, though, since you said the addresses conflicted.  Don't worry
>about data integrity while changing the device's SCSI address.  Heck, I've even
>attached tape and disk drives while the machine is on, commanded cfgmgr, and
>voila!, more DASD!  ;-)

Thanks for these postings.  My problem, however, is not the SCSI address.
I have tried two different addresses.  And actually, the disk appears to work
fine up until I allocate it's space to filesystems.  With the disk in the
system and configured as part of rootvg, I can reboot many times without
incident.  The symptom of the flashing 223-9 sequence only occurs after I
allocate the space and then reboot.

Some have suggested it is an AIX bug involving large external disk drives
greater than 1GB.  Can someone confirm this?  Would it be a bug that would
be fixed by AIX 3.2.3?  We are running AIX 3.2.0.

Another person suggested I need to reset the NVRAM by removing the battery.
Is there a way to reset the NVRAM without removing the battery?

Thanks in advance.
--Tim Fredrick (fredrick@acd.ucar.edu)
  Ntl Center for Atmospheric Research, Boulder, CO 80307-1000
From: JRowe@cen.ex.ac.uk (J.Rowe)
Newsgroups: comp.unix.aix
Subject: Re: RS6000 almost stops with heavy disk access.
Date: 19 Nov 92 18:44:12 GMT
Organization: Computer Unit. - University of Exeter. UK

In article <1992Nov19.070106.8255@cactus.org> chukran@cactus.org (Rudy E. Chukran) writes:


>   Lower the priority of the cruncher programs with nice or renice.

Unlikely to help very much. IO won't be effected and the crunchers will
just slurp up any spare cpu time. You're not competing for cpu but IO.

>   Look into using the I/O write queue length limitation feature. Ther is
>   a panel in SMIT to do this. However, describing how to do it here is quite
>   difficult.  Id suggest playing with some nonzero values and see if that
>   helps.

This sounds very interesting. Roughly how do I get to this panel?
I can't see it on my 3.1.5 system and I certainly would like to!
Alternatively, what's the command name?

John Rowe
Dept Physics
Exeter University
UK
Newsgroups: comp.unix.aix
From: fredrick@acd.ucar.edu (Timothy Fredrick)
Subject: LEDs flash 223 and 229 when installing new disk.  Any advise?
Organization: Ntl Center for Atmospheric Research - Atmospheric Chemistry Div
Date: Fri, 20 Nov 1992 21:34:38 GMT

I have done a half dozen external disk drive installations and have never
had problems until I tried to install an external 1.6GB drive on a 340
POWERstation.  Here is what I did:

      1. Connect new drive
      2. lscfg  --- it is recongized as hdisk1 with a unique scsi address
      3. smit - physical & logical storage - define a fixed disk to the os
      4. Add a fixed disk to an existing group
      5. Selected rootvg and "hdisk1"
      6. Increase the size of various existing filesystems to make use of
         the new disk space.  All seems to work fine.  I can read/write to
         new space and in every respect the system behaves normally.
      7. diag -a (to make sure new device is recognized)
      8. shutdown -h now
      9. On reboot the LED's start flashing 223 and 229 over and over.  I
         can never reboot the system.  Nor can I varyonvg when I boot from
         diskette.  The codes mean:

            223 - Attempting a Normal mode IPL from SCSI attached devices
                  specified in NVRAM IPL Devices list

            229 - Attempting a Normal mode IPL from NVRAM IPL Devices list;
                  cannot IPL from any of the listed devices, or there are
                  no valid entries in the Devices List.

     I cannot figure out what I'm doing wrong -- this procedure has always
worked before (how many times do you hear that one :-) ).  Any useful advice,
especially if you've experienced this problem before) would be greatly,
tremendously appreciated.  Thanks in advance.

--Tim Fredrick (fredrick@acd.ucar.edu)
  Ntl Cntr for Atmospheric Research, Boulder, CO 80307-1000 

Newsgroups: comp.unix.aix
From: cs000hf@selway.umt.edu (Hong Fan)
Subject: how to use setsockopt to reuse local address
Organization: University of Montana
Date: Sat, 21 Nov 1992 18:20:05 GMT


Hi, everyone:

Does anyone know how to use 'setsockopt' to reuse the local address on the 
client site? I want to setup two socket connections as the following
associations.

 { tcp, server, 1500, client, 1000 }
 { tcp, server, 1501, client, 1000 }

One way I tried is setsockopt(sock,SO_SOCK, SO_REUSEADDR,(char *)&on,sizeof(on))
on the client site after the creation of sock. but it still gave me another
port number. Do I need to setsockopt on the server site?

If you know how to solve this problem, please mail me at cs000hf@selway.umt.edu
I appreciate your time and help.

sincerely

hong fan
From: jenkinsonjp@rcwusr.bp.com
Newsgroups: comp.unix.aix
Subject: PTFs on installation servers
Date: 18 Nov 92 12:35:30 -0600
Organization: BP Research, Cleveland, OH (USA)

i had gotten into the habit of rolling the various and insundry PTF tapes to
a common directory on a machine we had setup as an installation server. once
done i'd then go the various RS/6000s and install all patches with commit,etc.
my theory was that any PTFs that i had loaded previously would be overwritten
and the installp would take care of the prerequisite strings. this worked fine
until they started to recend PTFs. just recently we got a tape with a BUNCH
of fixes for the 220 and GT1 (bloody thing just didn't work). in doing the
enmass PTF apply, i ended up with a pile of garbage. reloading the machine and
applying the PTFs from tape, one tape at a time, the machine works fine.
how do others apply PTFs to a large population of machines??
Newsgroups: comp.unix.aix
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Subject: Re: Another login question
Organization: /etc/organization
Date: Sun, 15 Nov 1992 19:06:48 GMT


In article <1992Nov9.205903.18981@cs.mcgill.ca> kent@ziggy.cs.mcgill.ca
(Kent Tse) writes:
>
> 3004-010 Failed setting terminal ownership and mode.
>
> All the users belong to the same groups.  Any ideas?  Thanks in
> advance.

Check the group file again.  If the user's primary group (listed in
/etc/passwd) is not in /etc/group, this will happen.  This is the only
circumstance in which this error has been reported.

-- 
 \  /   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: mcguire@selway.umt.edu (Charles J McGuire)
Subject: 220 printing is a dog
Organization: University of Montana
Date: Thu, 19 Nov 1992 23:20:14 GMT

I have an RS/6000 220 (AIX 3.2.0) to which I attached a
color postscript printer via the parallel port. When
this thing is sending a job to the printer, it is virtually
dead in the water. Admittedly, color postscript files are
large, but there must be some way of arbitrating things
so that the machine remains in a reasonably useful state
while printing (the 220 has 32MB of memory and a local disk).

Any suggestions on how I can try to deal with this?

 *************************************************************************
( Charlie McGuire              |       Tel.  : (406) 243-4618             )
( Research Sys Mgr             |       Fax   : (406) 243-4076             )
( The University of Montana    |                                          )
( Computer Science Dept        |       E-Mail: mcguire@huckle.cs.umt.edu  )
( SS409                        |                                          )
 *************************************************************************
From: konopik@konopik.austin.ibm.com (Brad Konopik)
Newsgroups: comp.unix.aix
Subject: Re: Virtual Memory curiosity
Keywords: VM overflow response
Date: 17 Nov 92 22:17:37 GMT
Distribution: usa
Organization: IBM AIX Porting Center, Austin

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??!!
>
>-Brett

Brett,

This topic has been beat to death on more than one occassion.  If your
newserver ages the articles from this group, please go back and read a
few...my "kill key" finger is getting tired :-)

-- 
  tcpnet: konopik@konopik.austin.ibm.com  |  Brad Konopik
 ibmvnet: KONOPIK at AUSTIN               |  IBM AIX Porting Center, Austin
internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
   uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
From: woan@soda.berkeley.edu (Ronald Woan)
Newsgroups: comp.unix.aix
Subject: Re: Compiling Elm 2.3 on RS6000 (AIX 3.2)
Date: 20 Nov 1992 07:22:05 GMT
Organization: Austin School of Hardknocks
Distribution: world
NNTP-Posting-Host: soda.berkeley.edu
Keywords: elm

In article <eoq.51.0@vthnw.cvm.msu.edu> eoq@vthnw.cvm.msu.edu (Edward Quillen) writes:
>I just tried to compile Elm 2.3 but am getting compiler errors due to the
>fact that redeclarations of common string macro appear in the code
>like:
>  char *strbrk();
>
>I get an error message from the cc compiler:
>"addr_util.c", line 45.0: 1506-041 (S) Parameter list cannot contain 
>               fewer parameters than required by macro definition.

You might try a newer elm (general suggestion, nothing to with
your problem), but give the bsdcc configuration a try from the 
/usr/lpp/bos/bsdport (bsd something at least) document or look
for the definition to bypass the macro definitions in string.h 
file (has some underbars and STR in it).
 

-- 
+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan                woan@soda.berkeley.edu or woan@vnet.ibm.com +
+ other email addresses             Prodigy: XTCR74A Compuserve: 73530,2537 +
From: waugh@coos.dartmouth.edu (Jim Waugh)
Newsgroups: comp.unix.aix
Subject: 9334 Disk Subsystem Configuration w/6000s
Date: 16 Nov 92 18:26:25 GMT
Organization: Dartmouth College, Hanover, NH


                                                      11-16-92
 We are contemplating the purchase of a 9334-500 disk expansion
subsystem for RS6000s.  The supported configuration is for the 9334
to be driven off its own, dedicated SCSI card in the host 6000, but
all our board slots are filled. Has any user successfully config'd
the 9334 to the internal/external SCSI adapter of, say, a 320H?
What are your experiences, good or bad? Thanks.
 -Jim Waugh, Thayer School of Engineering, Dartmouth College,
             Hanover, NH 03755   (603) 646-2650
 a.k.a. jim.waugh@dartmouth.edu
From: shenkin@still3.chem.columbia.edu (Peter Shenkin)
Newsgroups: comp.unix.aix
Subject: AIX problem -- perhaps an FAQ -- "Background write".
Date: 23 Nov 92 19:10:31 GMT
Organization: Dept. of Chem, Columbia U., New York
Originator: shenkin@still3.chem.columbia.edu
X-Posted-From: still3.chem.columbia.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

System (output of "uname -a"): AIX still4 2 3 000108151000

    I have a csh aliases that look like:
	alias l 'ls -lts \!*'
	alias lh 'l \!* | head'
    Thus lh gives the top ten lines of a long listing.  I have never
    had a problem with this alias on any other machine.  But on this
    AIX system, sometimes in the middle of a session use of this alias
    will suspend the job in background, and give the message, "Background
    write."  Logging out, then in again fixes it.  What's going on?

-P.
-- 
************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb************************
Peter S. Shenkin, Box 768 Havemeyer Hall, Dept. of Chemistry, Columbia Univ.,
New York, NY  10027;  shenkin@still3.chem.columbia.edu;  (212) 854-5143
*** In scenic New York:  where the Third World is just a subway ride away ***
From: Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: Re: "The little yellow button" (Was: Reset button? Or shutdown?)
Date: 22 Nov 1992 10:17:15 +0100
Organization: INSA Informatique (Grasp), Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

jak@sactoh0.sac.ca.us (Jay A. Konigsberg) writes:
> According to our IBM SE, pushing the "little yellow button" will sync the
> filesystems and perform a proper shutdown/reboot sequence.

This is wrong. Reset is immediate, shutdown [when not buggy] gives time
to the applications to stop their service. For the sync I can't tell.

> I have tested this about 5 times and everything went just fine. On reboot
> fsck did not run, nor did it need to.

Did you check if the (system) file systems have the check flag in
/etc/filesystems ?  I have found that on installation lots of them are
defaulted to no, this is not wise.

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@grasp.insa-lyon.fr
  "Pour le bien-etre de tous, il est interdit de pisser dans le metro."
Newsgroups: comp.unix.aix
From: shmuel@mapsut.einstein.com ()
Subject: Kermit for AIX version 3.2
Date: Mon, 16 Nov 1992 22:08:20 GMT
Organization: Shmuel Einstein & Associates, Inc.

Does anyone know where to obtain a version of kermit which works with
aix version 3.2?  I have tried the kermit 5a, as well as an experimental
kermit which I got from columbia, but neither seems to open the serial port
correctly using the 3.2 posix protocols.

Thanks in advance.




-- 
Shmuel Einstein, shmuel@einstein.com
Shmuel Einstein & Associates, Inc.
9100 Wilshire Blvd, Suite 235 E
Beverly Hills, CA  90212
310/273-8971 FAX 310/273-8872
-- 
Shmuel Einstein, shmuel@einstein.com
Shmuel Einstein & Associates, Inc.
9100 Wilshire Blvd, Suite 235 E
Beverly Hills, CA  90212
From: john@newave.newave.mn.org (John A. Weeks III)
Newsgroups: comp.unix.aix
Subject: Checking Filesystems
Date: 22 Nov 92 17:52:35 GMT
Organization: Newave Communications, Ltd, Lake Wobegon, MN

How do you check the /usr filesystem in AIX?  I'm running AIX 3.2.3,
and I have been having a few problems with corrupted filesystems (usually
/tmp, but occasionally /usr).

If I run `fsck' with a file system mounted, fsck does not fix errors,
and it seems to report a bunch of bogus errors.  The problem is that
I have not found a way to unmount either / or /usr.  Umount says that
both file systems are busy, so it refuses to unmount them.  I have also
tried running in single user mode and in maintenance mode.  And I have
tried booting off of floppies.  Neither of these modes allow me to
unmount /usr.

I would be perfectly happy if I could find a way to force AIX to check
the file systems at boot time--even if they unmount cleanly.  This would
allow me to fix a file system simply by rebooting.

-john-
Newsgroups: comp.unix.aix
From: payne@eric.austin.ibm.com (Eric Payne)
Subject: Re: mksysb backup without /home
Organization: IBM, Austin
Date: Tue, 24 Nov 92 01:50:14 GMT

In article <98617@netnews.upenn.edu> michael@ccat.sas.upenn.edu (Michael Nenashev) writes:
>
>Sorry if this is a common knowledge, but mksysb is a simple
>shell script that uses find to create the archive list, so it
>is not too hard to modify in to your liking. While I am at it

The simplest way is to unmount /home and then do the mksysb.  It will
not back up anything that is not mounted.


>may I ask you aixperts how to untar a single file from bootable
>tape made with standard mksysb ? I tried tctl -f /dev/rmt0.1 fsf n
>with n=1,2,3,4 and all combinations of dd I can think of, but it
>never lets me stop after this dummy TOC and use tar -xf ... :-(
>
>Thanx for all helpful hints.

The way you do this depends on the level of software you are running.
Based on a couple of things you said in this post, I am assuming that you
are running a 3.2.x system.  If it has 3.2.0, 3.2.1, or 3.2.2 level of AIX on
it, then make sure the tape drive is set to 512 byte blocks and try the
following:

tctl -f /dev/rmt0.1 fsf 3
tar -xf <filename>

You seemed to indicate that this did not work for you.  I have never had
a problem with it.
-- 
Thank you,                                 I           ____/           __/
Eric Payne                                 N N        /
                                           T E Addr  ____/    ____/    /    ___/
                                           E T      /        /        /    /
These views are mine, not my employer's.   R      _____/  __/      __/  _____/
Even then, I do not claim responsiblity.          payne@austin.ibm.com
From: JOAOLSD@vm1.sdi.uam.es (Joao Luis Silva Damas)
Newsgroups: comp.unix.aix
Subject: RS6000 almost stops with heavy disk access.
Date: 17 Nov 92 23:58:47 GMT
Organization: Native address: <JOAOLSD@EMDUAM11.BITNET>

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 (600-700 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 30-60 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)?
Thanks for your answers,
                      Joao Damas
Newsgroups: comp.unix.aix
From: srs@eos.ncsu.edu (SCOTT R STONEFIELD)
Subject: idraw and InterViews for AIX 3.2.1
Originator: srs@koopa.eos.ncsu.edu
Keywords: idraw InterViews
Reply-To: srs@eos.ncsu.edu
Organization: North Carolina State University, Project Eos, An Eos Guy...
Date: Thu, 19 Nov 1992 17:57:18 GMT


I been asked to compile the latest version of idraw, and I understand 
to do that I must also have the InterViews library.  I was also told that
the InterViews is fairly large.  Thus, I am trying to find out more info
about InterViews and AIX.  My question is: Has anyone compiled the InterViews
library and idraw for AIX 3.2.  Or does anyone have experience in compiling
idraw and InterViews under AIX or anything else.

Thanks.

-Scott
Newsgroups: comp.unix.aix
From: nosmo@nov8.ximage.com (Vince Kraemer)
Subject: InfoExplorer, xlC headers and syslog
Reply-To: nosmo@ximage.com
Organization: XImage Corp., San Jose, CA
Distribution: usa
Date: Tue, 17 Nov 1992 16:36:46 GMT


This is real simple.  I was cruising through some code that I am
converting to an RS/6000 from a sparc and looked up syslog in the
InfoExplorer. The way IE describes syslog, the second argument is a
char; not a char * like the Sun's version.

Is this true or is IE just lying to me?

How did the xlC headers come into this -- Well, I decided that it seemed
like the header files would be a good place to look for function
prototypes for syslog.  The prototype wasn't in either of the files
<syslog.h> or <sys/syslog.h> in the /usr/lpp/xlC/include directory. 

So where are the function prototypes for stuff like syslog and all that
other wonderful stuff?

vbk

Newsgroups: comp.unix.aix
From: jmuilu@joyke7.joensuu.fi (Juha Muilu)
Subject: Tape drive for RS6000
Organization: University of Joensuu
Date: Tue, 17 Nov 1992 11:55:08 GMT


I need to buy QIC (150MB) tape drive for the RS6000/320H. 
Any recommendations? As far as I know almost all
SCSI drives should work,  but booting and software 
installation could be a problem.

Thanks in advance.

--
   
   Juha Muilu

   Department of Chemistry,University of Joensuu,P.O. Box 111
   80101 Joensuu,FINLAND
   Email:Juha.Muilu@joensuu.fi (NeXT mail ok)
From: vgough@slate.mines.colorado.edu (Valiant Gough)
Newsgroups: comp.unix.aix
Subject: sample file for 'as'?
Date: 18 Nov 92 23:35:00 GMT
Organization: Colorado School of Mines


	Hello, 
	I've been trying to write an assembly routine on an RS/6000 530 (
AIX 3.2)...   I've done everything I could think of to make 'as' like my
program, but it dies within the first 10 source lines.  I would have used
cc -S to find out what it likes, but I found out that IBM in it's infinite
wisdom, has removed that feature.  Would someone send me a sample .s file?
It doesn't have to run on it's own, it is mean to be compiled to a .o and
linked to a C program.

thanks,
Valiant Gough
vgough@mines.colorado.edu
 
Newsgroups: comp.unix.aix