HDTenEightyP/NetNews huggingface dataset:
From: adennie@sweetjane.hyperdesk.com (Andy Dennie)
Newsgroups: comp.unix.aix
Subject: swap instruction in assembler?
Date: 6 Nov 92 00:20:41 GMT
Reply-To: andy_d@hyperdesk.com
Followup-To: comp.unix.aix
Organization: HyperDesk Corporation, Westboro, MA


I need to implement a semaphore-like test-and-set operation in assembler
on the RS/6000.  The functionality is: if an address contains a 0, set
it to 1 and return 1; if it contains a 1, return 0.

Since the address is in shared memory, I need to worry about another
process getting the time slice between my test and my set, and setting
it before I get the chance to set it myself.

What I'd like to do is:
     store 1 in register
     swap register with address
     if register contains 1, the semaphore belongs to somebody else,
          so return 0
     otherwise return 1

My problem: I don't see a swap instruction in the manual.  Is there
another instruction that might do what I want?

Thanks for your help,
     Andy Dennie
-- 
Newsgroups: comp.unix.aix
From: westes@sti.com (Will Estes)
Subject: Use Of 10-BaseT With AIX...experiences?
Organization: Mail Group
Date: Mon, 9 Nov 1992 02:20:15 GMT

I'm wondering if others out there are using 10-BaseT with AIX, and what
have been your experiences with it, good and bad?  In our situation, we
want to get all of the PCs onto 10-BaseT connecting through the hub to a
Netware/386 box.  The question is should we put the AIX system onto the
same net via 10-BaseT, or do we go by ethernet from AIX to the hub?  Any
reasons to favor ethernet over 10-BaseT with AIX?

-- 
Will Estes		Internet: westes@netcom.com
Newsgroups: comp.unix.aix
From: philip@cgin.cto.citicorp.com (Philip Gladstone)
Subject: Casual use of SLIP
Date: Fri, 6 Nov 1992 01:41:22 GMT
Organization: Citibank
X-Newsreader: Tin 1.1 PL4

I'm interested in having a slip login available -- i.e. you can login
as a slip user or an ordinary user. My experiments with this have
been unsuccessful, and I have concluded that under AIX 3.2, a line
either runs SLIP or it is available for login, but not both.

If anyone knows different, could they drop me a couple of hints!

Philip

-- 
Philip Gladstone
Citicorp Global Information Network
I don't speak for Citicorp. I presume that somebody else does!
Newsgroups: comp.unix.aix
From: johnf@shared.com (John Fusselman)
Subject: Re: Tape Drive Question
Date: Thu, 12 Nov 92 18:15:08 GMT
Distribution: usa
Organization: Shared Financial Systems

In <1992Nov7.233230.5951@awdprime.austin.ibm.com> whitey@hellcat.austin.ibm.com writes:

>Does anyone know how to make the 1/4 SCSI tape drive on a 6000 write
>in low-density mode where it is compatible with the 6157 tape drive
>unit for the RT? I have tried using 15 and 16 density by using the
>different /dev/rmt0.X special files but I still cannot read a tape on
>an RT written from a 6000. It does work the other way around though.

I expect that your RT's tape drive writes QIC-24 format, allowing 60
megabytes per 600 foot tape, while your RS/6000 writes QIC-150 or
QIC-120 only, 150 or 120 megabytes per tape, respectively. A QIC-150
format writing drive can read QIC-24, but the QIC-24 writing drive
can't read the higher density tape. In other words, higher density
drives are backwards compatible in reading tapes but are limited to
writing high density only. 

Note that once upon a time drives wrote QIC-11 format, 30 megabytes per
tape max, and as newer systems were delivered with the ever changing
state of the art standards - at that time QIC-24, they could read tapes
written with older drives but write only the new standard.
-- 
 --->>> My comments are my opinions and may not be shared by Shared <<<---
Newsgroups: comp.unix.aix
From: gerrit@vtm.be
Subject: Slip & ping
Date: Thu, 12 Nov 1992 09:35:21 GMT
Organization: Vlaamse Televisie Maatschappij N.V.

Hi there,

I've a question about configuring SLIP. We have two ethernet backbones which
have diferent network numbers. On both networks there is an IBM RS/6000
running AIX 3.2 connected. Both machines are connected to each other with a
leased telephone line. So we tried to configure slip between those machines.
It is possible to do a login session (rlogin) over the network from one
machine to the other machine. But a ping to another host (non-IBM) on the
other network doesn't work ! While a ping from the IBM on the same network to
the "another host" still works.
Also we used to have a possibility to login from a mac on the network using
MacTCP to both machines but this possibility vanished after a reboot. And I've
tried to do the configuration steps again but nu luck so far!!!

Am I overestimating SLIP (no I suppose) or am I doing something wrong or have
I forgotten to do something.....
-- 
Gerrit Cap						 {gerrit@vtm.be}
Vlaamse Televisie Maatschappij N.V.
Luchthavenlaan 22
1800 Vilvoorde
Newsgroups: comp.unix.aix
From: shair@barolo.cso.uiuc.edu (Bob Shair)
Subject: Re: Virtual Memory curiosity
Reply-To: shair@vnet.ibm.com
Organization: IBM Champaign
Distribution: usa
Date: Fri, 13 Nov 1992 16:43:17 GMT
Keywords: VM overflow response

dneedham@oucsace.cs.ohiou.edu (Douglas Wade Needham) writes:
>
>Now here is one for thought...look for an executable that is swapped, flush
>the text from the swap space (since it is supposedly read-only, and therefore
>reproducable), and then mark the pages as not having been loaded.  After that,
>leave it to demand paging to pull it back in again.  Then you can think of it
>as a secondary swap with larger overhead. 8)

Good idea, but not for AIX.  Don't think AIX ever swaps the read-only stuff
out in the first place.
--

Bob Shair                          shair@vnet.ibm.com
Scientific Computing Specialist    SHAIR@UIUCVMD (bitnet)
IBM Champaign
From: tnr@csd.cri.dk (Torben N. Rasmussen)
Newsgroups: comp.unix.aix
Subject: Problems reading backup
Date: 12 Nov 92 16:41:33 GMT
Organization: Computer Resources International A/S
X-Newsreader: TIN [version 1.1 PL6]

I doesn't seem to be able to read my backup tapes i created with the followng
command:

/etc/rdump -0 -d 6250 -s 33000 -cuf hyperion:/dev/rmt0.1 /home

on a 2.3G 8mm tape drive defined as having variable length block size.

I am trying to read it with this command:

restore -tqv -s 1 -f/dev/rmt1.1

and get this error message:

Media error: can't read backup

Does anybody have an idea of what is going wrong.

I am able to read distribution tapes from IBM.


Torben N. Rasmussen

+--------------------------------------+--------------------------------------+
| Torben N. Rasmussen                  | email       tnr@csd.cri.dk           |
| Computer Resources International A/S | phone       +45 45 82 21 00 ext. 3248|
| Bregnerodvej 144                     | direct dial +45 45 82 22 66 + 3248   |
| DK-3460 Birkerod, Denmark            | fax         +45 45 82 01 22          |
+--------------------------------------+--------------------------------------+
Newsgroups: comp.unix.aix
From: brent@uwovax.uwo.ca (Brent Sterner)
Subject: FAQ? emacs? PD software list?
Organization: University of Western Ont, London
Date: Thu, 12 Nov 1992 17:18:58 GMT

   Greetings all.  I'm very new to aix (and unix in general).  Just at
   the beginning of the learning curve of aix system administration,
   so to speak.  (If it matters, by background is VMS.)  I expect that
   I'll find a lot of answers here as time goes by.  

   3 initial questions come to mind:

a) Does this group have a FAQ?

b) I'd like to implement emacs on the aix system I'm using.  Any pointers
   to emacs for aix?

c) Is there a periodic posting of known PD software and source locations
   (ftp? server based?) where they can be had?

   If these questions have all gone by lately (say in the last 2 weeks),
   please email to me.  On the other hand, if these issues are new, perhaps
   posting would benefit a wider audience.  Your help is appreciated.

   Thanks,  b.
--
Brent Sterner                       Manager, Academic Technical Support
Fast:       <BRENT@uwovax.uwo.ca>   <129.100.2.13>
Telephone:  (519)661-2151 x 6036    Fax:   (519)661-3486
Slow:  Computing & Communications Services, Natural Sciences Building
       The University of Western Ontario, London, Ontario, Canada  N6A 5B7
Newsgroups: comp.unix.aix
From: herbert@lagadia.gnosys.de (Herbert Niederle)
Subject: Volume Groups
Keywords: Volume Groups
Reply-To: herbert@lagadia.gnosys.de
Organization: GnoSys Software
Date: Wed, 11 Nov 1992 21:30:34 GMT

Has anybody ever seen the following problem:

If you define an additional volume group besides the rootvg consisting of one or
more disks, you are able to create a new filesystem and mount this filesystem.
If you reboot your machine your volume group seems to be available, but you
are no longer able to mount the filesystem. The error message from the mount
command is something like "the media seems to be unformated". 

The only way to proceed is to redefine the volume group, create the filesystem
again and mount it. And of course you will loose all your data ;-(

By the way it is no problem to add an additional disk to the rootvg.

We run AIX 3.1 :-(


---
+-------------------------------------------------------+
|Herbert Niederle		Tel: (+49) 89 3083746	|
|GnoSys Software		Fax: (+49) 2156 41485	|
|							|
From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
Newsgroups: comp.unix.aix
Subject: Re: PC shutdown-RISC Logoff
Date: 9 Nov 92 19:17:24 GMT
Organization: IBM AWD, Austin

In article <16897B98D.CRAWFD@lexmark.com> CRAWFD@lexmark.com writes:
>We have several users accessing an application running on the RISC/6000 from
>their pc running different X-Windows emulators.  The problem is these users
>often shutdown their pc without logging off the RISC/6000.  Any processes
>they we're running remain "active".  Is there any way to automatically log
>the user off the system when his/her pc is shutdown??  Or what would be
>the preferred method of killing inactive processes??  Is there any process
>that can be started to run in the background to check for inactive processes??

I sent your question to a super genius X socket guy, who said this:

"This should happen on 3.2 only.  3.2 libX11.a did not set socket option
SO_KEEPALIVE when the connection was established.  3.1 did that.
This was fixed by defect 69654, IX31099."

I can't tell if the PTF for this APAR is ready to order yet or not.  It
looks like it probably is not, but is getting close.  My guess, from
looking at the test records, is that it will be ready in a week or so
for customers to order.

-- 
--
curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
My views are unrelated to those of IBM     |        Austin, TX
 - Begin means testing of Social Security, Medicare and Farm Subsidies now. -
Newsgroups: comp.unix.aix
From: dag@atomica.fi (Dag Nygren)
Subject: Re: What has IBM done to the internal SCSI-connector ?
Organization: Oy Atomica Ab, ESBO, FINLAND
Date: Mon, 09 Nov 1992 15:58:48 GMT
Keywords: SCSI RS/6000 connector

shieh@austin.ibm.com writes:


>In article <1992Oct28.113718.29814@atomica.fi>, dag@atomica.fi (Dag Nygren) writes:
>> Hi there,
>> 
>> Q1.
>> 
>> I am trying to connect a 3.5" 3-party disk to the internal
>> SCSI-connector of an RS6000/220 and can't even get the disk to spin up.
>> (No, it is NOT the 'spin up' jumper).
>> 
>> The same disk connected to the external connector works just fine.
>> 
>> Q2.
>> 
>> Connecting a WangDAT drive to another machine (RS6000/330) I can't even
>> get the machine to spin up it's internal disks. I have checked SCSI-ID:s,
>> terminators and cables.
>> 
>> 
>> Any clues.
>> -- 
>> Dag Nygren					email: dag@atomica.fi
>> Oy Atomica Ab				or     santra!atomica!dag
>> Box 22 (Ahventie 4A)
>> 02170 Esbo

>Dan,
>	You don't happen to have the scsi ribbon inverted do
>you?  The ribbon "key" is not on there, so you may have inverted the
>ribbon without realizing it.

Actually the key is there but on the wrong side !

Yes, we already solved the problem, thankyou. It seems like IBM put the 
RS6000/220 internal connector the wrong way round.(by purpose ?)
It was quite easy to see this after we got the pinout of the connector
from IBM; Getting it was quite hard though :-( .

Thankyou to you all that responded anyway.



-- 
Dag Nygren					email: dag@atomica.fi
Oy Atomica Ab				or     santra!atomica!dag
Box 22 (Ahventie 4A)
02170 Esbo
Newsgroups: comp.unix.aix
From: lucien@watson.ibm.com (Lucien Van Elsen)
Subject: Re: chown() symbolic links?
Date: Tue, 10 Nov 1992 15:18:30 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J Watson Research Center

nsd@ednor.bbc.com (Nick Duffek) writes:

>AIX chown(symbolic link) affects the file to which the symbolic link points,
>while all other UNIXes with which I've experimented affect the symbolic link
>itself.  Does anybody know how to chown() symbolic links on AIX?

This is a change introduced in 3.2 for conformance to the OSF AES, so you're
likely to see similar behavior on other platforms soon.  With this change,
unfortunately, there will be no way to change the owner of a symbolic link.

	-Lucien
--
-----------------------------------------------------------------------
Lucien Van Elsen                                          IBM  Research
lucien@watson.ibm.com                                     Project Agora
From: auvnele@acis11.tamu.edu (Eric L. Nelson)
Newsgroups: comp.unix.aix
Subject: SLIP with other than another rs6k
Date: 9 Nov 92 16:47:44 GMT
Distribution: comp.unix.aix
Organization: Computer Science, Texas A&M University

I just got the latest version of versa-term for the mac which supports
slip. I've just spent all day trying to set this up. I know it
partially working because if I do a netstat then there are a few (3)
sockets in the SND_RCVD state from the mac... but the telnet from the
mac wont complete and I cannot ping the mac from the rs/6000... it
says "network is down". 

Has anyone gotten SLIP working with anything other than another rs/6k?

Any ideas?
--
----------
                                   || Eric L. Nelson (Eric.L.Nelson@tamu.edu)
    _/_/_/_/                       || Research Associate
   _/        _/_/_/    _/  _/_/_/  || Autonoumous Underwater
  _/_/_/    _/   _/   _/  _/   _/  || Vehicle Controller Project
 _/        _/_/_/    _/  _/        || Texas A&M University
_/_/_/_/  _/   _/   _/   _/_/_/    || (409) 845-0085
Newsgroups: comp.unix.aix
From: fsset@bach.lerc.nasa.gov (Scott Townsend)
Subject: rcp strangeness
Organization: NASA Lewis Research Center [Cleveland, Ohio]
Distribution: na
Date: Fri, 13 Nov 1992 14:01:21 GMT

Sorry if this is a FAQ, but I'm new and haven't seen a FAQ posted yet.

I'm having problems with rcp from an SGI box to AIX.  For some strange
reason rcp wants to truncate (!?) files after they're copied.  If it can't
(like when the source file is write-protected) I get a message:

lace08 38> rcp bach:/r/simulation/fsset/mstage/\* .
rcp: /r/simulation/fsset/mstage/1.0p: not a plain file
rcp: /r/simulation/fsset/mstage/1.4: not a plain file
rcp: /r/simulation/fsset/mstage/1.6: not a plain file
rcp: can't truncate ./Makefile: Permission denied
rcp: /r/simulation/fsset/mstage/SCCS: not a plain file
rcp: can't truncate ./apsolv.f: Permission denied

I don't have any problems with 'not a plain file', those are directories;
but what's with this truncate stuff?  Note that the entire file _does_ get
copied.  Also, the above example attempt got hung after 4 of 114 files.
I had to cancel the command with control-c to get a prompt again.

For whatever it's worth, I don't have this problem with other brands of UN*X
on other boxes.  And here's uname output if that helps:

lace08 41> uname -a
AIX lace08 2 3 000012395C00



-- 
Scott Townsend,  Sverdrup Technology Inc.  NASA Lewis Research Center Group
fsset@bach.lerc.nasa.gov
From: shapiro@sputter1.fullerton.edu
Newsgroups: comp.unix.aix
Subject: IPL 1.0 Gigabyte Drives
Date: 12 Nov 92 17:57:06 GMT



	I am considering the purchase of an external 1.0 Gigabyte disk
drive from IPL Systems for my RS-6000 model 320.  IPL says that the drive
(model W200-002) itself is manufactured by IBM, and that it can be
installed quite easily by the user.  Their price is considerably less
than IBM's price for the same drive.  (I assume IPL makes their own
enclosure and power supply).

	If anyone has had any experience with this particular product
from IPL Systems, I would greatly appreciate your comments - good or
bad.  Please respond directly via e-mail.

Mark H. Shapiro
Physics Department
California State University, Fullerton
(Obviously we don't have money to waste!!!)
e-mail: mshapiro@fullerton.edu
From: rokosz@uservx.plk.af.mil
Newsgroups: comp.unix.aix
Subject: want to trace CPU usage by group
Date: 12 Nov 92 12:41:01 GMT
Article-I.D.: uservx.1992Nov12.124101.36444
Organization: Phillips Laboratory - Kirtland AFB


     We have just installed an RS/6000 and want to charge its users for CPU
usage.  AIX accounting can (apparently) make monthly usage charts per username.
However, we have users that may want to charge their work to multiple accounts,
defined by four-digit charge codes.  We thought that we could store this
charge code in the Group ID field for each user as their primary group, as
well as define additional charge codes for each user in /etc/group.  We assumed
that users could change their group on the fly, thus changing their charge
code.  The problem is that AIX accounting (apparently) doesn't trace usage by
group.  So I have three options:

	1.  (preferably) find some way to get AIX accounting to trace usage by
            group - does anyone know how to get this to come about?

	2.  keep track of charge codes for each user in some (as yet unknown
            to me) field that AIX accounting CAN trace usage by - does anyone
            know of an additional field to use?

	3.  if a user has multiple charge codes, give that user multiple
            accounts to log into, each with a group ID related to each code

     Would like to create a monthly report similar to the following:

     Username            Charge Code            CPU usage
     --------            -----------            ---------
     rokosz                3777                    xxx secs
     rokosz                2223                   xxxx secs
     jonesl                4207                     xx secs
     jonesl                3777                    xxx secs
     smithb                2223                    xxx secs

						Randy Rokosz
						rokosz@plk.af.mil
						Phillips Lab - Kirtland
						(505) 846-6108
Newsgroups: comp.unix.aix
From: dhp@secapl.com (David Pfister)
Subject: Re: Problem with restoring from system backup on AIX 3.2
Date: Sat, 07 Nov 1992 05:23:16 GMT
Organization: Security APL, Inc.

In article <1992Nov6.194259.9076@tc.cornell.edu> mdw@theory.TC.Cornell.EDU (Matt Welsh) writes:
>This is an inane question, but I've been beating my head against the wall
>all week trying to figure out why this won't work. Basically I've done
>your ye olde generic mksysb via smit of an AIX 3.2 system that I'm setting
>up. The backup's being stored on 8mm tape, just /dev/rmt0.1 on the system.
>This backup is of a freshly-built system; I'm working on installing a lot
>of software and want a working bootable system backup before I go on.
>
[...]
>
>
>	/sbin/rc.boot: /usr/lpp/bosinst/bosmain: not found
I saw the same problem when I tried using an install/maint diskette
created from a 3.2.0 machine with no fixes applied.  I created a new
install/maint diskette from a machine that had some 3.2.2 fixes and everything
worked fine.  I don't know which PTF fixes this problem but it must be
in 3.2.2 somewhere. Does anybody know the PTF that fixed this problem?

If you need to use this backup tape you can boot from some newly created
floopies (or tape) and install your mksysb after it has booted and before
you give it the final 'REINSTALL' command.

David Pfister
dhp@farstar.secapl.com
From: gerth@watson.ibm.com (John Gerth)
Newsgroups: comp.unix.aix
Subject: Re: 3270 Problem/Questions
Date: 12 Nov 92 02:09:55 GMT
Organization: IBM T.J. Watson Research Center
Disclaimer: This posting represents the poster's views, not necessarily those of IBM

IBM sells an X-based 3270 emulator as the product 'x3270'.
It supports fonts, 3270 programmable symbols for graphics, APL,
and national languages.  It is available for S/6000 and Sun
systems (at least).

-- 
John Gerth	 gerth@watson.ibm.com		(914) 784-7639
Newsgroups: comp.unix.aix
Subject: Re: Does anyone have an example of a decent .netrc file?
From: graeme@ccu1.aukuni.ac.nz ( Graeme Moffat)
Date: Fri, 13 Nov 1992 10:51:27 GMT
Distribution: comp
Organization: University of Auckland, New Zealand.

brian@dsm.fordham.edu (Brian Downing) writes:

>As per the subject line: Does anyone have an example of a decent .netrc file?
>We just put our AIX box on the net and I'd like a whole bunch of
>entries in my .netrc file for autologon to various anonymous sites.

machine ab.cd.efg login whoever password whatever       <- must be mode 600!
machine tu.vw.xyz login whoever                         <- better
 ...     ....    ...   ....
default login anonymous password myname@my.domain.name  <- ???

I do all my international ftp'ing from a SGI (Irix 4.0.5) & .netrc is as above.
I've just tried it on AIX 3.2.2 & guess what? The default line doesn't work.
Sigh.

-- 
Graeme Moffat                g.moffat@aukuni.ac.nz \ Time wastes us all, 
Computer Aided Design Centre,  Fax: +64-9-366-0702 /  our bodies & our wits
School of Engineering,    Ph: +64-9-737-999 x8384 /  But we waste time,
University of Auckland, Private Bag, Auckland, NZ \   so time & we are quits
From: dla@se05 (Doug Acker)
Newsgroups: comp.unix.aix
Subject: Re: Using ACLs (with acledit) on 3.2.0
Date: 12 Nov 92 03:24:04 GMT
Organization: Western Geophysical Exploration Products

-- 
Douglas L.Acker                Western Geophysical Exploration Products
____    ____     ____          a division of Western Atlas International Inc.
\   \  /   /\   /   /\         A Litton / Dresser Company
 \   \/   /  \ /   /  \        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: jeffk@cdibm.fnal.gov (Jeff Kallenbach)
Newsgroups: comp.unix.aix
Subject: Re: CD Player program - WHERE ?
Date: 5 Nov 92 18:40:33 GMT
Reply-To: shah@fnalb.fnal.gov
Organization: Fermi National Accelerator Laboratory, Batavia IL
NNTP-Posting-Host: cdibm.fnal.gov

I recently posted notification of a cd player called "xcd" which was available
from cdibm:~ftp/pub.  Apparently there is another, full-function player by that
name.  The one I have was originally called "cdplay" and the tar file has 
been correspondingly renamed.  Apologies for any confusion which resulted.

==================================================================
 
Jeff Kallenbach                          JEFFK@FNALO.FNAL.GOV
Fermi National Accelerator Lab           PHONE: (708)840-2210
Physics Analysis Tools                   FAX:   (708)840-2783
Graphics & Human Interfaces
 
==================================================================
From: jgm@epcc.ed.ac.uk (James(Hamish) G. Mills)
Newsgroups: comp.unix.aix
Subject: Serial Optical Link
Date: 13 Nov 92 12:25:28 GMT
Organization: Edinburgh Parallel Computing Centre

Dear all,

I do not know whether this group is the most appropriate to sent to
but....  I am looking for anyone who has experience using the `native
mode' (device driver interface, used to be called IMCS I think?) to the
Serial Optical Link for RS6000s.  If anyone out there is willing to
answer some questions could they please get in touch via e-mail
(jgm@epcc.ed.ac.uk).  If anyone can suggest other groups to which this
query could usefully be sent then likewise, get in touch. 

Cheers,

  James.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
James(Hamish)Mills : Edinburgh Parallel Computing Centre : jgm@epcc.ed.ac.uk
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-