HDTenEightyP/NetNews huggingface dataset:
From: white@trantor.cs.unc.edu (Brian T. White)
Newsgroups: comp.unix.ultrix
Subject: fix for 'cant get mbufs' problem
Date: 23 Nov 92 17:22:57 GMT

We were recently experiencing problems with a DECsystem 5000/240
hanging after producing a long string of 'cant get mbufs' messages.
The machine, which has 25 clients and about 5.2 GB of disk space,
was crashing roughly daily, but since the fix it has been up two
weeks with no problem.

Our DEC technical rep, to whom we are eternally grateful, dug 
through some mail messages and found the following suggestion, which 
worked:

****************************************************************
"cant get mbufs" means you ran out of km_alloc map space, or you
ran short of physical memory (temporarily) and thus, dropped an
input packet.

You probably need to increase the km_alloc map on the system
experiencing the problem.   Adjust the value of KMEMUMAP in the
sys/machine/vax/vmparam.h file.  [we modified sys/machine/mips/vmparam.h]

Background:

The message "cant get mbufs" is printed to the console by the kernel
when a call to kmalloc has failed.  A kmalloc call can fail if there are
not enough pte's [process table entries] available to map a given region
of memory, or it can fail if there are pte's available but the physical
memory is lacking at that particular instant.  A number of calls to the
kmalloc kernel routing specify that the call is to wait for resources to
become available should there be a temporary shortage.  The call in
question, which results in the "cant get mbufs" message does not specify
that a wait should take place.  Thus, the kmalloc routine returns
immediately with an error message, the kernel prints a message
indicating the unavailability of resources, and the network packet is
discarded.

This most likely occurs during a network "spike" whereby a host is
flooded with hundreds of incoming packets during a brief instant, and it
is unable to process all of the packets.

If this happens only randomly and without much frequency, you can ignore
it.  If the machine hangs or locks up following the message, or if you
see this message often, you should increases the value of KMEMUMAP.
****************************************************************

Note:  KMEMUMAP is dependant on the value of PHYSMEM, which is set to 32 on
our servers.  The code in the vmparam.h file that specifies KMEMUMAP
is as follows:

#if (PHYSMEM/10 < LOW_WATER)
#define KMEMUMAP (LOW_WATER*256+KMEMSLOP)
#else
#if (PHYSMEM/10 > HIGH_WATER)
#define KMEMUMAP (HIGH_WATER*256+KMEMSLOP)
#else
#define KMEMUMAP (PHYSMEM/10*256+KMEMSLOP)
#endif
#endif

I changed it to be just the following:

#define KMEMUMAP (HIGH_WATER*256+KMEMSLOP)


Our machine has 32 MB, and the physmem variable is set to 32, which 
seems intuitively correct.  There have been suggestions that raising
physical memory or the value of the physmem variable would fix the
problem, but it would appear that those solutions owe their success
to the dependence of KMEMUMAP on PHYSMEM.
From: willmore@iastate.edu (David Willmore)
Newsgroups: comp.unix.ultrix
Subject: Re: CD-ROM is really a pseudoterminal??
Date: 19 Nov 92 02:56:11 GMT
Article-I.D.: help.willmore.722141771
Organization: Iowa State University, Ames IA

I have one idea as to what might be your problem.  If you had used MAKEDEV in
an earlier installation of Ultrix, you would have the cdrom device lying arround.
If you later rebuilt the kernel to support more ptty's and did a reboot which
performed a MAKEDEV for the new pttys, you could have a character device and the
original block device sharing the same major,minor pair.  The problem could lie,
this is hard to believe, in some programs using the block device call and others
using the character device calls.

Don't controls (ioctls) use the character device?  I'm probably way off, but I
thought this might be something.  You can tell that I don't do much kernel 
hacking.  Good luck. :)

P.S. John Hascal made the comment about there being two different system
calls for block and character devices.  BTW.

--David Willmore
willmore@iastate.edu
Newsgroups: comp.unix.ultrix
From: ewn@BIOVAX.UMDC.UMU.SE
Subject: test
Reply-To: ewn@BIOVAX.UMDC.UMU.SE
Organization: UMDAC, Ume} University, Sweden.
Date: Wed, 18 Nov 1992 12:57:43 GMT

This is just a test
Eva

Newsgroups: comp.unix.ultrix
From: rjones@pa.dec.com (Russ Jones)
Subject: Re: SPDs online
Organization: Digital Equipment Corporation
Date: Fri, 20 Nov 92 01:16:11 GMT

Gregory,

The SPD's just got up onto gatekeeper last week.  They are located at gatekeeper.dec.com in the /pub/DEC/DECinfo/SPD directory.  

If you know which one you want - great - they are named as you typically see them from DEC (for example, 07.01.17) and in ascii format.  If you don't know which one you are looking for, there is an index file as well. 

Unfortunately, they are only as current as of mid September and the Alpha related SPD's are not included yet.  I hope to have the whole process automated soon so that they are current every Monday.

I'll keep you posted - and good luck.

-- 
Russ Jones
UNIX Marketing
Digital Equipment Corporation, Palo Alto, CA
All opinions expressed are mine, and not necessarily those of my employer
Newsgroups: comp.unix.ultrix
From: frasi@furka.enet.dec.com (Francois Vorburger @RLE (DTN 760-xxxx))
Subject: Re: Help using 'slavepc' with DEC SoftPC
Reply-To: frasi@furka.enet.dec.com
Organization: Digital Equipment Corporation, Zurich, Switzerland
Date: Thu, 19 Nov 1992 10:46:54 GMT



In article <1992Nov18.171204.12306@u.washington.edu>,
garrett@lib.washington.edu (Adam Garrett) writes:

>I am trying to use a floppy drive on a IBM PS/2 70 from my DEC 5000/200
>running 

SPD of DEC SoftPC for Ultrix, V3.0 says which PC's are supported. It says that
PS/2 30 and copatibles are supported. I don't know PS/2 70 is compatible with
PS/2 30. If not, this could be the problem.

SlavePC works fine with 31/2" 1.4MB Floppydrive in a PC/AT with 9600 Baud

Regards
Francois

------------------------------------------------------------------------------
  Francois Vorburger              |  Internet: frasi@furka.enet.dec.com
  UNIX & Network Support          |     X.400: C=ch,A=arcom,P=digital,
  Digital Equipment Corporation   |            S=Vorburger,G=Francois
  Zurich, Switzerland             |
------------------------------------------------------------------------------
Newsgroups: comp.unix.ultrix
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: Problems with FUJITSU M2266S-512 formatting...
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Mon, 16 Nov 92 00:07:14 GMT

In <1992Nov15.164024.1@talos.cc.uch.gr> vkyriak@talos.cc.uch.gr writes:

| We have bought a FUJITSU M2266S-512 disk for a DECsystem 5100 running
| ULTRIX 4.2A.
| The problem is that the disk is unformatted and we cannot find a way of
| formatting it.

I find this vary difficult to believe, since *all* SCSI disks are factory
formatted.  Perhaps all you really want to do is label/partition the disk?
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: kenh@leps5.phys.psu.edu (Ken Hornstein)
Newsgroups: comp.unix.ultrix
Subject: Increasing the number of inodes under Ultrix 4.3
Date: 20 Nov 92 21:26:41 GMT
Organization: Penn State, Laboratory for Elementary Particle Science

Blah.  I _know_ this was discussed before, but I don't remember what exactly
the outcome was.

Anyway, the subject says it all.  I tried lowering the cylinder/groups value;
it complained that it had to be a multiple of 16.  I tried changing the number
of bytes per inode, but that didn't seem to affect the number of inodes in
the filesystem.  Should I lower the block size?

Thanks for any help.

--Ken
Newsgroups: comp.unix.ultrix
From: bambi@bu.oz.au (David J. Hughes)
Subject: Re: Repost of request - looking for a database engine
Organization: ITS, Bond University
Date: Mon, 16 Nov 1992 02:51:37 GMT

teek@flight.uwaterloo.ca (Prateek Dwivedi) writes:

>I am in "immediate" need of a database engine, and was wondering if any
>one knows where I can get one.

>Something that is relational.... or even object oriented.


Postgres from UCB fits the bill.  I have it running under Ultrix on a
couple of machines (and also Sparc and Sun3).  Look on postgres.berkeley.edu



   ___                                 David J. Hughes     bambi@bu.oz.au
  /   \                /  /    /        
 /  __/ __   __   ____/  /    / __          Senior Network Programmer
/    \ /  \ /  \ /   /  /    / /  \  /    Comms Development & Operation
\____/ \__//   / \__/   \___/ /   / /       AUSTRALIA  (+61 75 951450)
Newsgroups: comp.unix.ultrix
From: mjr@hussar.dco.dec.com (Marcus J. Ranum AXP)
Subject: Re: Ultrix 4.2: Bad block fixing?
Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
Date: Sun, 22 Nov 1992 20:27:56 GMT

>Lately,
>the machine has refused to boot due to the hard errors on the root
>file system.  Running fsck on the disks does not repair the hard
>errors, and DEC's radisk utility doesn't seem to help either.

	You getting the forced error or whatever it is message?
The bad blocks *should* have gotten remapped already. What then
happens is that the block is marked as unusable (since there's no
useful data in it) and you need to clear the re-mapped block
before the system will permit it to be written. It's a perfectly
good block, though. Use "radisk -c LBN 1 /dev/device" to mark the
remapped block as usable, then fsck should be able to fix the
filesystem up.

mjr.
Newsgroups: comp.unix.ultrix
From: hurme@pb.com (John Hurme)
Subject: Re: HELP: HP PaintJet on a Terminalserver via LAT
Organization: Pitney Bowes
Date: Wed, 18 Nov 1992 15:41:57 GMT

In article <OIS85BG@netmbx.netmbx.de> weis@netmbx.netmbx.de (Dietmar Weis) writes:
>ib@iersv1.energietechnik.uni-stuttgart.de (Iris Butzbach) writes:
>
>>I want to connect a HP Paint Jet
>
>>	a) either to an ETS8 Terminalserver via LAT,
>>	b) or to a serial line of a DECstation 5000/125 running ULTRIX 4.2a.
>
>>	the printcap-entry is the following:
>>	-------------------------------------------
>>	lp2|2|2|Paint Jet:\
>>		:af=/usr/adm/lp2acct:\
>>		:ct=lat:\
>>		:lf=/usr/adm/lp2err:\
>>		:lo=lock:\
>>		:lp=/dev/tty02:\
>>		:op=PJ:\
>>		:os=PRINTER:\
>>		:pp=usr/lib/lpdfilters/ln01pp:\
>>		:sd=/usr/spool/lpd2:\
>>		:ts=LAT_0008A3000160:\
>>		:xf=/usr/lib/lpdfilters/xf:
>>	-------------------------------------------
>
>Iris,
>
>you have to include the local and tty flag fields, to set the line.
>I have a Paintjet working with the following settings:
>
>:fc#0177777:\
>:fs#063:\
>:xc#0177777:\
>:xs#044000:\
>(you can RTFM printcap(5) and tty(4) for a decoding)
>
>>	b) I don't know the right filter for the PaintJet.
>
>If you are using Pathworks the output filtering is handled by the DOS or
>Windows application device driver. So you must not use another filter
>than xf. It's also true if you have a driver for an Ultrix appliction.
>Use the filter in the :of= specification.
>
>If neither is the case you will have a problem. Perhaps there is somewhere
>an Ultrix filter.
>
>>Thanks a lot for help!
>
>Hope this helps, give it a try.
>Dietmar
>
>>/----------------------------------------------------\/-------------------\
>>|         Iris Butzbach * IER Uni Stuttgart          ||             up    |
>>\----------------------------------------------------/\-------------------/
>-- 
>weis@netmbx.netmbx.de       | Dietmar Weis         DONOP CONSULT GmbH
>Voice: +49 30 884 28 54-0   |                      Uhlandstrasse 179/180
>Fax:   +49 30 882 55 29     |                      D - 1000 Berlin 12
>                     I don't speak for my company!

Would you have any recommendations in connecting an HP laserjet to
a LAT server?

Newsgroups: comp.unix.ultrix
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: psroff
Keywords: roff groff
Reply-To: beck@freia.inf.tu-dresden.de
Organization: Dept. of Computer Science, TU Dresden, Germany.
Date: Thu, 19 Nov 1992 18:14:17 GMT


Hi,

Ok, Thanx to all the people that replied on my psroff problem.
Now I know, groff CAN be compiled on Ultrix. The 1.06 Version also
names the workaround in it's PROBLEMS file:
Compile tbl without optimization.
Otherwise, cc1plus WILL crash with a segment violation.
At this point I remembered, gcc 2.2.2 is still BETA.

:)

--
,------------------------+---------------------------------------------.
| Andre' Beck (ABPSoft)  |   TCP/IP-Mail: beck@freia.inf.tu-dresden.de |
| HG R 142               |   VMS        : hermes::beck                 |
+------------------------+---------------------------------------------+
|       Windows is the best placebo against MS-DOOF headaches !        |
`----------------------------------------------------------------------'

Newsgroups: comp.unix.ultrix
From: iversen@dsfys1.fi.uib.no (Per Steinar Iversen)
Subject: Re: Q: escape sequences to modify dxterm title?
Keywords: xterm dxterm escape codes
Reply-To: iversen@vsfys1.fi.uib.no
Organization: Department of Physics, University of Bergen, Norway
Date: Mon, 16 Nov 92 12:07:30 GMT


In article <1992Nov16.105312.19054@Informatik.TU-Muenchen.DE>, kirschnt@Informatik.TU-Muenchen.DE (Torsten R. Kirschner) writes:

>Dear fellow netters,
>
>can anybody tell me whether there are xterm-like escape sequences to
>modify a dxterm's titlebar string dynamically??
>
>I have a neat line in my .kshrc that works with xterms (I have replaced
>the control chars to make it through the news), which I would like to
>work with dxterms, too:
>
>export SHWIN_NAME=$HOST
>PS1='ESCAPE]2;$SHWIN_NAME ${PWD}CONTROL-GESACPE]1;$SHWIN_NAMECONTROL-G
>> '
>
>Replace ESCAPE with the ^[-char, and CONTROL-G with the ^G-char to check
>it out. The line feed is intentional.
>
>Any help to get this to work with dxterm would be gratefully appreciated.
>Thanks in advance...
>
>Torsten
>--
>Torsten R. Kirschner            DOMAIN: torki@mpipf-muenchen.mpg.dbp.de
>Christoph-Probst-Str. 8/818        FAX: +49 89 342473
>8000 Muenchen 40                  HOME: +49 89 3234102
>

I picked this up from the net last year sometime, I keep it in my .cshrc for
use by tcsh:

if ($?prompt) then
  if ($?tcsh) then
     if ($term == xterm || $term == xterms || $term == xterml) then
        set prompt="%{\e]2\;%m:%/^g\e]1\;%m^g\r%}%B`hostname`>%b "
     endif
     if ($term == vt300 && $?DISPLAY ) then
        set prompt="%{\e]21\;%m:%/\e\\\e]2L;%m\e\\%}%B`hostname`>%b "
     endif
  endif
endif

This works well enough most of the time, though I am sure it could be improved.

+------------------------------------------------------------------------------+
! Per Steinar Iversen    ! Internet:     iversen@vsfys1.fi.uib.no              !
! Fysisk Institutt       ! BITnet:       iversen@cernvm.bitnet                 !
! Universitetet i Bergen ! HEPnet:       VSFYS::IVERSEN (VSFYS=21.341=21845)   !
! Allegaten 55           ! Phone:       +47 5212770                            !
! N-5007 Bergen          ! Fax:         +47 5318334                            !
! NORWAY                 !                                                     !
+------------------------------------------------------------------------------+
From: mcdonald@sacomm.schulz.unisa.edu.au (Ian McDonald)
Newsgroups: comp.unix.ultrix
Subject: Ultrix 4.3 can; Ultrix 4.3 + CAM can't!
Date: 23 Nov 1992 04:06:57 GMT
Organization: University of South Australia
Distribution: world
Reply-To: mcdonald@sacomm.schulz.unisa.edu.au (Ian McDonald)
NNTP-Posting-Host: sacomm.schulz.unisa.edu.au


The histrionics described below relate to my workstation, a DS-5000/120
with 32MB memory, 2 x rz25, 2 x rz58, a cd and an Exabyte.  Software
includes Ultrix 4.3, Pathworks 1.2, DECmsu 1.1 and INN.  I will endeavour
to describe the sequence of events associated with the recent upgrade of
Ultrix to 4.3, but please understand that anything that happend more
than a week ago is ancient history for my memory, and may not be
remembered with total reliability :-(

What prompts this message is an inability to login (while the most
recent kernel is running) more than once, from the login screen, a
DECserver 200 or a VMS machine via telnet or set host.  The only new
message I have been able to find in syslog is:

Nov 18 08:22:00 localhost: init: '/usr/bin/login -P /usr/bin/Xprompter
-C /usr/bin/dxsession -e :0' failing, sleeping

I believe the sequence leading up to this problem is as follows:

Upgrade from 4.2a (plus Motif) to 4.3 BASE (5.1.3 of guide to installing
  Ultrix)
Kernel rebuild (this should have been done after the BASE_UPGRADE)
BASE_UPGRADE
Kernel rebuild
Motif 1.1.3.1 and CAM software loaded

Note that a kernel rebuild didn't follow the last step.

A couple of weeks of uneventful use now ensued until I spotted during a
reboot that SQL was noting the existence of a possible 60 semaphores
whereas I previously had this set at 120 according to the SQL
installation notes.  Hence I changed the value of SEMMNS in /sys/h/sem.h
back to 120 and rebuilt the kernel.  Consequently, I noted the new
message during the reboot referring to:

HBA 'PMAZ-BA ' and DME 'PMAZ-BA ' attached on Controller 0.

which I take to be a reference to CAM code having been enabled by the
kernel rebuild.  It was at this point that I experienced the login
difficulties described above.

My question is did I come unstuck by inadvertently rebuilding the kernel
between the BASE and BASE_UPGRADE steps, or have I missed something in
the CAM installation by not having the CAM installation guide referred
to in the Ultrix 4.3 Release Notes.  I rely on the Consolidated Software
CD for my upgrades rather than an Ultrix-specific upgrade service and
sometimes documentation either doesn't come, or arrives late.

I would be grateful for any assistance with this problem as I can't
build a useable kernel at the moment.  The only possibility I can think
of that I haven't tried is to unload CAM and rebuild the kernel.

Regards,

Ian McDonald
Project Leader (MSU): Academic systems & communications
University of South Australia
Newsgroups: comp.unix.ultrix
From: hurme@micro2.pb.com (John Hurme)
Subject: HP Laserjet II config under Ultrix LAT
Organization: Pitney Bowes
Date: Mon, 23 Nov 1992 19:55:33 GMT

Does anyone have a working printer configuration with an HP Laserjet II running
under Ultrix LAT.  We use the ln03of filter which works well for TEXT
however it does not work well with HP PCL files.  If you have
a working configuration please include printcap entries & filters.
Thanks.
From: tso@cephalo.neusc.bcm.tmc.edu (Dan Ts'o)
Newsgroups: comp.unix.ultrix
Subject: What is going to happen to VAX Ultrix ?
Date: 23 Nov 1992 21:25:58 GMT
Organization: Baylor College of Medicine, Houston,Tx
NNTP-Posting-Host: cephalo.neusc.bcm.tmc.edu
Keywords: VAX Ultrix


	Can someone give me an idea of Digital's plan for VAX Ultrix in the
future ? Please don't say: run "Open" VMS, or buy MIPS/Alpha.
	Are there any plans to port OSF to VAX ?
	Please email responses. Thanks.

				Cheers,
				Dan Ts'o		212-327-7671
				Dept. Neurobiology	dan@rna.rockefeller.edu
				Rockefeller Univ.	...s5!rna!dan
				1230 York Ave.		tso@rockvax.bitnet
				NY, NY 10021

After 12/5/92:
                                Div. Neuroscience       713-798-3100
                                Baylor College of Medicine
                                1 Baylor Plaza S603
                                Houston, TX  77030      tso@cephalo.bcm.tmc.edu 

Newsgroups: comp.unix.ultrix
From: sybertz@brsux0.bro.dec.com (Sybertz Marc)
Subject: Re: automount, how to?
Reply-To: sybertz@ketje.enet.dec.com
Organization: Digital Equipment Corporation, Brussels
Distribution: na
Date: Fri, 20 Nov 1992 13:07:13 GMT


>I was wondering if anyone out there would help me with getting automount going.
>I've gone through the man page several times and it is confusing and ugly at
>best.

DECFullSail product manages file systems and so manages automount.
It's a user friendly motif based application. Ask your local sale's rep
for more info or demo.

>Anyways, if anyone would please go through a semi-step by step process of how
>to, I would be very grateful.

I will not be at my office next week, but it will be a pleasure if you can
wait one week, to help you step by step. Just send me a mail.

Regards,
Marc Sybertz.

+------------------------------------------+
| From : Marc Sybertz                      |
| Dept : EIS - Unix Service Center         |
| Func : Unix System Management Specialist |
| Mail : sybertz@ketje.enet.dec.com        |
| Loc  : DIGITAL - BRO (Brussels, Belgium) |
+------------------------------------------+
Newsgroups: comp.unix.ultrix
From: teek@flight.uwaterloo.ca (Prateek Dwivedi)
Subject: Re: Repost of request - looking for a database engine
Organization: University of Waterloo
Date: Thu, 19 Nov 1992 15:42:06 GMT

In article <1992Nov17.214514.26114@decuac.dec.com> mjr@hussar.dco.dec.com (Marcus J. Ranum AXP) writes:
<< I originally posted the request >>
>>I am in "immediate" need of a database engine, and was wondering if any
>>one knows where I can get one.
>
>	Call Oracle, Ingres, or Sybase corp. "real" database engines are
>hard to write (oh, gawd, don't I just know) and to make work right. About
>the only thing you'll get for free is Postgres (ftp postgres.berkeley.edu)
>and that's not quite commercial code anyhow.
<< stuff deleted >>
>
Ok.. here's the scenario.   I'm attempting to create a Computer Aided Control System
Design environment.  It is essentially a collection of tools like Matlab, MatrixX,
Maple, etc.  During evolution of a project, the control engineer will create hundreds, 
if not thousands of files. We want to use a relational (or object oriented) database
that will keep track of this development.

We don't need a heavy duty beast (hence I was fairly vague earlier), but something
that will link certain fields together.  Free would be best, but the only thing I
found was Postgres... my system administrator is very reluctant to install this, even
for testing purposes.  So I guess I'll need something smaller.

Any thoughts?

Thanks,



-- 
Teek (Prateek Dwivedi)                  teek@kingcong.uwaterloo.ca
Research Assistant                      pdwivedi@systems.watstar.uwaterloo.ca
Flight Control Systems Group            (519)885-1211 x5314     Voice
University of Waterloo, Canada          (519)746-3077           Fax
Newsgroups: comp.unix.ultrix
From: bosullvn@unix1.tcd.ie (Bryan O'Sullivan)
Subject: Ultrix 4.2: Bad block fixing?
Organization: Computer Science Department, Trinity College, Dublin, Ireland
Date: Sun, 22 Nov 1992 19:54:12 GMT

My group has recently started using a previously idle MicroVAX-II
running Ultrix 4.2; unfortunately, the manuals were sent to be
recycled by the previous users.

I've been having problems with disks: there are a few bad blocks
on both the / and /usr filesystems, and processes swapping on the
root partition occasionally fall over because of this.  Lately,
the machine has refused to boot due to the hard errors on the root
file system.  Running fsck on the disks does not repair the hard
errors, and DEC's radisk utility doesn't seem to help either.  I
am slightly at a loss for options at the moment.  Is there any way
I can remap the bad blocks?  Even losing a few files would be
preferable to having to reformat the disks and do a reinstall
(especially with no documentation to guide us).

	<b
--
SCRG, Department of Computer Science, Trinity College, Dublin
Newsgroups: comp.unix.ultrix