HDTenEightyP/NetNews huggingface dataset:
From: brent@spare (Brent Terry)
Newsgroups: comp.unix.aix
Subject: Re: HE -- Installing Optical Drive
Date: 19 Aug 92 16:14:34 GMT
Organization: Pencom Software

In article <Aug.18.17.54.49.1992.12757@gauss.rutgers.edu>  
manmetha@gauss.rutgers.edu (Rajesh Malhotra) writes:
> 
> Hi Netters,
> 
> 	Desperate cry for HELP...
> 
> 	I am trying to install an HP magneto-optical disk drive
> to the IBM RS6000 320H. This is a SCSI device, and have made sure
> that the SCSI address of this disk is unique.
> 
> 	The machine boots up fine, but when I try to add a disk
> using SMIT, I get an error, saying that the device was not found.
> 
> 	The SCSI bus seems ok, and other devices on the bus work
> just fine.
> 
> 	What am I missing here or doing wrong?
> 
> 	Any and all responses greatly appreciated.
> 
> Thanx,
> 
> Raj.
> -- 
> --

This is usually an indication that the device did not like one of the  
commands that sent out to it. I believe that the osdisk driver would send  
an inquiry, test unit ready, mode sense, then mode select. The mode select  
could be the problem. You can check out what the standard mode select that  
it sends out by looking in the odm database. There is an attribute called  
"mode_data". Do the following command "odmget -qattribute=mode_data | pg"  
and pick out the mode data for uniquetype = disk/scsi/osdisk. Compare it  
to the mode data that this drive will accept.

-BT
==============================================
Brent Terry            email: brent@pencom.com
                       voice: 512-343-1111
==============================================
From: MCOG@CHVM1.VNET.IBM.COM ("Michael A. Coggins")
Newsgroups: comp.unix.aix
Subject: Detecting where program text segments come from...
Date: 15 Aug 92 21:31:30 GMT
X-Unparsable-Date: Sat, 15 Aug 92 18:11:50 CET

The AIX 3.2.1 update/ptf/maintenance release/tape has a
"selective fix" for what are called "AIX Performance Tools".
The exact update is "bosext1.3.2.0.0.U402609".  These tools
are very interesting, and also useful.

One of my favorites for understanding the system's VMM is
called "svmon".  It has loads of options, and will output
information like the following example, clearly showing
the location of the program text.  It also shows all
segments associated with a process, including kernel
processes.  I highly recommend this program to all
system adminstrators.

Here's an example from an AIX server in our network:
Pid:   7913
Command:  e789

Segid  Type  Description       Inuse   Pin  Pgspace   Address Range
 70bc  pers  /dev/hd2:4579         2     0       0    0..1
 280a  work  shared library     1177     0    2227    0..2368 : 60123..65535
 2369  work  sreg3Y               6     0       6    0..5 : 65536..65535
 5417  work  private              54     2      46    0..114 : 65407..65535
  681  pers  code,/dev/hd2:10818  12     0       0    0..13

Here's an example of a nfs mounted executable from my /usr client:
Pid:   5448
Command:  syslogd

Segid  Type  Description       Inuse   Pin  Pgspace   Address Range
 3018  pers  /dev/hd4:2            1     0       0    0..0
 140a  work  shared library     1303     0    1701    0..1780 : 65471..65535
 3add  work  private              30     2      40    0..127 : 65404..65535
  ae5  clnt                        4     0       0    0..5

Just an aside, the shared library segment will be shared across ALL
programs that use any shared libraries, for efficiency, of course.
--
Mickey Coggins  mcog@chvm1.vnet.ibm.com
                +41-1-436-7274 or +41-1-436-8525 (fax)
                Hohlstrasse 560, CH-8048 Zurich, Switzerland
From: tdavis@ux2.cso.uiuc.edu (Todd Davis - Invoice)
Newsgroups: comp.unix.aix
Subject: AIX-Windows terminal emulation on PC?
Summary: Looking for AIXWindows terminal emulator that's PC based
Keywords: AIXWindows, terminal, emulation, PC
Date: 23 Aug 92 15:00:11 GMT
Organization: University of Illinois at Urbana

I don't know how off-the-wall this request is, so forgive me if it sounds
insane. :-)

I'm looking for a PC program that will allow the PC to run as a AIXWindows
terminal. The PC is connected to the RS/6000 via a serial connection. (No
modem involved - it's a direct connection.)

I don't care if the program is a stand alone program or requires Microsoft
Windows.

Any help is appreciated. Thanks in advance.
Todd Davis    tdavis@ux2.cso.uiuc.edu

-- 
 / Todd Davis                | Internet: tdavis@ux2.cso.uiuc.edu        \
|  B.S./Computer Engineering | C-Serve: 71042,2242  Radio Monitor KIL9MS |
|  University of Illinois    | Coordinates: 40 06' 47" N/88 13' 35" W    |
 \   at Urbana-Champaign     | America OnLine: TRDavis                  /
From: rick@ransom.msc.cornell.edu (Rick Cochran)
Newsgroups: comp.unix.aix
Subject: Recent Updates Related to Backup FYI
Keywords: backup
Date: 19 Aug 92 15:39:39 GMT
Article-I.D.: msc.1992Aug19.153939.7842
Organization: Cornell Materials Science Center


        bos.obj 3.2.0.0.U405871
IX27086 RDUMP WITH -B 100 LOSES 2/3 OF DATA.

 The restore command front end is unable to decipher the type
 of backup if the media is in "by inode" format.



        bos.obj 3.2.0.0.U405865
IX22214 SEMOP ERROR WAS GONE AFTER APPLIED APAR FIX IX17763, BUT A N

 backbyinode gives error "msgrcv: invalid argument".

IX24490 rdump/backup give "rewinding" message for norewind rmt device

 The backup by inode and rdump commands issue the "Tape
 rewinding" message even with tape devices that don't
 rewind on close.

IX27083 TAPE DEVICE SPEC SYNTAX FOR RDUMP.

 The unix 'dump' utility with which most of us are familiar
 provides the syntax, 'user@host:/dev/rmt0' for dumping to a
 remote tape device.  This is an important security feature in
 the following case:  the filesystem to be dumped resides on a
 host whose root password is known to individuals who should not
 have root access on the host which has the tape drive.  Since
 the 'rdump' must be run under the root or system user, and
 since the 'rdump' user must have '.rhost' privilege on the host
 which has the tape drive, security of the latter system is
 comprised.  The 'user@host:/dev/rmt0' syntax solves this
 problem by allowing the 'rmt' process on the tape drive host to
 be run under a different uid.
 to be run under a different uid.

IX28487 Unresolved reference during bind of restore

 rrestore and restbyinode needed updates to define a user.

-- 
|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: drewo@dcatlas.dot.gov (Andrew R. Orndorff)
Subject: Re: SUMMARY: NIS under AIX 3.2
Reply-To: Andrew Orndorff <dcatlas!drewo@uunet.uu.net>
 Organization: NHTSA Data Center, Washington, D.C., USA
Organization: U.S Dept. of Transportation
Distribution: na
Date: Tue, 18 Aug 1992 11:59:45 GMT

taylor@slc2.astro.ufl.edu (Charlie Taylor) writes:

	Well now, that explains the question I was just going to ask - we
had just configured our NIS services and ran into this particular problem
but couldn't make sense of where it was coming from. Thanks for posting this
information.

	As for IBM's response - fix the problem people.

>After speaking with AIX support in Austin, I learned that there was a request
>for a design change on this at one time but that they decided it was too much
>trouble to fix.  So it looks like we're stuck with it.  

>A couple of possible work arounds...

>1. run "touch /etc/passwd" every so often via cron.
>2. run "ps -U" every so often via cron.
>3. add some lines to you NIS makefile to go out and touch /etc/passwd on all
>   AIX clients when the passwd maps are updated.

>Charlie Taylor
>Department of Astronomy                

	One othe question I do have though - has anyone been able to get
NIS to work through a gateway?? For really idiotic reasons we have a couple
of our workstations on different subnets and they are unable to 'talk' to
the NIS servers - even when we try to set the server using the ypset 
command.

	General info - the workstations are at AIX 3.2.1 and the server
is at AIX 3.1.6 (but not for much longer).

	Thanks.

	Andrew Orndorff
	NHTSA Data Center

	Internet:	dcatlas!zeus.dot.gov!drewo@uunet.uu.net
	UUCP:		...uunet!dcatlas!drewo
Newsgroups: comp.unix.aix
From: bediger@nyx.cs.du.edu (bruce allen ediger)
Subject: SunOS "trace" equivalent?
Followup-To: poster
Summary: Does one exist under AIX?
Keywords: Kibo, trace, SunOS, AIX equivalent
Organization: Shergold Liberation Army
Date: Fri, 21 Aug 92 23:32:06 GMT


SunOS includes a nifty command called "trace".  It lets you see what system
calls an arbitrary process makes.  Here is the description:

     trace runs the specified command until it exits.  It  inter-
     cepts  the  system calls and signals of a process.  The name
     of the system call, its arguments and result are  listed  on
     the standard output.

     Each line in the trace contains the system call  name,  fol-
     lowed by its arguments in parentheses and its result.  Error
     returns (result = -1) have the error name and error  message
     appended.

There is a "trace" command under AIX, but it does something entirely different.
What is the name of the AIX equivalent to this function?


If you would be so kind as to respond to me or to davidk@r2.com, I would be
in your debt.
Newsgroups: comp.unix.aix
From: tmcconne@sedona.intel.com (Tom McConnell)
Subject: Re: AIX 3.2 - Can't use NULL pointers?
Originator: tmcconne@sedona
Keywords: X, lockups, BS
Reply-To: tmcconne@sedona.intel.com
Organization: Intel Corporation
Date: Mon, 17 Aug 1992 17:05:46 GMT


In article <-v9m3#d.fletcher@netcom.com>, fletcher@netcom.com (F. Sullivan Segal) writes:
> In article <1992Aug7.213644.12166@ncs.com> bruce@ncs.com (bruce parkin) writes:
  <stuff deleted>
>    Don't run the xlock program.  It doesn't work anyway.  (Ie: it
> doesn't lock the X server, <Ctrl><Alt><Bs> still exits the server,
> and leaves you with a login prompt if you've followed the previous
> suggestion.
>    Don't enable backing store for 3.1.5.  It seems to work fine
> in 3.2.
>    Try running the X server from a pseudo terminal.  (eg: "open xinit -bs").

  There are several ways of locking the terminal. You can do "xinit -T", which
will disable the "<Ctrl><Alt><Bs>" key sequence, for instance.

  I run "open xinit &" then logout. X is running in one "<Ctrl><Alt><Bs>"'able
window, but the login prompt is on hft/0. You can still cycle between windows
with "<Ctrl><Alt><Bs>", but since the login prompt is the only thing on the
other window, xlock in effect works.

  Under these circumstances xlock runs fine. In any kind of large or accessable
environment I would alway recommend locking your terminal.

> 
>    
>    
>    
> --
>                            -F. Sullivan Segal

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-21     |     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.
From: ccvj@misty.latrobe.edu.au (Vicki Jordan)
Newsgroups: comp.unix.aix
Subject: Re: info mounted from remote machine
Date: 18 Aug 92 01:24:12 GMT
Organization: La Trobe University

Make sure you do not have "set anything" in your .kshrc - I understand
that info is now a ksh script and passing it an argument will kill it.

(I don't know if/how this would affect man though)

Vicki Jordan

-- 
Vicki Jordan                               ccvj@misty.latrobe.edu.au
Computing Services
La Trobe University 
Bundoora Vic 3083 Australia
From: kupec@agouron.com (John W. Kupec)
Newsgroups: comp.unix.aix
Subject: mksysb now fails
Date: 12 Aug 92 19:55:53 GMT
Distribution: usa
Organization: Agouron Pharmaceuticals, Inc., San Diego, CA

For the 2 previous months, I had successfully used mksysb to back up 
my machine.  Now mksysb fails with (from smit.log):

[Aug 08 1992, 06:39:40]
    Command_to_Execute follows below:
>> mkszfile -f'' && mksysb '/dev/rmt0.1'

    Output from Command_to_Execute follows below:
---- start ----

bosboot: Boot image is 3097 512 byte blocks.
mkinsttape failed

0512-0016 mksysb: Attempt to create a bootable tape failed:
        mkinsttape /dev/rmt0.1 failed with return code 5.

---- end ----

Reading the mksysb script it looks like this is the step where the
bosinst image is written to tape.  Does the bosinst image not exist?
I've increased the sizes of /tmp & /var to:

/dev/hd9var       8192    7412    9%      87     4% /var
/dev/hd3         16384   15796    3%      27     0% /tmp

I have no manual pages for mkinsttape or bosinst.


Any hints as to the problem?  Thanks in advance.

-- 

John Kupec ( kupec@agouron.com )
Agouron Pharmaceuticals, Inc.
San Diego, CA  92121 (619) 622-3040
Newsgroups: comp.unix.aix
From: kstailey@leidecker.gsfc.nasa.gov (Kenneth Stailey)
Subject: Re: RS floppy disk problem ?
Organization: /kstailey/.organization
Date: Fri, 14 Aug 1992 04:34:13 GMT


>We're using a RS/6000-320 with an internal 3.5" floppy disk drive. This 
>drive seems absolutely broken. Nothing works, no read, no write, format, 
>...
>We heard a rumor that this is "normal" when you don't use the drive 
>frequently, because it gets dirty (due to the fans ?). 
>..
>And now we wonder. Are we the only people in the world suffering from this
>"normal" behavior, or is this a common problem.


Both my 520 & 320H are on their second floppy drives, I use the drives
almost every day.

 -----------------------------------------------------------------
	It's not just my .signature file, It's also a client!

replys to kstailey@gnu.ai.mit.edu or kstailey@leidecker.gsfc.nasa.gov
--
 -----------------------------------------------------------------
	It's not just my .signature file, It's also a client!

replys to kstailey@gnu.ai.mit.edu or kstailey@leidecker.gsfc.nasa.gov
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: AIX 3.2 - Can't use NULL pointers?
Date: 17 Aug 92 23:37:24 GMT
Organization: /etc/organization


From /usr/lpp/bos/bsdport:

   9.1.  Derefencing NULL Pointers

      The word at memory location zero contains a  zero.
      That  means  that  code which has been incorrectly
      written to use a NULL pointer to represent a  null
      string  will work, but will not be portable to all
      UNIX operating systems, and may not work on future
      AIX systems.

Hasn't anybody else read this?

-- 
 \   Charles Hannum, mycroft@ai.mit.edu
 /\  White heterosexual atheist male (WHAM) pride!
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.unix.aix
Subject: Re: Getting sendmail to be MXer (AIX 3.2)
Date: 20 Aug 92 00:22:57 GMT
Organization: /etc/organization


(This is not specific to AIX.  It should be in comp.unix.questions, or
a sendmail group if there is one.)

In article <86562@netnews.upenn.edu> david@penndrls.upenn.edu writes:
>
> What magic incantation do I need to put into the AIX 3.2 sendmail.cf
> file that comes with 3.2 in order to get it to accept mail as an MX
> host?

You need to specify rewrite rules that cause the mailer not to try to
forward mail for those machines.  How you do this depends entirely on
how your sendmail is currently configured.

One way you can cheat is to do something like:

  # Assume we have something like:
  #
  #   DDgnu.ai.mit.edu
  #
  # and we want to catch all mail for this domain.
  
  R$*@$-.$D	$:$1@$w

This `cheats' by rewriting recipients like `foo@bar.gnu.ai.mit.edu' to
be `foo@mailmachine.gnu.ai.mit.edu'.

But sendmail configurations vary so much that I cannot even tell you
approximately where you would want to put that.

-- 
 \   Charles Hannum, mycroft@ai.mit.edu
 /\  White heterosexual atheist male (WHAM) pride!
Newsgroups: comp.unix.aix
From: haedener@iacrs1.unibe.ch (Konrad Haedener)
Subject: GKS-CO in AIXwindows/3D
Keywords: GKS, graPHIGS, documentation
Reply-To: haedener@iacrs1.unibe.ch
Organization: University of Berne
Date: Mon, 17 Aug 1992 13:42:34 GMT

After licensing the 3D feature (graPHIGS, GL, PEX) for AIXwindows 1.2
I'm missing the documentation of the GKS-CO library (Graphical Kernel
System - Compatibility Option) in the graPHIGS component. As shipped,
I got the InfoExplorer files for PHIGS but a search for `GOPKS', e.g.,
yields no matches. Where are the on-line info files corresponding to
the paper pubs - SC33-8111
               - SC33-8112 ?

The LPS for AIXwindows 1.2 mention InfoExplorer support for Personal
graPHIGS publications as a component of the 3D feature. Where is
GKS-CO documented ?
-- 
Konrad Haedener                             Phone: +41 31 65 42 25
Institute for Physical Chemistry            FAX:   +41 31 65 44 99
University of Berne
Switzerland                                 haedener@iacrs1.unibe.ch
Newsgroups: comp.unix.aix
From: artn@bert.eecs.uic.edu (Ellyn Sandor)
Subject: HELP: Change blocksize on 8mm tape on RS/6000
Keywords: 8mm Tape RS/6000 Blocksize
Organization: University of Illinois at Chicago
Date: Wed, 19 Aug 1992 17:13:32 GMT


	Is there any way to change the blocksize on an RS/6000 8mm
tape drive?  After a lot of messing around, I finally figured out
that one of the problems with what I'm working on is that if I try
to write() a record with a number of bytes that is not a multiple of
1024 bytes, I get an "bad argument" message.  Is there a switch for
this, or do I have to work with it?
	I am trying to emulate tape formats for graphic arts systems,
including the LV3 format and DDES.  The LV3 format I was trying to write
wanted a blocksize of 36000 bytes, and DDES wants a bunch of 80 byte
headers written.
	Or... is this a dumb question?  Are 8mm tapes constrained
by convention to blocksizes that are multiples of 1K?  In other words,
do I just THINK the computer on the other end wants another blocksize,
but really, I should just be padding out the data?
	(Oh, yeah, if anyone is familiar with DDES, do the VOL1, HDR1, 
UHL1, etc records have to be (a) 80 byte blocks (b) padded to 1024 byte
blocks with one of these records in each block or (c) all the 80 byte
blocks lumped together in one 1024 byte block?  The ANSI standard does
not seem to deal with this, although the writing is sort of dense...)

	Thanks in advance!
				Stephan Meyers
-- 
--
Stephan Meyers | artn@uicbert.eecs.uic.edu
(Art)^n Laboratories, inventors of the Stealth Negative PHSCologram
(312) 567-3762
From: hesse@watserv1.uwaterloo.ca (BJ Cameron - DCS)
Newsgroups: comp.unix.aix
Subject: My backend is out of control (and it's not a pretty sight).
Date: 20 Aug 92 14:24:19 GMT
Organization: University of Waterloo


   I am attempting to replace the standard backend program PIOBE with my own
homebrew code.  For the most part, it works as designed; however, it seems
to have a bit of a problem detecting that the device it is talking to has
gone away.  By "gone away" I mean telling that the device (in this case
a printer) has been turned off or that the cable has been torn off, breaking
the connection between the RS6000 and the printer.  The method I use to
test this "loss of printer" is to tear the cable from the RS6000 side, that way
not being fooled by some wierd cable design.  Anyway, when I use PIOBE as
the backend the removal of the cable is detected and the queue goes down; when
I use my backend program the removal is not detected causing data to continue
to be sent to the serial port.

   Now, I have a feeling that my code should be detecting this change of state
but I'm not real sure how this is done.
Some questions:

1.  Is there a way (maybe an ioctl call) that will tell me if the DTR or DCD
signals have gone away?

2.  Is in fact the qdaemon or the device driver telling my program that the
device has gone away, but my program doesn't understand?  if so, which one?

3.  Is there a sample of a backend program that shows how this is detected?

4.  Better yet, is the source for PIOBE available?

Thanks... Bri
Newsgroups: comp.unix.aix
From: frank@poiro.enet.dec.com (Frank O'Neill)
Subject: networking software on RS/6000?
Reply-To: foneill@clada.enet.dec.com
Organization: Digital Equipment Corporation
Date: Thu, 13 Aug 1992 12:43:13 GMT



We've just installed an RS6000 running AIX 3.2.  Does the networking software 
come preinstalled or do we need to get additional software for TCP-IP, NFS ...
anything else?

We can't seem to find any relevant files and listing the installed software
via SMIT doesn't seem to indicate that these are installed.  If I'm missing
something, can someone please tell me how these can be set up?

Thanks,
Frank
Organization: Arizona State University
Date: Wednesday, 12 Aug 1992 15:07:16 MST
From: <ATPPH@ASUACAD.BITNET>
Newsgroups: comp.unix.aix
Subject:    xlf (2.2.1.3) preprocessor bugs


I have some problems with the preprocessors of xlf. My machine is a
RS/6000 530H running AIX 3.2 with xlf version 2.2.1.3. The machine has
64MB RAM and 356MB paging space.

The problems are:

Pk preprocessor (Version 02.02.0100.0000 2.12o5r3so3):
options used: optimize=5,roundoff=3,scalaropt=3,library-calls=essl,agressive=a

One line in the offending subroutine is translated incorrectly.
original statement:  s = 1.s0-dtexp(j-1,i)
translated into:     s = dtexp(ii1-1,i) + 1.d0
(sign of dtexp() is wrong, dtexp is an array)
The problem does not occur for optimize=2 and lower. The differences between
optimize=5 and 2 in the translated code are (a) the problematic line and
(b) two lines where () are placed around an expression (correctly).
I suspect a bug in the preprocessor here. I had this problem with an earlier
version but it seemed to be fixed in an IBM test version. However, the bug
is still in the xlf release that came with our AIX 3.2 upgrade.


Pv preprocessor: (Version 02.02.0000.0000 3.05F16)
options used: -Pv -Wp,-o,-ea478  (or -Pv -Wp,-ew,-ejr4789,-me,-o,-l,-pacrvz)
1. Problem: two subroutines give (many) error messages of the form
-->
51.00   1524-282: (I) Unable to allocate multidimensional temporary arrays.
47.00   1524-041: (I) Internal error detected.  Call service representative.
                     Internal segment WHRSET.
--<
the Translation continues and the translated code compiles.
The code does not work but up to now I have not found the time to
track down the loaction of the problem.

2. Problem: FORMAT statement label doubling occurs in another subroutine. The
prepocessor 'optimizes' (label V) an outer loop and the format statement with
this loop is simply doubled (tripled) without adjusting the label. This is a
redundant operation anyway.
The preprocessor reports no trouble, however, the compiler itself
generates an 'E' code error message (non-fatal).
These problems just gives annoying error messages without fatal errors as the
previous cases.

The first two problems cause the code to crash in obscure places, in particular
the first one (Pk) is nasty because it is 'quiet'.
The Pv-problems are indicated during compile time, so I was already suspecting
problems with the code before starting the run.
The subroutines are not long and I would be happy to send them to
somebody from IBM to try them and to fix the bugs.
My preferred E-Mail address is yeti@sara.la.asu.edu.

Best regards,
                                               Peter
		
                        Peter H. Hauschildt
                        Dept. of Physics and Astronomy
                        ASU
                        Tempe, AZ 85287-1504


Newsgroups: comp.unix.aix
From: williams@herky.cs.uiowa.edu (Kent Williams)
Subject: X11 R4??
Date: Thu, 13 Aug 1992 18:21:49 GMT
Organization: University of Iowa, Iowa City, IA, USA

Does anyone out there have a recipe for getting X11R4 compiled correctly
on a RS6000 running AIX 3.1 or 3.2?

I have muddled my way through the X11R4pl18 tape, and have libraries
and headers, but some clients work, & others don't.  I just need the
client side stuff, not servers.

To head off a few of the likely responses

1. No I don't want to get an R5 tape; we haven't done an R5 port of
our stuff yet.

2. (if AIX 3.2 includes R4) No I can't get 3.2 installed on the
system, for a number of reasons.

I could get by just fine if someone would just send me the files that
need to be in core.src/mit/config.

Thanks in advance!