HDTenEightyP/NetNews huggingface dataset:
From: alhy@unixhub.slac.stanford.edu (J. Scott Berg)
Newsgroups: comp.unix.aix
Subject: Size of shared libraries
Date: 20 Aug 92 23:38:27 GMT
Article-I.D.: unixhub.5259
Reply-To: alhy@unixhub.slac.stanford.edu
Organization: Stanford University, dept of Physics / SLAC

It seems that when I make shared libraries, they're much larger than
an unshared version of the same library!  Here's what I do in this
case:  I take a library (the ibm blas library), extract all the object
files, on each of the files use nm to determine the symbols to export,
create an import file with all the routine names in it, then do the
following command on each object:

ld -lxlf -lm -lc -bh:4 -T512 -H512 -x -bM:SRE -bI:blas.inp -o \
  obj.shr.o obj.o -bE:obj.exp ; mv obj.shr.o obj.o

I then put them together into an archive:

  ar -cr libblas.a *.o

-r--r--r--   1 bin       693241 Nov 05 1990  /lib/libblas.a <-- orig ibm
-rw-r--r--   1 alhy     1338637 Aug 20 16:34 libblas.a <-- shared version

Do I need to do something differently?  Is it the alignment with -T512
and -H512 that's killing me?  Am I right in assuming that if I use ld
to combine all the objects into one big shr.o, that ALL the routines
will be loaded simultaneously, even if I use only one, and that the
way I did it, only the routines used will be loaded?  Thanks much

				-Scott Berg


-- 
-------------------------------------------------------------------------------
The opinions expressed here are, of course, my own and nobody else's.
-------------------------------------------------------------------------------
J. Scott Berg
email: alhy@unixhub.slac.stanford.edu
real mail: Varian Physics
           Stanford  CA  94305-4060
phone:	(415) 926-4732 (w)
 	(415) 328-8246 (h)
-------------------------------------------------------------------------------
From: clfang@csie.nctu.edu.tw (Chien-Lu Fang)
Newsgroups: comp.unix.aix
Subject: FTP's problem ?
Keywords: ftp, domain name,
Date: 18 Aug 92 03:06:28 GMT
Organization: Computer Science & Information Engin., Chiao-Tung U, Taiwan, ROC
X-Newsreader: Tin 1.1 PL3


     In my RS/6000, I have a trouble about ftp: I can rlogin or telnet by
the domain name defined in /etc/hosts, but when I use ftp, it always response
"Unknown host !", what's wrong ?
     Is any one help me ?

     HELP !!!   HELP !!!   HELP !!!
From: CALT@SLACVM.SLAC.STANFORD.EDU
Newsgroups: comp.unix.aix
Subject: X11R5
Date: 14 Aug 92 17:00:57 GMT
Organization: Stanford Linear Accelerator Center

I have X11R5 compiled and installed on my 32H. But I am having
problem getting it started by using the xinit command.
What I get is the root window with nothing in it. Could someone
there out help me understand:
1.  What command(s) to use to start X11R5, does xinit do it?
2.  Can $HOME/.xinitrc of X11R4 be use under X11R5, or do I
    need to create a new $HOME/.xinitrc with a different format?
    Very appreciate if someone could send me his/her $HOME/.xinitrc
    of X11R5.
3.  Is there any documentation about this issue? If so, where shall
    I look at?

Thanks a lot!

Ching Shih
shih@cithex.bitnet
shih@cithex.caltech.edu
Newsgroups: comp.unix.aix,comp.windows.x
From: se@IKP.Uni-Koeln.DE (Stefan Esser)
Subject: can't connect to Xserver (was Re: X11R5)
Organization: Institute for Mathematics, University of Cologne, Germany
Date: Mon, 17 Aug 92 10:14:55 GMT

In article <92227.090057CALT@SLACVM.SLAC.STANFORD.EDU>, CALT@SLACVM.SLAC.STANFORD.EDU writes:
|> I have X11R5 compiled and installed on my 32H. But I am having
|> problem getting it started by using the xinit command.

You might be seing just the same problem as we ...

Try xinit with a .xinitrc file containing just the line:

xterm -d localhost:0


I compiled X11R5 (AIX 3.2.0) a few days ago and got most of it working.

But there remains one annoying problem:
Clients started with DISPLAY set to  ':0'  can't connect to the server,
while  'localhost:0'  works just fine ...

Does anybody know what's wrong with opening a UNIX domain 
socket to the server (MITSHM got compiled in as well ...) ?

Or, even better, is there a workaround/patch ?

Thanks in advance,

STefan
-- 
 Stefan Esser,  Institute of Nuclear Physics,  University of Cologne,  Germany
 se@IKP.Uni-Koeln.DE                                           [134.95.192.50]
From: Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: never ending CLOSING socket (3.2.0)
Date: 22 Aug 1992 21:25:24 +0200
Organization: INSA Informatique (Grasp), Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0    247  grasp1.univ-lyon.ftp-d 129.79.25.53.55340     CLOSING
tcp        0    492  grasp1.univ-lyon.ftp-d 129.79.25.53.55342     CLOSING
tcp        0     13  grasp1.univ-lyon.ftp   woverman.fms.ind.10333 CLOSING
tcp        0    425  grasp1.univ-lyon.ftp-d woverman.fms.ind.47802 CLOSING

Sometimes, I get such sockets who never close (the one -> .47802 is open
since over 10 days, 129.79.25.53 = woverman.fms.indiana.edu).

Is there a way to force them down, I'd be too bad to have to restart
the station for that!

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@univ-lyon1.fr
   "No keyboard, press F1 to continue"
From: joubert@teldata.UUCP (Joubert Berger)
Newsgroups: comp.unix.aix
Subject: info mounted from remote machine
Date: 14 Aug 92 15:32:36 GMT
Organization: Advance Financial Corporation / Teldate Computer Industries, Inc.

We have two RS6000 machines.  One has a CD-ROM.  Both were running 3.1.5.
I use to mount /usr/lpp/info/En_US and everything worked great.  

Now the second machine is running 3.2 and I when I mount it on 
/usr/share/info/En_US, man and info do not seem to work.  

When I use man, I get "No match found in database for <whatever>."

Any ideas?


           Joubert

-- 
Joubert Berger                   | Email:  
Teldata Computer Industries, Inc.| joubert@teldata.uucp
Atlanta, Georgia  (404) 256-2166 | joubert%teldata.uucp@mathcs.emory.edu
                                 | {rutgers,ogicse,gatech}!emory!teldata!joubert
Newsgroups: comp.unix.aix
From: sangster@news.ans.net (Paul Sangster)
Subject: Re: Anyone debugged AIX before?
Date: Fri, 21 Aug 1992 18:48:20 GMT
Organization: Advanced Network & Services - Elmsford, NY

In article <1992Aug21.144448.64350@ans.net> sangster@news.ans.net (Paul Sangster) writes:
>Greetings,
>
>I am trying to do alittle kernel hacking on the TCP/IP
>component of AIX.  My question is of someone who had done
>this ... how did you getting debugging info printed out
>on the console?  I see lots of printfs floating around in
>
> other stuff deleted 
>

Thanks for the help, with no real documentation on this
topic it would have been real tough to find bosboot.

After I did a "bosboot -a -I" the kernel debugger was loaded
and after the reboot the debugger can right up.  After saying
"go", the kernel booted and those printfs appeared on the
screen (serial port console).

Thanks to all who responded,

Paul

-- 
_______________________________________________________________________
Paul Sangster                        Snail mail: 1895 Preston White Dr. 
Advanced Network & Services                      Suite 310
Information & Applications Services Group        Reston, Va 22091
From: fritz@scipp.UCSC.EDU (Frederick Staats)
Newsgroups: comp.unix.aix
Subject: Detecting where program text segments come from...
Date: 13 Aug 92 19:17:21 GMT
Organization: Santa Cruz Institute for Particle Physics
NNTP-Posting-Host: scipp.ucsc.edu

Vic Abell (abe@mace.cc.purdue.edu) has written the program
lsof to find open files, sockets, etc under AIX.  However he
does not know how to find out which filesystems programs
active text segements come from (there are no file pointers).
The kernel knows (you can't umount a NFS filesystem when a
program has an active text segement on it.)  Can anyone give
a pointer to where this information is hidden in the kernel?

-- 
Frederick Staats
fritz@scipp.UCSC.EDU -- (408) 459-3575
Santa Cruz Institute for Particle Physics
University of California at Santa Cruz
From: rice@rab.enet.dec.com
Newsgroups: comp.unix.aix
Subject: Building shared libraries
Date: 12 Aug 92 17:23:10 GMT
Reply-To: rice@rab.enet.dec.com ()
Organization: Digital Equipment Corporation


Could someone explain the exports file format?  Also is there a way around
not needing it, i.e. exporting anything unresolved.  I haven't found any
documentation on import/exporting in the info database.

Thanks,
Tim

rice@via.enet.dec.com
Newsgroups: comp.unix.aix,comp.windows.x
From: jf@edv6000.tuwien.ac.at (Josef Fritscher)
Subject: Re: Hanging X11R4 server under AIX3.2.1
Reply-To: fritscher@edvz.tuwien.ac.at
Organization: Technical University of Vienna
Date: Thu, 20 Aug 1992 12:13:36 GMT

In article <1992Aug20.085303.23888@fwi.uva.nl>, wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO)) writes:
|> tom@bim.itc.univie.ac.at (Tom Kovar) writes:
|> 
|> #  I am running AIX3.2.1 on more RS6000's (550's and 220's). In some cases
|> #(not quite reproducible), when the Xserver exits, the console keeps hanging.
|> #That means, that the Xserver process really exits, but the background with
|> #traces of some of the windows stays on the screen, and the console + keyboard
|> #are dead. The only help I know is reboot :(

This problem is known since AIX 3.1.3 and it's nice to see some workarounds
here, but the real question is, when will IBM will fix it ...

Joe

BTW, since I use xdm this problem doesn't happen to me.
-- 
Josef Fritscher                     Internet: fritscher@edvz.tuwien.ac.at
Computing Center                      Bitnet: fritscher@awituw64.bitnet
Technical University of Vienna    in reality: jf@edv6000.tuwien.ac.at
Wiedner Hauptstrasse 8-10              Voice: ++431 58 801/5505
A-1040 Vienna, Austria/Europe		 Fax: ++431 58 74 211 
Member of the Austrian Center for Parallel Computation (ACPC)
-------------------------------------------------------------------------
The function of local-in-Universe critical information-gathering and
local-in-Universe problem-solving is manifest in the cockpit of all
great airplanes.                                  (R. Buckminster Fuller)
From: pei@beach.csulb.edu (Regis Pei)
Newsgroups: comp.unix.aix
Subject: Dialup SLIP?
Date: 14 Aug 92 21:24:47 GMT
Organization: Cal State Long Beach

This may sound like a stupid question to all you networking wizards out there.
But, is it possible to set up a SLIP connection on a RS/6000's serial port with
a modem?  I would like to use an X-windows server software from my pc at home.
I realize that the speed is going to be slow even with a 14.4K modem but I
still would like to try it.  Is it possible or am I just dreaming?
Xref: sparky comp.unix.aix:8896 bit.listserv.aix-l:1363
From: manmetha@gauss.rutgers.edu (Rajesh Malhotra)
Newsgroups: comp.unix.aix,bit.listserv.aix-l
Subject: HE -- Installing Optical Drive
Keywords: HP Optical Drive, RS6K 320H
Date: 18 Aug 92 21:54:50 GMT
Followup-To: comp.unix.aix
Organization: Rutgers Univ., New Brunswick, N.J.


Hi Netters,

	Desperate cry for HELP...

	I am trying to install an HP magneto-optical disk drive
to the IBM RS6000 320H. This is a SCSI device, and have made sure
that the SCSI address of this disk is unique.

	The machine boots up fine, but when I try to add a disk
using SMIT, I get an error, saying that the device was not found.

	The SCSI bus seems ok, and other devices on the bus work
just fine.

	What am I missing here or doing wrong?

	Any and all responses greatly appreciated.

Thanx,

Raj.
-- 
===============================================================================
  __  __     .
 /   __/    /                               Raj Malhotra.
/   ( /_   /                                voice : (908)613 4313. 
        __/                                 email : manmetha@gauss.rutgers.edu

===============================================================================
From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
Newsgroups: comp.unix.aix
Subject: Re: Network tracing on RS6000
Date: 14 Aug 92 14:02:40 GMT
Distribution: usa
Organization: IBM AWD, Austin

koneru@tera.cs.umn.edu (Surya Prasad Koneru) writes:
>Does anyone know how to do network tracing on the RS6000?

iptrace/ipreport

we enhanced ipreport to know about rpc/nfs/nis etc.

if you get PTF U406320 , you get this:


[ekhadafi:pts/2] /u/curt 1409>LANG=C ipreport -?
ipreport: illegal option -- ?
Usage:  ipreport [-r -s -n -1 -2] tracefile
 -r: know about rpc
 -s: start lines with protocol indicator strings
 -n: number packets
 -1: trace was generated on AIX3.1
 -2: trace was generated on AIX3.2 (default)


no promiscous mode though.
sorry.
-- 
curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
My views are unrelated to those of IBM     |        Austin, TX
FICA is a massive wealth transfer from young middle class to old middle class.
Newsgroups: comp.unix.aix
From: lpc@dickens.com (Luis P Caamano)
Subject: Re: documentation on getpriv/setpriv?
Date: Tue, 18 Aug 1992 14:11:30 GMT
Organization: Dickens Data Systems, Inc.

In article <KSTAILEY.92Aug15011452@leidecker.gsfc.nasa.gov> kstailey@leidecker.gsfc.nasa.gov (Kenneth Stailey) writes:
>gee look at this:
>
>ken@chocolate:~$ uname -s -r -v ; echo BETA
>AIX 2 3
>BETA
>ken@chocolate:~$ strings - /usr/sbin/ftpd | grep '[gs]etpriv'
>getpriv
>setpriv
>
>I wonder how those strings got in there on a (supposedly)
>
>> POSIX-COMPLIANT system
>
>I guess they must be in a printf call used for debugging or something like
>that.
>

Well, take a look at this:

In article <1992Aug9.190521.21579@awdprime.austin.ibm.com> jfh@greenber.austin.ibm.com (John F Haugh II) writes:
> I know THAT can be done since getpriv/setpriv is unique to IBM and since
> there are other POSIX-compliant (really FIPS-151 compliant ...) systems
> which deliver a working FTPD.
> 
> ...
>
> The mechanism which exists is the same as in any POSIX-compliant system
> which has POSIX_SAVED_IDS (or whatever that feature test macro is) defined.
> If you MUST absolutely run something as another ID, fork a child to do that
> work and notify the parent of the result.  I forget how I coded USRCK, but
> I believe that is the technique I used since I wanted to code to survive
> the move from 3.1 to 3.2.  On the other hand, you can manage your programs
>


# uname -s -r -v
AIX 2 3

# strings - /usr/bin/usrck | grep priv
usrck: setpriv
usrck: setpriv
setpriv
statpriv
privilege

Uhmmm, privilege() is in there too.  I guess is true that John forgot 
how he coded usrck :-(

>
> ...
>
> support them after 2 or so years of being ignored.  There are probably 3
> people that know how those functions work, and I'm one of them and I ain't
> saying nothin', so get over it.  AIX is NOT supposed to be yet another
> proprietary operating system with still more non-standard features - so
> just use the standard features that everyone else has and be done with it.
> -- 
> John F. Haugh II      | MaBellNet: (512) 823-1078    | SneakerNet: 042/2F068
> InterNet: jfh%snowball.austin.ibm.com@ibmpa.awdpa.ibm.com            [TSAKC]
-- 
---------------------------------------------------------------------------
Luis P. Caamano                    |         lpc@dickens.com
Dickens Data Systems, Inc.         |         uunet!dickens.com!lpc
Atlanta, GA                        |         (404) 475-8860
---------------------------------------------------------------------------
If I think I know it all, I'll stop learning. -myself
The more I learn, the more I know I know nothing. -somebody else
Xref: sparky comp.unix.aix:8864 comp.unix.questions:10136 comp.databases.informix:1738
From: manmetha@gauss.rutgers.edu (Rajesh Malhotra)
Newsgroups: comp.unix.aix,comp.unix.questions,comp.databases.informix
Subject: Raw Partition V/S File for Database -- Opinions Please.
Keywords: Informix on IBM RS6000
Date: 17 Aug 92 19:26:11 GMT
Followup-To: comp.unix.questions
Organization: Rutgers Univ., New Brunswick, N.J.


Hi Netters,

	I would like to invite some opinions from some Database and
RS6000 Gurus out in netland.

	Is it advantageous to have a raw partition for a database or
should a file system be used as a database chunk? I would like to hear
pros and cons on this matter.

	Any advantages of one method above the other?


	Any and all responses appreciated.


Raj.
-- 
===============================================================================
  __  __     .
 /   __/    /                               Raj Malhotra.
/   ( /_   /                                voice : (908)613 4313. 
        __/                                 email : manmetha@gauss.rutgers.edu

===============================================================================
From: polk@Metaphor.COM (Ben Polk)
Newsgroups: comp.unix.aix
Subject: Vanishing processes
Date: 22 Aug 92 22:00:23 GMT
Reply-To: polk@Metaphor.COM (Ben Polk)
Organization: m4


I posted recently with a description of a problem where at least three
different processes running on my machine are terminated by AIX.  We
have verified that a Signal 9 is being sent by the kernel, and that
there is no corresponding kill() system call.  Apperantly, AIX will
do this if "while processing an execption, something that would
cause another execption happens."  This is of course to prevent
an endless cycle of exceptions.  The problem is that there is no error
logged, you just receive a signal 9 and die quietly.

The only thing I can think of the three processes have in common is
that they are all doing network I/O.  The most recent trace showed that
in one case the signal 9 comes back during a select() system call.  Perhaps
there is a problem in the kernel mbuf handling.  At least one of the other
processes that receives the signal 9 is not doing a select() as far as
I can tell. 

Has anyone seen anything like this?

Ben Polk
polk@metaphor.com
Newsgroups: comp.unix.aix
From: ben@osiris.usi.utah.edu (Ben Pratt)
Subject: follow-up on fujitsu m2266a's
Keywords: HARDDRIVES FUJITSU
Organization: Utah Supercomputing Institute
Date: Tue, 18 Aug 92 16:21:07 GMT

Thanks to all who responded to my query for information about
the fujitsu m2266a 1.2G drives.  All responded very postively.
Some recommended doing a price comparison with the Micropolis
drives.  

Thank you all again for the quick and informative replies,

Ben Pratt
ben@snow.usi.utah.edu
Utah Supercomputing Institute
University of Utah

Newsgroups: comp.unix.aix,comp.windows.x
From: tom@bim.itc.univie.ac.at (Tom Kovar)
Subject: Hanging X11R4 server under AIX3.2.1
Organization: Inst.of Theor.Chemistry,Univ.of Vienna,Austria
X-Newsreader: Tin 1.1 PL3
Date: Wed, 19 Aug 1992 18:15:55 GMT

  I am running AIX3.2.1 on more RS6000's (550's and 220's). In some cases
(not quite reproducible), when the Xserver exits, the console keeps hanging.
That means, that the Xserver process really exits, but the background with
traces of some of the windows stays on the screen, and the console + keyboard
are dead. The only help I know is reboot :(

  I noticed, that this happens mostly in cases where there are many living
clients, that should be killed by the exiting server. As we mostly exit
the server by exiting the window manager, I have rewritten the twm, so that
it tries to delete all of the windows when exiting. It helps much, i.e.
the hangups do not occur that often, but nevertheless...

  Is there any workaround, or does anybody know the reason why the console
hangs and what to do against it?

  Thanks in advance,
							Tom
From: woan@exeter.austin.ibm.com (Ronald S. Woan)
Newsgroups: comp.unix.aix
Subject: Re: Pulling .bff files apart w/o installp
Keywords: n
Date: 14 Aug 92 04:39:02 GMT
Organization: Austin School of Hardknocks

I forget how they are put together, but have you tried running
restore against the files?
-- 
+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan                       woan@cactus.org or woan@vnet.ibm.com +
+ other email addresses             Prodigy: XTCR74A Compuserve: 73530,2537 +
From: tim@sabus.UUCP (Tim Brown)
Newsgroups: comp.unix.aix
Subject: Re: Reducing filesystem size
Date: 21 Aug 92 19:53:27 GMT
Organization: The SABUS Group

scotte@cdsac.uucp (L. Scott Emmons) writes:

>In article <1992Aug19.203658.23130@godzilla.quotron.com> greg@godzilla.quotron.com (Greg "Maddog" Knauss) writes:
>>How, exactly, do you reducing the size of /usr?  The normal method of
>>shrinking a filesystem is to copy it to tape, remove it, recreate it at
>>the new size and move the files back.  But /usr has libc.a and if you
>>remove that, the machine staggers around a little and then dies.  Anybody
>>have any ideas?  (THAT'S the last time I do a full installation of Info
>>Explorer...)

>We have done this on our machines. What we do is create an "mksysb"
>tape with an altered ".fs.size" file, and then boot off the tape and
>restore the system.

[stuff deleted]
If you have some extra disk...
Here is how I do it:
1. make a new filesystem called /temp
2. copy everything from /usr into it.
(cd /usr;tar cf - . )|(cd /temp;tar xf -) will do it, there
are other ways as well.
3. edit /etc/filesystems, switching the mount points for the lv's
pointing to /usr and /temp
4. reboot. This is needed to free /usr up to be deleted and resized.

You could be done at this point but I go one furhter...
5. remove the old /usr (now /temp).
6. make one the right size with the same lv name (hd1*) in the rootvg
7. copy /usr to /temp (the new one).
8. edit /etc/filesystems and switch the lv's back to normal.
9. reboot.
10. Get rid of /temp.

Done

-- 
Tim Brown
The SABUS Group
2091 Cliffside Dr.		Anchorage, Alaska 99501
(907)277-4232			tim%sabus@uunet.uu.net
From: Christophe.Wolfhugel@univ-lyon1.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: Re: Namesevice on RS/6000....
Date: 13 Aug 1992 18:56:10 +0200
Organization: INSA Informatique, Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

I forgot to add, that Bind seems to link fine without the -lbsd
but it does not work!  It executes and daemonizes but no answers
to queries (experience with 3.1, did not retry it with 3.2).

Also very important, in your /etc/rc:

MALLOCTYPE=3.1 /etc/named

Otherwise after a few zone transfers... no more bind, a deadly
situation on AIX when trying to telnet in in this situation.

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@univ-lyon1.fr
   "No keyboard, press F1 to continue"