HDTenEightyP/NetNews huggingface dataset:
From: mcooper@acamar.usc.edu (Michael A. Cooper)
Newsgroups: comp.unix.aix
Subject: How do you decode CuVPD.vpd?
Date: 23 Nov 1992 14:08:39 -0800
Organization: USC Computing Services, Los Angeles
Distribution: world
Reply-To: mcooper@usc.edu
NNTP-Posting-Host: acamar.usc.edu


Does anyone know of any C library functions to decode the "vpd" field
of the ODM CuVPD data?  I found the "Hardware VPD Descriptor Summary"
in InfoExplorer with some details on what the fields mean, but I can't
find any AIX C library functions to actually decode the values.  I
would rather use any builtin functions than write my own if I can.


-- 
Michael A. Cooper, University Computing Services, U of Southern California
  INTERNET: mcooper@usc.edu	            PHONE: (213) 740-2957
  UUCP: ...!uunet!usc!mcooper              BITNET: mcooper@ramoth
Newsgroups: comp.unix.aix
From: rick@jaguar.msc.cornell.edu (Rick Cochran)
Subject: Re: xdm consuming ulimit resources
Organization: Cornell Materials Science Center
Date: Mon, 23 Nov 1992 17:59:33 GMT

In article <18NOV199211475690@ctrvx1.vanderbilt.edu>, umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459) writes:
|> I have an RS/6000 with a bunch of X-stations. We have been running xdm
|> for user auth. I have just realized that when I telnet directly to
|> the workstation I get different ulimits compared to when I login 
|> via xdm from a X-station. The effect of this is that I do not have
|> enough stack space to run XL fortran. So when you telnet directly the
|> fortran works fine but when you login via xdm one gets the error:
|>          "Could not load program xlfentry
|>           Error was: Not enough space"
|> message. I doubled my ulimits in /etc/security/limits file and restarted the
|> system. This worked fine for ulimit -a from a telnet login but not from an
|> xdm login. Here is a comperative ulimit -a output for the same user:
|> 
|>     via telnet                 via xdm
|>     ----------                 -------
|> 
|>     time unlimited             time unlimited
|>     file 2097151               file unlimited
|>     data 262144                data 131072
|>     stack 65536                stack 16384
|>     memory 32768               memory unlimited
|>     coredump 2048              coredump unlimited
|> 
|> Where is and why xdm is changing these limits. I don't think xdm itself
|> can consume so much. HEEEEEELP!!!!
|> 
|> umar@compsci.cas.vanderbilt.edu         Prof.A.S. Umar
|> umarsa00@vuctrvax.bitnet                Department of Physics & Astronomy
|> Tel: (615) 322-2459                     Vanderbilt University
|> Fax: (615) 343-7263                     Nashville, TN 37235
|> 

This is because:

 1) MIT xdm does not use "setpcred" (an IBMism) to get the proper limits.

 2) xdm is run by "init" which has a restricted set of limits.

You can either fix xdm to use setpcred or (if you don't care about per-user
limits) start xdm like so:

if [ -f /usr/bin/X11/xdm -a -f /usr/local/xdm/xdm-config ] ; then
	su root "-c /usr/bin/X11/xdm -config /usr/local/xdm/xdm-config"
fi

-- 
|Rick Cochran		  607-255-7223		     rick@msc.cornell.edu|
|Cornell Materials Science Center		     rick@crnlmsc2.bitnet|
|E20 Clark Hall, Ithaca, N.Y. 14853	     cornell!msc.cornell.edu!rick|
Newsgroups: comp.unix.aix
From: nsysdbj@acs.ncsu.edu (David Joyner)
Subject: Re: Xstation 120 and HP9000?
Organization: North Carolina State University
X-Newsreader: TIN [version 1.1 PL6]
Date: Wed, 18 Nov 1992 19:46:08 GMT

Mark Bramwell CS STAFF (mark@student.business.uwo.ca) wrote:
:
: I have configured the tftp to download the xserver into the workstation, and 
: when I boot it appears to download ok. After a few seconds the screen clears 
: then says it can't find a file server.  
: 

The Xstations boot using two Internet standard protocols: bootp and
tftp.  After the X code starts up, they switch to a proprietary
protocol to get the fonts (they talk to x_st_mgrd on port 6000).  Go
figure.

I think there is a third party replacement for x_st_mgrd sold by AGE,
but I don't have the specifics.

--
David Joyner (nsysdbj@acs.ncsu.edu)
Unix Systems Programmer                            | Phone: (919) 515-2794  |
NCSU Administrative Computing Services             | FAX:   (919) 515-3787  |
Newsgroups: comp.unix.aix
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Subject: Re: Simple EOF problem?
Organization: /etc/organization
Date: Fri, 20 Nov 1992 21:55:00 GMT


In article <1eevguINN9hm@network.ucsd.edu> dkf@chem.ucsd.edu (David
Knight French) writes:
>
> The problem is that the RS/6000 has unsigned characters.  [...]

This is an ANSIsm; GCC and probably sun's ACC will do the same thing.

-- 
 \  /   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: sycheng@csie.nctu.edu.tw (Hsiao-Yang Cheng)
Subject: Re: system timezone problem
Reply-To: sycheng@csie.nctu.edu.tw
Organization: Computer Science & Engineering, Chiao Tung U., Taiwan, ROC
X-Newsreader: TIN [version 1.1 PL7]
Date: Sun, 22 Nov 1992 14:10:12 GMT


  The following the the answer, thanks Tim.

--------
Return-Path: <tbel@oahu.cern.ch>
Date: Sun, 22 Nov 1992 14:45:05 +0100
To: sycheng@csie.nctu.edu.tw
Subject: system timezone problem

There have been several problems with time zone handling when there
are digits in the first 3 characters.  Try setting the TZ variable to
TAA-8 and see if that helps.

There are fixes available so the other alternative is to call your
local support centre....

Tim.



--
System Manager of Computer Center          |     Sincerely Yours
Computer Science & Information Engineering | Cheng, Hsiao-Yang (    )  
National Chiao Tung University             | sycheng@csie.nctu.edu.tw
Taiwan, Republic of China                  | sycheng@csunix.csie.nctu.edu.tw
Newsgroups: comp.unix.aix
From: Quinn <quinn@cs.uwa.edu.au>
Subject: RS/6000 Processor
X-Xxdate: Thu, 19 Nov 92 01: 48:36 GMT
Organization: The University of Western Australia
X-Useragent: Nuntius v1.1.1d12
Date: Thu, 19 Nov 1992 01:57:06 GMT

Greeting from the Macintosh side of things...

With the likelihood that Apple will release a PowerPC based Mac
within the next year me (and a pile of other Mac programmers) are
going to have to start learning how to program them (in assembler
obviously).  Given that the RS/6000 is the nearest thing we have to
a PowerPC I thought I'd post my question here...

"Does anyone have a good reference to RS/6000 assembly language
 programming?"

I'm looking for a generic description of the processor (not how
to program under AIX).  Databooks would be really nice (-:
Preferably free and/or available for FTP but at the moment I'm
looking for *anything*.

Please Email replies directly to me.  If I get anything useful I'll
summarise both here and in some Mac groups.

TIA

Share and Enjoy.

Quinn "The Eskimo!"      <quinn@cs.uwa.edu.au>     "Support HAVOC!"
Department of Computer Science, The University of Western Australia
  -- Who's desperately brushing up on his assembly language skills
     now that Apple has standardised on C++ )-:
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: 1.37 GB  installation
Date: 15 Nov 92 20:13:16 GMT
Distribution: comp.unix.aix
Organization: /etc/organization


In article <1992Nov6.231947.19689@chpc.utexas.edu>
chsh457@chpc.utexas.edu (Wen-ching Hu) writes:
>
> [...]
>
> (1) What SCSI ID should be set ?

Any address which is not currently in use is fine.  On my machine, the
SCSI adapter is in slot 8, so I do `lscfg | grep 00-08' to see which
addresses are already assigned.

> (2) Should I update AIX 3.2 to 3.2.1 ? Because "Proper Support and
>     Maintence of the 1370 MB DASD Feature requires AIX 3.2.1" is
>     mentioned in the manual. 

Probably.

>  (3) What is DASD ? PTF ? RETAIN ?

DASD == Direct Access Storage Device, or "hard disk" for non-IBMers.
PTF = Program Temporary Fix, or "patch" for non-IBMers.

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!
From: umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459)
Newsgroups: comp.unix.aix
Subject: xlf fortran does not load from an xdm session
Date: 18 Nov 92 17:50:00 GMT
Organization: Vanderbilt University
News-Software: VAX/VMS VNEWS 1.41

I have an RS/6000 with a bunch of X-stations. We have been running xdm
for user auth. I have just realized that when I telnet directly to
the workstation I get different ulimits compared to when I login 
via xdm from a X-station. The effect of this is that I do not have
enough stack space to run XL fortran. So when you telnet directly the
fortran works fine but when you login via xdm one gets the error:
         "Could not load program xlfentry
          Error was: Not enough space"
message. I doubled my ulimits in /etc/security/limits file and restarted the
system. This worked fine for ulimit -a from a telnet login but not from an
xdm login. Here is a comperative ulimit -a output for the same user:
message. I doubled my ulimits in /etc/security/limits file and restarted the
system. This worked fine for ulimit -a from a telnet login but not from an
xdm login. Here is a comperative ulimit -a output for the same user:

    via telnet                 via xdm
    ----------                 -------

    time unlimited             time unlimited
    file 2097151               file unlimited
    data 262144                data 131072
    stack 65536                stack 16384
    memory 32768               memory unlimited
    coredump 2048              coredump unlimited

what is going on? HEEEEELP!!!!!

umar@compsci.cas.vanderbilt.edu         Prof.A.S. Umar
From: eddjp@huber.com (Dewey Paciaffi)
Newsgroups: comp.unix.aix
Subject: My rpc.rstatd is dead
Date: 20 Nov 92 22:56:10 GMT
Organization: J.M. Huber Corp., Edison, NJ
Originator: eddjp@hendrix.huber.com


Until recently, I was running jobs that were using  rpc.rstatd on my
AIX 3.2.2 box. For some reason, rpc.rstatd refuses to start now. Has
anyone else seen and/or fixed this?

-- 
Dewey Paciaffi    
eddjp@huber.com
-- 
Dewey Paciaffi    
eddjp@huber.com
Newsgroups: comp.unix.aix
From: jmarin@messi.uku.fi (Jukka Marin)
Subject: Setting up SLIP for a modem line
Date: 18 Nov 92 07:17:46 GMT
Organization: University of Kuopio, Finland

Hello World,

I want to hook a Commodore Amiga running TCP/IP and SLIP to RS6000/550
via a dial-up modem line.  In the AIX end, the modem is hooked up to the
RS6000 with a hardware handshaking cable.  Questions:

Does the hardware handshaking work properly in AIX 3.2.2?

What do I need to do to set up SLIP for a dial-in line?

Anything special I should take into account?

Please e-mail, I will post to this group if there's interest.

Thanks in advance,

  Jukka Marin
  University of Kuopio


-- 
| Mail:  Jukka Marin         |     E-Mail:           jmarin@messi.uku.fi  |
|        Metsurintie 17 B 8  |     FAX/voice:        +358 71 232 793      |
|        70150 Kuopio        | There's God above computers -              |
|        FINLAND             |                       Love beyond the hate |
Newsgroups: comp.unix.aix
From: nlane@well.sf.ca.us (Nathan D. Lane)
Subject: Andrew toolkit on 3.2 fails in /usr/include/sys files
Summary: Compile errors in IBM's /usr/include/sys files
Keywords: Andrew aix 3.2 320H
Organization: Whole Earth 'Lectronic Link
Date: Sat, 21 Nov 1992 23:44:45 GMT

After receiving some very generous help from many people on the net concerning
my troubles compiling the andrew toolkit on AIX 3.2, I finally obtained the
"rea" distribution from emsworth.andrew.cmu.edu.  I applied the changes
to site.h, site.mcr, system.h and system.mcr and the compile finally goes smoothly
until the file "readlink.c" in overhead/class/pp.  I get the following errors
(trimmed):

"/usr/include/sys/lc_core.h", line 27.5: 1506-046 (S) Syntax error.
"/usr/include/sys/localedef31.h", line 46.9: 1506-046 (S) Syntax error.
"/usr/include/string.h", line 117.25: 1506-046 (S) Syntax error.
"/usr/include/stddef.h", line 48.25: 1506-030 (S) Identifier wchar_t cannot be r
edeclared.

There are approximately 10 errors per include file, all syntax errors.
I am using stock cc, as instructed, with x11r5 imake and makedepend.
As far as I can tell from my exploration, "readlink.c" is just supposed to
read symbolic links and has nothing to do with these include files (as
far as I can tell, it only includes "errno.h").

I have had similar things happen in other compiles, e.g., syntax errors in
IBM provided include files, and that is why I am posting here.

Any ideas on what causes these?

The OS is AIX 3.2.0 on a 320H.  Also, the Andrew Consortium mentioned that
compiling with optimization in readlink.c would fail, but I checked the makefile
and CFLAGS and they were handled already (by the config scripts) to turn
off optimization where required.  I no longer have a 3.1.5 machine to 
compile this on and would like to have a native 3.2 build be successful.
Any ideas?

Thanks in advance.

-Nathan Lane
Trico Title Comapny, Santa Barbara, CA
nlane@well.sf.ca.us
 


Newsgroups: comp.unix.aix
From: umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459)
Subject: Serial printer problem with AIX 3.2.3
News-Software: VAX/VMS VNEWS 1.41    
Organization: Vanderbilt University
Date: Fri, 20 Nov 1992 20:58:00 GMT

Sometime ago I mentioned that I was constantly getting DEV_BUSY message
for my serial printer queue's after upgrading from 3.2.2 to 3.2.3. I also
said that when I turned the DTR option for that serial port than things
started working. Well it is more complicated.

When I rebooted my system the DEV_BUSY problem came back despite the DTR
being off. Than I said let me go and change something in the device
description. So I changed the irrelavant timeout parameter. Again, things
started working. The device was always listed as available. So, somehow
when the system is booted something is not up for the serial ports but
executing a change from the devices menu brings this up.

Just for you info. I presume someone will have a solution perhaps IBM.

umar@compsci.cas.vanderbilt.edu         Prof.A.S. Umar
umarsa00@vuctrvax.bitnet                Department of Physics & Astronomy
Tel: (615) 322-2459                     Vanderbilt University
Fax: (615) 343-7263                     Nashville, TN 37235
From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
Newsgroups: comp.unix.aix
Subject: Re: Getting xdm to update /etc/utmp
Date: 20 Nov 92 15:42:08 GMT
Distribution: na
Organization: Math Faculty Computing Facility, University of Waterloo, Canada

jdb@ocf.berkeley.edu (Justin D. Bukowski) writes:
>We are running xdm on our RISC/6000 with a couple of X-stations.
>We've noticed that logging in at the xdm login screen doesn't result
>in an entry in /etc/utmp. This is the file used by who and finger
>to get user login status. An rlogin does update properly, though.

xdm isn't supposed to do it - xterm is.  You need to have compiled xterm
with the right options and #defines and stuff, and you need to make sure
the utmpInhibit resource is "off" and you're not using -ut on the xterm
command line.

Stock xterm with AIX has this disabled; stock aixterm works OK.

-- Murray S. Kucherawy ----------------------------------------+--------------
Software Systems Co-op, Math Faculty Computing Facility [MFCF] | All spelling
University of Waterloo, Ontario, Canada                        | errors caused
E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca              | by Pnews.
---------------------------------------------------------------+--------------
Newsgroups: comp.unix.aix
From: schuetz@iacrs2.unibe.ch (Martin Schuetz)
Subject: Re: socket system call
Keywords: AIX, socket binding
Reply-To: schuetz@iacrs2.unibe.ch
Organization: University of Berne, Switzerland
Date: Mon, 23 Nov 1992 10:45:50 GMT

You may try to bind to a socket with a privileged address (0..1023)
-- 
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
Newsgroups: comp.unix.aix,bit.listserv.aix-l
From: lpc@dickens.com (Luis P Caamano)
Subject: Re: "The little yellow button" (Was: Reset button? Or shutdown?)
Date: Mon, 23 Nov 1992 18:25:53 GMT
Organization: Dickens Data Systems, Inc.

In article <1992Nov21.223207.21508@sactoh0.sac.ca.us> jak@sactoh0.sac.ca.us (Jay A. Konigsberg) writes:
>In article <1992Nov18.125454.10827@fwi.uva.nl> wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO)) writes:
>>
>>How safe is the yellow reset button? Is there a possibility of, for example,
>>disk crashes? Or does it shorten the life of other components? Is a proper
>>'shutdown -F' always preferred for a (warm) reboot?
>>
>According to our IBM SE, pushing the "little yellow button" will sync the
>filesystems and perform a proper shutdown/reboot sequence.
>
>I have tested this about 5 times and everything went just fine. On reboot
>fsck did not run, nor did it need to.
>

If you keep trying you'll blow it, and when aix blows you won't be 
able to recover anything.  You just didn't try enough times and probably
not on a system that was loaded with users and applications.

The yellow button is a reset, no reboot, no shutdown, no forms,
no warning, nothing, so make sure you sync three times before the
button and hope you don't hit the jackpot.


-- 
Luis P. Caamano                        |         lpc@dickens.com
Dickens Data Systems, Inc. Atlanta, GA |         uunet!dickens.com!lpc
---------------------------------------------------------------------------
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
From: ost@uni-muenster.de (Stefan Ost)
Newsgroups: comp.unix.aix
Subject: Re: essl man pages
Date: 23 Nov 1992 14:09:24 GMT
Organization: Westf. Wilh.-Universitaet Muenster, Germany
Distribution: world
NNTP-Posting-Host: urix2.uni-muenster.de

There is a kind of online documention for ESSL. The problem is,
that the docs are in BOOKMANAGER-Format und that there is no
BOOKMANAGER/READ for AIX available (only for DOS, OS/2, MVS and CMS).
How can IBM ship documentation for an AIX product in a format that no-one can
actually use (without the help of other operating systems of course).
Or should we buy the PC-Simulator-SW and Bookmanager/Read for DOS ?!??

/Stefan Ost
Newsgroups: comp.unix.aix,bit.listserv.aix-l
From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
Subject: Re: "The little yellow button" (Was: Reset button? Or shutdown?)
Organization: Math Faculty Computing Facility, University of Waterloo, Canada
Date: Mon, 23 Nov 1992 16:53:51 GMT

jak@sactoh0.sac.ca.us (Jay A. Konigsberg) writes:
>wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO)) writes:
>>
>>How safe is the yellow reset button? Is there a possibility of, for example,
>>disk crashes? Or does it shorten the life of other components? Is a proper
>>'shutdown -F' always preferred for a (warm) reboot?
>>
>According to our IBM SE, pushing the "little yellow button" will sync the
>filesystems and perform a proper shutdown/reboot sequence.

I get the impression it doesn't do a proper shutdown, but a full reboot - just
like on a PC when you hit RESET, everything open gets messed up.

Can the button be disabled?

-- Murray S. Kucherawy ----------------------------------------+--------------
Software Systems Co-op, Math Faculty Computing Facility [MFCF] | All spelling
University of Waterloo, Ontario, Canada                        | errors caused
E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca              | by Pnews.
---------------------------------------------------------------+--------------
From: milun@hadar.cs.buffalo.edu
Newsgroups: comp.unix.aix
Subject: Anyone ported sps to aix3.2 ?
Date: 15 Nov 92 23:36:53 GMT
Organization: State University of New York at Buffalo/Computer Science
Originator: milun@pegasus.cs.buffalo.edu

Has anyone ported sps (the ps-like program) to AIX 3.2, specifically so that
it will run on an RS/6000 model 970 ?

Thanx in advance.
Davin.
-------------------------------------------------------------------------------
Davin Milun    Internet:  milun@cs.Buffalo.EDU
               uucp:      ..!{ucsd,uunet,rutgers,watmath}!cs.buffalo.edu!milun
               BITNET:    milun@sunybcs
Newsgroups: comp.unix.aix
From: tye@spillman.uucp (E. Tye McQueen)
Subject: Re: Simple EOF problem?
Date: Thu, 19 Nov 1992 15:06:44 GMT
Organization: Spillman Data Systems

dwatts@ki.com (Dan Watts) writes:
)|In article <BxvzEE.79B@>, vidya-v@acsu.buffalo.edu (vidyaranya) writes:
)||> The following piece of code FAILS to detect End of File
)||> under AIX(i dont know the version currently!) running on
)||> an IBM PowerServer 970.
)||> ------
)||>    char    buffer[2048];
)||>    int i;
)||>    FILE    *fp;
)||> 
)||>    i=0;
)||>         while( (buffer[i++]=fgetc(fp))!= EOF )
)||>          ;
)||> ------
)||> Exactly same piece of code runs on a SparcStationIPC running
)||> SunOS 4.1.2 .
)||> 
)||> What could be the problem?
)As mentioned above, fgetc returns int and EOF is -1.  On AIX, chars
)are *not* signed.  So, the -1 gets truncated to 0xFF to fit into
)buffer[].  The 255 is then compared to -1 and sure enough, they're
)not equal.

And that code will break on a SparcStationIPC running SunOS 4.1.2
since reading in a character 0xff will cause fgetc(fp) to return 255
which will get shoved into buffer[i++] and become -1 so the code
will detect EOF when there isn't one.

You can't encode end-of-file (of characters) with a character value
unless you do something like old MS-DOS where they have "files of
characters-other-than-CTRL-Z".  But that was never a good idea.

The code will also happilly overfill buffer[] for even moderately
large files.  You might try fread() instead (and its faster).

 tye@spillman.com                         Tye McQueen, E.
----------------------------------------------------------
 Nothing is obvious unless you are overlooking something. 
----------------------------------------------------------
Newsgroups: comp.unix.aix
From: gordt@muug.mb.ca (Gordon Tulloch)
Subject: Good term emulator for DOS PCs
Summary: Anyone know of a good DOS emul for RS/6K>
Keywords: TERMINAL
Organization: Manitoba Unix User Group, Winnipeg, Manitoba, Canada
Date: Wed, 18 Nov 1992 21:01:01 GMT

Anyone out there know of a good PC based terminal package for PCs to 
connect to RS/6000 boxes?  We've tried Procomm Plus and it's not
acceptable.  Wyse or VT emulation would be fine, IBM ok too.
 
Thanks...
 
Regards,
  Gord