Subject: Re: kernle build as of 6/24 sup'ed sources
To: Adam Glass <glass@sun-lamp.cs.berkeley.edu>
From: Marc Evans - Contract Software Hacker <marc@Synergytics.Com>
List: port-pmax
Date: 06/25/1994 07:03:10
> > Using the
> > resulting kernel I get to the point that init is exec'ed and an infinite
loop
> > of no swap is output.
> >
>
> i committed the two changes.
>
> umm...i've never seen this infiinite loop no swap thing...could you
> mail to the list your kernel config, particulary if you've changed it
> from GENERIC.pmax
Here is the diff of GENERIC.pmax vs MARC1:
$ diff GEN* MARC1
11c11
< ident GENERIC
---
> ident "MARC1"
14c14
< timezone 8 dst
---
> timezone 5 dst
55a56
> options SYSCALL_DEBUG # ultrix compatibility debugging
57,58c58,59
< config netbsd swap generic
< #config netbsd root on rz0a swap on rz0b dumps on rz0b
---
> #config netbsd swap generic
> config netbsd root on rz0a swap on rz0b dumps on rz0b
I have also tried using the "config netbsd swap generic" with the same
results. I believe that I'm not alone in this observation, as I received this
message from Andrew Gallatin at Duke (I hope he doesn't mind me forwarding
this):
---- Forwarded message follows:
From: Andrew Gallatin <gallatin@isds.Duke.EDU>
Date: Fri, 24 Jun 1994 18:37:51 -0400
To: Marc@Synergytics.Com
Cc: karl@ac.duke.edu, stock@cs.buffalo.edu
Subject: Re: netbsd-pmax
I've managed to get the swap added via some real hacks. In the file
src/sys/arch/pmax/dev/rz.c
I uncommented some code in rzgetinfo & changed the default disk label
to exactly match the partition info on my root disk. This seemed to
get the swap added.
break() is still failing, and not giving memory... I think there might
be a type problem.
In obreak, the line (74 in src/sys/vm/vm_unix.c):
if ((int)(new - old) > p->p_rlimit[RLIMIT_DATA].rlim_cur)
is making it return. In my case, I'm getting
obreak: (new)10020000 - (old)10000000 ?> ffffef3c
I've got to run now. Would you mind sending me whatever file that it
is that sup uses to compare times? I would like to trick it into only
grabbing the files that I need if sun-lamp ever comes up again ;-)
Thanks!
Drew
---- End of forwarded message
I haven't yet investigated this, but hope to later this morning (it's raining,
so I can't mow the lawn as I had planned to 8-).
- Marc
===============================================================================
Marc Evans, Software Consultant WB1GRH Synergytics
E-Mail: Marc@Synergytics.Com 21 Hinds Lane, Suite 23L
URL: http://WWW.Synergytics.Com/~marc Pelham, NH, USA 03076-3013
PGP-2.6 key available upon request +1 603 635 3857 (voice/fax)
MIME-1.0 & Enriched-Text mail accepted Unix & X11 internals/apps
===============================================================================
------------------------------------------------------------------------------