HDTenEightyP/NetNews huggingface dataset:
From: jfh@rpp386.lonestar.org (John F Haugh II)
Newsgroups: comp.unix.aix
Subject: Re: What do you do with a 1000 groupies?
Date: 13 Apr 92 22:11:16 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 <JET.92Apr13122425@karazm.math.uh.edu> jet@karazm.math.uh.edu (J Eric Townsend) writes:
>As much help as Support has been for me, I'm still not surprised at
>this statement.  Doesn't management understand the value of a
>non-hierarchical support structure?  Maybe it should be
>demonstrated...

Uh, if I fix any APARs it has to be on my own free time (which I
have none of) since I am not working in the support organization.

If you want that problem fixed, someone else at LCC (and there are
many qualified people to do it) will have to perform the work.  I
just happen to understand the problem very well because I've already
had to solve it for a software package I regularly post to the net.

>Maybe I should be quiet, as I'm about to call IBM with a list of
>things I think are problems under 3.2.  We'll see what happens.

Well, this wasn't even an offer to fix something in 3.2, so you
can complain away ;-)
-- 
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
Newsgroups: comp.unix.aix
From: matess@gsusgi2.gsu.edu (Eliza Strickler)
Subject: HPLJIII and RS6000 Is it possible? (HELP)
Organization: Georgia State University
Date: Tue, 14 Apr 1992 15:18:06 GMT

I am connecting an HPLJIII to an RS6000 and am having great 
difficulty. I was given a document (which I do not know who
issued) that gives very explicit directions on how to 
configure an HPLJIII PostScript Printer on an RS6000.
You are suppossed to be able to print ascii as default and
postscript when specified. All I get either way is blank
pages. HP people said that there is a command to reset 
getting sent by some network protocol. Does anyone know
anything about this. This is a parallel connection by the way.
The document title is "HOWTO AIX: HOW DOES ONE CONFIGURE
A HEWLETT PACKARD LASERJET III POSTSCRIPT PRINTER ON A RISC
SYSTEM/6000".

I feel like someone is playing a joke on me. Any help would
be appreciated.

Thanks,
    Elizabeth

-- 
================================================================================
    Elizabeth Strickler           estrickl@gsu.edu           o/   
    Georgia State University      (404) 651-4573            /|  stay alive 
    Wells Computer Center                                   / >
From: irikura@enh.nist.gov
Newsgroups: comp.unix.aix
Subject: Kermit (or similar program) for RS/6000 ?
Date: 13 Apr 92 03:12:57 GMT
Organization: NIST

Is Kermit (or a similar program) available for the IBM RS/6000?  We have
a model 320.

Since I don't subscribe to this newsgroup, please send e-mail also.

Thanks,
Karl Irikura
irikura@enh.nist.gov
Newsgroups: comp.unix.aix
From: CELSO.CASTILLO@OFFICE.WANG.COM ("Celso Castillo")
Subject: SCO MPX/486 vs AIX/RS6000
Organization: Mail to News Gateway
Date: 08 Apr 92 09:25:01 EST

Rigth now we have a discussion in the university regarding what combination
could give us a better performance.

     Any multi-processing Intel/486 33Mhz system running SCO MPX  vs
and IBM RS/6000 340.
     We want to use this machine for education, we will probably have between
20-50 users running ORACLE, Informix, 'C', and X-windows.

         Thanks in advance for you recomendation,
                     celso.castillo@office.wang.com
From: shah@fnsony.fnal.gov (Hemant Shah)
Newsgroups: comp.unix.aix
Subject: problems with record locking and fcntl()
Date: 13 Apr 92 17:47:21 GMT
Reply-To: shah@fnalb.fnal.gov
Organization: Fermi National Accelerator Laboratory, Batavia, IL


I am writing a program, in which I have to use recording locking mechanism.
I am using fcntl() system call to do recording locking. The problem is that
even though the record is locked F_GETLCK tells me that it is unlocked.
In a test program I lock the first record in the file and then test if any
records are locked, fcntl() tells me that all the records are unlocked.

e.g.

I open the file. 

then I do following"

db_lock.l_type = F_WRLCK ;
db_lock.l_whence = SEEK_CUR ;
db_lock.l_start = 0 ;
db_lock.l_len = sizeof(db_rec_read) ;
if( fcntl(db_fd,F_SETLK,&db_lock) == -1)
{
   err_dump("fcntl error" ) ;
}
printf("*****************************************************\n") ;
switch(db_lock.l_type)
{
   case F_UNLCK :
                  printf("RECORD IS NOT LOCKED\n") ;
                  break ;
   case F_RDLCK :
                  printf("RECORD HAS READ LOCK\n") ;
                  break ;
   case F_WRLCK :
                  printf("RECORD HAS WRITE LOCK\n") ;
                  break ;
   default :
               printf("NO INFO FOUND ON THIS RECORD\n") ;
               break ;
}
printf("db_lock.l_sysid: %d\n",db_lock.l_sysid) ;
printf("db_lock.l_pid: %d\n\n",db_lock.l_pid) ;

printf("*****************************************************\n") ;


now I read whole file and check if any records are locked, using following:

            db_lock.l_type = F_WRLCK ;
            db_lock.l_whence = SEEK_CUR ;
            db_lock.l_start = 0 ;
            db_lock.l_len = sizeof(db_rec_read) ;

           fcntl(db_fd,F_GETLK,&db_lock)

and with all the records l_type is returned as F_UNLCK

Any idea what's wrong with this code.

Thanks in advance :-)
-- 
-------------------------------------------------------------------------------
Hemant Shah                            | All the opinions expressed are my own
Fermi National Accelerator Laboratory  | and does not necessarily reflect
Systems Integration Group              | those of Fermilab.
E-mail :shah@fnal.fnal.gov             |
 Voice : (708) 840-8071	               | I haven't lost my mind
   Fax : (708) 840-2783                | it's backed on tape somewhere.
-------------------------------------------------------------------------------
From: marc@watson.ibm.com (Marc Auslander)
Newsgroups: comp.unix.aix
Subject: Re: 'new math' with cc (forget what you were taught once)
Date: 10 Apr 92 17:04:48 GMT
Organization: IBM T.J. Watson Research Center, Hawthorne, New York
Disclaimer: This posting represents the poster's views, not necessarily those of IBM

This is a change from "old" behavior to ANSI.  Is you use xlc (or
-qlanglvl=ansi) you get the ansi behavior.  By default, with "cc" you
get the "old" behavior.
--


Marc Auslander       (IBM)<marc@marc.watson.ibm.com>      914 784-6699
                     (Internet)<marc@watson.ibm.com>
Newsgroups: comp.unix.aix
From: terry@ithaca.npd.Novell.COM (Terry Lambert)
Subject: Looking for Mr. System Call...
Organization: Novell NPD -- Sandy, UT
Date: Mon, 13 Apr 1992 22:23:49 GMT

	I still haven't had a response from anyone on how to get loadable system calls
called from userland.

	1)	I compile the system call
	2)	I link it with an import of the kernel symbols and and export of my system
		calls.
	3)	I load it using sysconfig( SYS_SINGLELOAD...)

	How do I call the blasted thing from userland?  It doesn't make sense to import
an export list into a userland library (this would imply that system calls are referenced
dynamically (by string name?!?) within trap.c), so what gives?  How is it done?  I have
since acquired a full new 3.2 manual set and several red books o the subject, but none
of them have been useful.  How did IBM write their calls in the library to getmsg(), putmsg(),
getpmsg(),  and putpmsg()?  I *KNOW* these are Mentat streams, but the Mentat version
has library implementations of getmsg(), et al, instead of real live system calls.  IBM then
moved them into the kernel.

	What user space code is required to provide the getmsg() library entry point for
calling the getmsg() system call?  This is EXACTLY analogous to my problem.

						Terry Lambert
						terry_lambert@gateway.novell.com
From: joann@unixhub.SLAC.Stanford.EDU (Jo Ann Malina)
Newsgroups: comp.unix.aix
Subject: Re: /etc/backup "lseek" errs on mounted FS.
Date: 12 Apr 92 05:10:20 GMT
Organization: Stanford Linear Accelerator Center

In article <121942@lll-winken.LLNL.GOV> terry@phoenix.ocf.llnl.gov (Terry Heidelberg x24154) writes:
>Situation: AIX 3.1.5 on 14 RS/6000 550s with all user filesystems 
>cross-mounted with NFS to allow access to any node's files from 
>any node.
>But we have 24-hour service, jobs run for days, weeks even, so we can't 
>afford to take filesystems down (unmount them) for backups (does ANYBODY 
>do that?).

Sounds like our situation. Even if people don't work all night (and
there are always a few -- like me), there are cron jobs, long-running
calculations, etc.
 
>We have problems with /etc/backup incremental dumps failing roughly 1 in 5
>times with the following type of error behavior (taken from the log of
>a test-backup script we began to run, after encountering this problem):
>
>=>40.74% of the dump is done. It should be finished in 116:34.
>=>Cannot read /dev/ru2 [block -1817308824]: count=4096, got=-1
>=>The lseek call failed.
>=>The dump command has ended abnormally.
>=> [etc]
>
>MY QUESTIONS:  
>	has anyone else seen this particular problem?   
>	Does anyone run incremental backups this way, and never see 
>		this problem?    

I did my backups this way for at least 6 months and got the same 
warning that the dumps might not be usable, but didn't see any of 
your errors.  However, I was not dumping directly to tape but to VMS
disks that were nfs-mounted on my unix file servers.

>	Does anyone know what is happening to cause the error?   

No. Are you using IBM tape drives? I seem to remember RS6000's are set
up to not be able to use non-IBM drives.

>	Are there better ways to do incremental backups using /etc/backup?

To disk.

>	Are there better ways using other tools, e.g. cpio?   

We recently cut over to using an IBM product, Workstation Data Save
Facility (WDSF). It does not mind backup up mounted file systems.
Still somewhat buggy, but the Support Center (when I can find the
right people) are very helpful. I guess this isn't much help if you
don't have an IBM mainframe lying around. But we did, and it let us
bring up a system without buying any hardware. The other advantage
it has is that users can recover their own files without calling me!
 
*) *) *) *) *) *) *) *) *) *) *)!(* (* (* (* (* (* (* (* (* (* (* (* (*
Jo Ann Malina, Stanford Linear Accelerator Center
joann@unixhub.slac.stanford.edu  -or-  415/926-2846
Neither Stanford nor the DOE would be caught dead with these opinions.
Nor do they consult me when formulating theirs.
Newsgroups: comp.unix.aix
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Subject: Re: Kermit (or similar program) for RS/6000 ?
Organization: MIT Laboratory for Computer Science
Date: Mon, 13 Apr 1992 06:01:17 GMT


In article <12APR92.22125705@enh.nist.gov>, irikura@enh.nist.gov
writes:
>
> Is Kermit (or a similar program) available for the IBM RS/6000?  We
> have a model 320.

The latest version of C-Kermit (available from watsun.cc.columbia.edu,
in kermit/sw/cku179.tar) has special support for the RS/6000.  It runs
fine on my machine.
From: Mandyam.Srinivas@ho15.eng.ua.edu
Newsgroups: comp.unix.aix
Subject: HELP: X11R5, InfoExplorer
Date: 11 Apr 1992 13:51:47 -0500
Organization: University of Alabama
Reply-To: srini@aramis.cs.ua.edu
NNTP-Posting-Host: cs.utexas.edu



Hi Everybody,


I recently installed X11R5 on our RS 6000 520's
with AIX 3.1.5. But INFOEXPLORER cannot be used 
properly -- The font that appears is garbled.
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I converted all the fonts in the directory 
/usr/lpp/info/X11fonts to .pcf format and added
it to the font path. But the INFOEXPLORER fonts
are still garbled.


Has anybody come across this problem or is it
only me?  Any solutions?

Srini.
  
[ OTHER INFO: To use some of the AIX Windows 
	      fonts with the R5 server, I had 
              converted selected  fonts from 
             .snf to .pcf format and I can use 
              those fonts with the R5 server.  
              eg: xterm -fn rom17             ]


-- 
Mandyam Srinivas            |   " You are young and life is long and 
msriniva@buster.eng.ua.edu  |     There is time to kill today   
                            |     And then one day you find ten years 
                            |          have got behind you
(205) 349-4136              |     No one told you when to run, 
                            |         you missed the starting gun"
        	            |                                 -P.F.
From: jfc@athena.mit.edu (John F Carr)
Newsgroups: comp.unix.aix
Subject: Re: Kernel reconfigs
Date: 15 Apr 92 23:45:53 GMT
Organization: Massachusetts Institute of Technology

Some kernel tables are in virtual, not real, memory.  This allows the kernel
to allocate a lot of data in case of heavy usage without reducing available
real memory.

--
    John Carr (jfc@athena.mit.edu)
From: fritz@scipp.UCSC.EDU (Frederick Staats)
Newsgroups: comp.unix.aix
Subject: Re: Kernel reconfigs
Date: 16 Apr 92 18:20:11 GMT
Article-I.D.: darkstar.33079
Organization: Santa Cruz Institute for Particle Physics

In article <1992Apr15.224251.1935@zia.aoc.nrao.edu> rmilner@zia.aoc.nrao.edu (Ruth Milner) writes:
>In article <1992Apr12.003804.120968@jrh.uucp> jrh@jrh.uucp (James R. Hamilton) writes:
>>    worried about the usual stuff like file table size and process
>>    table size, you have little to fear.  The default (and untunable)
>>    file table size is 200,000 and the process table size is 131,000.
>Good grief! No wonder the kernel needs 11MB of memory. This is absurd. They
>could easily have made the defaults more reasonable (like, say, 5000 and 1000)
>which would be plenty adequate for 90% of the systems, and then allow it to
>be tuned for the few systems where it isn't.

Demand paging... things take up virtural address space but not "real
pinned memory".  One of the advantages of a paging kernal.  AIX 3.x
is still a hog but not nearly as bad as it could have been.

>>    IMHO, the RS/6k documentation library is missing a good quality
>>    description of the kernel and file system internals.  
>Yes! Yes! Kernel variables? What kernel variables? Tunable parameters? What
>tunable parameters? It would really be nice to have an obvious place to find
>these things out.

IBMs published doumentation is very, very limited.  If you have $60K
you can purchace a source license to AIX, 90% academic discount brings
it to $6K for universities.  If our budget wasn't already so tight I
would have seriously looked at this a long time ago.


-- 
Frederick Staats
fritz@scipp.UCSC.EDU -- (408) 459-3575
Santa Cruz Institute for Particle Physics
University of California at Santa Cruz
Newsgroups: comp.unix.aix
From: lpc@dickens.com (Luis P Caamano)
Subject: Re: PPP or SLIP for AIX on RS6k
Date: Wed, 08 Apr 1992 13:38:22 GMT
Distribution: na
Organization: Dickens Data Systems, Inc.

In article <1992Mar10.220135.10473@eagle.bet.ibm.com> lebowits@nova.bet.ibm.com (Steven Lebowitz) writes:
>In article <1992Mar09.133620.12080@jpradley.jpr.com> grumpy@jpradley.UUCP (Jeff Markel) writes:
>>
	[ stuff deleted ]
>>That's very nice, Sam, but if you've ever tried to actually USE the AIX3.1
>>SLIP implementation for anything other than directly attached serial X 
>>terminals you'd know that AIX doesn't REALLY have a built in SLIP 
>>(especially after the abomination known as 2007, which for some reason known 
>>only to Austin changed the tty drivers such that cu, ate, slattach 
>>[such as it was], getty, and pretty much anything else that talked thru async 
>>ports no longer worked).
>>
	[ stuff deleted ]
>
>I don't know what you may have done wrong, but I am using SLIP as the
>bridge from my LAN to the Internet.  I'm even running with 2007.  Were
>you aware that there are a number of emergency fixes for 2007?  One of
>them even fixes ate.
>

We're using SLIP between two 2006 rs6000s (Telebits T3000 on both sides).
However, we're experiencing some weird problem. Something is changing
the line discipline to posix from time to time. Of course when that 
happens you can't ping thru the SLIP line. 

Running 'stty disp slip < /dev/ttyx' fixes it.  It happens randomly
on both sides. I know that something is changing it since there 
are no reported ghosts on any of the two machines but we can't figure 
it out. 

Has anybody seen this before? Any clues? I'm just ready to call
support now. Let's see what happens.

-- 
---------------------------------------------------------------------------
Luis P. Caamano                    |         lpc@dickens.com
Dickens Data Systems, Inc.         |         uunet!ddssuprs!lpc
Norcross, GA                       |         (404) 242-5991
---------------------------------------------------------------------------
If you think you know it all, you'll stop learning. -myself
The more I learn, the more I know I know nothing. -somebody else
Newsgroups: comp.unix.aix
Subject: Need help to tar files to tape
From: jhsiung@Sun5.IS (Jack Hsiung)
Date: 15 Apr 92 10:27:21 PDT
Distribution: na
Organization: California Polytechnic University, Pomona
Keywords: tar, tape

I'm having problems taring files to tape. The machine is RS6000 running
AIX 3.1. The tape drive is external IBM 1/4" tape drive. The tape is
DC600A. I'm able to read the tape and extract files from it. However,
when I try to write to the tape using the command tar cv filename,
I get the message:

a filename 1 blocks
tar: tape write error: Invalid argument

I tried all sorts of different arguments but couldn't get tar to write
to tape. Please help.
-- 
Jack Hsiung
cvetp035@csupomona.edu
From: jfh@rpp386.lonestar.org (John F Haugh II)
Newsgroups: comp.unix.aix
Subject: Re: Logging someone off as root user
Date: 13 Apr 92 14:38:56 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 <s4jksINNce1@agate.berkeley.edu> dcook@garnet.berkeley.edu (Dan Cook) writes:
>As the system manager, how do you go about logging another
>user off in AIX on an rs6k?

Look into the kill command.  You can kill the user's entire process
group structure (find their login shell and kill -9 -pid).
-- 
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: tim@introl.introl.com (Tim Chase)
Newsgroups: comp.unix.aix
Subject: BIND 4.8.3 vs. AIX 3.2
Date: 6 Apr 92 22:39:46 GMT
Article-I.D.: introl.1992Apr06.223946.30306
Organization: Introl Corp.

Has anybody had problems with their 4.8.3 named dropping core files under
AIX 3.2?  After installing 3.2, I still ran the same binary of named 4.8.3
that I've been using fine forever under 3.1.5, but it started core dumping
about once per day.

I suspected the 3.2 malloc as being the culprit, or a bug in named that was
only uncovered by a malloc with less overhead so I started it with MALLOCTYPE
set to 3.1 and it ran for a day or so without any problem.  This certainly
doesn't prove anything, since it would sometimes run for more than a day
without core dumping.  Unfortunately, I don't know exactly what's event is
causing the problem.

It dies in findns() in the if statement of the following loop:


		/* Look first for SOA records. */
		for (dp = np->n_data; dp != NULL; dp = dp->d_next) {
			if (dp->d_zone != 0 && match(dp, class, T_SOA)) {

The pointer "dp" is obviously bogus since it is set to 0x56415841 according
to the core file.  Interestingly, that would be "VAXA" in ASCII.  I couldn't
see any obvious place where such overwriting would take place, but I haven't
looked too hard yet.

The question is whether anyone knows of any bugs in this verison of named
that would cause a problem like this.  If so, I'd love to hear from you.

BTW:  I've got a copy running right now using the debugging malloc that
was recently posted to comp.sources.unix.reviewed.  It's been running for
about 8 hours so for without a peep.


-- 
Tim Chase		           Introl Corp. Milwaukee, WI USA
UUCP: spool.mu.edu!introl!tim	Internet: tim@introl.com
   or tim@introl.uucp		   Phone: +1 (414) 327-7171
From: joann@ariadne.SLAC.Stanford.EDU (Jo Ann Malina)
Newsgroups: comp.unix.aix
Subject: Re: How to give root privilege to NFS exported file system, HELP!
Date: 14 Apr 92 04:44:14 GMT
Reply-To: joann@unixhub.slac.stanford.edu
Distribution: usa
Organization: SLAC (Stanford Linear Accelerator Center)

In article <1992Apr13.171513.29803@utdallas.edu>, karches@utdallas.edu (Tom Karches) writes:
|> In article <1rk+Y9B@engin.umich.edu> jzeng@norway.biop.umich.edu (Jim Zeng (313)763-5449) writes:
|> >gla is a PS/2 70 running AIX 1.2.1
|> >venus is a SPARC II+ running SunOS 4.1.1
|> >
|> >On gla, I have /u exported. In order to give venus root privilege on /u,
|> >I have the following line in /etc/exports
|> >
|> >/u	-root=venus
|> >
|> >But this doesn't work! What is the right syntax? Thanks.
|> >
|> >--Jim
|> 
|> I don't think you can export a filesystem under NFS and give another
|> machine root privilege. I've been wrong before, though.
|> 

Sure you can.  The entry shown should work to give venus root access to
/u on system gla. Did you do exportfs -a after changing the /etc/exports
file? It doesn't take effect until you do that.

*) *) *) *) *) *) *) *) *) *) *)!(* (* (* (* (* (* (* (* (* (* (* (* (*
Jo Ann Malina, Stanford Linear Accelerator Center
joann@unixhub.slac.stanford.edu  -or-  415/926-2846
Neither Stanford nor the DOE would be caught dead with these opinions.
Nor do they consult me when formulating theirs.
From: rriv@oural.inria.fr (Robert Riviere)
Newsgroups: comp.unix.aix
Subject: automounter fix
Date: 15 Apr 92 09:31:38 GMT
Organization: INRIA, Sophia-Antipolis (Fr)


In article <17803@awdprime.UUCP> curt@johnmad.austin.ibm.com 
(Curt Finch 903 2F021 curt@aixwiz.austin.ibm.\com 512-838-2806) writes :

>P.S.  If a 'ps aux|grep automount' shows automount growing by 4k on
>every mount to very large sizes, then get a23857 again.  Earlier
>versions had a memory leak. 

That's our problem. Is there a way to download this fix from a ftp server ?
Or must we contact our IBM representative (he is so far...)

Thanx
-- 
Robert Riviere
(rriv@sophia.inria.fr)				Tel: (33) 93.65.79.06
Inria/CERMICS					Fax: (33) 93.65.77.40
BP 93
06902	Sophia Antipolis Cedex
From: sd@Germany.EU.net (Stephan Deutsch)
Newsgroups: comp.unix.aix
Subject: Re: Logging someone off as root user
Date: 16 Apr 92 16:55:10 GMT
Organization: EUnet-Backbone, Germany
NNTP-Posting-Host: walhalla.germany.eu.net

In article <s4jksINNce1@agate.berkeley.edu>, dcook@garnet.berkeley.edu (Dan Cook) writes:
> As the system manager, how do you go about logging another
> user off in AIX on an rs6k?
> -dan cook

	As far as I understood you correctly you want to logg of a user
	without questioning him ;-)

	It should be the same on all UNIX systems:
	1.) You've to explore the process ID of his login shell using the
	    'ps' command. Read your manual for ps to get information about
	    the required flags (f.i. 'eaf' or 'aux') and make a
	    ps -flags | grep username | grep sh
	    and you'll get the PID
	2.) Now you're able to kill this shell using kill -KILL PID or
	    kill -9 PID
	3.) Don't let the user know about your actions...:-)

						Stephan Deutsch
						sd@Germany.EU.net
Newsgroups: comp.unix.aix