HDTenEightyP/NetNews huggingface dataset:
From: marc@yogi.austin.ibm.com (Marc J. Stephenson)
Newsgroups: comp.unix.aix
Subject: Re: Core File Question- Who created it?
Date: 8 Sep 92 14:34:20 GMT
Distribution: usa
Organization: IBM, Austin

In article <rob.715618443@cod.csi.on.ca> rob@csi.on.ca (Rob McAteer) writes:
>bguest@ateam.ems.cdc.com (Brandon Guest) writes:
>
>>    Given a core file, how can I figure out what object file created it?
>>Any help would be greatly appreciated.  Email replies okay.
>AIX provides a command 'crash' that can provice some cryptic clues about
>a core dump (I don't know if it is "universal").
>-- 
>Rob McAteer                                   CAnet: rob@csi.on.ca
>Carp Systems International                    Voice: (613) 592-5780
>600 Terry Fox Drive, Suite 200                  Fax: (613) 592-0584
>Kanata, Ontario, Canada     K2L 4B6

crash is useful for looking at system dumps; not core dumps.

There are lots of ways to look at the core file to determine who dumped core -
my favorite is to run dbx on anything.  dbx will identify the name of the 
program which dumped (unless the program matches the core file).  One 
example of an implementation:

$ ls
core
$ echo q | dbx -q /etc/motd
Core file program (hello) does not match current program (core ignored)
warning: cannot execute /etc/motd
reading symbolic information ...

The program which dumped core in the above example is hello, as indicated in
parentheses.  By specifying /etc/motd as the "debuggee," I guaranteed that
the debuggee would not match the program which dumped core.

By the way, the information is indeed in the ld_info structure - the "execed"
program name is found in the first ld_info structure (in the ldinfo_filename
field (described in /usr/include/sys/ldr.h)) pointed to by the c_tab field
in the core file header.  A program could easily be written to print out the
name of the program - I just let dbx do it for me.
-- 
Marc Stephenson		    IBM AWD (Advanced Workstations Division - Austin,TX)
DISCLAIMER: The content of this posting is independent of official IBM position.
INTERNET->marc@perfmap.austin.ibm.com    VNET: MARC at AUSVMQ  IBM T/L: 678-3189
From: lwk@engin.umich.edu (Lewis W Kellum)
Subject: Re: 3.2 PTF nightmares
Date: Sat, 12 Sep 92 14:45:17 EDT
Organization: University of Michigan Engineering, Ann Arbor

In article <1992Sep10.195119.21571@mintaka.lcs.mit.edu> mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:
>
>So I ordered U403044 and got U407530.  In addition to the assembler
>"fix", it also came with "fixes" for these "problems", and more:
>
>IX25228 the mkboot command does not allow /dev/network to be specified  
etc...
>And these are just the *completely* ridiculous ones.  I'm inclined to
>ask, quite bluntly:
>
>What the *HELL* does any of this have to do with the assembler?  Why am
>I expected to install a bunch of superfluous crap that's almost
>guaranteed to break something else?  I have no desire to tamper with
>stuff which currently works.
>
>I'm probably going to pull the patch I need off the tape and install it
>by hand.  This should *not* be necessary.
>
>-- 
> \   Charles Hannum, mycroft@ai.mit.edu
> /\  White heterosexual atheist male (WHAM) pride!
I too, experienced this. With patch U407553, we went ahead and blindly installed all the 
pre-requisite patches. This was supposed to be a fix for a known problem with
dbx crashing the AIX3.2.2. It replaced /unix and libc.a and broke our X11R5 xdm, on which
we depend. We didn't have time to trouble shoot, and had to re-install the
entire system.
	This points up the problem with IBM's new way of handling updates one fix
at a time - you get a bunch of fixes which I suspect have not been tested as one
system. We also received another fix with equally as many, but somewhat different,
patches. I can't believe IBM tests all the patch configurations as thoroughly as
needed to avoid these problems.
	 - Woody Kellum
From: rodkey@westmont.EDU (John Rodkey)
Newsgroups: comp.unix.aix
Subject: >>> help - pcsim weirdness <<<
Keywords: pcsim aix rs/6000 terminal emulation
Date: 10 Sep 92 04:44:23 GMT
Organization: Westmont College, Santa Barbara, CA

I've got a slight problem here with pcsim that perhaps y'all can help
me with.

I am talking to the rs/6000 with a vt100 over a serial line , and I'm
wanting to run 'dos' under pcsim.  I've got a few programs loaded in
and running properly (e.g. quicken 5.0), but on occasion, when I get
back to the c:\ prompt, the cursor seems to have forgotten about my
command line.

Specifically, no echoing of my input will occur until after the <enter>
is pressed, but the output from the command comes immediately.  The
commands are all executed properly (assuming I spelled them correctly
'in the blind'), but the echoing  of the command as I type it is just
not there.

As a very specific example, I run elvis  (the MSDOS vi clone) on a file
(say autoexec.bat), and do some editing, and when I exit (with :wq),
whoops - :wq doesn't echo either - is this a clue??!!!  At that point,
the phenomenon is pretty much constant.  I wonder if it's the use of
<escape> within elvis???  Of course, what good is any kind of
'computer' - even a simulated one - without a good version of 'vi' ? :)

Any ideas?

-- 
----------==========[[[[[[[[[[]]]]]]]]]]==========----------
          John Rodkey, Director of Academic Computing, 
            Westmont College, Santa Barbara, CA
          rodkey@westmont.EDU, uunet!westmx!rodkey
Newsgroups: comp.unix.aix
From: prener@watson.ibm.com (Dan Prener)
Subject: Re: xlc -g option
Date: Sat, 12 Sep 1992 08:28:36 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center, Hawthorne, New York

In article <1992Sep11.145842@axion.bt.co.uk> jpennell@axion.bt.co.uk (John Pennell) writes:

> Thanks to all who mailed me regarding the problems I was having using
> -O on the xlc compiler.  A new set of binaries are winging their way
> to me from IBM.  Now, I have another problem.  Somewhere I have read
> that it is inadvisable to use -g with -O.  Why?  I am asking because I
> wish to use PURIFY, a memory allocation tool and it would be useful if
> the -g switch could be used.  Am I correct in assuming the only reason
> it shouldn't be used is because the output (post-optimisation) may not
> be reliable?

You can use -g and -O together.  I do it frequently.  However, you should
be aware of the limitations on debugging such code.  You will not be able 
to count on the values of variables displayed at arbitrary points in the
code, since the variables may be held in registers, rather than in their
storage locations, or may not exist at all.  Values displayed at the
start of non-inlined functions will be correct.
--
                                   Dan Prener (prener@watson.ibm.com)
Newsgroups: comp.unix.aix
From: stuart@fawlty.towers.oz.au (Stuart Walker)
Subject: Loading device drivers under AIX 3.2
Organization: Tower Technology, Sydney
Date: Thu, 10 Sep 1992 06:24:43 GMT
Keywords: device drivers

We are in the process of upgrading our system(s) from AIX 3.1.5 to AIX 3.2 on
our RS/6000's.

We have written a device driver to handle worm jukeboxes, which works fine
under 3.1.5, but the same device driver will not even LOAD under 3.2 !!!

It fails during the loadext() call in the configuration methods, which is called
by mkdev.  Naturally we have kept the same device configuration parameters as
we had under 3.1.5

We have also re-compiled the drivers, but to no avail.

We were lead to understand that this driver would work under 3.2, but obviously
someone has forgotten something...

Has anyone had any similar experiences with their custom device drivers ??

ANY suggestions would be welcome.

Regards,

Stuart.
-- 
_______________________________________________________________________________
Internet: stuart@fawlty.towers.oz.au			  Phone: +61 2 427 2999
UUCP:     uunet!fawlty.towers.oz.au!stuart		  Fax:   +61 2 427 7072
Snail:    Tower Technology
Newsgroups: comp.unix.aix
From: jzwiebel@pgl-devsvr.den.mmc.com (John Zwiebel (303)977-1480)
Subject: MORE on DNS/NIS name service conflict
Organization: PAGE @ Martin-Marietta
Date: Wed, 9 Sep 1992 16:11:38 GMT

Some thing is wrong...

I'm running AIX 3.2 on RS6000's.  Page 14-44 of "Communication Concepts and
Procedures" states the following:

In the middle of the page:
"Resolver routines on hosts running TCP/IP attempt to resolve names using the
following sources in the order listed:
1. The DOMAIN (named) name server
2. The local /etc/hosts file.

I you are using network information service (NIS) for name resolution, resolver 
routines will attempt to resove names using the following sources in the order listed:

1. The DOMAIN (named) name server
2. Network Information Service (NIS)

If you are using network information service (NIS) for name resolution, the 
local /etc/hosts file will not be consulted."

Later on on the _SAME_ page...

"NOTE:  I you are using network information service for name resolution, resolver routines will attempt to resolve names using the following sources in the order listd:

	1. Network Information Service
	2. The DOMAIN (named) name server
	3. The local /etc/hosts file"

I've read this 30 times or more to see if there is some 'qualifying' information
on this page but I can't see it.

Well, which is it?  Should I set up my NIS master server as a DNS server also?
If I do that should I be using my own DNS domain name.  (Right now I'm part
of den.mmc.com should I be page.mmc.com or page.den.mmc.com or page.com -
with all the hassles of talking to NIC to set things up right)

If I set up my NIS master as a DNS server, should it be primary (so I have
to worry about domain names again) or secondary or cache or forwarding.

What about the NIS slaves?

Maybe I should dump NIS names altogether and use only DNS names, but that can
really mess up some of my network applications that depend on the hostname
without the domain extension.  Domain extensions also mess up .rhosts and
host.equiv files.

Aggggghhh...
 
Thanks
John Zwiebel
Newsgroups: comp.unix.aix
From: schuetz@iacrs2.unibe.ch (Martin Schuetz)
Subject: Re:    AIX sources FTP site ?
Reply-To: schuetz@iacrs2.unibe.ch
Organization: University of Berne, Switzerland
Date: Fri, 11 Sep 1992 09:45:50 GMT

In article <92255.084844FDBAQ03@cc1.kuleuven.ac.be>, Wim Van Holder <FDBAQ03@cc1.kuleuven.ac.be> writes:
|> Are there any FTP sites with (patched) sources for AIX (X-window), like
|> xmail, xrn, etc... ?
|> 

try iacrs1.unibe.ch (130.92.11.3) or iacrs2.unibe.ch (130.92.11.4)
-- 
Martin Schuetz                              Phone: +41 31 65 42 40
Institute for Physical Chemistry            FAX:   +41 31 65 44 99
University of Berne
Switzerland                                 schuetz@iacrs2.unibe.ch
From: jf@edv6000.tuwien.ac.at (Josef Fritscher)
Subject: Re: problem shutting down dataless 220 with AIX 3.2.2
Reply-To: fritscher@edvz.tuwien.ac.at
Organization: Technical University of Vienna
Date: Mon, 14 Sep 1992 10:32:08 GMT

In article <1992Sep12.153140.21913@jupiter.sun.csd.unb.ca>, dedourek@jupiter.sun.csd.unb.ca (John DeDourek) writes:
|> I have installed several dataless 220's with AIX 3.2.2.  When issuing
|> a
|>      shutdown -F
|> on the dataless machines, the machines appear to hang before getting
|> the halt completed.  The problem would appear that the network interfaces
|> are brought down (lo0 and en0) then a message appears that the tcpip
|> lock files will be removed, then a message that the nfs server is not
|> responding.
|> 
|> If indeed the lock files are removed after the network interfaces are
|> brought down, and these being dataless clients the lock files are
|> on the server, this would indeed pose a problem.
|> 
|> Known problem?  Known fix?
|> 
|> A call was made to IBM on Friday, but I am working the weekend in hopes
|> of getting a lab ready.
|> 
|> Thanks;
|> 
|> John DeDourek
|> dedourek@jupiter.sun.csd.unb.ca
|> 

This problem also occours on /usr clients and all other shutdown commands.

- Joe
-- 
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: bauer@loligo.cc.fsu.edu (Jeff Bauer)
Newsgroups: comp.unix.aix
Subject: Reading MS-DOS filesystems on cd0
Date: 15 Sep 92 16:09:12 GMT
Organization: Florida State University Academic Computing & Network Services

Subject line tells all : I want to grab files off of /dev/cd0 that reside
on a CD with an MS-DOS file system.

I've tried "dosdir -D/dev/cd0" to no avail.  Even grabbed Mtools version 2.0
and tried inserting /dev/cd0 as a device.  It accesses the CD, but doesn't
get synced up properly.  Before I went on a debug rampage, I thought I'd
tap the net cyberspace for illumination.

Please email me your pearls of wisdom and I'll post a summary.  Thanks!
--
Jeff Bauer				   jtbauer@cc.fsu.edu
FSU Academic Computing & Network Services  (904) 644-2591 x. 113
Newsgroups: comp.unix.aix
From: iscyeoak@nuscc.nus.sg (YEO ANN KIAN)
Subject: sendmail problem
Organization: National University of Singapore
Date: Wed, 9 Sep 1992 05:53:27 GMT



Re: sendmail problem

We have three main nodes capable of receiving mails.
These 3 nodes run AIX, SunOS and VMS respectively.
We have defined an alias entry in the AIX node, says allstaff, in order to
send mails to all users at these 3 nodes.

The alias entry in the /etc/aliases of the AIX machine is defined
something like the following:

user1:		user1@AIX
user2:		user2@SunOS
user3:		user3@VMS
allstaff:	user1,user2,user3

Under the normal situation,
when a user sends to "allstaff" from the AIX machine,
the mails can be despatched to all the users properly.

The problem comes in when one of the two machines is down, says VMS,
the mail will be queued in the AIX machine and tried every 30 minutes
(as we run /usr/lib/sendmail -bd -q30m).
Whenever, the queue is processed every 30 minutes while VMS is still down,
the user of SunOS will be getting the same mail (every 30 minutes). 
THe user on the AIX does not have the problem.
Eventually when the VMS is up, 
the user of SunOS gets multple copies of the same mail,
but the rest (on AIX and VMS) receives only one copy.
The sendmail does not seem to know that it has already sent
successfully to SunOS.

Can any one help us with this problem pls?
We are running AIX 3.2 on RS6000/560.

--
AnnKian Yeo
yeoak@iscs.nus.sg
Newsgroups: comp.unix.aix
Subject: Re: AIX LVM Metadata Area
From: Barry_Wolman@transarc.com
Date: Sat,  5 Sep 1992 21:56:48 -0400 
Organization: Carnegie Mellon, Pittsburgh, PA

Barry_Wolman@transarc.com writes:
> An AIX Logical Volume has N-bytes of metadata at the start of the
> volume.  User code that writes to a logical volume is supposed to
> avoid writing in this area.  I need to determine the value of N.
> I've heard "don't write in the first page" ... does this mean N=4096?
> 
> Thanks,
> Barry Wolman

N=512.  The info in the first block of a LV is there for information
purposes only.  AIX does not depend on this data.  If AIX finds the
string "AIX LVCB" at the start of a logical volume, it assumes the
meta data area is still valid and updates the date fields.  If AIX
doesn't find this string, it assumes that a user program over-wrote
the header info and doesn't modify this header.  This may result in
warning messages from LV operations, e.g. extend logical volume, but
the requested operation is correctly performed.  smit has a problem
because it doesn't distinguish between warnings and fatal errors from
the commands that it runs.  If you perform an operation on a LV from
smit and the LV header was over-written, smit will tell you the
operation failed evern though it actually completed successfully.
From: tmcconne@sedona.intel.com (Tom McConnell)
Subject: Re: K&R C on the RS/6000(?)
Originator: tmcconne@sedona
Keywords: C
Organization: Intel Corporation
Date: Tue, 8 Sep 1992 16:25:46 GMT


In article <79344@ut-emx.uucp>, olo@ccwf.cc.utexas.edu (Lee Thomas) writes:
> 
> Hello,
> 
> I was woundering if there was a way to tell cc or xlc to use strick
> K&R C rather than ANSI C.  I am trying to compile GRASS on our 320H and
> we have been having a bunch of problems.  The authors of the software
> suggested that we compile with the K&R flag.  I know there is one in the
> GNU C, but I could not find one in the C documentation from IBM (Info).
> 
> Any ideas?
> 
> Thanks!
> 
> -Lee Thomas

  Well, I don't know of a K&R compiler, but you can build a BSDish compiler out
of xlc (the native RS/6000 compiler). This information is in
/usr/lpp/bos/bsdport.

  Here is a piece:

   4.3.  Setting up a 4.3 BSD Compilation Environment

      To get the  compiler  to  behave  as  friendly  as
      possible  by  default  with  code  that  has  been
      written on a 4.3 BSD system, you can  create  your
      own  stanza  in  the  /etc/xlc.cfg file.  Here's a
      bsdcc stanza that works quite well:

          bsdcc:  use             = DEFLT
                  crt             = /lib/crt0.o
                  mcrt            = /lib/mcrt0.o
                  gcrt            = /lib/gcrt0.o
                  libraries       = -lbsd, -lc
                  proflibs        = -L/lib/profiled,-L/usr/lib/profiled
                  options         = -H512,-T512, -qlanglvl=extended, -qnoro,
                                    -D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO,
                                    -D_BSD_INCLUDES, -bnodelcsect, -U__STR__,
                                    -U__MATH__

          Note: The options line must be a single line.  It is split up
          above only for easier reading.

      To use the compiler as  bsdcc,  link  /bin/xlc  to
      /bin/bsdcc.

  I tend to like bsdcc for porting things to the RS/6000. I do not know if it
will work for your application. Most things that "gcc -traditional" will work
on, bsdcc will work on also.

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-91     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Newsgroups: comp.unix.aix
From: op@holmes.acc.Virginia.EDU (Olaf  Pors)
Subject: Restores of rootvg
Originator: op@holmes.acc.Virginia.EDU
Keywords: restore, rootvg, inode
Organization: University of Virginia
Date: Fri, 11 Sep 1992 16:01:07 GMT

  I've gotten several responses from people to my previous
postings about restores of rootvg by inode.  It appears
that a common practice is to perform a mksysb; then at
various times in the future, dump files that have changed
by hook or crook.  The assumption is that if disaster
strikes a rootvg disk, some way would be found at that
time to restore rootvg completely.  My reaction is that
I'm glad you're not backing up any of my systems.

  Rather than repost articles, I've made postings and
responses, and a copy of a fax sent to the Support Center
kernel group, available for anonymous ftp from
uvaarpa.Virginia.EDU in pub/rs6000/rootvg.restores.  If
you are interested in this topic and have missed previous
postings, take a look at what has already been said.

Olaf Pors
Academic Computing Center
University of Virginia
op@Virginia.EDU
804-924-0633
From: bi927@cleveland.Freenet.Edu (Yi Jin)
Newsgroups: comp.unix.aix
Subject: AIX 1.x on IBM clone ?
Date: 8 Sep 1992 01:19:28 GMT
Organization: Case Western Reserve University, Cleveland, Ohio (USA)
NNTP-Posting-Host: slc5.ins.cwru.edu


I have an AT clone 486DX-33 and I'd like to run AIX on it. A while ago
someone pointed out that only version 1.x can run on a IBM clone. My
question is: What are hardware requirements for AIX 1.0 to run aon a AT
clone, 4MB RAM? 8MB RAM, or 16MB ram? 100MB or 200 MB or larger hard 
drives?

Does 1.x includes DOS emulation, XWindows? Will Fortran and C compilers
for the newer versions work on it? 

How do one compares AIX 1.0 with AIX 3.2?

Thanks for help.


Yi
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: 3.2 PTF nightmares
Date: 10 Sep 92 19:51:19 GMT
Article-I.D.: mintaka.1992Sep10.195119.21571
Organization: MIT Laboratory for Computer Science


So I ordered U403044 and got U407530.  In addition to the assembler
"fix", it also came with "fixes" for these "problems", and more:

IX25228 the mkboot command does not allow /dev/network to be specified  
IX25275 /usr/lib/boot/tftp inslist entry should not list an oldpath     
IX24792 errpt and errclear need to accept alternate input filename      
IX24802 message file changes for errpt -i and errclear -i options       
IX25389 support for booting from a serial-link disk drive               
IX24806 chdclient & rmdclient hang when client is running               
IX24355 System hangs (888) Service IPL no printer in S1/S2              
IX25133 Update Diagnostic CEREADME file with maintenance fixes          
IX25287 Moving the token ring card causes network boot to hang at c21
IX25784 rmdclient not deleting all info when remote paging file removed 
IX24975 Hardware Diagnostic Support                                     
IX24977 Hardware Diagnostic Support                                     
IX25126 Diagnostics should be able to detect past checkstops.           
IX25128 Confusing screens in Diagnostics for Graphics Adapter.
IX25131 Change async diag fru bucket for srn 8xx-12x                    
IX25134 Tape Diagnostics fix for type ahead problem.                    
IX26193 bosboot commands fail if LANG not set to En_US or C             
IX26883 unable to force boot mode to normal or service [bosboot -M]     
IX26884 /usr and /var need "fsck -fp" during boot and getrootfs         
IX26891 Additional boot capabilities.                                   
IX24865 mksysb fails when fileystem close to full                       
IX25293 MKSYSB EXCLUDES ROOTVG FILESYSTEMS WHEN MOUNT POINT IS IN       
IX26116 Fix the mkinsttape so that backup works on full systems         
IX26253 MKSYSB: CHECK FOR WRITABLE TAPE BEFORE STARTING                 
IX26892 Additional BOS install capabilities.                            
IX27213 Unable to install from a mksysb image backup.                   

And these are just the *completely* ridiculous ones.  I'm inclined to
ask, quite bluntly:

What the *HELL* does any of this have to do with the assembler?  Why am
I expected to install a bunch of superfluous crap that's almost
guaranteed to break something else?  I have no desire to tamper with
stuff which currently works.

I'm probably going to pull the patch I need off the tape and install it
by hand.  This should *not* be necessary.

-- 
 \   Charles Hannum, mycroft@ai.mit.edu
 /\  White heterosexual atheist male (WHAM) pride!
Newsgroups: comp.unix.aix