From owner-freebsd-stable Sun Mar 26 6:37:36 2000 Delivered-To: freebsd-stable@freebsd.org Received: from wally.bellnetworks.net (www.bellnetworks.net [216.214.153.70]) by hub.freebsd.org (Postfix) with ESMTP id 015F337B693 for ; Sun, 26 Mar 2000 06:37:31 -0800 (PST) (envelope-from jerry@bellnetworks.net) Received: from itbell (dhcp-247.bellnetworks.net [208.177.187.247]) by wally.bellnetworks.net (8.9.3/8.9.3) with SMTP id JAA45915 for ; Sun, 26 Mar 2000 09:37:29 -0500 (EST) (envelope-from jerry@bellnetworks.net) Message-ID: <015801bf96cc$14f8fce0$f7bbb1d0@netrex.com> From: "Jerry Bell" To: References: Subject: Re: ps, w, top and netstat problem Date: Sat, 25 Mar 2000 21:36:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems like no matter what I do, I am still get this problem. I had originally installed 4.0RELEASE on this box, and it worked perfectly. I ran mergemaster to make sure all the configuration files were up to date. I copied cp /usr/src/etc/MAKEDEV to /dev and ran a ./MAKEDEV all. I just tried removing the 'options PROCFS' from the kernel config and recompiled. After a reboot, I get the same thing. I ran another make buildworld and make installworld, so the ps, w, top and netstat binaries are _definately_ in sync with the kernel. I removed all compiler options during this make world. I recompiled the kernel with PROCFS back in, rebooted and still the same error: dogbert# w 9:30AM up 9 mins, 1 user, load averages: 0.00, 0.01, 0.00 USER TTY FROM LOGIN@ IDLE WHAT w: proc size mismatch (31320 total, 1056 chunks): Undefined error: 0 dogbert# ps ps: proc size mismatch (24012 total, 1056 chunks) dogbert# top kvm_open: proc size mismatch (31320 total, 1056 chunks) top: Out of memory. dogbert# netstat -a dogbert# dogbert# uname -a FreeBSD dogbert.bellnetworks.net 4.0-STABLE FreeBSD 4.0-STABLE #2: Sun Mar 26 09:19:03 EST 2000 jerry@dogbert.bellnetworks.net:/usr/src/sys/compile/GENERIC i386 dogbert# which ps /bin/ps dogbert# ls -l /bin/ps -r-xr-xr-x 1 root wheel 203000 Mar 26 09:11 /bin/ps dogbert# Any ideas on how I can fix this, or what other info would be helpful to track this down? Thanks for the help, Jerry ---- Original Message ----- From: Mike Ju. Volkov > > On 25-Mar-00 Jerry Bell wrote: > > Actually, I am running a rebuilt kernel. For sanity's sake, I just rebuilt > > it again, with the config -r, and run MAKEDEV all (copied from > > /usr/src/etc). > > > > Anyway, I'm still having the same problem. > > Try to remove PROCFS from kernel config. > > ---------------------------------- > E-Mail: Mike Ju. Volkov > Date: 26-Mar-00 > Time: 09:51:35 > > ICQ: 5173328 > --- > Ban the bomb. Save the world for conventional warfare. > > ---------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message