mark@cbpavo.mis.oh.att.COM (Mark Horton) (10/20/87)
From uucp@cbosgd.uucp Sat Oct 17 11:54:13 1987
Received: from cbterra.MIS.OH.ATT.COM by cbpavo.MIS.OH.ATT.COM (3.2/3.14)
id AA09758; Sat, 17 Oct 87 11:54:09 EDT
Received: by cbterra.MIS.OH.ATT.COM (4.12/smail2.2/01-16-87)
id AA05466; Sat, 17 Oct 87 11:55:49 edt
Received: by cbosgd.MIS.OH.ATT.COM (4.12/smail2.1/12-11-86)
id AA04893; Sat, 17 Oct 87 08:30:45 edt
Received: by cbosgd.MIS.OH.ATT.COM (4.12/smail2.1/12-11-86)
id AA04614; Sat, 17 Oct 87 08:06:37 edt
Date: Sat, 17 Oct 87 08:06:37 edt
From: uucp@cbosgd.MIS.OH.ATT.COM (UNIX-to-UNIX Copy)
Message-Id: <8710171206.AA04614@cbosgd.MIS.OH.ATT.COM>
Subject: Undeliverable Mail
Apparently-To: cbosgd!MAILER-DAEMON
To: MAILER-DAEMON@cbosgd.uucp
Status: R
This mail message is undeliverable.
(Probably to or from system 'cuuxc')
It was sent to you or by you.
Sorry for the inconvenience.
Sincerely,
cbosgd!uucp
#############################################
##### Data File: ############################
>From MAILER-DAEMON Fri Oct 9 22:31:47 1987 remote from cbosgd
Received: by cbosgd.MIS.OH.ATT.COM (4.12/smail2.1/12-11-86)
id AA00637; Fri, 9 Oct 87 22:31:43 edt
Date: 29 Sep 87 22:38:52 GMT
From: MAILER-DAEMON@cbosgd.MIS.OH.ATT.COM (Mail Delivery Subsystem)
Subject: Returned mail: User unknown
Message-Id: <8710100231.AA00637@cbosgd.MIS.OH.ATT.COM>
To: cuuxc!uucp
----- Transcript of session follows -----
550 comp-bugs-2bsd... User unknown
----- Unsent message follows -----
Received: by cbosgd.MIS.OH.ATT.COM (4.12/smail2.1/12-11-86)
id AA00636; Fri, 9 Oct 87 22:31:43 edt
To: cbosgd!comp-bugs-2bsd
Path: cuuxc!cuuxb!cuae2!ihnp4!ptsfa!ames!sdcsvax!ucbvax!OKEEFFE.BERKELEY.EDU!bostic
From: bostic@OKEEFFE.BERKELEY.EDU (Keith Bostic)
Newsgroups: comp.bugs.2bsd
Subject: V1.5 (Kernel memory printf's are out of order.)
Message-Id: <8709292238.AA16765@okeeffe.Berkeley.EDU>
Date: 29 Sep 87 22:38:52 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 37
Subject: Kernel memory printf's are out of order.
Index: sys/pdp/machdep2.c 2.10BSD
Description:
The user and available memory printf's when the kernel starts
up are out of order.
Repeat-By:
Examine the code.
Fix:
Apply the following patch to sys/pdp/machdep2.c.
*** machdep2.c.old Tue Sep 29 15:29:34 1987
--- machdep2.c Tue Sep 29 15:29:51 1987
***************
*** 162,172 ****
maxmem -= ramsize;
#endif
- if (MAXMEM < maxmem)
- maxmem = MAXMEM;
-
printf("phys mem = %D\n", ctob((long)physmem));
printf("avail mem = %D\n", ctob((long)maxmem));
printf("user mem = %D\n", ctob((long)maxmem));
#if NRAM > 0
printf("ram disk = %D\n", ctob((long)ramsize));
--- 162,171 ----
maxmem -= ramsize;
#endif
printf("phys mem = %D\n", ctob((long)physmem));
printf("avail mem = %D\n", ctob((long)maxmem));
+ if (MAXMEM < maxmem)
+ maxmem = MAXMEM;
printf("user mem = %D\n", ctob((long)maxmem));
#if NRAM > 0
printf("ram disk = %D\n", ctob((long)ramsize));