Re: buildworld Problems at NTP

2001-01-05 Thread Mark Murray

> > There was a make(1) problem a couple of weeks back. Resup, make-and-install
> > make(1), and you should be OK.
> > 
> > Dunno why, but ntp(d) tickled the bug.
> 
> To be safe, I nuked the /usr/src/usr.bin/make tree and re-cvsup'ed so
> I'd checkout new-car-smell-fresh copies. I killed the /usr/obj tree to
> ensure a clean start there and started a buildworld. Six hours later,
> 
>   ===> usr.sbin/ntp/ntpd
>   Killed

Read what I said!!

Make-and-install _make_ (not anything else) first.

M
-- 
Mark Murray
Warning: this .sig is umop ap!sdn


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld Problems at NTP

2001-01-05 Thread Dima Dorfman

> On Fri, Jan 05, 2001 at 03:54:20PM -0800, Dima Dorfman wrote:
> > > Any more ideas what to try here?
> > 
> > I'm sure you already thought of this, but have you made sure that you
> > aren't running any memory-hogging applications?  I just compiled all
> > the ntp programs on my laptop which is a Pentium 75 with 24MB of
> > memory and 64MB of swap (I didn't do an entire buildworld; I don't
> > really want to wait a day).  It's running 5.0-20001223-CURRENT, and
> > compiled the ntp suite from 5.0-20010101-CURRENT.
> 
> Pretty lean on this machine, I make sure to turn off SETI@Home for
> builds or it'll swap like a maniac. ;) Perhaps I should point out that
> I am building with sources mounted via NFS, but /usr/obj is local.

For the tests I described above, the equivalents (i.e., I used
different paths) of /usr/src and /usr/obj were both on NFS-mounted
filesysems.  If anything, this should makes things easier on the build
host, provided that the NFS subsystem doesn't puke, of course.

>   [170:~] ps uax

I don't see anything abnormal here.  If you just want to get this
stuff built, you might try adding more swap using the vn(4) driver.
As to why make is getting killed, however, I'm at a loss.  Although it
shouldn't matter, you might try rebooting.  This is current, after
all, and as such it's not immune to weird bugs.

Dima Dorfman
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld Problems at NTP

2001-01-05 Thread Crist J. Clark

On Fri, Jan 05, 2001 at 03:54:20PM -0800, Dima Dorfman wrote:
> > Any more ideas what to try here?
> 
> I'm sure you already thought of this, but have you made sure that you
> aren't running any memory-hogging applications?  I just compiled all
> the ntp programs on my laptop which is a Pentium 75 with 24MB of
> memory and 64MB of swap (I didn't do an entire buildworld; I don't
> really want to wait a day).  It's running 5.0-20001223-CURRENT, and
> compiled the ntp suite from 5.0-20010101-CURRENT.

Pretty lean on this machine, I make sure to turn off SETI@Home for
builds or it'll swap like a maniac. ;) Perhaps I should point out that
I am building with sources mounted via NFS, but /usr/obj is local.

  [170:~] ps uax
  USER   PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
  root10 99.0  0.0 00  ??  RL   13Dec00 1239:51.83  (idle)
  root 1  0.0  0.5   552  128  ??  ILs  13Dec00   0:00.51 /sbin/init --
  root11  0.0  0.0 00  ??  WL   13Dec00  11:00.26  (swi1: net)
  root12  0.0  0.0 00  ??  WL   13Dec00 178:01.38  (swi6: clock)
  root13  0.0  0.0 00  ??  WL   13Dec00   0:00.00  (swi4: vm)
  root14  0.0  0.0 00  ??  DL   13Dec00  11:48.92  (random)
  root15  0.0  0.0 00  ??  WL   13Dec00   0:00.00  (swi5: task queue)
  root16  0.0  0.0 00  ??  WL   13Dec00  52:22.08  (irq14: ata0)
  root17  0.0  0.0 00  ??  WL   13Dec00   0:17.18  (irq6: fdc0)
  root18  0.0  0.0 00  ??  WL   13Dec00   0:00.00  (irq7: ppc0)
  root19  0.0  0.0 00  ??  WL   13Dec00   0:00.01  (swi0: tty:sio)
  root20  0.0  0.0 00  ??  WL   13Dec00  28:27.06  (irq10: ep0)
  root 2  0.0  0.0 00  ??  DL   13Dec00   4:16.76  (pagedaemon)
  root 3  0.0  0.0 00  ??  DL   13Dec00   0:00.36  (vmdaemon)
  root 4  0.0  0.0 00  ??  DL   13Dec00   0:28.82  (bufdaemon)
  root 5  0.0  0.0 00  ??  DL   13Dec00  12:45.19  (syncer)
  root   114  0.0  1.2   932  360  ??  Ss   13Dec00   0:33.22 syslogd -s
  root   119  0.0  0.5  1252  132  ??  Is   13Dec00   0:09.18 timed
  root   126  0.0  0.0   2080  ??  IW   - 0:00.00 nfsiod -n 4
  root   127  0.0  0.0   2080  ??  IW   - 0:00.00 nfsiod -n 4
  root   128  0.0  0.0   2080  ??  IW   - 0:00.00 nfsiod -n 4
  root   129  0.0  0.0   2080  ??  IW   - 0:00.00 nfsiod -n 4
  root   147  0.0  0.9   996  248  ??  Ss   13Dec00   0:37.23 cron
  root   150  0.0  1.6  2648  476  ??  Is   13Dec00   0:05.21 /usr/sbin/sendmail -q30m
  root   154  0.0  0.9  2192  248  ??  Is   13Dec00   0:34.69 /usr/sbin/sshd
  root   198  0.0  0.0   9480  d0  IWs+ - 0:00.00 /usr/libexec/getty 
std.115200 ttyd0
  root 48855  0.0  1.5  2280  448  ??  S10:02AM   0:02.85 sshd: cjc@ttyp0 (sshd)
  cjc  48877  0.0  2.7  1412  788  p0  Ss   10:02AM   0:01.35 -tcsh (tcsh)
  root 0  0.0  0.0 00  ??  DLs  13Dec00   0:10.73  (swapper)
  cjc  83227  0.0  1.2   520  336  p0  R+4:15PM   0:00.00 ps uax
  [171:~] swapinfo
  Device  1K-blocks UsedAvail Capacity  Type
  /dev/rad0s1b   102272 2104   100168 2%Interleaved
  [172:~] vmstat 
   procs  memory pagedisks faults  cpu
   r b w avm   fre  flt  re  pi  po  fr  sr ad0 ac0   in   sy  cs us sy id
   1 0 04632 14236   24   0   0   0  26  21   0   0  225   50 265 95  1  4
  [173:~] uname -a
  FreeBSD bubbles.cjclark.org 5.0-CURRENT FreeBSD 5.0-CURRENT #11: Wed Dec 13 23:14:41 
PST 2000 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BUBBLES  i386

Sources for the existing system would be from 2000/12/09. Again, the
one I am trying to build has been re-cvsup'ed several times the last
being about 0830 PST today.
-- 
Crist J. Clark   [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld Problems at NTP

2001-01-05 Thread Dima Dorfman

> Any more ideas what to try here?

I'm sure you already thought of this, but have you made sure that you
aren't running any memory-hogging applications?  I just compiled all
the ntp programs on my laptop which is a Pentium 75 with 24MB of
memory and 64MB of swap (I didn't do an entire buildworld; I don't
really want to wait a day).  It's running 5.0-20001223-CURRENT, and
compiled the ntp suite from 5.0-20010101-CURRENT.

Hope this helps

Dima Dorfman
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld Problems at NTP

2001-01-05 Thread Mark Murray

> On Fri, Jan 05, 2001 at 12:37:43AM -0800, Crist J. Clark wrote:
> 
> > What is happening is that the system is killing off the make process
> > because it starts to swell up so much it consumes all swap. Here is
> > the dmesg,
> 
> Were any bits of the compiler killed off? A new test snapshot of gcc
> was recently added to -current and maybe it's had a strange effect on
> makedepend or something

There was a make(1) problem a couple of weeks back. Resup, make-and-install
make(1), and you should be OK.

Dunno why, but ntp(d) tickled the bug.

M
-- 
Mark Murray
Warning: this .sig is umop ap!sdn


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld Problems at NTP

2001-01-05 Thread David Malone

On Fri, Jan 05, 2001 at 12:37:43AM -0800, Crist J. Clark wrote:

> What is happening is that the system is killing off the make process
> because it starts to swell up so much it consumes all swap. Here is
> the dmesg,

Were any bits of the compiler killed off? A new test snapshot of gcc
was recently added to -current and maybe it's had a strange effect on
makedepend or something

David.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld Problems at NTP

2001-01-05 Thread John Indra

On Fri, Jan 05, 2001 at 12:37:43AM -0800, Crist J. Clark wrote:

>I'd really like to get this working so I can play with some kernel
>mods I made last week. Any ideas?

I've just finished building world and kernel with recent -CURRENT. Didn't
encounter any problem though.

% uname -a
FreeBSD dante.naver.co.id 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Jan  5 13:19:17 JAVT 
2001 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DANTE  i386

/john


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message