HDTenEightyP/NetNews huggingface dataset:
From: tutui@silk.imel.kyoto-u.ac.jp (Takashi &)
Newsgroups: comp.unix.aix
Subject: Re: How Do You Partition A Disk In AIX?
Date: 13 Apr 92 16:25:38 GMT
Distribution: comp
Organization: Dept. of Medical Informatics, KYOTO Univ. Hospital, KYOTO, Japan.


Hi-.

 About the techinical problems and the differences of AIX from
unix are tas mentioned by other follow up, and I have no idea about.
 But in my case, I tried several (20 ~ 100) times of
repartitioning, losing often data, unwillingly, to have got i
nto a result that: I created a partition of user space into one
big partition, and now I use it.

 The reason I did it is: 
1. logical partition cannot be reduced.
2. 4KB fixed block of the AIX is quite unpredictable of the size when
compress|tar backuped.
3. Partitioning should be thought into account of backuping
by the tape.
 I have only 150MB qic tape drive.I use 250MB long
tape(sony). and compress | tar.
 I use about 1300MB /u partition now. I put GNU,X11R5,etc into the
disk. Backup of the partition /u takes only two 250MB tape, 
arranging /u into two subdirectories, for the sake of 
unefficiency of the block.
 Or else if you have 8mm, you should better make partition bigger
to avoid backup effort.
4. rearrangement and deleteing of one disk sometimes corrupt
the logical partition table (when nearly full), and then I 
have no idea to remedy the table, I often had to reinstall the OS !!!
When logical partition table is corrupted any way, no operation is
possible for the volume partition.


Anyway I often damaged the logical partition table, and putting
a filesystem into a separate disk is of no help when rootfile
system is crashed.
 Detatching the data disk and reinstalling the complete OS. And I
tried to attach the datadisk, I had tried several times, but in
vein. It seems that, there seems an important partitioning data is
stored in the root file system, and reinstalling dameges it , and
adding diks (with data) helps no data any way.

I recommend the AIX approach to put a file system into a small range of
disk tracks to reduce head movement, but I want another refine for the
utility.
After all I use only one user file system, with safety in peace :)
I do not recommend to maximize the performance of the file system
unless you get AIXpert, or have fixed usage of the volume.
And the reason why I cannot maximize the performance is: after
re-installing AIX ?0 times ^^; I could not be an AIXpert.

--
TAKASHI Tsutsui M.D.		tutui@silk.imel.kyoto-u.ac.jp
Dept. of Medical Informatics Hospital of KYOTO Univ.
SAKYO-ku KYOTO JAPAN	Zip 606		Phone +81-75-751-3647
  (automaticaly switched to the fax)	Fax   +81-75-751-3647
Newsgroups: comp.unix.aix
From: burton@asdsun.larc.nasa.gov (John Burton)
Subject: Re: g++ for the rs6000
Keywords: g++ 
Organization: NASA Langley Research Center, Hampton, VA  USA
Date: Thu, 16 Apr 1992 12:22:52 GMT

In article <ibacon.703351185@seamis1> ibacon@seamis1.gsfc.nasa.gov (Ian Bacon) writes:
>Has **anyone** managed to successfully implement g++ on the rs6000 yet?
>Help, tips, pointers, binaries appreciated.
>
>-- Ian Bacon --
>
>--------------------------------------------------------------------------
>|	Ian Bacon		| internet: ian@tsg.com		 	 |
>|  Telos Systems Group		|	or: ibacon@seamis1.gsfc.nasa.gov |
>|  Chantilly, Virginia		|					 |
>|	 "If there is a bright center to the galaxy, you are 		 |
>|		on the planet which is furthest from."			 |
>|		Luke Skywalker, Star Wars, Episode 4			 |
>--------------------------------------------------------------------------

Yup,
  You FTP the latest gcc/g++ version from prep.ai.mit.edu
(pub/gnu/gcc-2.1.tar.Z is the name of the file I think, you DON'T
want the file named g++1.40 or whatever, get the gcc 2.1 distribution,
it includes g++) and follow the directions for installing it on an
RS/6000. You'll probably need to get a patched version of collect2.c
(one of the files in the distribution). Richard Kenner 
(kenner@vlsi1.ultra.nyu.edu) provided me with a copy and many other
useful suggestions. Read the README-RS6000 file for suggestions 
(primarily it suggests you ask IBM for a fixed version of their
assembler, the one distributed with AIX 3.1.x and 3.2 has a bug...
Another suggestions is to read the gnu newsgroups (there are bug &
help groups for both gcc and g++. If you have problems installing,
send mail to gcc-help@prep.ai.mit.edu (I think...memory is not
great before caffine...:-)

John

+--------------------------------------------------------------------+
| John Burton                                                        |
| G & A Technical Software                                           |
| jcburt@gatsibm.larc.nasa.gov                                       |
| burton@asdsun.larc.nasa.gov                                        |
| jcburt@cs.wm.edu                                                   |
|                                                                    |
| Disclaimer: Hey, what can I say...These are *my* views, not those  |
|             of anyone else, be they employer, school, or government|
+--------------------------------------------------------------------+
From: roy@prism.gatech.EDU (Roy Mongiovi)
Newsgroups: comp.unix.aix
Subject: the stat call, st_blocks, and DEV_BSIZE
Date: 10 Apr 92 19:25:36 GMT
Distribution: usa
Organization: Georgia Institute of Technology

In both the documentation for stat and the include file sys/stat.h, the
comment for the st_blocks field says that it is reported in multiples of
DEV_BSIZE blocks.

Unfortunately, I can't find an include file (that I trust) that defines
DEV_BSIZE.  sys/dir.h defines it as 512 if it isn't already defined, but
that just doesn't give me a warm fuzzy feeling.

This is on 3.2.  Does anyone know the score?
-- 
Roy J. Mongiovi   Systems Support Specialist        Information Technology
                                                Georgia Institute of Technology
Tough are the souls that tread the knife's edge  Atlanta, Georgia  30332-0715
        J. Tull                                      roy@prism.gatech.edu
Newsgroups: comp.unix.aix
From: nv89-pla@nada.kth.se (Peter Laan)
Subject: X-Windows on a IBM-RT (135) running Aix 2.2.1
Originator: nv89-pla@hemul.nada.kth.se
Reply-To: nv89-pla@nada.kth.se (Peter Laan)
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Mon, 6 Apr 1992 06:27:09 GMT


Is this possible??? The machine itself has a CGA console but i want
to run X-windows on a Pc X-Server. 

If anybody knows abt a anon ftp:able site that holds the sources
for a PD-Xdeveloper for AIX2.x.x, please send a E-letter!!

Thanks in advance.
//Peter
From: sdl@adagio.austin.ibm.com (sdl)
Newsgroups: comp.unix.aix
Subject: Re: Question on floating-point numbers
Date: 7 Apr 92 21:46:33 GMT
Reply-To: sdl@glasnost.austin.ibm.com
Organization: IBM PS Programming


In article <1992Apr6.213825.3876@ecl.psu.edu> cxt@ecl.psu.edu writes:

cxt> Does anybody know the largest floating point number and the smallest
cxt> floating-point number and the base of the floating-point number.

Have a look in /usr/include/values.h

For double precision (REAL*8)
#define MAXDOUBLE     1.7976931348623157e+308
#define MINDOUBLE     4.94065645841246544e-324

For single precision (REAL*4)
#define MAXFLOAT      ((float)3.40282346638528860e+38)
#define MINFLOAT      ((float)1.40129846432481707e-45)

The base for the internal representation is 2.  The RISC System/6000
uses IEEE floating point format.  For lots of information about this
format, see "What Every Computer Scientist Should Know About
Floating-Point Arithmetic" (ACM Computing Surveys, Vol. 23, No. 1,
March 1991).


--
--------------------------------------------------------------------
Stephen Linam   PSP Austin   T/L: 678-3308  Bell-net: (512) 838-3308
Inside IBM: sdl@adagio.austin.ibm.com      IBM VNET: LINAM at AUSTIN
From outside IBM: sdl@glasnost.austin.ibm.com
Quae narravi, nullo modo negabo.            I speak for me, not IBM.
From: jfh@rpp386.lonestar.org (John F Haugh II)
Newsgroups: comp.unix.aix
Subject: Re: AIX 3.2 Gratuitous Incompatibility #1
Date: 6 Apr 92 14:42:37 GMT
Reply-To: jfh@rpp386.cactus.org (John F Haugh II)
Organization: On the Beach, Simpson Bay, Sint Maarten, Nederland Antilles
X-Random-Thought: Practice random kindness and senseless acts of beauty

In article <1620@rufus.UUCP> drake@drake.almaden.ibm.com (Sam Drake) writes:
>I've never seen anyone, anywhere, who used more than 3 virtual terminals.
>Have you?  

I regularly use 8 or 10 on my PS/2, and I did the same on my RT/PC and the
RS/6000 that I used for a while.  I =don't= care for X's teeny little fonts
so I use the virtual terminals to connect to VM and AIX hosts all around
the planet.  It would have affected me after 1 hour of use ...
-- 
John F. Haugh II        | Every 56 days.   | UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 251-2151 | Give Blood, often.    | Domain: jfh@rpp386.cactus.org
"A countryman between two lawyers is like a fish between two cats."
		-- Benjamin Franklin
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: X11 on AIX 3.2
Date: 9 Apr 92 15:56:12 GMT
Article-I.D.: mintaka.1992Apr9.155612.10160
Organization: /etc/organization


In article <1992Apr7.185930.13770@fig.citib.com> ghica@fig.citib.com
(Renato Ghica) writes:
>
> I just installed the X11 environment from tape on a pristine AIX 3.2
> (RS/6000) system, and am having problems running any client. I have
> an open call with IBM, but after 20 minutes on the phone I got
> nowhere. Does anyone know what is happening ?
>
> ghica{130} -> xterm
> Could not load program xterm 
> Could not load library libXt.a[shr4.o]
> Error was: No such file or directory
>
> [...]

It's probably the case that another library which libXt.a depends on
(like libXext.a or libX11.a) is missing.  The loader will generate the
same error message in this case.  (It's probably a bug, but it's been
there since 3.1.)
Newsgroups: comp.unix.aix
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Subject: Re: Zmodem
Organization: MIT Laboratory for Computer Science
Date: Mon, 13 Apr 1992 05:26:41 GMT


I compile rzsz-0525 as 'sysvr3' with only trivial modifications, and it
runs fine.

There are some caveats, however.  In particular, Zmodemm has a lot of
trouble going through terminal servers.  Try the '-e' switch or '-l
1024'.
From: hudgens@SCRI.FSU.EDU (Jim Hudgens)
Newsgroups: comp.unix.aix
Subject: xlf/dbx weirdness with statement functions
Date: 13 Apr 92 17:30:51 GMT
Organization: SCRI, Florida State University


One of the scientists here mentioned this to me.  Anyone know 
of a workaround???  

----
      call foo
      stop
      end

      subroutine foo
      dimension a(10)
      x(i) = 0.0/a(i)
C  try to force a segmentation fault using the above statement function
      y = x(-1000000)
      y = x( 10000000)
      y = x(-10000000)
      y = x( 100000000)     
      y = x(-100000000)
C  which one caused it???
      return
      end

----
$ xlf  -g test.f
** main   === End of Compilation 1 ===
** foo   === End of Compilation 2 ===
1501-510  Compilation successful for file test.f.

$ a.out
Segmentation fault

$ dbx a.out
dbx version 3.1 for AIX.
Type 'help' for help.
reading symbolic information ...
(dbx) run

segmentation violation in foo at line 14 in file "test.f"
   14         x(i) = 0.0/a(i)
(dbx) where
foo(), line 14 in "test.f"
main(), line 5 in "test.f"
(dbx) 

----
Which invocation of the statement function caused the error?
Doesn't appear to be any way to tell.

Apparently the person who mentioned this to me has a code which
is loaded with manu statement functions. 

On suns, I get:
---
$ dbx a.out
Reading symbolic information...
Read 294 symbols
(dbx) run
Running: a.out 
signal SEGV (no mapping at the fault address) in foo at line 16 in
file "test.f"
   16         y = x(-1000000)
---


Help?

JHH
--
Jim Hudgens 			Supercomputer Computations Research Institute
hudgens@sun13.scri.fsu.edu      
-- This message is the result of "VDT stress syndrome" and excessive coffee 
-- consumption, and do not represent official views of my employers.
From: bware@slate.mines.colorado.edu (Bob Ware)
Newsgroups: comp.unix.aix
Subject: Re: man -k and InfoExplorer
Date: 14 Apr 92 14:57:04 GMT
Organization: Colorado School of Mines

eci@holmes.acc.Virginia.EDU (Edith C. Irwin) writes:
: On our RS/6000s with locally installed man pages, the "man -k"
: command finds only the local pages.
: 
: Does anyone have information on how to create a "whatis" database
: from the man pages in the InfoExplorer so that "man -k" will find
: all the man pages?
You have to run catman -w to create the data base.  This gets both the 
local man pages and also the info explorer man pages.

-- 
Bob Ware, System Administrator 
Computing and Networking, Colorado School of Mines, Golden, Co 80401, USA
(303) 273-3987
bware@mines.colorado.edu bware@mines.bitnet
Newsgroups: comp.unix.aix
From: jd@cc.gatech.edu (Mike JD Espig)
Subject: automount and RS6000's
Reply-To: jd@cc.gatech.edu
Organization: ICS Lab
Date: Mon, 13 Apr 1992 17:04:08 GMT

Hi !

has anybody had any luck using automounter on the RS6000's?
automounter comes standard with the sun dist., there's 
amd, but will that be compatible with the configuration 
files that nfs/automounter uses?

thanks -

					-Mike (jd@cc.gatech.edu)
---
From: gt5793a@prism.gatech.EDU (Kell Canty)
Newsgroups: comp.unix.aix
Subject: SNA services/ 2008 update
Keywords: sna 2008
Date: 8 Apr 92 15:20:03 GMT
Organization: Georgia Institute of Technology


Hello there,

does anyone have any experience with the 2008 update to
AIX V3.1?  In particular I am concerned with any SNA
fixes or changes that are present.  Also if anyone
out there does much with SNA services programming I
would be interested in talking with you. ( i.e. how to
identify and work around failures of SNA services.)

Thanks!

Kell
-- 
James Kell Canty
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt5793a
Internet: gt5793a@prism.gatech.edu
Newsgroups: comp.unix.aix
From: madd@world.std.com (jim frost)
Subject: Re: what is the function _ptrgl() ?
Organization: The World @ Software Tool & Die
Date: Thu, 9 Apr 1992 19:46:26 GMT

rr2b+@andrew.cmu.edu (Robert Andrew Ryan) writes:
>Excerpts from netnews.comp.unix.aix: 9-Apr-92 Re: what is the function
>_p.. Bjorn Engsig@dk.oracle.c (544)

>> The call via the function pointer funcptr will be handled via
>> the _ptrgl function.

>I believe this is also true of inter-module function calls (ie to a
>shared library or dynamically loaded code.)

This is correct -- all calls to a function through a function pointer
or calls between modules must go through _ptrgl or some similar
function.  This is done to allow swapping of the TOC pointer if necessary.

_ptrgl isn't the only name for the function.  It's also called
._ptrgl and .$PTRGL in the standard libraries.  The function is always
the same though:

	1. save the toc pointer in the current frame
	2. load the new toc pointer from the given function descriptor
	3. load the function address from the given function descriptor
	4. branch to the new function

An example implementation is:

	st	r2,0x14(r1)  	# save TOC pointer
	l	r12,0x0(r11)	# load branch destination
	mtctr 	r12		# copy to count register
	l	r2,0x4(r11)	# load new TOC
	bctr	  		# branch thru count register

Note that r11 is the function descriptor pointer.

Informationally yours,

jim frost
madd@world.std.com
Newsgroups: comp.unix.aix
From: toma@swsrv1.cirr.com (Tom Armistead)
Subject: 530 Performance problems
Organization: Software Services; Garland, Tx
Date: Wed, 15 Apr 1992 02:02:06 GMT

Is there any software out there for real-time monitoring of processes
under AIX (something like u386mon)?

We have a 530 with 128meg ram, ~5gig of disk and about ?30? users on the
system at any given time.  The system is connect to an IBM mainframe via
and SNA link and a couple of other 6000's via TCP/IP.  There are also
5 or so X-Terminal connected to the network.

We seem to have always had performance problems on this machine (and never
been able to nail down what the real problem is).  There are times when
a user re-draws a screen (using vi) and the screen update will take 30
seconds.  There are times when one can cd to another directory and have
to wait 30+ seconds to get the prompt back.  Is this typical?  The SE's
from IBM have always told us that there wasn't a problem.

I've always had the feeling the the SE's had absolutely NO idea what they
were talking about.  I remember how Impressed one 'IBM Performance
Specialist' was when I showed him that he could edit his command line
using vi commands???????????????????????????????????????????????????????

We've had all sorts of people look at the system and no one has been able
to help in any way.  When we have performance problems like this and stop
to look at what's wrong, the system speeds back up.

Any help or suggestions would be greatly appreciated!!!

Thanks,
Tom		(Oh Dear Abby, help me fix my computer?)
-- 
Tom Armistead            | 2918 Dukeswood Dr.     | Garland, Tx.  75040
toma@swsrv1.cirr.com     | ...!egsner!swsrv1!toma | ...!void!swsrv1!toma
toma@swsrv1.LoneStar.org | ============ THIS SPACE FOR RENT ============
From: mike@pencom.com (Mike Heath)
Newsgroups: comp.unix.aix
Subject: Re: max external symbol names
Keywords: external names
Date: 16 Apr 92 18:00:58 GMT
Organization: Pencom Software, Austin, TX

In article <1581@sdrc.COM> crgreg@sdrc.COM (Greg Marion) writes:
>What is the maximum length of a external name in fortran and c ? Is it
>controlled simply by the linker or is it a compiler limit ? Where is 
>this information kept ??? HELP !!!

I believe xlc limits the symbol names to 250 characters.  ld, in a
stock 3.2 (and previous) system, limits them to 255 characters.
I haven't tried xlf.

ld has been changed to allow 65535 characters in a symbol name (the
limit imposed by the object file format).  You'll need to ask IBM
support if its available as an update.

-- 
Mike Heath		Pencom ...  We're not just headhunters anymore.
Pencom Software		
Austin, TX		
mike@pencom.com
From: emackey@lehi3b15.csee.Lehigh.EDU (Ed Mackey [910828])
Newsgroups: comp.unix.aix
Subject: Re: Non-blocking sockets under AIX *SOLVED*
Date: 9 Apr 92 14:50:05 GMT
Reply-To: emackey@lehi3b15.csee.Lehigh.EDU (Ed Mackey [910828])
Organization: hardly

Thanks to one and all who helped me solve this problem!
Since most replies were by email, and I got one or two people
who had the same problem, I'll post the solution:

The answer to the problem of non-blocking AIX sockets blocking
when they're not supposed to lies....  in the Makefile!

	cc -D_BSD yourprogram.c -lbsd

Hope this helps anyone else with the same trouble.  Thanks again!

                             --Ed.
--
Ed Mackey
elm4@Lehigh.edu
From: Sean.Levy@cs.cmu.edu
Newsgroups: comp.unix.aix
Subject: rs6k/AIX 3.1.5 InverViews binaries
Date: 7 Apr 92 03:52:53 GMT
Article-I.D.: cs.AdsFmJW00hMgQ_vEV2
Organization: Carnegie Mellon, Pittsburgh, PA

Hi,

I would really like to get at least some of InterViews in binary form
for the rs6k under AIX 3.1.5. I am not interested in using the class
libraries, just some of the programs. I've located idraw but would
really like ifb (or the whole lot). Anyone built these beasties and
willing to give me a shot at FTP?

Cheers,
    --Sean

 +----------------------------------------------------------------------+
 | ndim                         Sean Levy                        Person |
 +----------------------------------------------------------------------+
 | +--Quote---------------------+  +--Employer------------------------+ |
 | |"... from intiution one can |  |Engineering Design Research Center|	|
 | | pass to analysis, but not  |  |Carnegie Mellon University 	      |	|
 | | from analysis to intuition"|  |5000 Forbes Ave, PGH, PA, 15221   |	|
 | +------------------------- --+  +----------------------------------+	|
 |          \                                                           |
 |         said-by                 +--EMail-----+    +--Office--------+ |
 |            \                    |snl+@cmu.edu|    |Vox 412 268 5226| |
 |             v                   +------------+    |Fax 412 268 5229| |
 |      +--Person-------+                            |Ofc HBH 1203    | |
 |      | Henri Bergson |                            +----------------+ |
 |      +---------------+                                               |
 +----------------------------------------------------------------------+
From: base@ems.cdc.com
Newsgroups: comp.unix.aix
Subject: NFS problems
Date: 15 Apr 92 23:06:52 GMT
Distribution: na
Organization: Empros Systems International, a division of CDC

Occasionally when reading more than 2k bytes of an NFS mounted file within a
FORTRAN program, an end-of-file status is returned (error 4) even though
the end of file has not been reached.  If the read is done with same
program on a non NFS mounted file, the read is done correctly.  Is this a
know problem?
From: DAVID@nervm.nerdc.ufl.edu (David Nessl)
Newsgroups: comp.unix.aix
Subject: Re: What do you do with a 1000 groupies?
Date: 14 Apr 92 04:18:10 GMT
Organization: University of Florida, NERDC

In article <leonard.702805377@aix3090b.uky.edu>
leonard@aix3090b.uky.edu (Leonard Lauria) writes:
>                                  ....has anyone devised a "batch"
>type mode to add users and AIX370?  We can query our SIS system
>to automatically select students that have left, or joined the
>university, and should either have userids deleted or added.
 
You can use the AIX/370 addusers command to delete users.  To add
users without going thru addusers requires the following steps:
 
   Obtain locks on /etc/passwd file by exclusive creation of new
   /etc/ptmp file, and exclusive flock (lockf?) on the /etc/pwdlock file.
 
   Scan the existing /etc/passwd to confirm the lowercased username is
   not already enrolled and to find the next available uid.
 
   Use crypt to generate an encrypted version of the lowercased pw.
 
   Combine username, uid, gid, encrypted password, etc. into a
   valid passwd entry, and append it to /etc/passwd.
 
   rm /etc/passwd.pag and passwd.dir, run mkpasswd
 
   Release lock on /etc/pwdlock and delete /etc/ptmp.
 
I have code to do the above, but I avoid pre-registering users: new
users login to username 'register' which starts a registration program
instead of a shell.  The registration program prompts for the user's
username and password in ACF2 on VM, and then issues an rsh command to
VM to validate the password.  If that's OK, the program enrolls the
user by going thru the steps above.  -david
 
David Nessl -- Coordinator, Computer Systems (systems programmer)
BITNET:    david@nervm                |Northeast Regional Data Center
Internet:  david@nervm.nerdc.ufl.edu  |233 SSRB, University of Florida
Telephone: 904-392-2061               |Gainesville, FL 32611    USA
From: marc@watson.ibm.com (Marc Auslander)
Newsgroups: comp.unix.aix
Subject: Re: what is the function _ptrgl() ?
Date: 10 Apr 92 16:53:26 GMT
Organization: IBM T.J. Watson Research Center, Hawthorne, New York
Disclaimer: This posting represents the poster's views, not necessarily those of IBM

In article <mtranle.702779064@paris> mtranle@IntelliCorp.COM (Minh Tran-Le) writes:

>We have some C code that seems to break inside the function _ptrgl.
>What is this function supposed to do ?

>Minh Tran-Le.

You almost surely have a bad pointer to function.

_ptrgl is used only for calls through pointers to function.  There is
specific "glue" code for each intermodule call to a named function.
--


Marc Auslander       (IBM)<marc@marc.watson.ibm.com>      914 784-6699
                     (Internet)<marc@watson.ibm.com>