HDTenEightyP/NetNews huggingface dataset:
From: dkf@chem.ucsd.edu (David Knight French)
Newsgroups: comp.unix.aix
Subject: Re: cron misbehaving under 3.1.7 ?
Date: 16 Dec 1992 00:41:46 GMT
Organization: University of California San Diego, Chemistry
NNTP-Posting-Host: chedccf0.ucsd.edu

In article <BywI8r.Aq6@unixhub.SLAC.Stanford.EDU> joann@unixhub.SLAC.Stanford.EDU (Jo Ann Malina) writes:
>In article <723398235.3837@minster.york.ac.uk> dss@minster.york.ac.uk writes:
>>Is there a known problem with 'cron' in AIX 3.1.7 ?
>>What appears to be happening is that when a new entry is added to
>>a crontab, and that crontab is installed using the 'crontab' command,
>>the new entry is invoked at the next time specified in the entry,
>>but then never again!
>>
>>Is there a fix for this?
>
>I've never seen this problem, but I have seen the problem that changes
>to the cron table are not picked up. If you kill the cron process,
>it will be respawned and re-read the table including any changes.
>
>*) *) *) *) *) *) *) *) *) *) *)!(* (* (* (* (* (* (* (* (* (* (* (* (*
>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.

Actually this is a known problem.  Way back last April we received a fix
for it.  I think that was v3.1.8.  Give defect support a call and ask for
it.  One workaround until the patch shows up is to run a command in root's
crontab (which isn't affected) to resubmit all crontabs each minute.  This
will make sure they all are working properly.

--

-- 
David Knight French		Email Addresses:		Phone:	
UCSD - Dept of Chemistry	INTERNET: dkfrench@ucsd.edu	  (voice/fax)
9500 Gilman Drive		UUCP:     ucsd!dkfrench		(619)534-4193 /
San Diego, CA  92093-0314	BITNET:   dkfrench@ucsd.bitnet	(619)534-6255
Newsgroups: comp.unix.aix
From: matt@giskard.austin.ibm.com (Matthew S. Cronk)
Subject: Re: cannot unmount /usr to run fsck
Date: Thu, 17 Dec 1992 18:36:46 GMT
Organization: IBM AWSD Austin, TX

In article <1gq2a0INN9ts@life.ai.mit.edu> mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:
>
>In article <BzDJoz.qzw@austin.ibm.com> accapadi@mathew.austin.ibm.com
>(Matt Accapadi) writes:
>>
>> When you boot from the boot/maintenance diskettes and enter
>> maintenance mode, enter "getrootfs hdisk0 sh" instead of "getrootfs
>> hdisk0" where hdisk0 is the name of the boot disk.  Then run "fsck
>> /dev/hd2".
>
>Uh, no.  `getrootfs' mounts /usr.  You need to do `varyonvg -n rootvg'
>instead.
>

Begging your pardon, Charles, but Matt is correct in his explanation of
the "getrootfs" command when invoked with a disk name and the additional
parameter, "sh".  The "getrootfs" command treats arguments following the
disk name as commands, and executes them before any filesystems are
mounted.  In this case, a shell is invoked before the filesystems are
mounted, from which the user can run commands on the unmounted filesystems.

The original post that started this thread was about executing "fsck"
on the /usr filesystem.  It should be noted that in 3.2.2, or 3.2.3,
"fsck -fp" is run by the boot process on /, /usr, /var, and /tmp
before they are mounted.  Look at /sbin/rc.boot to verify your
particular system.  This means that "fsck -fp" is invoked for each
filesystem whenever the machine boots from hard disk.


Matt (a different Matt who is also quite famaliar with the boot process)

disclaimer: IBM is not responsible for what I say here.
Newsgroups: comp.unix.aix
From: prener@watson.ibm.com (Dan Prener)
Subject: Re: More IBM "oversights"
Date: Sat, 12 Dec 1992 06:28:20 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 <4348@unisql.UUCP> wrat@unisql.UUCP (wharfie) writes:

> The xlc compiler is absolutely recalcitrant about accepting
> anything like " Window foo = NULL".  But the X11 headers
> are full of stuff like "XtWindowOfObject(object) != NULL"
> which of course won't compile with the native compiler.  We
> have to sprinkle our code with crap like "#ifdef IBM #undef XtIsRealized"
> and fix it.

> If IBM has a better compiler (I can't believe they compiled X  with
> xlc) can a customer get it?  Or does xlc have an undocumented
> "Stop behaving like turbo pascal" mode?

If you invoke xlc as "cc" rather than as "xlc" it is somewhat more permissive.
See the stanza in /etc/xlc.cfg for the exact differences.
--
                                   Dan Prener (prener@watson.ibm.com)
From: timhu@ico.isc.com (Timothy Hu)
Subject: test, ignore
Organization: Interactive Systems Corp., Boulder CO
Date: Fri, 18 Dec 1992 21:23:06 GMT


Newsgroups: comp.unix.aix
From: tony_holroyd@hicom.lut.ac.uk
Newsgroups: comp.unix.aix
Subject: Epson piobe defs
Date: 17 Dec 92 15:43:15 GMT
Reply-To: tony_holroyd@hicom.lut.ac.uk
Organization: Hicom Sevices

Has anyone got any piobe defs for Epson printers.  We only have Proprinter
defs on ours which is not a lot of good.  If these things are commercial
then forget it but if anyone has created one themselves and would be willing
to share it I would be very grateful. 

Tony.

PS.  Please can you email me it as I don't know when I'm going to get chance
     to read news again.  Thanx.
From: YOUNG@tattoo.cs.widener.edu (Rob Young)
Newsgroups: comp.unix.aix
Subject: Re: zoo on AIX?
Date: 18 Dec 1992 17:11:51 GMT
Organization: Widener News/Mail Gateway
Distribution: world
NNTP-Posting-Host: tattoo.cs.widener.edu
X-News-Reader: VMS NEWS 1.20

In <1992Dec18.141300.8025@sdz01.uu.ch> brocher@sdz01 writes:

> In article <Bz1v5s.9HB@ucunix.san.uc.edu> pollack@ucunix.san.uc.edu (Steven Pollack) writes:
> >
> >Has anyone successfully ported the zoo archiving to AIX?
> >
> 
> I have zoo version 2.10 running.  I had to change all occurrences of
> ulong, uint, ushort, uchar to Ulong, Uint, Ushort, Uchar respectively
> (I don't know why, but AIX didn't like the lowercase versions...).
> After applying the patches at the end of this message I compiled it with
> "make sysv".
> 
> BTW I'm running AIX 3.2.
> 
> Hope it helps.
> Dominic Brocher


I had posted to this group around Nov. 23 with the same question and posted
the follow-up below.  This works.

					Rob


These are the changes I used to get Zoo version 2.10 going under AIX version 
3.2 something.  Your mileage may vary.

1) Change uchar to Uchar

Changing uchar to Uchar in all of the zoo source fixed a fatal up.  Also,
was recommended to change ushort -> Ushort, uint -> Uint, ulong -> Ulong.
Maybe all that needed to be done was take the "typedef unsigned char uchar"
out of the zoo source.  AIX defines a uchar, what is this about?

$ grep -n uchar /usr/include/sys/types.h
89:typedef      unsigned char   uchar_t;
155:typedef     uchar_t         uchar;


2) Add _BSD_INCLUDES to the aix target

It errored out when compiling machine.c (around line 33 in nixtime.i actually)
because it didn't know about the tm struc in time.h.  The _BSD_INCLUDES is 
necessary so the time.h in /usr/include/sys picks up the time.h in 
/usr/include.  Any one care to comment about this? 


3) Put an aix target in the makefile

aix:
  $(MAKE) CFLAGS="-c $(OPTIM) -DBSD4_3 -D_BSD_INCLUDES -DANSI_HDRS" $(TARGETS)


	Thanks to Peter Castro who gave me the aix target for the makefile
	sans the _BSD_INCLUDES (how did you Peter, get it past machine.c?)

	Also thanks to Dominic Brocher who gave me a method to get around the
	uchar problem.

			Rob



                                                     young@tattoo.cs.widener.edu
"The human understanding is like a false mirror, which, receiving rays 
  irregularly, distorts and discolors the nature of things by mingling its own
   nature with it."      --Bacon
From: nmh@swmis.nerc-swindon.ac.uk (Nigel Hill - JACS)
Newsgroups: comp.unix.aix
Subject: X11/Xamples
Date: 15 Dec 92 16:55:15 GMT


I've created the executables as described in the /usr/lpp/X11/Xamples/README.
I've also done the "make install.man". When I run xman I get:
>Xman Error: Could not allocate memory for manual sections

I've changed my memory allocation to 128k (I think), but it doesn't make any
difference. 

Any help appreciated.

Also, is there an overview somewhere of the X11 stuff and how to make it work?

Thanks. Nigel.
From: jogl@merry.imsd.rwth-aachen.de (Joachim Glaubrecht  #Alwd#)
Newsgroups: comp.unix.aix
Subject: CATIA CAD-System on rs6000/aix
Date: 18 Dec 1992 13:54:21 GMT
Organization: Institut f. Med. Statistics @ Dokumentation
NNTP-Posting-Host: merry.imsd.rwth-aachen.de


hi,
 
we have migrated from a ibm-host-based CATIA-CAD-System to a
aix-based one with a 5080 CAD-terminal.

is there someone 'out there', having the same configuration ?

anyone interested in idea/problem exchange about this CATIA version?

-- 
  ___             _________________________________________
 /  /  _____     !    jogl@tolkien.imsd.rwth-aachen.de     !
 __/__/_/ Gl     ! Inst. f. med.Inform. & Biometrie (IMIB) !
/_/              !___Never_send_a_boy_to_do_a_man's_job____!
From: rriv@oural.inria.fr (Robert Riviere)
Newsgroups: comp.unix.aix
Subject: Re: NFS, /dev
Keywords: NFS, mounting /dev
Date: 18 Dec 92 11:11:53 GMT
Organization: Cermics/Inria-Sophia Antipolis

In article <BzBJA2.Apn@austin.ibm.com> curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806) writes:
>
>You cannot use NFS to write to a device file across the network.
>NFS is stateless, which means the open() doesn't even go across the wire.
>Devices like to see their open()s so they can initialize and whatnot.
>

There is a thing about this which seems strange to me :
on some systems exists an mount option 'nodev' when mounting by NFS

What is it for ?

-- 
Robert Riviere
(rriv@sophia.inria.fr)				Tel: (33) 93.65.79.06
CERMICS						Fax: (33) 93.65.77.40
BP 93                              06902	Sophia Antipolis Cedex
Xref: sparky comp.unix.aix:12512 comp.unix.questions:14632
From: marineg@hsvaic.boeing.com (Gary Marine)
Newsgroups: comp.unix.aix,comp.unix.questions
Subject: System Locks Up Daily (RS/6000 560)
Date: 10 Dec 92 20:46:08 GMT
Followup-To: marineg@hsvaic.boeing.com
Organization: Boeing AI Center, Huntsville, AL


If anyone has seen this problem (see below), or has any 
suggestions that might help me find a solution, please send info
via Email.  I will be grateful for any information you can send.

Thanks in advance to everyone who responds.


Problem Description:

    The system locks-up 1 or more times each day.  The only fix is
    a hard reboot.

Info:

    1) A network analyzer was used to monitor the network traffic for
       several days.  Nothing was found except for some boot request
       broadcasts from a network router.  This was eliminated as a
       cause when the RS/6000 was disconnected from the network and
       it still locked up.  (The system is currently the only one
       on the subnet, there is a router between it and the rest of
       the world)
    2) bootpd, snmpd, and the X-Station manager daemon were stopped,
       this didn't help.
    3) The facilities engineers have assured me that it is not a
       power problem because the system is on UPS which conditions
       the power.  Even so, I have requested a dranetz monitor to
       verify that the power is ok.  (It was just connected, so
       no info yet)
    4) Yes, I took a DUMP.  It seems that the system hardware locks
       up to the point that it does not recognize that the key has
       been turned to service.  When I turn the key to service and
       press reset, I get a 100 on the LED.  A second press of the
       reset causes a reboot.
    5) As for software applications, the system locks up even when
       there are no users logged in, including after a fresh reboot
       and no user process started.
    6) I have worked with UNIX systems for about 5 years, but this
       is my first AIX box.  She is 6 weeks old, I have pictures
       if you would like to see them.

Hardware Configuration:

    PowerStation 560 (AIX 3.2)
        4x64MB HD3 memory
        2 Ethernet LAN adapters
        2 Internal SCSI I/O Controllers
          5 1GB Disk Drives
        1 External SCSI I/O Controller
          Deskside Expansion Unit (9334-500)
          3 1.37GB Disk Drives
        1 Color graphics display adapter (19" color monitor)
        1 Internal CD-ROM
        1 Internal 2.3GB 8mm Tape

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Gary W. Marine                       ___ ___ ___ ___     ___
      P.O. Box 240002  M/S JY-58          /__//  //__  /  /\ //  _
      Huntsville, AL 35824-3001          /__//__//__ _/_ /  //__/
      --------------------------
      marineg@hsvaic.boeing.com          Missiles & Space Division
      phone: (205) 461-4133                 Computing Systems

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
Newsgroups: comp.unix.aix
Subject: Where to get hex or binary file editor?
Date: Sun, 13 Dec 92 08:46:34 PST
Organization: Beckman Software Engineering
Reply-To: mbeckman@mbeckman.com
Distribution: world
X-Mailer: uAccess LITE - Macintosh Release: 1.5v5

I need to edit binary data in a file. I'd prefer hex notation, but I'll
accept anything. Is there an RS/6000 binary file editor available?
I hate to write my own...

_____________________________________________________________________
| Mel beckman                  |    Internet: mbeckman@mbeckman.com |
| Beckman Software Engineering |  Compuserve: 75226,2257            |
| 1201 Nilgai Place            |       Voice: 805/647-1641          |
| Ventura, CA 93003            |         Fax: 805/647-3125          |
|______________________________|____________________________________|
 "Internet is big.  Really Big.  It gives the idea of
  infinity much better than infinity itself." 
   (with apologies to Douglas Adams)
From: wrat@unisql.UUCP (wharfie)
Newsgroups: comp.unix.aix
Subject: More IBM "oversights"
Date: 11 Dec 92 22:39:02 GMT
Organization: UniSQL, Inc., Austin, Texas, USA


The xlc compiler is absolutely recalcitrant about accepting
anything like " Window foo = NULL".  But the X11 headers
are full of stuff like "XtWindowOfObject(object) != NULL"
which of course won't compile with the native compiler.  We
have to sprinkle our code with crap like "#ifdef IBM #undef XtIsRealized"
and fix it.

If IBM has a better compiler (I can't believe they compiled X  with
xlc) can a customer get it?  Or does xlc have an undocumented
"Stop behaving like turbo pascal" mode?

Newsgroups: comp.unix.aix
From: konopik@konopik.austin.ibm.com (Brad Konopik)
Subject: Re: Micro Channel in RS/6000
Date: Thu, 17 Dec 1992 03:55:12 GMT
Organization: IBM AIX Porting Center, Austin
Keywords: Which Endian?

In article <1992Dec8.210721.15669@oakhill.sps.mot.com> mack@oakhill.sps.mot.com (Gregg Mack ( Sun )) writes:
>I am designing a memory-mapped I/O adapter to be put into a Micro
>Channel slot in an IBM RS/6000 model 350 workstation.  After reading
>the IBM document SA23-2647-00 "Hardware Technical Reference Micro
>Channel Architecture", I am still uncertain if Big Endian or Little
>Endian addressing is used.  Is this not part of the specification?

Byte 0 is the LSB.  Byte 31 is the MSB.  Addressing is addressed in
the Hardware Technical Reference General Information Manual
(SA23-2643-00).

>I know that the Micro Channel spec states that D(31) is the most
>significant bit of the 32-bit data bus, and this is part of the
>byte accessed when -BE(3) is asserted.  Do the byte enable numbers
>- -BE(0-3) correspond to the byte addresses?

See the MC spec (document # SA23-2647-00), pg. 1-40, Note 4.
BE0 is D(0-7), BE3 is D(24-31).

>If so, that would
>make -BE(0) = D(0-7) to reside at address 0 and -BE(3) = D(24-31)
>reside at address 3.  Now if a programmer were to read a 2-byte
>datum at address 1, would the data be driven onto D(8-23) or D(0-15)?
>Which of these two byte would be the most significant of the data?

See MC spec pg. 1-40 and 1-41.  Data would be driven on 8-23.
-BE1 and -BE2 would be active (low).  Also, D(8-15) would be
replicated on D(0-7).

>As a second question:  The 8 POS registers are each 1-byte wide.
>All configuration data transfers are single-byte transfers.  Since
>I am designing a 32-bit slave, I only monitor -BE(0-3) (and do not
>monitor -SHBE, A1, and A0).  Which of -BE(0-3) is asserted when
>POS register 0 is being accessed?

Again see MC spec pg. 1-40.  For single-byte transfers, the
appropriate -BE to use is address-mod-4.  Thus, POS 0 would be
-BE0 (assuming POS 0 is addressed xxx0).

(The above answers are courtesy of some engineering contacts)


-- 
internet: konopik@austin.ibm.com          |  Brad Konopik
   uunet: uunet!austin.ibm.com!konopik    |  IBM AIX Porting Center
 ibmvnet: KONOPIK at AUSTIN               |  Austin, Texas
From: jenkinsonjp@rcwusr.bp.com
Newsgroups: comp.unix.aix
Subject: xntp and rc files
Date: 15 Dec 92 23:00:28 -0600
Organization: BP Research, Cleveland, OH (USA)

how do *YOU* get xntp started at boot? scripts that work don't when
invoked as an rc file. reboot opportunities are rare, so hints appreciated.
From: Christophe.Wolfhugel@grasp.insa-lyon.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: More sockets ?
Date: 13 Dec 1992 10:22:13 +0100
Organization: INSA Informatique, Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr

How to configure the kernel in order to have more possible open
sockets ?

(no, I did not find the answer in the info bases, perhaps due to a lack
of correct keywords to search to).

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@grasp.insa-lyon.fr
  "Pour le bien-etre de tous, il est interdit de pisser dans le metro."
Newsgroups: comp.unix.aix
From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
Subject: Re: Why does xterm not put in a utmp entry?
Keywords: xterm utmp
Organization: Math Faculty Computing Facility, University of Waterloo, Canada
Date: Wed, 16 Dec 1992 15:20:22 GMT

mmt@RedBrick.COM (Maxime Taksar KC6ZPS) writes:
>I have a rather odd problem (in fact, all my users seem to
>be having this problem).  Any login session using xterm
>(the standard one shipped with AIX 3.1) does not write to
>/etc/utmp.
>
>This has a couple effects, one cosmetic, one very annoying.
>
>The cosmetic problem is, of course, that the users logged
>in using xterm do not show up to "who", "w", and other
>programs that read utmp.
>
>The very annoying problem is that occasionally a user will
>bring up an xterm and will get not only their own shell, but
>someone else's process fighting for control of the tty.  I'm
>sure anyone can imagine the confusion this can cause.
>
>I've tried setting the xterm executable to be suid, but this
>had no effect.
>
>Any hints or suggestions?  (And is anyone else having this
>problem, or is it just me?)  I'm hoping that the answer isn't
>"use aixterm", since we try to keep things like .Xdefaults
>platform-independent.

The xterm binary must be compiled with the appropriate options to ensure
that the code supporting utmp updates is included; check the makefile/imakefile
or README for which options to use.  I suspect the default is to leave that
code out of the xterm binary at compile time.

If the code provided with AIX doesn't give you this, then you can get the
full sources from the net.

-- 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: wrat@unisql.UUCP (wharfie)
Newsgroups: comp.unix.aix
Subject: Re: More IBM "oversights"
Date: 15 Dec 92 17:38:48 GMT
Organization: UniSQL, Inc., Austin, Texas, USA

In article <Bz9A6n.6xq@constellation.ecn.uoknor.edu> dwight@geohub.gcn.uoknor.edu writes:
> xlc does what it is supposed to do. 

	Ahem.  I expect the header files on a box to compile with the
compiler on a box.  Without my having to disable ANSI compliance or twiddle
#defines.

	Oh well, I guess even _my_ software has bugs in it... :-)

								wr


Newsgroups: comp.unix.aix
From: lucien@watson.ibm.com (Lucien Van Elsen)
Subject: Re: How do I set the gamma correction?
Date: Wed, 16 Dec 1992 18:58:18 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J Watson Research Center

holder@central.cis.upenn.edu (Gaylord Holder) writes:

>
>   Is there a way to change the gamma the hft device driver uses?  
>

I don't think this is something that can be modified at the device driver
level- according to the info in the AIX 3.2 InfoExplorer, a hardware lookup
table is used to get the gamma correction value.  Sounds like you'd need to
get a video card with a different gamma correction built into it, though I
have no idea if this is at all possible.

	-Lucien
--
-----------------------------------------------------------------------
Lucien Van Elsen                                          IBM  Research
lucien@watson.ibm.com                                     Project Agora
From: fred@network.ucsd.edu (Fred Criscuolo)
Newsgroups: comp.unix.aix
Subject: Physically Replacing Systems
Date: 14 Dec 1992 10:00:01 -0800
Organization: University of California, San Diego
Distribution: world
NNTP-Posting-Host: network.ucsd.edu

Within the next two weeks, we will be physically replacing our two Model
560s running 3.2.1 with two new Model 580s running 3.2.3.  Pleese note that
we're not upgrading, we're getting two new boxes and selling the old ones.
AIX and the lpps will be preinstalled.  In planning for this installation,
I trying to determine the best means to migrate our third-party software 
and configuration files.  Earlier this year I used the 3.2 Upgrade Utilities
supplied by IBM to go from 3.1 to 3.2.  Would these same utilities be useful
in moving to new systems?  Are there additional configuration files in 3.2 
that the 3.1->3.2 utilities are designed to backup?  Any tips, suggestions,
and gothchas will be greatly appreciated.  Thanks in advance.

Fred


-- 
Fred Criscuolo
fcriscuo@ucsd.edu                             (619) 546-4083 
Newsgroups: comp.unix.aix
From: gerth@watson.ibm.com (John Gerth)
Subject: Re: User resource limits
Summary:  With AIX 3.2 you can set data higher
Date: Sat, 19 Dec 1992 23:13:27 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

In AIX 3.1 there was a limit of 256M on the size of 'data'.  This limit
comes from the 256M segment size of the architecture, but was really an
artifact of the way AIX decided to do things.  In AIX 3.2, things have
been redone so that an application can get something like 8 times 256M
for 'data' (I believe 'stack' would still be limited to 256M, but that's
unlikely to be a problem).  Getting larger limits for 'data'  and 'stack'
is done with new suboptions on the "-b" switch of 'ld'.  I believe that
their names are "maxdata" and "maxstack", but you should check the man
pages.  If these switches are not used, then the system limits are enforced.


-- 
John Gerth	 gerth@watson.ibm.com		(914) 784-7639
Newsgroups: comp.unix.aix