HDTenEightyP/NetNews huggingface dataset:
From: jthomas@nmsu.edu (James Thomas)
Subject: Re: Disk partitioning/layout (Was: New 877 Installation)
Organization: NMSU Computer Science
	<JTHOMAS.92Dec28161410@navajo.nmsu.edu>
Date: Wed, 30 Dec 1992 00:11:08 GMT

In article <JTHOMAS.92Dec28161410@navajo.nmsu.edu> I write yet again :-)

Jim> a) I would like to be able to define the partition sizes.  For
Jim> example, a stock 48M swap partition may have been OK in the "old"
Jim> days, but systems have more memory now.  The 877 we got was ordered
Jim> with 128M of memory (gee, somewhere between 3200 and 6400 times the
Jim> memory in the 1620 I started on ... :-) .  It was set up with a 1106M
                               oops, too much indecision -----------> 105M

Jim> primary swap space - not enough for a full dump, for example.  Suppose
Jim> I want 145M of primary swap?  The choices are 105M, 126M, and 958M.
Jim> Not very appropriate.  What do I do when HP tells me they can't
Jim> support the system because I can't give them a complete system dump ??
Jim> :-) :-)

For the C2474S disk, we are allowed 24M and 48M for sections 0 and 1 (or
vice versa for 15 and 14), followed by 126M, 29M, 105M, and 958M for
sections 10, 3, 4, and 5.  All of the overlapping section options except 7
include section 5 plus one or more adjacent sections towards the "front" of
the disk.  It is not possible to make a reasonable sized swap area plus a
single root partition (e.g., S6=2M + S15=200M [swap] + S13=the rest [root])
or a reasonable root partition plus a reasonable swap area plus a user
partition (e.g., S6=2M + S0=200M [root] + S1=200M [swap] + S11=the rest
[user]).  If we (the "royal we") insist on making "unix"(tm) the only
choice, we're going to have to do better than this.

Jim> b) Back 20 years ago, I could tell TOPS-10 where I wanted its
Jim> equivalent to the inode table.  That is still missing in unix.  If I
Jim> set a disk up with only section 2, I would like to be able to say that
Jim> the inode table should be put smack in the middle (if I don't want a
Jim> single file, contiguous though unix also can't particulary do that
                                     ooops again -> particularly
Jim> anyway).  That way seeks are minimized when the relatively common
Jim> requirement to find some inode information happens.

Picture for the 1.4G disk being used as an example:

	section		size	use	configuration

	   0		200M	root	inodes at high end
	   1		200M	swap	swap
	  11		890M	user	inodes at low end

or:
	section		size	use	configuration

	   0		400M	root	inodes at high end
	   1		200M	swap	swap
	  11		690M	user	inodes at low end

or:
	section		size	use	configuration

	  12	       1290M	user	inodes in middle

.  That way the inode location can be optimized (maybe even automatically
by sam :-) .

As it is, I'm stuck with using a 48M swap in section 15 and root in section
13 and no other options :-(

Jim	jthomas@wsmr-emh82.army.mil
From: steve@eowyn.gte.com (Steve Preston)
Newsgroups: comp.sys.hp
Subject: How can one boot into single-user mode on 9000/720?
Date: 29 Dec 92 20:39:03 GMT
Organization: GTE Laboratories

My machine got into a state in which it would execute 
  shutdown -h -y now
during the startup, like it was the last thing in /etc/rc.

Thus, my console would eventually tell me that it was ok to cycle
power.  If I cycled power, it would reboot and execute shutdown -h
again.

The only way I could get control back was to boot off another HP on
the lan, which involved rebuilding the root disk.  That was not a
disaster since I had backups of my /users and /usr/local trees.

But if I could have coaxed HP-UX to boot single user I might have been
able to fix the problem without rebuilding.

I checked laserrom but the only way I was able to find was to do
shutdown without the -r or the -h flags.  (I actually tried to do this
by telneting to my machine from a remote machine during the 10-20
seconds I had between activation of the networking daemons and the
shutdown -h, but I was never fast enough).

So, my question is, is there any way during a normal cold boot to
force the OS (HP-UX 8.07 in this case) into single-user mode?
--
--
Steve Preston (spreston@gte.com)
From: allyn@sdd.hp.com (Allyn Fratkin)
Newsgroups: comp.sys.hp
Subject: Re: Need help setting up rlpdaemon (probably)
Date: 22 Dec 1992 11:05:20 -0800
Organization: Hewlett Packard, San Diego Division
NNTP-Posting-Host: hpsdlx.sdd.hp.com

rlpdaemon is unfortunately somewhat tricky to get set up the first
time.

i recommend running rlpdaemon from inetd.  we used to run it as a daemon
but we are having better luck running it from inetd.

when we ran rlpdaemon as a daemon, we found that we needed
the fully-qualified domain name of the other hosts in /etc/hosts.equiv
(never tried the ~lp/.rhosts approach), even though the other hosts
were in the same domain.

we've had no odd problems like that running rlpdaemon from inetd.
just uncomment the line from /etc/inetd.conf, run "inetd -c", and 
check the "printer allow" statement in /usr/adm/inetd.sec.

you might try running rlpdaemon with the -l options, which will
start a log file for remote requests in /usr/spool/lp/lpd.log.

> I get an error message from the printing "client" to the effect of 
> "waiting for box-with-printer to come up".  

this message doesn't actually mean the remote host is down, it means
that the printer service on the remote host is down or refusing
to talk to that host.

not an official response.
-- 
 From the virtual mind of Allyn Fratkin            allyn@sdd.hp.com
                          San Diego Division       - or -
                          Hewlett-Packard Company  uunet!ucsd!hp-sdd!allyn
From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
Newsgroups: comp.sys.hp
Subject: Re: HP 7xx problem with virtual memory (thrashing)
Keywords: virtual memory thrashing
Date: 3 Jan 93 03:49:44 GMT
Distribution: comp.sys.hp
Organization: University of Toronto Chemistry Department

In article <1992Dec31.193847.6419@csi.com> bkp@csi.com (Brian K. Pheiffer) writes:
>
>I have found a serious deficiency with the HP-UX memory management and
>was wondering if anyone else has seen this problem: whenever a process
>require more memory than the amount of physical RAM that the system has,
>the HP-UX operating system (8.05,8.07 & 9.0) start ``thrashing'', a
>term HP uses to mean that the disk continues to swap indefinately
>while the process makes no progress!  
>HP mentioned that it solved this problem with HP-UX 9.0, however, we
>haven't seen that to be true.  Does anyone else know about this
>problem?

I reported this problem on 8.07 last June, and have tried several
patches, including the one for 8.07 that is supposedly based on the
9.0 swap/paging algorithms. None of them have made any difference.

Our "solution", which seems to have worked so far, was to buy
enough 3-rd party memory (192MB), then only allow 1 task to run at a time,
with the user data size set to 128 MB max. This way one process
can not steal all the physical memory, though 2 or more could
gang up and do it. Our system would die within a week with 128 MB
memory.

This is a pathetic state for a modern technical/scientific workstation :-(.
-- 
core error - bus dumped    -*-    Mike Peterson, SysAdmin, U/Toronto Chemistry
 *******   As usual, I speak only for me, myself and I; nobody else   *******
E-mail: system@alchemy.chem.utoronto.ca  Tel: (416)978-7094  Fax: (416)978-8775
Newsgroups: comp.sys.hp,comp.windows.x
From: dkarr@sierra.com (David Karr)
Subject: Re: keyboardFocusPolicy problem
Followup-To: comp.sys.hp,comp.windows.x
Organization: Sierra Geophysics,  Kirkland WA
X-Newsreader: TIN [version 1.1 PL8]
Date: Wed, 23 Dec 1992 19:20:42 GMT

Tom LaStrange (toml@marvin.boulder.ParcPlace.COM) wrote:
: In article <smr.724422189@hitkw14>, smr@pki-nbg.philips.de (Stephen Riehm) writes:
: |> dkarr@sierra.com (David Karr) writes:
: |> I experience similar problems when using HP's datebook program, I also
: |> have everything set to explicit, and I can bring up the datebook with a
: |> couple of keypresses, enter in a date and message, but in order to
: |> select an event type, I need to use the mouse (whinge number 1), and
: |> once I have used the mouse, the focus highlight around the current
: |> widget is lost (whinge number 2), and I am forced to continue using the
: |> mouse in this application until I close the window (at which point I am
: |> able to fire up another one via the keyboard again.) (whinge number 3)
: |> 
: |> If anyone has found how to fix this, I would be very grateful to know
: |> how!


: I don't know if it will help but you should probably set the mwm/vuewm
: resource "enforceKeyFocus" to False.  When set to True (the default),
: mwm/vuewm is not playing by the ICCCM rules.  mwm/vuewm will do an
: XSetInputFocus to top-level windows when it hasn't been requested to
: and if I remember correctly, it does it with a timestamp of
: CurrentTime!  Very anti-social.  I spent spent a bunch of hours
: tracking this one down...

: --
: Tom LaStrange        toml@boulder.ParcPlace.COM

Nope, that didn't make any difference.

I've been told that HP has a patch for this.  I will assume that when we
move to Motif 1.2 this will be resolved.

--
David M. Karr
Sierra Geophysics, Inc.
ARPA: dkarr@sierra.com, UUNET: uunet!sgihbtn!dkarr
Phone: (206) 822-5200 (x343)
Newsgroups: comp.sys.hp
From: dwcooley@colby.edu (David W. Cooley)
Subject: Re: Disk partitioning/layout (Was: New 877 Installation)
Reply-To: dwcooley@colby.edu (David W. Cooley)
Organization: Colby College, Waterville, Maine
Date: Tue, 29 Dec 1992 14:48:59 GMT

In article <JTHOMAS.92Dec28161410@navajo.nmsu.edu> James Thomas writes:

>I would like to be able to define the partition sizes.  For example, a
>stock 48M swap partition may have been OK in the "old" days, but systems
>have more memory now.  The 877 we got was ordered with 128M of memory (gee,
>somewhere between 3200 and 6400 times the memory in the 1620 I started on
>... :-) .  It was set up with a 1106M primary swap space - not enough for a
>full dump, for example.  Suppose I want 145M of primary swap?  The choices
>are 106M, 128M, and 980M.  Not very appropriate.  What do I do when HP
>tells me they can't support the system because I can't give them a complete
>system dump ?? :-) :-)


Here, Here!
I am in the process of installing two 827's to run as servers offering various third party applications to administrative users.  In both cases, I have found the predefined partitions *INAPPROPRIATE* to our needs, resulting in a suboptimal system, lots of fiddling and some level of frustration.

Dave
--
David W. Cooley                                    e-mail:    dwcooley@colby.edu
Associate Director for Technical Services          phone:          (207)872-3581
Computer Services                                  fax:            (207)872-3555
Colby College
Waterville, Maine 04901
Newsgroups: comp.sys.hp
From: jwang@sys.toronto.edu (Jingwen Wang)
Subject: Free Swap space on HP-UX
Organization: CSRI, University of Toronto
Date: 30 Dec 92 20:59:24 GMT

   Sorry to raise this question again. I posted something similar some days
ago. But I only got one response which does not work.

   My question was: how to get the amount of free swap space in the system?
Since I need this value in my C program, don't suggest me to use the "monitor"
program from HP company. 

   Someone suggested me to try the kernel variable swapspc_cnt multiplied
   by swchunk. This obviously under-estimated the value too much: I got
   92 MB free swap space from "monitor" program, but swapspc_cnt * swchunk
   is only 35MB.

   I also tried the minfo structure defined in sysinfo.h for the number
   minfo.freeswap, but I always get 0 from the kernel. 

   Can someone tell me how to get this value? The program "monitor" can
certainly help, but the source is not available. HP is very secretive 
in their software, as well as product information.

Thanks.

jwang

-- 
  {}
{}(){} -----> Jingwen Wang, Univ. of Toronto       (416)-978-1675 (office)
  {}          jwang@sys.toronto.edu                1-800-ASK-wang (home)

--
  {}
{}(){} -----> Jingwen Wang, Univ. of Toronto       (416)-978-1675 (office)
  {}          jwang@sys.toronto.edu                1-800-ASK-wang (home)
From: marrevola@rediris.es
Newsgroups: comp.sys.hp
Subject: Re: Killing idle jobs
Date: 24 Dec 92 12:04:45 +0100
Organization: REDIRIS, Red Nacional de I+D

In article <Bzq4G9.28s@cup.hp.com>, pdg@cup.hp.com(Paul Gootherts) writes:
>>	If your users are using csh, set a default autologout=30, this
>>	way the system will log them out whenever they are idle for 30
>>	minutes (I found 30 to be a reasonable number for most "relaxed"
>>	sites, but you can set whatever you want).
> 
> Or, if they are using ksh, check the man page for the variable TMOUT.


Yes, but users change the value of TMOUT in their .profile to very big
value. How could I avoid this?


-- 
Manuel Arrevola Velasco   ||||| True e-mail: manolo@taf.fundesco.es |||||
                                             root@taf.fundesco.es
Newsgroups: comp.sys.hp
From: korg@daneel.rdt.monash.edu.au (Cameron Blackwood)
Subject: HELP: gcc for a HP9000/300 and fixing HP7945's
Summary: I need more of everything
Keywords: drives, gcc, memory
Organization: Monash University, Melb., Australia.
Date: Mon, 4 Jan 1993 04:07:42 GMT

Hello,
  I have a HP 9000/300 system and I have a number of problems in
getting it running to a stage I am happy with.

System: HP9000/300 (68020 processor) 8m of ram
	3 * HP 7945 (55M drives on hpib)
	HP9144 tape unit 
	HPUX 7.0

Problems:
  * I have 2 extra drives (HP7945s) each powers up with the fault
  light on.
  - On one of them, I can run mediainit and newfs but they both fail with
    a write error (a bad block?). How do I mark a bad block?
  - The other wont even attempt to work, I have been told that it has
    been scrubbed and lost its HP specific first sector or something.
    Is their any way to totally re initialise this drive?
  * I am attempting to compile gcc but I have to keep deleting things
  and moving files onto other drives as the file system fills. I dont
  have enough free space left to do a full compile. Does anyone have
  gcc compiled on this type of system??


any help would be appreciated!
  		cam
-- 
 Cameron  Blackwood      Robotics and Digital Technology,  Monash University.
 Email: c.blackwood@rdt.monash.edu.au      Gaunix: korg@yoyo.cc.monash.edu.au
From: jinouye@columbus.cse.ogi.edu (Jon Inouye)
Newsgroups: comp.sys.hp
Subject: Changing Quantum PD425S bus address
Date: 26 Dec 92 22:23:24 GMT
Article-I.D.: ogicse.47747
Distribution: usa
Organization: Oregon Graduate Institute - Computer Science & Engineering

I am in the process of trying to figure out how to change the SCSI bus address
of a Quantum PD425S internal drive attached to the core I/O SCSI interface on
a HP 9000/720. The current bus address is SCSI address 6 and I'd like to
move it since I'm trying to attach a SCSI camera that always thinks it lives
at SCSI address 6.

I took the drive out of the cabinet and couldn't see any switches that might
indicate the bus address. We received no disk drive documentation with the
system so I'm currently at a loss on how to proceed. I would appreciate any
pointers; please respond by email. Thanks!
---
Jon Inouye                             USENET: jinouye@cse.ogi.edu
Distributed Systems Research Group     UUCP  : {tektronix,...}!ogicse!jinouye
Computer Science and Engineering Dept  PHONE : (503) 690-1009
Oregon Graduate Institute of Science & Technology (formerly OGC)
From: stroyan@hpfcso.FC.HP.COM (Mike Stroyan)
Newsgroups: comp.sys.hp
Subject: Re: Compiling a short C program with "cc - Aa"
Date: 29 Dec 92 19:56:44 GMT
Organization: Hewlett-Packard, Fort Collins, CO, USA

In comp.sys.hp, dtk@atl.hp.com (Dara T. Khani) writes:

> One step forward, one step back :(
> The routine getrusage is not provided in HP-UX.  You can either write 
> your own routine or use ifdef to isolate the call and use alternate calls.
> An HP-UX routine similar to getrusage is times(2).

Of course, the code already has a "times" based implemenatation inside the
"#ifdef hpux" test.  As the original poster noted-
> > The symbol "hpux" isn't defined if I use "cc -Aa".

Instead, use the symbol "__hpux".  The ANSI C standard doesn't allow predefined
cpp symbols without the leading underscores.

Mike Stroyan, mike_stroyan@fc.hp.com
Newsgroups: comp.sys.hp
From: sacks@panther.mot.com (Dennis Sacks)
Subject: Binary Compatibility between 700 and 800 ??
Reply-To: sacks@netmgr.mot.com
Organization: Info Enterprises
Date: Thu, 31 Dec 1992 19:06:13 GMT

Could someone explain whether the Series 700 and Series 800 are binary compatible
or not? I've heard that they are binary compatible, and I've heard that they are
not, but are "object compatible" whatever that means.

Can I develop a program on a 700 and run it to an 800 without recompiling? Will
I ever run into problems doing this?

Any help will be appreciated.

---
Dennis Sacks                        
    is sacks@panther.mot.com         
         at Info Enterprises         

Newsgroups: comp.sys.hp
From: jthomas@nmsu.edu (James Thomas)
Subject: telnet to 8.02 system (877) hangs
Organization: NMSU Computer Science
Date: Thu, 24 Dec 1992 20:39:16 GMT

Hi all,

We are installing a new 877 that came preinstalled with some version of
8.02 .  When we attempt to telnet to it (from an 840 running 8.0, from a
Cisco terminal server, from some old terminal server box, from a Sun
running 4.1.3 SunOS), the connection hangs.  From the Sun and old box, the
hang is within the (%*&^%*) Copyright message (these are far away on the
Internet).  From the local Cisco server and the 840, the hang is later, in
the f's of an "ls -l /etc" .

I've ftp'ed 100MB successfully between the 840 and the 877...

Any hints?

Thanks,
Jim Thomas (jthomas@wsmr-emh82.army.mil)
--

Jim Thomas   jthomas@nmsu.edu   jthomas%midas@wsmr-emh89.army.mil
Newsgroups: comp.sys.hp
From: mhr@hpuerca.atl.hp.com (Mike Reaser)
Subject: Re: cc -Aa does not like unsigned short
Date: Wed, 30 Dec 1992 20:53:46 GMT
Distribution: usa
Organization: a stone mountain of Kudzu

In <1992Dec30.200114.5642@gtech.com> ayr@gtech.com (Aleksey Y. Romanov) writes:

>Hi, I have a following problem

>#if defined(__STDC__)
>int foo(unsigned short);
>#else
>int foo();
>#endif

>int
>foo(s)
>    unsigned short s;
>{
>   ...
>}

>gives me an error 1711: Inconsistent parameter list declaration for "foo"
>when compiled with -Aa option.


It's because when we encounter "s", no type declaration is encountered,
thus the default of "int" is used.  When "s" is then redeclared as an
unsigned short, the error occurs.

You are mixing ANSI prototypes with K&R-style function definitions.
If you rewrite your code as follows, all should be fine:

#if defined(__STDC__)
int foo(unsigned short);
#else
int foo();
#endif

int
#if defined(__STDC__)                       <------------
foo(unsigned short s)                       <------------
#else                                       <------------
foo(s)
    unsigned short s;
#endif                                      <------------
{
   ...
}

The "<------------" indicate the added lines.  Good luck!

--
=======================================================================
 Mike Reaser, Hewlett-Packard N. Amer. Response Center - Atlanta
 Internet:  mhr@hpuerca.atl.hp.com
=======================================================================
Newsgroups: comp.sys.hp
From: sasbge@unx.sas.com (Gantt Edmiston)
Subject: HP LaserJet 4 problem with paper sticking
Date: Tue, 29 Dec 1992 06:49:08 GMT
Organization: SAS Institute Inc.
Keywords: HP, HPLJ4, printer

I recently purchased a HP LJ4 printer and with the exception of
misfeeding the paper, it works wonderfully.  I would like to hear
from others who have this specific device to see if anyone else
is have problems with the printer feeding two and three pages
of paper with every other page of output.

I'm gonna try some different paper if I can find some tomorrow.

Please post or email to me directly.

Thanks.
--
-----------------------------------------------------------------------------
Gantt Edmiston - SysAdmin     o |If you always do what you have always done,
SAS Institute Inc.          <(  |you'll always get what you've always gotten!
Quality Assurance - V416     [\.+--------------------------------------------
Cary NC 27513 919-677-8000 x6091|            sasbge@unx.sas.com
-----------------------------------------------------------------------------
From: dave@hpdstma.ptp.hp.com (Dave Waller)
Newsgroups: comp.sys.hp
Subject: Re: X11R5 on 9000/730 annoyance
Date: 23 Dec 1992 19:13:16 GMT
Organization: Hewlett Packard
Distribution: na
NNTP-Posting-Host: hpdstma.ptp.hp.com

In article <1992Dec23.145921.19285@ists.ists.ca>, anthony@nereid.sal.ists.ca (David M. Anthony) writes:
|> System: HP9000/730
|> OS: HP-UX 8.05
|> 
|> I installed MIT's X11R5 some months ago. Everything went smoothly except
|> for the contrib code for "xconsole". It compiles fine but does not work
|> as advertised. When it comes up it responds with a "Couldn't open
|> console message". The annoyance arises when I try and bring up an X
|> client that may have to send some output to the console. My X session
|> hangs and I must <shft><cntrl><break> to get back to the HP screen and
|> then restart my X server.

I can't help you with whatever the problem is with xconsole, but until you
have a resolution, a band-aid would be to start up an hpterm or xterm with
the "-C" option; this will make that terminal window a console window,
which will recieve anything written to /dev/console.

-- 
Dave Waller
Hewlett-Packard Co.
Workstation Systems Division
Sunnyvale Channel Partner Consulting
Newsgroups: comp.sys.hp