HDTenEightyP/NetNews huggingface dataset:
From: yar@cs.su.oz.au (Ray Loyzaga)
Subject: Re: Strange behaviour of df and /tmp
Reply-To: yar@cluster.cs.su.oz (Ray Loyzaga)
Organization: Basser Dept of Computer Science, University of Sydney, Australia
Date: Mon, 20 Jul 1992 23:22:43 GMT

In article <1992Jul20.152235.20345@news.uakron.edu> david@vax1.cc.uakron.edu (David Sumitra) writes:
>The system is Ultrix 4.2 on vax 11/785. I have a strange behaviour of
>'df'. It shows 65% full on /tmp. Whereas infact, it is empty according
>to 'ls -la'. The 'du' on /tmp seems to agree with 'ls'.

Are you sure that /tmp was mounted at the time? or was the df reporting
the status of the root partition ... assuming it was mounted ...
>
>According to DEC whom I called for help, this could occur when a process
>unlinks a file and just hangs or sits for a while to complete. DEC says
>since the file is unlinked it is not easy to get its inode to remove
>it.  It seems it is the standard feature with all unix based file

This is the Unix way of making sure that the file will be removed at the
end of the process. 

>systems and not just the Ultrix.  The suggested solution is to unmount
>/tmp file system and to run 'newfs'.  This for me, as an SA is not a very

That is not the way, for one thing the /tmp will not unmount while
there is a process referencing it. Once the process is tracked down
(you can probably use fuser) if it is malicious or otherwise unneccessary
you can kill it and the disk blocks will be returned to the free list.

>happy situation.  This means, that any malicious user can make /tmp full
>requiring a newfs to clear it. This may possibly require a system down 
>time also, as the open file may not allow unmounting /tmp.

Under normal Unix, any user can fill a filesystem that he has write
permission and no quotas, /tmp is just one instance of this (we
have a much fuller set of resource controls here).
It should NEVER require a newfs to fix it, either remove any file
that is taking up the space or kill the process that holds the
last reference to an already unlinked file.

>I have on my system the PD 'ofiles' which is supposed to give the user i.d
>and inode of all open files. For some reason this did not show me the
>file that was causing the /tmp full. Luckily for me, just before I was
>getting ready to umount /tmp as suggested, the file seemed to have 
>cleared by itself after about 4 hours.

ofiles is probably broken, the process that was referencing the file
probably finished, so you got the blocks back.

>Is this a normal unix file system behaviour? Is there no other way 
>(other than newfs) an SA can clear a /tmp in this situation?

The behaviour is very normal.

Newsgroups: comp.unix.ultrix
From: csal@knuth.mtsu.edu (Al Cripps)
Subject: changing IP address
Organization: Dept. of CS, Middle TN State Univ, Murfreesboro, TN
Date: Fri, 31 Jul 1992 01:19:23 GMT

Is there an easy way of changing the IP address of an ultrix 4.2 LAN
after the system has been built?  I'm running NFS and Yellow Pages.  I
want to change the server and all clients on the network.  If I have to
rebuild the systems, it will take days of work!

Thanks,

Al Cripps
csal@mtsu.edu

Newsgroups: comp.unix.ultrix
From: heiney@wsl.dec.com (Bob Heiney)
Subject: Re: pm graphics device driver under Ultrix 4.2A?
Keywords: ultrix 4.2 pm graphics
Organization: Western Software Lab
Date: Tue, 28 Jul 92 20:01:52 GMT

In article <Bs44EE.EJM@watserv1.uwaterloo.ca> shewchun@boomer.waterloo.edu (Dave Shewchun) writes:
>We recently upgraded our DS3100 from Ultrix 4.1 to Ultrix 4.2A.  Under
>4.1 we were using the "pm" graphics device driver.  However, when I put
>this device in the kernel config file for 4.2A, the kernel build fails
>at link time (can't find pmvinit and pmdriver).  Has this driver been
>replaced by something, or am I doing something wrong?
>

The graphics driver changed between 4.1 and 4.2.  Generate a new kernel config
file using doconfig(8) or sizer(8).  As I recall, 
"device pm0 at ibus? vector <xxx>" becomes "device fb0 at ibus? vector fbint",
and you must add "pseudo-device ws".

/Bob
--
Bob Heiney
Technical Consultant
Digital Equipment Corporation, US Desktop Sales, Palo Alto, CA
All opinions expressed are mine, and not necessarily those of my employer
Newsgroups: comp.unix.ultrix
From: boyd@prl.dec.com (Boyd Roberts)
Subject: Re: How to use nslookup to go from IP address to name?
Keywords: nslookup, network, IP address, name
Organization: Digital Equipment Corporation - Paris Research Laboratory
Distribution: comp
Date: Fri, 24 Jul 1992 12:49:11 GMT

In article <1992Jul24.104122.9943@nntpd.lkg.dec.com>, coar@Nephi.Enet.DEC.Com (Rodent of Unusual Size) writes:
>     How can I use nslookup to translate an IP address into a fully-qualified
>     host name?

    prl313 ; nslookup
    Default Server:  perle.prl.dec.com
    Address:  16.12.0.100

    > set type=ptr
    > 118.0.12.16.in-addr.arpa
    Server:  perle.prl.dec.com
    Address:  16.12.0.100

    118.0.12.16.in-addr.arpa        host name = prl313.prl.dec.com
    >


Boyd Roberts			boyd@prl.dec.com

``When the going gets wierd, the weird turn pro...''
Newsgroups: comp.unix.ultrix
From: mrr@chene.cxo.dec.com (Mark Richard Rance)
Subject: Re: Pause-problems with new Motif
Reply-To: mrr@chene.cxo.dec.com (Mark Richard Rance)
Organization: Digital Equipment Corporation
Date: Thu, 23 Jul 92 00:52:12 GMT


|> > This subject went by before just recently. I think someone suggested
|> > using "xlock". Can anyone comment on how xlock works under Ultrix and/or
|> > where it can be found?
|> 
|> xlock runs very well on my 2100.  You can find it in the contrib directory
|> on export.lcs.mit.edu.  You'll also want to pick up xautolock (which will
|> start up xlock after a predefined idle time).
|> 


the sun logo that makes up the pause screen artwork looks particularly attractive on
DECstations. 
Xref: sparky comp.unix.ultrix:5793 comp.unix.admin:4235
From: maj@cl.cam.ac.uk (Martyn Johnson)
Newsgroups: comp.unix.ultrix,comp.unix.admin
Subject: Re: Strange behaviour of df and /tmp
Date: 21 Jul 92 08:01:44 GMT
Reply-To: maj@cl.cam.ac.uk (Martyn Johnson)
Organization: U of Cambridge Computer Lab, UK

> The suggested solution is to unmount
> /tmp file system and to run 'newfs'.

DEC said that?  Shock horror!

1. If a process is hanging on to a file it will indeed use up space
   without being visible.  But you wouldn't be able to unmount until
   the process closed the file, at which point the file would be
   deleted and release the space anyway.

2. It IS possible for a file to remain allocated with no directory
   entry and no process using it. But if this does happen, "fsck" will
   clear up the mess - that is what it is for.  "newfs" is severe
   overkill!


Martyn Johnson      maj@cl.cam.ac.uk
University of Cambridge Computer Lab
Cambridge UK
From: przemek@rrdstrad.nist.gov (Przemek Klosowski)
Newsgroups: comp.unix.ultrix
Subject: LK201 keyboard error b6 on Ultrix 4.2a/DECstation 5000/125
Date: 30 Jul 92 03:14:42 GMT
Organization: U. of Maryland/NIST


Hello!

For some time I have been occasionally getting the above errors, even though
I have LK401 keyboard (two pairs of Alt/Meta keys on both sides of the space
bar). The errors were benign, until yesterday, when keyboards on both our
DECstations went crazy and started autorepeating any key that was pressed
and released (well, any key that is printed: CR is not affected, for instance)
Pulling the keyboard cord seemed to fix the autorepeat problem on one
keyboard, but it still seems to have some keys inoperative. The autorepeat
setting of the server does not seem to affect this, and in any case the
second DECstation was just sitting idle, so I don't believe that this problem
is due to some silly change in configuration.

No, no one spilled coffe on either keyboard.


--
			przemek klosowski (przemek@rrdstrad.nist.gov)
			Reactor Division (bldg. 235), E111
			National Institute of Standards and Technology
			Gaithersburg, MD 20899,      USA

			(301) 975 6249
From: wrightgr@mwk.uucp (Greg Wright)
Newsgroups: comp.unix.ultrix
Subject: Re: dxpsview error
Date: 21 Jul 92 07:57:12 CST
Organization: M. W. Kellogg, Houston TX

In article <1992Jul20.182003.20739@sei.cmu.edu>, tmenner@sei.cmu.edu (Thomas Menner) writes:
> Good users of the Poscript Previewer:
> 
> On a DECstation 5000 w/ a color screen, when trying to load a
> Postscript file into Postscript Previewer (under DECwindows) we
> receive the following message:
> 
>     as_root:/> dxpsview test.ps
>     X Error:  BadAlloc - insufficient resources
>       Request Major code 53 ()
>       Error Serial #670
>       Current Serial #671
> 
> The program then immediately crashes (without dumping core).  This
> happens w/ *any* PS file we try and load.  On a similarly configured
> DECstation 5000 (same memory, disk size, etc.) it works fine, and it
> fact works fine on lesser machines (DS3100, personal DECstations,
> etc.).  The *only* difference is the color screen (the others are
> grayscale monitors).  I haven't been able to track down what resource
> is insufficient (or hosed, as the case might be).  Suggestions/clues?
> Thanks in advance...!

The only way I've been able to get it to work is to start it up without a
file on the command line.  Then I have to select WATCH PROGRESS under the
OPTIONS... menu. 

Greg Wright
-- 
Internet: wrightgr@mwk.uucp             /M\            The M.W. Kellogg Company
UUCP:     uhnix1!mwk!wrightgr         KELLOGG          601 Jefferson
          lobster!mwk!wrightgr          \W/            Houston, TX 77210-4557
BITNET:   mwk!wrightgr%moe.rice.edu@harvunxw.bitnet    (713) 753-3414
From: patrick@giane.cs.umass.edu (Patrick Healy)
Newsgroups: comp.unix.ultrix
Subject: problems with malloc
Date: 24 Jul 92 15:47:08 GMT
Organization: University of Massachusetts, Amherst


I'm running Ultrix 4.2 on a DEC 3100 and I'm having a difficult time with an
unaligned access problem.  I get a number of "Fixed unaligned access..."
messages before the program finally dies.  When I changed to GNU malloc() it
crashes telling me "Block already on free list clobbered".

According to sizeof() all my structs are multiples of 8 so I don't see why I'm
getting these "unaligned access" messages.  The guy on the Ultrix hotline
tells me that I should go back and look at any place I'm casting things to
(char *).  That's all very fine but how do I do write functions to rearrange
blocks of memory and the like then?

I'd appreciate any leads on how people have solved these unaligned access
problems.  I suppose I'd also like to stick with the GNU memory manager since
I'm told that it's better but I'm open to persuasion on that one.

Thanks a lot,
Pat.


-- 

===============================================================================
Patrick Healy:	patrick@themis.cs.umass.edu
Guest of:	CS Department
From: mellon@ncd.com (Ted Lemon)
Newsgroups: comp.unix.ultrix
Subject: Re: DEC's new policy on upgrades
Date: 29 Jul 92 22:24:45 GMT
Organization: Network Computing Devices, Inc.
In-reply-to: pavlov@niktow.canisius.edu's message of 29 Jul 92 01:39:39 GMT


>If you want to drop DEC over $3600 per year then there wasn't much to keep
>you there anyway.

DEC is currently selling complete systems for well under 10k.  Are you
saying that it makes sense for me to be paying almost 40% of my system
price *per year* just to get bug fixes for the operating system that
they shipped with it, that was supposed to work when I got it?

Sure, maybe if I have a million-dollar VAX/VMS installation, those
$3600 is noise, but to a single user, it's a lot of money.  A lot of
companies with more complicated software products than Ultrix sell
their product for less money up front, and charge less for upgrades.
This is because they know that if they overcharge, the customer will
find a new vendor.

Little bits and pieces of DEC have been realizing that overcharging is
a bad idea for years, but unfortunately, the corporate behemoth as a
whole is still trying to get the sort of margins that were common in
the good old days when they were competing against IBM mainframes.
The current stock price is a pretty clear indication of how successful
this strategy has been...

			       _MelloN_
--
mellon@ncd.com
Member, League for Programming Freedom | To learn how software patents could
cost you your right to program, contact the LPF - league@prep.ai.mit.edu
Newsgroups: comp.unix.ultrix
From: shenkin@avogadro.barnard.columbia.edu (Peter S. Shenkin)
Subject: Another question;  was: Re: Two questions from Ultrix novice
Organization: Dept. of Chem, Barnard College, Columbia U, New York
Date: Tue, 21 Jul 1992 16:22:16 GMT
X-Posted-From: avogadro.barnard.columbia.edu
X-Posted-Through: sol.ctr.columbia.edu

In article <790982@athena.lkg.dec.com> mamros@athena.lkg.dec.com (Shawn Mamros) writes:
>
>shenkin@avogadro.barnard.columbia.edu (Peter S. Shenkin) writes:
>>1.  The "df" command is not properly displaying disk utilization.  If I
>>    add large files, the command properly tells me that more kbytes are
>>    used and fewer are free;  however, if I remove large files df exhibits 
>>    no change....
>>
>>    What's broken, and how can I fix it?

>What's almost certainly happening here is that a process still has the
>file open when you remove it.....

This is almost certainly not the answer, though it was a reasonable guess.  
The sysadm told me that this machine had this problem chronically.  To check 
it out, after a reboot I did the following:

	1.  look at df output
	2.  copy large file (actually, "cp -r dirname new_dirname")
	3.  look at df output -- /usr has grown
	4.  "/bin/rm -rf new_dirname" -- it's gone
	5.  look at df output -- /usr has not changed in size
	6.  reboot;  look at df output -- /usr has shrunk to original size
	
No processes were started to access the new files.  But please read on....

Now for the new question:  Yesterday a DEC field engineer showed up to
replace tghe mother board in all our DecStation 5000's.  This action was
initiated by DEC, and though the service guy didn't know exactly why
they were  doing this, as well as he knew, it was a combination of (1)
added RF shielding to meet FCC regulations, and (2) firmware rev to 
fix some bugs that occur in some situations.

Following the board replacement my df problem went away.  However, a far
more serious problem started:  the machine slowed down incredibly.  It
seems to be thrashing all the time.  To login on the console it takes 30
seconds for session manager to appear, and over an additional minute for
DECterms to appear, then more time for them to respond -- all this
accompanied by continuous disk chatter.

A set of about 12 Fortran files which, the previous day, had compiled in less
than an hour, took far longer;  after 1-1/2 hour it still had not finished
with the second .f file.  This was also accompanied by literally continuous
disk chatter.

Can anyone help with diagnosing/fixing this problem?

	-P.
-- 
************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb*************************
Peter S. Shenkin, Department of Chemistry, Barnard College, New York, NY 10027
(212)854-1418    shenkin@avogadro.barnard.columbia.edu   shenkin@cunixf.BITNET
******************** The singular of "media" is "medium". ********************
Newsgroups: comp.unix.ultrix
From: zhao@adx.adelphi.edu (Bin Zhao)
Subject: compiling trn 2.0 on ULTRIX4.2A
Organization: Adelphi University
Date: Thu, 23 Jul 1992 19:22:14 GMT

Hi,

	Has anybody compiled the trn version 2.0 on ULTRIX 4.2A
successfully? I am having trouble with the timezone definition.
Any help or information will be appreciated.
	Thanks.

--Bin
-- 
       =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
         Bin Zhao, UNIX SysAdmin,   <zhao@adelphi.edu>  (516) 877-3343
          Computer Center, Adelphi University,  Garden City, NY 11530 
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.unix.ultrix
From: etai@solomon.technet.sg (Eddy Tai)
Subject: SLIP on DecServer 90TL
Organization: National University of Singapore
Date: Tue, 28 Jul 1992 06:33:36 GMT

Does any Know how to set up a workstation to connect to a 90TL terminal
server that support SLIP. I also need the procedure to setup the 90TL to
support SLIP. Which machine will initialise the connection? 90TL or
workstation? I am using a 5000/25 workstation. Your reply is greatly
appreciated.
Newsgroups: comp.unix.ultrix
From: bathurst@noaapmel.gov (Bill Bathurst)
Subject: Is there an R4000 upgrade available for DECstation 5000?
Organization: NOAA/PMEL, Sand Point Way, Seattle, WA
Date: Wed, 29 Jul 1992 22:02:15 GMT


Has anyone been able to get a R4000 upgrade for their DECstations?  We have
a couple of DECstations that need their performance increased.  Does anyone
know options/prices for CPU upgrades for DECstation 5000's (ours are model
200's)

Thanks!

--
Bill Bathurst				Internet:	bathurst@noaapmel.gov 
NOAA/PMEL				Phone:		(206) 526-6765

Newsgroups: comp.unix.ultrix
From: farrokh@fusion.ucla.edu (Farrokh Najmabadi)
Subject: Re: dxpsview error
Organization: ucla
Date: 22 Jul 92 13:19:06 PDT

Per release notes, dxpsview works on DecStation 3100 and crashes on
DecStation 5000/200.  For the 5000/200 machines, you have to turn
on the watch progress before opening a postscript file (it is also
advisable to turn off the use comment option).

Below is the setup in my .Xdefaults file which starts the dxpsview
with proper setting (and also reflect these values in the menu bars).
The geometry in this list is the largest dxpsview window that you can
create which at scale factor of 0.8 shows the complete page
(I have not been able to set the scale factor in the .Xdefaults
file, let me know if you know how to do it).

I am running Ultrix 4.2 with Motif on DecStation 5000/200.

Note: You have to log off/on or run
  xrdb ~/.Xdefaults
for the new .Xdefaults values become available.


p.s. To Digital:

Ultrix man pages for DecWindows applications (dx...) are very poor in
identifying resources available to each application, i.e., not all
resources are identified, some are misspelled, and there are no
examples.  Only after looking through the startup default values in
app-defaults directory and considerable hacking, one can find the
proper resource name and values. It is improtant to ensure that the
man pages are up to date with the applications.


!
! DXPSVIEW
!
DPSViewer*geometry:			700x950+200+30
DPSViewer*background:			white
DPSViewer*iconName:			PS
DPSViewer*iconTitle:			PS
! To set the Use Comment option (Menu bar / Default Value)
DPSViewer*optionsMenu.comments.value:	off
DPSViewer*useComments:			off
! To set the Watch Progress Mode (Menu bar / Default Value)
DPSViewer*optionsMenu.windowDrawMode.value:	True
DPSViewer*watchProgress:		True
!DPSViewer*options*trays*scaleFactor:          0.8  -> Did not work



Farrokh Najmabadi (najmabadi@fusion.ucla.edu)
From: frank@croton.nyo.dec.com (Frank Wortner)
Newsgroups: comp.unix.ultrix
Subject: Re: dxpsview error
Date: 22 Jul 92 13:24:04 GMT
Reply-To: frank@nyo.dec.com
Organization: Digital Equipment Corporation


In article <ROBM.92Jul21154930@ataraxia.Berkeley.EDU>, robm@ataraxia.Berkeley.EDU (Rob McNicholas) writes:

|>Sorry, that doesn't help.  I already tried that:
|>
|>X Error:  BadMatch - parameter mismatch
|>  Request Major code 128 (Adobe-DPS-Extension)
|>  Request Minor code 2 ()
|>  Error Serial #1009
|>  Current Serial #1009
|>

Which X server are you using?

					Frank
Newsgroups: comp.unix.ultrix
From: bambi@bu.oz.au (David J. Hughes)
Subject: More on Ultrix 4.2a and GCC 2.x
Organization: ITS, Bond University
Date: Wed, 22 Jul 1992 04:42:32 GMT

Just when I thought all was looking up, I've come over a bit of a
problem.  The gnu ld bails out in mid link.

System	=	DecSystem 5900  Ultrix 4.2a
		GCC 2.1  (stage 3 compiler and ld)  
		gcc config'd as mips-dec-ultrix


The problem happens while building imake from the Motif distribution
(not a very tall order for a C compiler).  The error is :-


pid xxxxx (ld) was killed on an unalligned access at pc 0x4028fc
gcc: Internal compiler error: program ld got fatal signal 10.


If I copy the Ultrix ld into /usr/local/lib/gcc-lib/.... and rename the
gnu ld, all works fine.

Has this been seen before?


   ___                                 David J. Hughes     bambi@bu.oz.au
  /   \                /  /    /        
 /  __/ __   __   ____/  /    / __          Senior Network Programmer
/    \ /  \ /  \ /   /  /    / /  \  /    Comms Development & Operation
\____/ \__//   / \__/   \___/ /   / /       AUSTRALIA  (+61 75 951450)
Newsgroups: comp.unix.ultrix
From: bambi@bu.oz.au (David J. Hughes)
Subject: Will DEC ever fix newfs/mkfs ??
Organization: ITS, Bond University
Date: Mon, 27 Jul 1992 02:04:41 GMT

How long has it been that neither newfs nor mkfs has understood the
inode ration option?  I can recall the problem back to 3.0.  I've just
needed to bump up the number of inodes on a filesystem on our new 5900
and what do you know, it's still got the bug (4.2a).

Would it be possible to get it fixed one day?  I've seen people
mentioning it before and the lads from DEC said it was "fixed in the
next release".  If there's no plan for it to be fixed I'll send in a bug
report.  I assumed that this would have been done by someone over the
past 3 years or so.

maybe one day (or should we all just remove our news partitions?)


bambi - ah that feels better.


   ___                                 David J. Hughes     bambi@bu.oz.au
  /   \                /  /    /        
 /  __/ __   __   ____/  /    / __          Senior Network Programmer
/    \ /  \ /  \ /   /  /    / /  \  /    Comms Development & Operation
\____/ \__//   / \__/   \___/ /   / /       AUSTRALIA  (+61 75 951450)
Newsgroups: comp.unix.ultrix
From: vaf@Valinor.Stanford.EDU (Vince Fuller)
Subject: Re: How to use nslookup to go from IP address to name?
Keywords: nslookup, network, IP address, name
Organization: CS Department, Stanford University, California, USA
Distribution: comp
Date: Fri, 24 Jul 1992 21:52:58 GMT

|>     How can I use nslookup to translate an IP address into a fully-qualified
|>     host name?  It will do the reverse, but any time I feed it an address, it
|>     just parrots it back to me.

Pitch "nslookup" and use "dig" (available via anonymous FTP to Venera.ISI.EDU
in "pub/dig.2.0.tar.Z". As others have already responsed, you can use "nslookup"
to do this, but "dig" is a far better, more intuitive, and easier-to-use tool for
testing DNS lookups.

	--Vince
Newsgroups: comp.unix.ultrix
From: shenkin@avogadro.barnard.columbia.edu (Peter S. Shenkin)
Subject: Re: Another question;  was: Re: Two questions from Ultrix novice
Organization: Dept. of Chem, Barnard College, Columbia U, New York
Date: Tue, 21 Jul 1992 19:51:50 GMT
X-Posted-From: avogadro.barnard.columbia.edu
X-Posted-Through: sol.ctr.columbia.edu

In article <1992Jul21.162216.25343@ctr.columbia.edu>
 shenkin@avogadro.barnard.columbia.edu (Peter S. Shenkin) writes:

>Following the board replacement my df problem went away.  However, a far
>more serious problem started:  the machine slowed down incredibly.  It
>seems to be thrashing all the time...

OK -- it turned out that the memory boards were not all firmly seated.
"cnfg" from the prom level showed the correct 24Mb, but at boot UNIX
saw only 8Mb.  This has now been fixed.

	-P.
-- 
************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb*************************
Peter S. Shenkin, Department of Chemistry, Barnard College, New York, NY 10027
(212)854-1418    shenkin@avogadro.barnard.columbia.edu   shenkin@cunixf.BITNET
******************** The singular of "media" is "medium". ********************