From owner-freebsd-questions Thu Oct 24 7:15:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99F8D37B401; Thu, 24 Oct 2002 07:15:19 -0700 (PDT) Received: from viefep12-int.chello.at (viefep12-int.chello.at [213.46.255.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4781743E75; Thu, 24 Oct 2002 07:15:14 -0700 (PDT) (envelope-from ant@overclockers.at) Received: from Deadcell.ant ([212.17.108.240]) by viefep12-int.chello.at (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20021024141513.WCOD4035.viefep12-int.chello.at@Deadcell.ant>; Thu, 24 Oct 2002 16:15:13 +0200 Received: from Deadcell.ant (localhost [127.0.0.1]) by Deadcell.ant (8.12.6/8.12.6) with ESMTP id g9OEFFo5001294; Thu, 24 Oct 2002 16:15:15 +0200 (CEST) (envelope-from ant@Deadcell.ant) Received: (from ant@localhost) by Deadcell.ant (8.12.6/8.12.6/Submit) id g9OEF8BA001293; Thu, 24 Oct 2002 16:15:08 +0200 (CEST) Date: Thu, 24 Oct 2002 16:15:08 +0200 From: Andreas Ntaflos To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: fsck lasting several hours (and then forever) after crash Message-ID: <20021024141508.GB309@Deadcell.ant> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello lists (sorry for crossposting), This is kind of serious for me. Here is what happened: I portupgraded the native version of mozilla to 1.1 and fired it up. It crashed and took X with it. Keyboard and mouse where dead, I had to press the reset button. So the system rebooted and reached automatic fsck. Checked /, /var, /tmp and then, when going to /usr it stopped. And stood stopped. I've had it running 17 hours now, nothing. Booting into single user I do /sbin/fsck, which works nicely until here: Phase 1 - Check Blocks and Sizes INCORRECT BLOCK COUNT I=1702863 (4 should be 0) CORRECT [yn] No matter what I enter (tried both y and n) it goes on and then lasts forever. No harddisk-noise, no nothing. I really don't know why this is happening. fsck does not bail out or say anything, it just does nothing after above message. No CTRL-C, no CTRL-ALT-DEL, no nothing helps. Since I needed the system I edited /etc/rc and commented out the "exit 1" part where it refuses going to multiuser when any of the file systems is marked 'dirty', then added the -f flag to mount. That way I got it back running, but how do I repair my /usr partition now without fsck failing to do its job? Has anybody a pointer for me, an idea or anything else I could try to repair /usr? I know that what I did is quite a dirty "workaround". Thanks in advance, anything is greatly appreciated. regards -- Andreas "ant" Ntaflos | "A cynic is a man who knows the price of ant@overclockers.at | everything, and the value of nothing." Vienna, AUSTRIA | Oscar Wilde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message