HDTenEightyP/NetNews huggingface dataset:
From: liberk@jacob.its.rpi.edu (Katherine Libertucci)
Newsgroups: comp.unix.aix
Subject: tool to fix bad blks on boxhill disk
Date: 10 Nov 92 16:01:38 GMT
Article-I.D.: rpi.k8n1-=_
Reply-To: liberk@rpi.edu
Organization: Rensselaer Polytechnic Institute, Troy, NY.


	Greetings,

	 We recently had a situation where we had a disk go bad (non ibm) on
one of our afs file servers (rs6k model 530). We wanted to try and "fix" the bad block so we could access the remainder of the logical volume. 
	Disk certify would only go 75% of the way into the disk and then re-
cycle. fsck'ing the disk did not help either. Those of you using afs know that
we HAVE to use the AFS version of v3fshelper, not that I think that mattered.
	We called IBM and although very helpful considering this was a Box
Hill disk, could not give us any tools that would fix the bad blok without
hosing the rest of the disk.
	Does anyone out there know of anything?. I was looking into fsdb which
looks abit complicated but might work?
	One other question, can anyone tell me where to get the tool to decipher
the sense data that errpt -a puts out?.
	It sure would be helpful as our other disk in the same housing is
starting to complain.
	Please send replys to me direct.
	Thanks in advance for any assistance



             ,--!       Katherine Libertucci
       _ ___/ /\|       Unix Systems Programmer
   ,;`( )__, )  ~       ITS
  //  //   '--;         Rensselaer Polytechnic Inst. 
  '   \     |
       ^    ^
Newsgroups: comp.unix.aix
From: nick@osf.org (Nick Dokos)
Subject: Re: ksh question
Organization: Open Software Foundation
	<1992Nov4.071702.14484@awdprime.austin.ibm.com>
Distribution: comp
Date: 05 Nov 92 14:36:24 GMT


   Info says to use the START environment variable.  In my .profile, I have:

     START=$HOME/.kshrc
     export START

I did not find such a thing in info, but if it is there it is wrong.
The standard way is to define the variable ENV to point to your
per-shell initialization file - see pp. 78 and 182 of Korn & Bolsky's
book. The manual page for ksh states this explicitly too. Where in
Info did you find the START reference?




--
Nick Dokos	nick@osf.org	
OSF Systems Engineering

Member of the League for Programming Freedom - write to league@prep.ai.mit.edu
From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
Newsgroups: comp.unix.aix
Subject: Re: hft vs. hft/0 complicating xdm
Date: 5 Nov 92 15:36:48 GMT
Article-I.D.: constell.1992Nov5.153648.16038
Reply-To: dwight@geohub.gcn.uoknor.edu
Organization: Geosciences Computing Network, Univ. of Oklahoma
Originator: usenet@kittyhawk.ecn.uoknor.edu

In article <1d3mguINN4bh@terminator.rs.itd.umich.edu>, kens@css.itd.umich.edu (Ken Small)
writes:
|>Path:
|
constellation!convex!convex!egsner!ernest!m2.dseg.ti.com!tilde.csc.ti.com!cauldron!csc.ti.
.com!cs.utexas.edu!uwm.edu!spool.mu.edu!caen!destroyer!news.itd.umich.edu!stimpy.css.itd.u
umich.edu!kens
|>From: kens@css.itd.umich.edu (Ken Small)
|>Newsgroups: comp.unix.aix
|>Subject: hft vs. hft/0 complicating xdm
|>Date: 2 Nov 1992 16:54:54 GMT
|>Organization: University of Michigan ITD Consulting and Support Services
|>Lines: 17
|>Distribution: world
|>Message-ID: <1d3mguINN4bh@terminator.rs.itd.umich.edu>
|>NNTP-Posting-Host: stimpy.css.itd.umich.edu
|>Originator: news@stimpy.css.itd.umich.edu
|>
|>I've just upgraded one of my machines to 3.2.2, and now I find I can't
|>start xdm anymore.  The error I get is this:
|>
|>1362-011 The X Server can only be run from hft terminal.
|>error (pid 2589): server unexpectedly died
|>error (pid 2589): Server for display :0 can't be started, session disabled
|>
|>When I check to see what tty I'm on when at the console, I get:
|>/dev/hft/0
|>
|>Any ideas why this is happening?  I'm using a version of xdm that's been
|>modified by someone else, so I can't just recompile it.  Does 3.2.2
|>specify the terminal differently?  Thanks in advance.
|>-- 
|>Ken Small
|>kens@umich.edu
|>Consulting and Support Services, University of Michigan
|>

Look at the file /usr/lpp/X11/README.
This will provide some  hints and places to look.
The configuration files are in /usr/lib/X11/xdm.
 
My Xservers entry looks like:
     :0 local /usr/bin/X11/X -sdebug

On some machines we had a problem, so I had to use
 hostname:0 local /usr/bin/X11/X -sdebug

----------------------------------------------------------------------------
Dwight D. Moore
Geosciences Computing Network
University of Oklahoma

dwight@geohub.gcn.uoknor.edu (129.15.40.10)
These opinions do not necessarily represent the opinions of OU or the GCN.
----------------------------------------------------------------------------
Newsgroups: comp.unix.aix,bit.listsev.aix-l
From: lpc@dickens.com (Luis P Caamano)
Subject: ANSI tape labels utility
Date: Tue, 10 Nov 1992 21:17:33 GMT
Organization: Dickens Data Systems, Inc.
Keywords: ANSI tape labels

Does anybody know of any unix utility that supports ANSI tape labels
on reel-to-reel tapes?  As far as I know, the label follows a format
that have information about the tape and is written at the beginning
of the tape before the real data and also has a tail label after
the early warning.

Any source? pointers?

Thanks in advance for your time on this.


-- 
Luis P. Caamano                        |         lpc@dickens.com
Dickens Data Systems, Inc. Atlanta, GA |         uunet!dickens.com!lpc
---------------------------------------------------------------------------
If I think I know it all, I'll stop learning. -myself
The more I learn, the more I know I know nothing. -somebody else
Newsgroups: comp.unix.aix
From: kent@ziggy (Kent Tse)
Subject: Another login question
Reply-To: kent@ziggy.cs.mcgill.ca (Kent Tse)
Organization: SOCS, McGill University, Montreal, Canada
Date: Mon, 9 Nov 1992 20:59:03 GMT

     We have a network of RS/6000 Model 220's and the user passwords
     are stored using NIS.  There is a total of 7 valid user accounts
     other than the root account.  Only 4 of the 7 users can log in.
     These 4 users have UID's between 75-78, but the other 3 users
     have UID's between 2000-4000.  When they try to log in through a
     telnet session or directly on the console they get the following
     message:

     3004-010 Failed setting terminal ownership and mode.

     All the users belong to the same groups.  Any ideas?  Thanks in
     advance.

     					- Kent
Newsgroups: comp.unix.aix
From: rick@msc.cornell.edu (Rick Cochran)
Subject: Re: X11R5, AIX 3.2, xdm, ACKK!
Organization: /usr/lib/news/organization
Date: Fri, 13 Nov 1992 13:51:03 GMT

In article <1992Nov12.211214.29083@msc.cornell.edu> rick@jaguar.msc.cornell.edu (Rick Cochran) writes:
>Having serious trouble getting R5 xdm to work with AIX 3.2 on the console
>display running IBM's R4 server.  I haven't tried it with XStations yet,
>but I suspect it would work.
>
>The problem is that the X server "dies unexpectedly" several times and
>then xdm quits trying.
>
>Installing the BSD 4.4 netwoking patch to XConnDis.c does not solve the
>problem.  I suspect this patch is useful only if one is using the R5
>server (which we're not).

Additional data:

We have been using IBM's R4 xdm successfully for quite a while.  To do
this it is necessary to use the "-sdebug" option to IBM's X server so
that it will allow itself to be started by a process not being run
from the console.  However, "-sdebug" does NOT work for R5 xdm.

I need to use R5 xdm because that is the version I have with AFS
authentication added.

Contents of /tmp/aixfile after attempt to start xdm:
hftQueryCurrentDevice : unable to open tty device 
hftQueryCurrentDevice : unable to open tty device 

|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|
-- 
|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: gerth@watson.ibm.com (John Gerth)
Subject: Re: swap instruction in assembler?
Date: Fri, 06 Nov 1992 01:45:21 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

Actually you don't have go to assembler yourself to do this.
The C library provides cs(a,b,c) which does an atomic operation
to compare the 'b' to '*a' and if equal to store 'c'.

-- 
John Gerth	 gerth@watson.ibm.com		(914) 784-7639
Newsgroups: comp.unix.aix
From: jmaki@veivi.hut.fi (Jussi M{ki)
Subject: Re: Weird bug in AIX 3.2.2 ls
Organization: Helsinki University of Technology, Finland
Date: 6 Nov 92 09:20:14

This is seems to be fixed in bos-ptf U407548.
Here's fixinfo documentation of this fix:
---------
IX27760 ls -l core dumps with more than MAX_CACHE (255) owners          

 If ls -l has to display 255 or more file owner names
 it core dumps.
---------
Jussi M{ki                                 | Internet: jmaki@hut.fi
Helsinki University of Technology, Finland | Bitnet:   jmaki@fingate.bitnet
Computing Centre                           | Voice:    + 358 - 0 - 451 4317
Systems Support Division                   | Telefax:  + 358 - 0 - 464 788

Newsgroups: comp.unix.aix
From: nsd@ednor.bbc.com (Nick Duffek)
Subject: overwrite EOT on 8mm tape?
Organization: Boston Business Computing, Ltd.
Date: Mon, 9 Nov 1992 17:47:51 GMT

Does anyone know how to append a file on AIX to an 8mm tape that ends with EOT?
(Note that AIX only writes EOT when writing to a device file whose
rewind-on-close bit is set, i.e. /dev/rmt<n>, /dev/rmt<n>.2, /dev/rmt<n>.4,
/dev/rmt<n>.6).  I believe this is equivalent to overwriting any file starting
anywhere not at BOT.

Thanks for any assistance.

Nick
-- 
Nick Duffek		Boston Business Computing, Ltd.
nsd@bbc.com		Three Dundee Park, Andover, MA 01810
(508) 470-0444 x307	FAX: (508) 474-9244
From: tnr@csd.cri.dk (Torben N. Rasmussen)
Newsgroups: comp.unix.aix
Subject: Re: Automount and direct mounts
Date: 9 Nov 92 07:35:18 GMT
Organization: Computer Resources International A/S
X-Newsreader: TIN [version 1.1 PL6]


When will the patches be a part of the official delivery from IBM.
In AIX3.1 they had a patch for automount, then with AIX3.2 they delivered
the old one again.

Will the patches ever be included in the releases or are they different
products from different companies. It seems so.  :-(


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          |
+--------------------------------------+--------------------------------------+
From: kraemerf@franvm3.VNET.IBM.COM (Frank Kraemer)
Date: Mon, 9 Nov 92 08:58:46 CET
Newsgroups: comp.unix.aix
Subject: Re. Problems adding tape drives to RS6000/220
         Re: Problems adding tape drives to RS6000/220
Reply-To: kraemerf@franvm3.VNET.IBM.COM
Organization: IBM Germany, BO-89 ACIS South
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: Usenet 3.0

cary@jove.Colorado.EDU (John R. Cary) writes:

> 1.  Try to add the IBM 1/4 150 MB drive.  I get
> Method error (/etc/methods/cfgsctape):
>     0514-047 Cannot access a device

Your system does not find the tape during boot phase. For IBM tapes normally
plug them, switch them on, boot up the system and AIX automatically
configures them.

> I have tried #1 on an RS6000/320 and it works.  Is there something
> wrong with the 220's?

The 220 uses other SCSI cabels than your 320 are they ok. Check the SCSI ID
of your tape - maybe you have other devices using the same ID. Run
'lscfg -v' to display all devices.

frank ;-)








.----------------------------------------------------------------------.
| E-Mail: FRANVM3(KRAEMERF)                 - IBM VNET  "Yes, I'm one  |
| ======  IBMMAIL(DEIBM27S)                 - IBM-Mail   of those      |
|         DE.IBMX400.IBMMAIL.KRAEMER.KRAEME - X.400      stupid IBM    |
|         kraemerf@franvm3.vnet.ibm.com     - Internet   field SE's."  |
| Voice : +49-(0)611/776-364                                           |
| Mail  : Abraham-Lincoln Street 26, 6200 Wiesbaden, Germany           |
'----------------------------------------------------------------------'
From: ransom@perelandra.austin.ibm.com (Jeff Peek)
Newsgroups: comp.unix.aix
Subject: Re: Help: child processes not exiting properly.
Keywords: n
Date: 11 Nov 92 19:16:25 GMT
Organization: IBM PSPA - Austin, TX

The parent must either issue a wait system call (wait3, waitpid or wait), or the
parent must set the action for the SIGCHLD signal to SIG_IGN. Otherwise the process
table entry for the child (and that is all that is left) will continue to hang
around waiting for the parent to collect the exit status.

>
>Marcel
>marcel%mlogic.uucp@usc.edu
>
>p.s.: [My apologies if this has been covered here before; I'm not a regular  
>subscriber to this group and don't have access to any archives.]


-- 
Jeff Peek
AIX Operating System Architecture -- IBM Personal Systems Programming        
ransom@perelandra.austin.ibm.com 	VNET PEEK at AUSVM6 T/L 678-3913
Austin, TX
From: pa@curly.appmag.com (Pierre Asselin)
Newsgroups: comp.unix.aix
Subject: Re: /tmp Corrupted
Date: 6 Nov 92 17:13:34 GMT
Organization: Applied Magnetics, Goleta, CA

In <1992Nov5.225824.3656@netcom.com> lui@netcom.com (Stephen Lui) writes:

>Recently our /tmp file system started to fill up. I went to /tmp and deleted
>unnecessary files. However, this did not release any space in the file system
>according to df. I went ahead and deleted all of the files in /tmp and the
>file system was still 100% full! I ran fsck on /tmp and got...
>[...fsck errors, what else?]

I'll play Devil's advocate.  Scenario:

1) You have a rogue process that wants to eat all the space in /tmp.
2) You rm /tmp/*.  Most of the files go, but the ones that are still
   open by running processes remain as anonymous file.
3) Your rogue sees the extra space and immediately enlarges its
   anonymous temporary to fill the filesystem.
4) You get fsck errors because the filesystem is mounted and active.

I don't really believe the scenario myself, especially point 4.  You
might want to check it out, though.  Run /etc/fuser /dev/hd3 if the
problem comes back.
-- 

--Pierre Asselin, Magnetoresistive Head Engineering, Applied Magnetics.
  pa@appmag.com        the usual disclaimers apply.
Newsgroups: comp.unix.aix
From: jrh@jrh.uucp (James R. Hamilton)
Subject: Re: /tmp Corrupted
Organization: private system, Toronto, Ontario
Date: Sun, 08 Nov 1992 07:01:50 GMT

In article <1992Nov5.225824.3656@netcom.com> lui@netcom.com (Stephen Lui) writes:
>Recently our /tmp file system started to fill up. I went to /tmp and deleted
>unnecessary files. However, this did not release any space in the file system
>according to df. I went ahead and deleted all of the files in /tmp and the
>file system was still 100% full! I ran fsck on /tmp and got:
>
>
>** Checking /dev/hd3 (/tmp) MOUNTED FILE SYSTEM; WRITING SUPPRESSED; 
>** Phase 1  - Check Blocks and Sizes
>** Phase 2  - Check Pathnames
>** Phase 3  - Check Connectivity
>** Phase 4  - Check Reference Counts
>** Phase 5  - Check Inode Map
>The Inode map is not valid. (NOT SALVAGED)
>** Phase 6  - Check Block Map
>The Block map is not valid. (NOT SALVAGED)
>The integrity of the file system is not guaranteed.
>109 files 3576 blocks 37384 free
>
>To keep the system up, I created another /tmp file system and mounted it over
>/tmp. After later rebooting the system and running fsck (you can't run fsck
>and write to /tmp when it's mounted) the problem disappered. However, half a
>day later the problem repeated itself.
>
>After a few days the problem seemed to correct itself. However, today the
>same problem happened to /usr/ingres/files, a user-defined filesystem on a
>total different physical disk. Any suggestions?

    Many program open tmp files and then unlink them.  The effect of doing
    this is the file will not show up in the /tmp directory but it does
    continue to take up space as long as the program is alive and the file
    is open.  If the file is closed or the program terminates (due to any
    reason) then the space is freed up.  I suspect that you can figure out
    whether or not this is happening by attempting to un-mount the filesystem.
    This will fail if a process has a file open in that file system.  
 
    Incidentally, fsck should not be run on a mounted file system.

                          --jrh
-- 

James R. Hamilton                              inet: jrh@jrh.gts.org
telephone: +1 416 493 4162                     uunet: ...!uunet!jrh!jrh
Toronto, Canada                                work: jrh@torolab6.vnet.ibm.com
Newsgroups: comp.unix.aix
Subject: Need help getting interactive sessions
From: rapickering@miavx1.acs.muohio.edu
Date: 11 Nov 92 15:51:23 -0500
Organization: Miami University Academic Computer Service"

I was wondering if I could get some help from reader's of this group.

I'm trying to determine the best way to set up individual user accounts so
that they can either log into our IBM X-Stations and get a graphical front
end into the system, or log in through the network and get a useable command
line interface.

I'm sure there are lots of people doing exactly this, how are you accomplishing
it?  What login shells are you using?  If /bin/csh what does the .login look
like?  If /bin/sh what does the .profile look like?  Do you have a system wide
.profile or .login that can be changed in a single place to update all users to
new changes?

Thanks for all the help.  E-mailing me is probably the best way to handle
things and I'll post summaries if there is interest.  However, I read the group
frequently.

-- 
--                                                  
 Robert A. Pickering Jr.         internet:  rapickering@miavx1.acs.muohio.edu
                                 bitnet  :  pickerin@miamiu.bitnet
"The use of COBOL cripples the mind; it's teaching should, therefore; be 
 regarded as a criminal offense."     -E.W. Dijkstra
From: sivkumar@dolphins.ent.ohiou.edu (Krish Sivakumar)
Newsgroups: comp.unix.aix
Subject: ___SIMPLE TAPE/DISK WRITING NOT WORKING!____
Date: 7 Nov 92 23:10:44 GMT
Organization: College of Engg. & Tech., Ohio University, Athens, Ohio
Originator: sivkumar@dolphins.ent.ohiou.edu

Netters,

	I am a new user on the RS6000. But I dont see a reason why I am not able to
backup files to tape in the 8mm tape drive.
On a UNIX machine(Sun SPARC to be specific!) I ran a tar and piped it to a remote shell
om the AIX machine. The tape doesn't get written and a "write failed" message comes out.

Even a cat file > /dev/rmt0 or a cat file > /dev/rfd0 doesn't work on the AIX m/c.
But a file or system backup works fine with the SMIT utility.

It will be great if someone could tell me what I am doing wrong.
-----------------------------------------------------------------------------------
- Krish Sivakumar                               GOD IS REAL                       -
- Dept. of Mechanical Engg.			UNLESS DECLARED AN INTEGER        -
- Ohio University, Athens  			-----------------------------------
- OH 45701.                                     -
- (614)-593-7034                                -
-------------------------------------------------
- 
Newsgroups: comp.unix.aix
From: umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459)
Subject: Keybaord Pauses on Model 340
News-Software: VAX/VMS VNEWS 1.41    
Organization: Vanderbilt University
Date: Fri, 6 Nov 1992 20:25:00 GMT

We have two model 340's and two model 320H's. One of the 340 is at AIX 3.2.2
so are the two 320H's. One 340 is at 3.2.3. They are in the same network
enviroment, connected to network via tcpip.

The problem we are having is with the two 340s. As one types on the keybaord
occasionally one gets pauses where the typed characters are not echoed on
the screen after a second they are flushed onto the line. They behave just
like a slow or bad connection. BUT the same problem occurs on the console
as well (in an aixterm). The two 320H's have no problem at all. I have
originally suspected the ethernet connection of the 340s since they have
integrated adapters whereas the 320s have high perf eth adapter at ros level
28. However, this does not seem to explain the console behavior although
I know that X is always aware of the tcpip connections. The errlog does not
show any error for ent0. netstat -m did not give any error either for the
few times I tried.

Does anyoone have any idea what this could be due to? It is certainly very
annoying to all the users.

umar@compsci.cas.vanderbilt.edu         Prof.A.S. Umar
umarsa00@vuctrvax.bitnet                Department of Physics & Astronomy
Tel: (615) 322-2459                     Vanderbilt University
Fax: (615) 343-7263                     Nashville, TN 37235
Newsgroups: comp.unix.aix
From: tkevans@fallst (Tim Evans)
Subject: Re: a couple of questions (INSTALLP)
Organization: Tim Evans
Date: Wed, 11 Nov 1992 10:18:24 GMT

srao@beany.austin.ibm.com (Satish Rao) writes:

>In article <1992Nov6.150923.6837@ms.uky.edu> paul@acus1.cc.uky.edu (paul linton) writes:
>>First question:
>>back when 3.1 wasn't "GOLD" i was getting updates about every week or two
>>and i learned one could 'copy' the install tape to disk and do install/update
>>with the directory being the install device and it saved LOTS of time once
>>the installation began.  I wanted to do this with the latest tape I received
>>but I havent done the above in a long time.  I tried (restore -Tf/dev/rmt0.1)
>>but it said not in backup format.  Any ideas?
>>
> You can use bffcreate to do this by taking the following path in SMIT:
> 
> smit installp
>  Standard Installation & Maintenance
>    Software Installation & Maintenance
>      Copy Software to Hard Disk for Future Installation

Just watch that bffcreate does *NOT* extend your target filesystem as
the smit screen suggests.  It does not extend filesystems.
-- 
UUCP:		{rutgers|ames|uunet}!mimsy!wb3ffv!fallst!tkevans
INTERNET:	tkevans%fallst@wb3ffv.ampr.org
Tim Evans	2201 Brookhaven Ct, Fallston, MD 21047
Organization: Ryerson Polytechnical Institute
Distribution: na
Date: Monday, 2 Nov 1992 13:06:07 EST
From: Paul Ribeiro <ACAD8012@RyeVm.Ryerson.Ca>
Newsgroups: comp.unix.aix
Subject: Mail & News on RS/6000

Has anyone done any work on porting Pine/Imap to a 6k box? how much
work is it?. Also, anyone using a 6k box as a news server? if so,
which software are you using?
many thanks,
/Paul
Newsgroups: comp.unix.aix
Subject: aix/370 problems with fread
From: laszlo grunfeld <LAZBM@CUNYVM.BITNET>
Date: Thursday, 29 Oct 1992 15:38:15 EST
Organization: City University of New York/ University Computer Center

I am trying to port a c program from sun to aix/370

When doing an fread , the read completes succesfully, but many var's
(not involved with the read) get garbage values.

Its a large program and i am unable to isolate the problem.Maybe the
compiler gets confused with some structs.
I am new at unix & c and would appreciate any suggestions.

thanks
laszlo