From owner-freebsd-questions Fri Feb 9 1:34:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web5201.mail.yahoo.com (web5201.mail.yahoo.com [216.115.106.95]) by hub.freebsd.org (Postfix) with SMTP id 7A2DF37B491 for ; Fri, 9 Feb 2001 01:34:27 -0800 (PST) Message-ID: <20010209093427.7006.qmail@web5201.mail.yahoo.com> Received: from [64.170.164.210] by web5201.mail.yahoo.com; Fri, 09 Feb 2001 01:34:27 PST Date: Fri, 9 Feb 2001 01:34:27 -0800 (PST) From: Alex Teslik Reply-To: teslik@yahoo.com Subject: ps proc size mismatch - whah whah To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello List, I screwed up. I'm trying to upgrade from 3.2-REL to 4.2-REL and its killing me. I didn't backup before I tried (Big Fat Idiot) :( Basically, I have all the source for 4.2 in /usr/src, but somehow (I think it was sysinstall/Update) blasted everything in my /bin with 4.2 binaries, including ps. Originally I could not boot after this happened. I kept getting pid errors and fsck would not run due to them. When I tried to go to single user, sh was issuing pid errors too. I assumed ps was hosed. I couldn't mount anything (or even get to a shell) because everything failed and issued pid errors. Using the fixit disk for 3.2 and replacing everything in bin from the fixit disk (are these all statically linked binaries?) I am now able to boot to single user mode, but I can only mount /, so I can't get to any of the source in /usr/src. I'm still getting pid errors all the time and have VERY limited use of the shell. I ran ps and it issued a proc mismatch. Thanks to Greg L. I know that ps is not matching my kernel and I am assuming this is my problem, but without /usr/src or ftp I am almost sunk. I still have floppy capability through the fixit disk. The question is two-fold: Can I download a binary of ps from 3.2-RELEASE and put it in my bin and will it work? Does it need to be statically linked (I'm pretty sure I still have 3.2R libraries in /usr/lib - if I could mount it)? Where can I find a binary of ps that I can download? I can only find the entire binary dist, which is 26Megs for 3.2-REL and I only have 2Megs left in my / directory. Sorry for the long email. Alex Teslik P.S.- Please cc . I'm not subscribed to the list right now. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message