From owner-freebsd-questions@FreeBSD.ORG Tue Nov 27 16:38:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67CB416A418 for ; Tue, 27 Nov 2007 16:38:25 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.freebsd.org (Postfix) with SMTP id 2AF1C13C457 for ; Tue, 27 Nov 2007 16:38:24 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: (qmail 91611 invoked from network); 27 Nov 2007 16:38:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=ESG9FQxF0ezoafIiAvLeGUddhRVBDbgwodyCk18YMNe9CQ1I9MR9Ib9BPOzDtg9Nbc5rYqS0azo4PZpDGsIygEo4TbROJUsLVJQVQZ36wtS2eDW4U9+MpABGDi133BKC1toFyP621jABzGulFOz55EM9TGZyNZf+1MTXxtMhmno= ; Received: from unknown (HELO napoleon.local) (mike.jeays@rogers.com@99.224.73.40 with login) by smtp100.rog.mail.re2.yahoo.com with SMTP; 27 Nov 2007 16:38:23 -0000 X-YMail-OSG: olqekd8VM1lWiC6oYf4KgkXZ5GTTbBTbfDzirpnPb1Ftwi2aCnCvDnwEhCerAcS3gw-- From: Mike Jeays To: freebsd-questions@freebsd.org Date: Tue, 27 Nov 2007 11:39:12 -0500 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <62327.208.49.58.254.1196108813.squirrel@email.polands.org> <19181.208.49.58.254.1196111022.squirrel@email.polands.org> <21304.208.49.58.254.1196173362.squirrel@email.polands.org> In-Reply-To: <21304.208.49.58.254.1196173362.squirrel@email.polands.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711271139.12927.mike.jeays@rogers.com> Subject: Re: Major filesystem problems after crash on 7.0-BETA3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 16:38:25 -0000 On November 27, 2007 09:22:42 am Doug Poland wrote: > On Mon, November 26, 2007 15:03, Doug Poland wrote: > > On Mon, November 26, 2007 14:26, Doug Poland wrote: > >> Hello, > >> > >> This morning my 7.0-BETA3 i386 system (Compaq nx7400) reset shortly > >> after starting X11. I didn't think much of it and went to get a cup > >> of coffee while the background fsck took care of the file systems. > >> > >> Unforunately, something's still broke. At first, when I tried to > >> access the /var or /tmp filesystems, I received panics similar to: > >> > >> mode = 0100644, inum = 31127, fs = /tmp > >> panic: ffs_valloc: dup alloc > >> cpuid = 0 > >> Uptime: 9s > >> Physical memory: 3435 MB > >> Dumping 101 MB:Aborting dump due to I/O error. > >> status == 0x4, scsi status == 0x0 > >> > >> ** DUMP FAILED (ERROR 5) ** > >> Automatic reboot in 15 seconds - press a key on the console to abort > >> > >> > >> After doing some googling, it looked like my filesystems weren't > >> really clean after several manual runs of fsck. So I disabled > >> softupdates on /var and /tmp and ran fsck on those file systems > >> again. After mounting them rw, I attempted to hit the filesystem > >> again, this time getting a panic: > >> > >> panic: ffs_clusteralloc: map mismatch > >> cpuid = 1 > >> Uptime: 6m40s > >> Physical memory: 3435 MB > >> Dumping 149 MB:Aborting dump due to I/O error. > >> status == 0x4, scsi status == 0x0 > >> > >> ** DUMP FAILED (ERROR 5) ** > >> Automatic reboot in 15 seconds - press a key on the console to abort > >> > >> Is there a way to identify and fix these errors? I'm thinking a > >> newfs of both /var and /tmp is in order. I don't really care > >> about /tmp, and I've backed up /var using dump(8). My concern is > >> if I restore /var on top of a newfs'd filesystem, I'll restore my > >> broken files and have the same problem again. > > > > Just a follow-up... Everytime I run a manual fsck on the problem > > filesystems, it returns: > > > > > > BLK(S) MISSING IN BITMAPS > > SALVAGE? > > > > ***** FILE SYSTEM WAS MODIFIED ***** > > > > > > So it would appear that fsck is unable to repair damage, is that > > correct? > > Well, having stumped all the experts, I decided to reinstall from > 7.0-BETA3 CD-ROM. After a few minutes of writing to the disk after > newfs, I got more panic: ffs_clusteralloc: map mismatch errors. Since > the device I'm writing to is a 3-day old Maxtor OneTouch III external > HD, I've decided it must be a hardware failure and am returing the > drive. I have an older Maxtor drive (40GB) that refuses to allow FreeBSD to install, but has worked flawlessly with Linux. (It would work very slowly in PIO mode, but not DMA, which is not a whole lot of use). I would be interested to hear if your replacement disk works. -- Mike Jeays http://www.jeays.ca